Static0437
Chieftain
- Joined
- Mar 1, 2008
- Messages
- 9
I recently downloaded an extremely cool unit addition pack from chuggi, and ive been messing around with it. im not exactly new to modding civ4,
but im just now starting to add new units, and for a little project im doing id like to add the rohirrim pack chuggi added. after doing a little
work, running through tutorials, adn asking the man who made it all himself, im still lost. running through some basic tutorials and following his
advice, ive been able to add the unit into the game... but only half. litterally. theres no pedia entry about the unit, and the graphics are completely
and entirely not what i wanted (i.e. i did something wrong). so, without further ado, heres my XML script, as well as the files provided by chuggi
(with a screenshot of what my horribly mangled unit looks like AND what it SHOULD look like, all in the zip file)
UNITINFO:
<UnitInfo>
<Class>UNITCLASS_ROHAN_SCOUT</Class>
<Type>UNIT_ROHAN_SCOUT</Type>
<UniqueNames/>
<Special>NONE</Special>
<Capture>NONE</Capture>
<Combat>UNITCOMBAT_MOUNTED</Combat>
<Domain>DOMAIN_LAND</Domain>
<DefaultUnitAI>UNITAI_ATTACK</DefaultUnitAI>
<Invisible>NONE</Invisible>
<SeeInvisible>NONE</SeeInvisible>
<Description>TXT_KEY_UNIT_ROHAN_SCOUT</Description>
<Civilopedia>TXT_KEY_UNIT_ROHAN_SCOUT_PEDIA</Civilopedia>
<Strategy>TXT_KEY_UNIT_ROHAN_SCOUT_STRATEGY</Strategy>
...(and so on)
ARTDEFINES:
<UnitArtInfo>
<Type>ART_DEF_UNIT_ROHAN_SCOUT</Type>
<fScale>0.42</fScale>
<fInterfaceScale>0.9</fInterfaceScale>
<NIF>Art/Units/RohanScout/Scout.nif</NIF>
<KFM>Art/Units/RohanScout/Anime/MongelKeshik.kfm</KFM>
<SHADERNIF>Art/Units/RohanScout/Anime/MongelKeshik_FX.nif</SHADERNIF>
<ShadowDef>
<ShadowNIF>Art/Units/01_UnitShadows/HorseShadow.nif</ShadowNIF>
<ShadowAttachNode>HorseBip Spine1</ShadowAttachNode>
<fShadowScale>1.0</fShadowScale>
</ShadowDef>
<fBattleDistance>0.35</fBattleDistance>
<fRangedDeathTime>0.31</fRangedDeathTime>
<bActAsRanged>0</bActAsRanged>
<TrainSound>AS2D_UNIT_BUILD_UNIT</TrainSound>
<AudioRunSounds>
<AudioRunTypeLoop/>
<AudioRunTypeEnd/>
</AudioRunSounds>
</UnitArtInfo>
basically, the other XML scripts on the rohan scout are pretty much useless... although it still doesnt show in the pedia, but ill have to sort that
out AFTER i get the unit into the game
lets hope someone with more experience than i can figure this out and help me a little... besides im pretty sure this is the most basic unit of all of
them, so ive got a LONG run ahead of me
ALSO: feel free to laugh and call me an idiot, just as long as you help
but im just now starting to add new units, and for a little project im doing id like to add the rohirrim pack chuggi added. after doing a little
work, running through tutorials, adn asking the man who made it all himself, im still lost. running through some basic tutorials and following his
advice, ive been able to add the unit into the game... but only half. litterally. theres no pedia entry about the unit, and the graphics are completely
and entirely not what i wanted (i.e. i did something wrong). so, without further ado, heres my XML script, as well as the files provided by chuggi
(with a screenshot of what my horribly mangled unit looks like AND what it SHOULD look like, all in the zip file)
UNITINFO:
<UnitInfo>
<Class>UNITCLASS_ROHAN_SCOUT</Class>
<Type>UNIT_ROHAN_SCOUT</Type>
<UniqueNames/>
<Special>NONE</Special>
<Capture>NONE</Capture>
<Combat>UNITCOMBAT_MOUNTED</Combat>
<Domain>DOMAIN_LAND</Domain>
<DefaultUnitAI>UNITAI_ATTACK</DefaultUnitAI>
<Invisible>NONE</Invisible>
<SeeInvisible>NONE</SeeInvisible>
<Description>TXT_KEY_UNIT_ROHAN_SCOUT</Description>
<Civilopedia>TXT_KEY_UNIT_ROHAN_SCOUT_PEDIA</Civilopedia>
<Strategy>TXT_KEY_UNIT_ROHAN_SCOUT_STRATEGY</Strategy>
...(and so on)
ARTDEFINES:
<UnitArtInfo>
<Type>ART_DEF_UNIT_ROHAN_SCOUT</Type>
<fScale>0.42</fScale>
<fInterfaceScale>0.9</fInterfaceScale>
<NIF>Art/Units/RohanScout/Scout.nif</NIF>
<KFM>Art/Units/RohanScout/Anime/MongelKeshik.kfm</KFM>
<SHADERNIF>Art/Units/RohanScout/Anime/MongelKeshik_FX.nif</SHADERNIF>
<ShadowDef>
<ShadowNIF>Art/Units/01_UnitShadows/HorseShadow.nif</ShadowNIF>
<ShadowAttachNode>HorseBip Spine1</ShadowAttachNode>
<fShadowScale>1.0</fShadowScale>
</ShadowDef>
<fBattleDistance>0.35</fBattleDistance>
<fRangedDeathTime>0.31</fRangedDeathTime>
<bActAsRanged>0</bActAsRanged>
<TrainSound>AS2D_UNIT_BUILD_UNIT</TrainSound>
<AudioRunSounds>
<AudioRunTypeLoop/>
<AudioRunTypeEnd/>
</AudioRunSounds>
</UnitArtInfo>
basically, the other XML scripts on the rohan scout are pretty much useless... although it still doesnt show in the pedia, but ill have to sort that
out AFTER i get the unit into the game
lets hope someone with more experience than i can figure this out and help me a little... besides im pretty sure this is the most basic unit of all of
them, so ive got a LONG run ahead of me

ALSO: feel free to laugh and call me an idiot, just as long as you help
