New to Modding, Help Please
#1
Posted 10 January 2008 - 06:01 AM
I would like to make it so that only seige units can attack walls and gates too, but I've spent hours looking through the various inis to no avail. :(
#2
Posted 10 January 2008 - 08:59 AM
Every combatant's object-ini file will also contain one or more entries for their 'WeaponSet'. Go look for the term in 'weapon.ini'. The DamageType is what's referred to in 'Armor.ini', so you know which weapons use what type. NOTE: Hordes only contain the rangefinder for target acquisition. To know the damage type of the troops, go into the seperate ini file for the singular troops.
Edited by Sûlherokhh, 10 January 2008 - 09:03 AM.
Axed Head and A.I. Coder for S.E.E. and ... stuff
".. coding is basically boring. What's fun is finding out how things work, take them apart and then put them together in ways that were not intended nor even conceived."
#3
Posted 12 January 2008 - 07:08 AM
Lastly, how do I fix the bug that prevents me from rebuilding wall hubs that were destroyed? I know you've done it in S.E.E. and am dying to find out how.
Cheers,
Medicleous
#4
Posted 12 January 2008 - 12:11 PM
If you are curious, go into 'weapon.ini' and look for the damage type. You'll see the weapons that use them. NOTE: Not all weapons in weapon.ini are used.Thanks Sul, that helped alot. What exactly is CRUSH damage? Does that refer to cavalry, trolls, giants, ents, flying units? Or CRUSH damage of cavalry only? What's LOGICAL_FIRE, is that when flames continue burning after an attack?
It's not a bug. It's rather a few special modules in the wall segments.Lastly, how do I fix the bug that prevents me from rebuilding wall hubs that were destroyed? I know you've done it in S.E.E. and am dying to find out how.
What you will need is 'KeepSelectableWhenDead = Yes', A 'SlowDeathBehavior' that only activated when 'SOLD' or 'SUICIDED', a KeepObjectDie-module that activates when NOT ''SOLD' or 'SUICIDED' and a commandset which includes a 'sell' and a 'self-repair' button.
Just check out any one of the small wall segments. You'll see what i mean.
Axed Head and A.I. Coder for S.E.E. and ... stuff
".. coding is basically boring. What's fun is finding out how things work, take them apart and then put them together in ways that were not intended nor even conceived."
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users