moding question: test dummy

owenbevt

Chieftain
Joined
Mar 4, 2009
Messages
47
i made copys of the test dummy to use fore new units and changed a few of its propertsy (unit name, class etc) however when i find it in the Civipedia it still has "unit can not be bult by any civilastion" like the origional templat unit dose. Dose anyone know how to tern this off in the pasted copys?

when moding this mod im finding that some of my units arnt in the Civipedia index though thay have entrys that can be linked to through there Techs etc. whats going on there?
 
i made copys of the test dummy to use fore new units and changed a few of its propertsy (unit name, class etc) however when i find it in the Civipedia it still has "unit can not be bult by any civilastion" like the origional templat unit dose. Dose anyone know how to tern this off in the pasted copys?

You need to open Civ4CivilizationInfos.xml, find the civs you want the unit to be added to, and put
Code:
<Unit>
	<UnitClassType>UNITCLASS_GOVANNON</UnitClassType>
	<UnitType>UNIT_GOVANNON</UnitType>
</Unit>
into the Unit section. Of course, you have to change the unitclass and unittype to match your unit, but that's pretty self-explanatory.

when moding this mod im finding that some of my units arnt in the Civipedia index though thay have entrys that can be linked to through there Techs etc. whats going on there?

I'm not sure about this one, would have to check into it.

Edit: Need to change bGrapical from a 1 to a 0.

Edit2: Damn, Xienwolf beat me to it. :lol:
 
If they don't show up in the Civilopedia, you probably left <bGraphical>1</bGraphical> set. Need to change that to a 0. And yes, to make a unit buildable you need the unitclass to be available to some Civ through CivilizationInfos.
 
Back
Top Bottom