Help with creating a unique unit

Afforess

The White Wizard
Joined
Jul 31, 2007
Messages
12,239
Location
Austin, Texas
I am creating a new civilization (module), but I need help with the Unique Unit. I am replacing the "Jet Fighter" with the "Skeltrast." First off, I get the unit to appear, but it cannot do anything, no mission, attack, patrol buttons, and the civ entry is empty. Can someone look at my files and see what is wrong? Also, is it possible to have a fighter attack and KILL land units?

View attachment 189508 -Updated 9/23/08

Thanks.
 
I changed that line of coding, but when I load it, I get this error:

XML%20Error.jpg
 
Try putting this into BasicInfos\Civ4UnitCombatInfos.xml

<UnitCombatInfo>
<Type>UNITCOMBAT_AIR</Type>
<Description>TXT_KEY_UNITCOMBAT_AIR</Description>
<Button>,Art/Interface/Buttons/Promotions/Naval_Units.dds,Art/Interface/Buttons/Beyond_the_Sword_Atlas.dds,6,15</Button>
</UnitCombatInfo>
 
I should have told you, its my fault. I am making this module for Rise of Mankind (mod). I figured out the problem from your suggestion in the basicinfos. The combat_air had been replaced by other, more specific ones. I fixed that part. The mod will load the module without any error messages, however the unit still has no civilopedia entry and cannot move, recon attack etc. (The buttons for such orders do not exist.) What else is wrong? (The Skeltrast file has been updated to reflect my changes.)
 
Back
Top Bottom