:confused: is it possible...

Farmer Bobathan

Sanity is for the weak
Joined
Oct 6, 2007
Messages
251
Location
Michigan
I was wondering if it was possible to add equipment using only XML?:confused: I like to make changes in my own game but I don't know anything more complex than XML right now.:sad: If I could it could make my game a lot more fun.

Btw thanks Kael and the ffh team for such a great game:goodjob:
 
I would think so. Have not looked yet but they usualy do it in that way (or rather in the excel editor).
 
Yes, equipment was intentionally built for modability (ie: no hardcoding). I'll get an entry in the Modders guide to FfH when I get some time. But the basic just of it is that units have an attribute called "EquipmentPromotion", thats the promotion an equipment becomes when it is carried by a unit. Likewise a promotion has to have the bEquipment attribute set to 1 to be marked as equipment.

There are also a set of spells for ach equipment depending on what you want to do with it. The simplies is just the "SPELL_TAKE_GOLDEN_HAMMER" (or whatever) to pick the equipment up.
 
Can you make so only a specific unit class can pick a certain piece of equipment up?
 
Sounding like equipment is killable, or not-capturable by some of the bug reports. Don't think anyone has mentioned specifically if they were HN or not, but could be a problem if HN cannot capture units and picking up dropped equipment works via the catured unit mechanic.
 
Can you make so only a specific unit class can pick a certain piece of equipment up?
I'd think so - the picking up is handled as a spell, which can be restricted to certain unit classes. cf. recon-only Esus abilities.
 
Back
Top Bottom