Taliban

Sorry for last bad English post :mischief:
The question was:

1) from the taliban zip file I've downloaded I've abtained a lot of .nif and .kfm files and I was asking myself which one to use.

2) this question maybe find its meaning in a wrong idea I have: I've created this new unit using all the xml of unit_spy. than when I checked if it was working, I've noticed that my unit hadn't the "buttons" that would allow it to, for ex., freeze or fortify - no buttons and no actions.
So the question is: what did I miss on inserting xml code that left my unit without any "actionbutton/action"?
There was a missing part of the guide I mantioned that exaplined how to get the new unit functional?

Thx again for answering.
 
with no buttons for actions - you have probably wrong path to .kfm file
look on this example
<NIF>Art/Units/Afrika_Korps_Infantry/Afrika.nif</NIF>
<KFM>Art/Units/Marine/Marines.kfm</KFM>
<SHADERNIF>Art/Units/Afrika_Korps_Infantry/Afrika.nif</SHADERNIF>
it posts to marines units

put all the obtained files - all are important
and check one ot tuts about adding units maybe it would help
 
here it is an explain shot
which should I choose for the 3 paths?

these are all from zip file.
 

Attachments

  • bug3.jpg
    bug3.jpg
    105.9 KB · Views: 87
Abstract from my ArtDefines_unit.xml

<!-- // ART DEFINES FOR TERRORIST CELLS -->
<UnitArtInfo>
<Type>ART_DEF_UNIT_TERRORISTCELL</Type>
<fScale>0.46</fScale>
<fInterfaceScale>1.1</fInterfaceScale>
<NIF>Art/Units/jhadist/marines.nif</NIF>
<KFM>Art/Units/jhadist/marines.kfm</KFM>
<SHADERNIF>Art/Units/jhadist/marines_fx.nif</SHADERNIF>
<ShadowDef>
<ShadowNIF>Art/Units/01_UnitShadows/UnitShadow.nif</ShadowNIF>
<ShadowAttachNode>BIP Pelvis</ShadowAttachNode>
<fShadowScale>0.8</fShadowScale>
</ShadowDef>
<fBattleDistance>0.35</fBattleDistance>
<fRangedDeathTime>0.31</fRangedDeathTime>
<bActAsRanged>0</bActAsRanged>
<TrainSound>AS2D_UNIT_BUILD_UNIT</TrainSound>
<AudioRunSounds>
<AudioRunTypeLoop/>
<AudioRunTypeEnd/>
</AudioRunSounds>
<SelectionSound>AS3D_UN_SPY_SURR_VOX</SelectionSound>
<ActionSound>AS3D_UN_SPY_SURR_VOX</ActionSound>
</UnitArtInfo>
<!-- // FINISH -->


It was jihadist ******ing name :@

IT WORKED!!! KEEP WORKING ON! sorry for time delay
 
Put all of those files
C:/Program Files/..../Mods/'Your mods name'/Assets/Art/Units/Jihadist

and in ArtDefines_unit.xml

<!-- // ART DEFINES FOR TERRORIST CELLS -->
<UnitArtInfo>
<Type>ART_DEF_UNIT_TERRORISTCELL</Type>
<fScale>0.46</fScale>
<fInterfaceScale>1.1</fInterfaceScale>
<NIF>Art/Units/jhadist/marines.nif</NIF>
<KFM>Art/Units/jhadist/marines.kfm</KFM>
<SHADERNIF>Art/Units/jhadist/marines_fx.nif</SHADERNIF>
<!-- Everything seems ok You can eventually try <SHADERNIF>Art/Units/jhadist/marines.nif</SHADERNIF> -->
<ShadowDef>
<ShadowNIF>Art/Units/01_UnitShadows/UnitShadow.nif</ShadowNIF>
<ShadowAttachNode>BIP Pelvis</ShadowAttachNode>
<fShadowScale>0.8</fShadowScale>
</ShadowDef>
<fBattleDistance>0.35</fBattleDistance>
<fRangedDeathTime>0.31</fRangedDeathTime>
<bActAsRanged>0</bActAsRanged>
<TrainSound>AS2D_UNIT_BUILD_UNIT</TrainSound>
<AudioRunSounds>
<AudioRunTypeLoop/>
<AudioRunTypeEnd/>
</AudioRunSounds>
<SelectionSound>AS3D_UN_SPY_SURR_VOX</SelectionSound>
<ActionSound>AS3D_UN_SPY_SURR_VOX</ActionSound>
</UnitArtInfo>
<!-- // FINISH -->

and in CIV4UnitInfos.xml
make sure you have
<EarlyArtDefineTag>ART_DEF_UNIT_TERRORISTCELL</EarlyArtDefineTag>

<Button>,Art/Interface/Buttons/Units/Marine.dds,Art/Interface/Buttons/Unit_Resource_Atlas.dds,3,7</Button>

for unit button - probably you must create one - i don't see it on screenshot
and
and it's also setup in CIV4UnitInfos.xml - it's just example of marine button
<Button>,Art/Interface/Buttons/Units/Marine.dds,Art/Interface/Buttons/Unit_Resource_Atlas.dds,3,7</Button>


ach ok you fixed it :D
 
np
hehe - yeah i see it know too :D - as i said it was something wrong with paths :)
 
I followed all the instructions from tutorials to add this unit, however, it doesn't quite work. I can get the unit to show up with worldbuilder, but whenever I try to build the unit in a city, the game crashes. Please help. this is my first time

lazy urutu
 
you need to fix button link -it's just example:
<Button>,Art/Interface/Buttons/Units/Marine.dds</Button>
to
<Button>Art/Interface/Buttons/Units/Marine.dds</Button>
you need to delete coma before Art
 
Back
Top Bottom