phungus420
Deity
- Joined
- Mar 1, 2003
- Messages
- 6,296
I apologize for the unspecific thread title, but couldn't figure out a more descriptive title that wouldn't be too long. To start with, I was rather surprised how simple it is to add in a new unitcombat type. All you need is a button and a single reference. Way easier then adding new units for sure.
My first question is, what do I need to do to create a new specialunittype Currently there are SpecialUnit_Fighter, and SpecialUntit_People, I'd also like to add a SpecialUnit_Infantry. There are no specialunit buttons, and I have no idea if there are any other references to them. Can I add a new special unit type via XML (I'm assuming so), and if so what files would I need to add references to the new created type (if any)?
Second question. How can I reduce the ammount of damage done by an air unit to ground units, but keep it so the air unit is still strong in air combat value? For an air unit let's say you have something like this:
<iCombat>0</iCombat>
<iCombatLimit>0</iCombatLimit>
<iAirCombat>10</iAirCombat>
<iAirCombatLimit>50</iAirCombatLimit>
<iXPValueAttack>4</iXPValueAttack>
<iXPValueDefense>4</iXPValueDefense>
I'm not seeing here anything I can adjust to make the fighter type aircraft stay strong in air combat, but reduce it's value in striking ground targets. Is this possible in XML? If so what do I need to change.
Thanks to anyone that can help me.
My first question is, what do I need to do to create a new specialunittype Currently there are SpecialUnit_Fighter, and SpecialUntit_People, I'd also like to add a SpecialUnit_Infantry. There are no specialunit buttons, and I have no idea if there are any other references to them. Can I add a new special unit type via XML (I'm assuming so), and if so what files would I need to add references to the new created type (if any)?
Second question. How can I reduce the ammount of damage done by an air unit to ground units, but keep it so the air unit is still strong in air combat value? For an air unit let's say you have something like this:
<iCombat>0</iCombat>
<iCombatLimit>0</iCombatLimit>
<iAirCombat>10</iAirCombat>
<iAirCombatLimit>50</iAirCombatLimit>
<iXPValueAttack>4</iXPValueAttack>
<iXPValueDefense>4</iXPValueDefense>
I'm not seeing here anything I can adjust to make the fighter type aircraft stay strong in air combat, but reduce it's value in striking ground targets. Is this possible in XML? If so what do I need to change.
Thanks to anyone that can help me.