Advertisement
Civilization Fanatics' Center  

Welcome to Civilization Fanatics' Center.

You are currently viewing our site as a guest which gives you limited access to our site features. By joining our free community, you will be able to participate in the discussions, search the forum, send private messages, vote in polls, upload your own screenshots to the gallery, and access many other special features. Registration is fast, simple and absolutely free, so sign up today! If you have any problems with the registration process or your account login, please contact support.

Go Back   Civilization Fanatics' Forums > CIVILIZATION IV > Civ4 - Creation & Customization

Notices

Reply
 
Thread Tools
Old Oct 12, 2010, 12:45 AM   #1
berkut
Warlord
 
berkut's Avatar
 
Join Date: Jul 2008
Location: Brazil
Posts: 277
help finding nif files

i want to chance unit grafics through the ages, just like workers and the great generals do but the nif and kfm files are mixed in the same files so I need help, please.
berkut is offline   Reply With Quote
Old Oct 12, 2010, 01:46 AM   #2
tesb
Emperor
 
Join Date: Jan 2010
Posts: 1,375
the kfm files just tell your nif file what animation to use. anyways if you want those changes you have to go to the CIV4UnitInfos.xml search for the unit you are trying to change and look for the unit mesh groups entry. between <UnitMeshGroups> and </UnitMeshGroups> should be something like: <EarlyArtDefineTag>ART_DEF_X</EarlyArtDefineTag> and similar entries for other eras. if other eras are missing copy those entries from other units with such entries.
then open the CIV4ArtDefines_Units.xml and make new artdefines for your different eras. now link those art defines in the UnitInfos.
tesb is offline   Reply With Quote
Old Oct 12, 2010, 01:32 PM   #3
berkut
Warlord
 
berkut's Avatar
 
Join Date: Jul 2008
Location: Brazil
Posts: 277
Thank you for the answer, but I'm still troubled. My problem is in the artdefines_unit. I took the worker as an example: it's writen like this

<NIF>Art/Units/ModernWorker/ModernWorker.nif</NIF>
<KFM>Art/Units/ModernWorker/ModernWorker.kfm</KFM>
<SHADERNIF>Art/Units/ModernWorker/ModernWorker_FX.nif</SHADERNIF>
but I can't find those files "modernworker.nif", "modern worker.kfm" and "modernworker_fx.nif"
So my question is how should I name those entries so they mach those of the units I just downloaded?
For example the longboat unit has those archives: arrow.dds, boundshape.tga, boundshap.nif, caravel_256.dds, caravel_damage_128.dds, galley_128.dds, galley_damage_128.dds and longboat.nif
berkut is offline   Reply With Quote
Old Oct 12, 2010, 02:12 PM   #4
tesb
Emperor
 
Join Date: Jan 2010
Posts: 1,375
the files of the workers are probably in the one of the assets.fpk which you can unpack with the pakbuild (just search this forum you will find a thread on how to use it)

to use the files you downloaded:
1) put them all in one directory within your modstructure
2) your entry for the model should look like <NIF>Art/Units/.../longboat.nif</NIF> (... stands for the path you put your unit in)
3) the animation aka the kfm entry is a different matter. the unit you downloaded don't have a *kfm file, you therefore have to use an existing one. search for a unit that uses the same animation and take their kfm entry (you will probably have to use some ship kfm)
4) the unit will most likely not make use of any shader nif so just don't include this entry into your art define
tesb is offline   Reply With Quote
Reply

Bookmarks

Go Back Civilization Fanatics' Forums > CIVILIZATION IV > Civ4 - Creation & Customization > help finding nif files

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Advertisement

All times are GMT -6. The time now is 04:04 AM.


Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
This site is copyright © Civilization Fanatics' Center.
Support CFC: Amazon.com | Amazon UK | Amazon DE | Amazon CA | Amazon FR