HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

How can I make certain units do more damage to certain units

01-24-2003, 07:22 PM#1
Guest
I'm working on a wheel of time mod right now. I'm trying to duplicate the warfare in the book series, realistically pikemen and spearmen are more effective against mounted calvary, I'm trying to duplicate that in my mod, but I'm not sure where to begin. Any help.

For more info on the mod go here http://www.wc3campaigns.com/forums/s...hreadid=10367.
Thanks
01-24-2003, 07:31 PM#2
Guest
Change the armor type/damage types of each of the units. For instance. Piercing does less damage to hero armor but more damage to heavy armor etc.


-cg2002
01-28-2003, 04:56 AM#3
Guest
Thanks man, that helps alot, hadn't even thought of that.
01-28-2003, 06:30 AM#4
FM_TertiaryEye
If you look in units/MiscData.txt in your war3patch.mpq file,
you will find an entry like the following:
Code:
PierceVsSmall=0.75
PierceVsLarge=1.50
PierceVsFort=0.35
PierceVsHero=0.50
SpellsVsHero=0.75
MagicVsHero=0.50
MagicVsSmall=0.75
NormalVsSmall=1.50
NonSiegeVsFort=0.50
SiegeVsFort=1.50
SiegeVsSmall=0.50
SiegeVsHero=0.50
AllVsDivine=0.05

If you want to specifically change the data, this is the place you would do it.

HOWEVER: It's anyones guess as to weather or not this will actually work, so try running a test before hand. But if it works, this should help you greatly.

Sincerely,
FM_TertiaryEye
01-28-2003, 12:18 PM#5
kharma
Yeah, it works. And if you make all the necessary changes to the other files you can add new armor/weapon types in. Note that the miscdata.txt files can't be imported into a map for multiplay.

~kharma
01-28-2003, 03:58 PM#6
Guest
the other way is to make triggers like "unit of type hits unit of type, do..."
but i would only use this, if their are not enough armor/weapon types for ur mod
01-30-2003, 03:56 PM#7
Guest
thanks everyone, works great!