Page 1 of 2

Creating Unit stat Damage and Defence % help

Posted: Sun Apr 24, 2011 6:22 pm
by BugMeNot
I need to set up a Damage and Defence Percentage tooltips for units in my map. Not sure if i need to have a system or edit unit stats
An example of what im trying to do is> Footman deals> 120% of damage to medium armor, 100% to heavy, 60% to fortified
Footman damage taken> 120% from magic, 100% from siege, 80% from normal

Im not sure if i have to set up triggers for damage and defence types and what would they be?
or if editor already has a "standard" percentage rate units take and i simply just need to write in for tooltips

Re: Creating Unit stat Damage and Defence % help

Posted: Sun Apr 24, 2011 6:23 pm
by 3ICE
Advanced --> Gameplay Constants

Makes your map require TFT, but can be converted.

Re: Creating Unit stat Damage and Defence % help

Posted: Sun Apr 24, 2011 6:29 pm
by BugMeNot
ok thanks, so in combat damage bonuses, for each attack and defence type is listed a 1. if i were to change this to 2, then it would be at 200% right and 1.3 would be 130%?

Re: Creating Unit stat Damage and Defence % help

Posted: Sun Apr 24, 2011 6:49 pm
by 3ICE
Yup. And 0.7 would be 70%

Percentages are like that. Fraction of a whole. x% = x/100

Re: Creating Unit stat Damage and Defence % help

Posted: Tue Apr 26, 2011 9:20 pm
by 3ICE
[03:12:46.250] <3ICE> so
[03:12:49.750] <3ICE> viewtopic.php?t=650
[03:12:53.250] <3ICE> changing armor tooltip
[03:14:03.187] <Clan_Boss> so u said how to do so on link?
[03:14:06.781] <3ICE> yes
[03:14:13.750] <3ICE> well I only said gameplay constants
[03:14:20.312] <3ICE> but the tooltips are easy to find
[03:14:31.656] <Clan_Boss> swear i couldnt find them lolxD
[03:14:37.656] <Clan_Boss> i changed the damage %
[03:14:42.968] <3ICE> below gameplay constants
Advanced > Game Interface

Re: Creating Unit stat Damage and Defence % help

Posted: Tue Apr 26, 2011 10:09 pm
by BugMeNot
Ok i now have the knowledge of how to change this but ran into another problem. When going to advance>gameinterface>generaltext normal damage, it seems its limiting me the space i need to add this>
Damage:
200% Fortified
100% Heavy
100% Light
50% Normal
25% Magic and this is even without the color coding text. I know this can be done because I have seen in multiple maps before such as: Castle fight and Legion Td

Please tell me if you know the way around this and perhaps test it, thanks!

Re: Creating Unit stat Damage and Defence % help

Posted: Tue Apr 26, 2011 10:16 pm
by 3ICE
We talked about the txt file you have to edit yesterday in Clan 3ICE. I now looked up its proper name:
war3mapSkin.txt - No limits there.

Export it from your map, edit it, then import it. (And don't forget to change the path. - Delete "war3mapimported" from it.)

p.s.: [Shift+double click] in the editor should also turn off limits, but I prefer to edit war3mapSkin.txt directly, because a text editor has more features than a simple textbox.

Re: Creating Unit stat Damage and Defence % help

Posted: Tue Apr 26, 2011 10:47 pm
by BugMeNot
Not sure how to do all that exporting... i also tried the shift double click and nothing happens

Re: Creating Unit stat Damage and Defence % help

Posted: Tue Apr 26, 2011 11:00 pm
by 3ICE

Re: Creating Unit stat Damage and Defence % help

Posted: Tue Apr 26, 2011 11:53 pm
by BugMeNot
I have no idea how to export a single file from wc3, especially the one above^ and a search said that file can not be found???