How to install the unique units?

Heres what you need to do:

Add the files (and only the files I supplied) from the T-84.zip into your folder. Make your XML (CIV4ArtDefines_Unit) look like this:

<NIF>Art/Units/T-84/T-84.nif</NIF>
<KFM>Art/Units/Tank/Tank.kfm</KFM>
<SHADERNIF>Art/Units/T-84/T-84.nif</SHADERNIF>

None of my units have teamcolor, so they don't need the SHADERNIF to have a second (as in this case T-84_FX) .nif file. All that needs to be done is duplicate the XML for the type of unit (all my tanks use the tank.kfm files, so use the tank XML as a base) and change the required fields (mostly names) to the name of the unit.

-Smitty
 
Officer Reene said:
DONT use the mygames folder CIV4CustomMods because the mods dont work there! dont know why they even put that in there since all the research Ive done indicates it doesnt work :mad:
only use the Mods folder in the main CIV4 directory


I must be doing something wrong then as the mad nukes mod i got works from my games mod folder :lol:
 
snafusmith said:
Heres what you need to do:

Add the files (and only the files I supplied) from the T-84.zip into your folder. Make your XML (CIV4ArtDefines_Unit) look like this:

<NIF>Art/Units/T-84/T-84.nif</NIF>
<KFM>Art/Units/Tank/Tank.kfm</KFM>
<SHADERNIF>Art/Units/T-84/T-84.nif</SHADERNIF>

None of my units have teamcolor, so they don't need the SHADERNIF to have a second (as in this case T-84_FX) .nif file. All that needs to be done is duplicate the XML for the type of unit (all my tanks use the tank.kfm files, so use the tank XML as a base) and change the required fields (mostly names) to the name of the unit.

-Smitty

Thank Smitty that fix the problems here a screen shot...
http://www.uploadfile.info/uploads/e835e05588.jpg
:banana:
 
Rising Sun said:
Thank Smitty that fix the problems here a screen shot...
http://www.uploadfile.info/uploads/e835e05588.jpg
:banana:


it's great that you got it working! :goodjob:

smitty's the :king:


sorry I got here late (in posts) I went to bed and just got up! :crazyeye:

I was already to answer all your previous questions when smitty already too care of it :D

well have fun and if you have any other problems ... feel free to ask!

sorry again that I could not help much :mischief:
 
boneys26 said:
I must be doing something wrong then as the mad nukes mod i got works from my games mod folder :lol:


well I can only speak from my own experience and others in these forums when I researched it :mischief:

many peeps had the graphics disappear (the buttons and such) when they used the my games folder... so that's why I cautioned against it... :nuke:


but if it works for you... great ;)


as the saying goes... if it's not broken dont fix it... :lol:
 
I have been modding for about a month or so. I have tried to add several unique units in my mod. At first, everything seemed to be going fine. I would test to see if the unit I added worked and after some trial and error, it did. Then I thought, why not keep going. I have since added 7 unique units, some to the same civilization. For instance, I added the Tu-95, Ka50 helicopter and KV1 tank to Russia. I added the F35 and Type74 tank for my civ and here is where the trouble started. When I load the mod, everything is fine. But when I try to start producing the unique unit in one of my cities, the game crashes. I was not having this problem before and I can't figure out why it is happening now. Any help is appreciated.
 
Yeah, I tried it both ways. The game still crashed. I tried to use the other civs to see if it was just the units with my civ, but still the game crashed. Here is for instance the unit I added for the Aztec civ in the ArtDefines file:

<UnitArtInfo>
<Type>ART_DEF_UNIT_AZTEC_A129_GUNSHIP</Type>
<fScale>0.36</fScale>
<fInterfaceScale>0.7</fInterfaceScale>
<NIF>Art/Units/Unique/Aztec/A129/tiger.nif</NIF>
<KFM>Art/Units/Unique/Aztec/A129/tiger.kfm</KFM>
<SHADERNIF>Art/Units/Unique/Aztec/A129/tiger.nif</SHADERNIF>
<ShadowDef>
<ShadowNIF>Art/Units/01_UnitShadows/GunshipShadow.nif</ShadowNIF>
<ShadowAttachNode>BIP Pelvis</ShadowAttachNode>
<fShadowScale>0.75</fShadowScale>
</ShadowDef>
<iDamageStates>4</iDamageStates>
<fBattleDistance>0.5</fBattleDistance>
<fRangedDeathTime>0.12</fRangedDeathTime>
<bActAsRanged>1</bActAsRanged>
<TrainSound>AS2D_UNIT_BUILD_UNIT</TrainSound>
<AudioRunSounds>
<AudioRunTypeLoop>LOOPSTEP_GUNSHIP</AudioRunTypeLoop>
<AudioRunTypeEnd>ENDSTEP_GUNSHIP</AudioRunTypeEnd>
</AudioRunSounds>
<SelectionSound>AS3D_UN_GUNSHIP_FORT</SelectionSound>
<ActionSound>AS3D_UN_GUNSHIP_FORT</ActionSound>
</UnitArtInfo>

Here is the specific part in the Civ4UnitInfos file:

<EarlyArtDefineTag>ART_DEF_UNIT_AZTEC_A129_GUNSHIP</EarlyArtDefineTag>
</UnitMeshGroup>
</UnitMeshGroups>
<Button>Art/Interface/Buttons/Units/A129.dds</Button>
<HotKey/>
<bAltDown>0</bAltDown>
<bShiftDown>0</bShiftDown>
<bCtrlDown>0</bCtrlDown>
<iHotKeyPriority>0</iHotKeyPriority>
<FreePromotions/>
</UnitInfo>
 
OK, I got it. The buttons were too big. Some were 256. So basically, I have to download units which have smaller dds files.
 
Back
Top Bottom