Project Perfect Mod Forums
:: Home :: Get Hosted :: PPM FAQ :: Forum FAQ :: Privacy Policy :: Search :: Memberlist :: Usergroups :: Register :: Profile :: Log in to check your private messages :: Log in ::


The time now is Fri Apr 19, 2024 9:16 pm
All times are UTC + 0
Tesla Coils doesn't pass Damage=10000
Moderators: Global Moderators, Red Alert 2 Moderators
Post new topic   Reply to topic Page 1 of 1 [3 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
Ousagi
Cyborg Soldier


Joined: 02 Nov 2022

PostPosted: Fri Nov 04, 2022 12:37 am    Post subject:  Tesla Coils doesn't pass Damage=10000
Subject description: Units can be given Damage=1000000 but Tesla Coils don't and caps at 10000
Reply with quote  Mark this post and the followings unread

Originally, I multiplied all damage and strength to 100 to simulate decimals in damage as
it only used integers. For example A unit with strength=800 will become strength=80000.
This is for verses purposes as I learned that a Damage=1 with Verses=50% will make the
damage 0.5 and rounded of to 0.

Now, I'm trying to simulate the first mission of the Empire with the Tesla Coils one-shotting
the Naginata Cruisers. But in testing the damage of tesla coils doesn't pass 10000 and
goes as far as 9999. I want to know why the Tesla Coil specifically doesn't pass this damage
as units can.

Again this is for verses purposes.

Back to top
View user's profile Send private message
Mig Eater
Defense Minister


Joined: 13 Nov 2003
Location: Eindhoven

PostPosted: Fri Nov 04, 2022 1:32 am    Post subject: Reply with quote  Mark this post and the followings unread

Probably the MaxDamage=10000 setting in the [CombatDamage] section. Try increasing it with an extra 0 or two.

_________________



Back to top
View user's profile Send private message Visit poster's website ModDB Profile ID YouTube User URL Facebook Profile URL Twitter Channel URL
Ousagi
Cyborg Soldier


Joined: 02 Nov 2022

PostPosted: Fri Nov 04, 2022 2:17 am    Post subject: Reply with quote  Mark this post and the followings unread

Thanks didn't know about MaxDamage. Could've probably just search "=10000".
Now I feel dumb changing the Technotypes then learn there's a max  then change them back.

This is how I learn to not change a lot of things.

This is also why I have such messy code now. Because now I'm scared and traumatized.

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [3 Posts] Mark the topic unread ::  View previous topic :: View next topic
 
Share on TwitterShare on FacebookShare on Google+Share on DiggShare on RedditShare on PInterestShare on Del.icio.usShare on Stumble Upon
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © phpBB Group

[ Time: 0.1489s ][ Queries: 11 (0.0085s) ][ Debug on ]