Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
We are currently performing site maintenance, parts of civfanatics are currently offline, but will come back online in the coming days (this includes any time you see the message "account suspended"). For more updates please see here.
Erm, you have to copy the normal UnitInfos.xml, ArtDefines_Units.xml, etc, etc to your mod folder, and then you can add these things (the entries itself look correct).
Sorry I didnt mention this in my last reply but I did add the normal xml files first. I just copied the battlecruiser infos so you wouldn't have to go searching through all the files to find them. Im just about out of information at this point but thanks for all your help so far.
Your unitInfos entry doesn't point to the ArtDefines entry, instead it still points to the normal missile cruiser ArtDefine.
You said, there's also an error in CIV4UnitArtStyleTypeInfos.xml, what did you there modify?
I have a problem/bug when i try to replace a standart-unit with a FfH-Unit in my mod.
I changed the Civ4ArtDefines_Unit.xml and Civ4UnitInfos.xml. Everything should be fine, like a lot of other units i managed to insert into my mod....
BUT in game: The unit has the look of the KFM-ArtDefines_Unit-Entry. Only if a mark the unit and do some action the unit gets the look of the NIF-ArtDefines_Unit-Entry. After marking another unit, the graphic change again back to the look of the KFM-ArtDefines_Unit-Entry?????????
Heres a problem I have; I have an A10 and SR71 blackbird custom unit in game I even added custom sounds they all work fine. To test these units I went into worldbuilder. Everything worked great. So then I play a game when it came time to actually build these units; (click on the icon to put them in the build que) my game freezes/ locks up.
Again I tested them in world builder by just adding these units to a city to see if they work and everything is fine but when I click on the icon to put it in build que to actually build the unit my game locks up.
Thanks for the help guys. You got me thinking to look at the button info. Found I had a typo in the XML art defines button info line. Problem solved. thanks for the quick response.
2. Back to CIV4UnitArtStyleTypeInfos.xml, find <UnitType>UNIT_Sung Raider</UnitType>
leads to the CIV4UnitInfos.xml, find
<Type>UNIT_Sung Raider</Type>
(give him <iCombat>99</iCombat>)
3. Again at CIV4UnitArtStyleTypeInfos.xml, there comes <EarlyArtDefineTag>ART_DEF_UNIT_Sung Raider</EarlyArtDefineTag>
The Art-Definition is in the CIV4ArtDefines_Unit.xml
<Type>ART_DEF_UNIT_Sung Raider</Type>
Mostly important are
<NIF>Art/Units/Sung Raider/xxxxx.nif</NIF>
<KFM>Art/Units/Sung Raider/xxxx.kfm</KFM>
<SHADERNIF>Art/Units/Sung Raider/xxxx_FX.nif</SHADERNIF>
Find the xxxx.nif, xxxx.kfm and xxxx_fx.nif in Assets/art/units/sungraider folder
Ensure the kfm (animation file) is pointing to an existing kfm, and that there is a nif with the same name as the kfm file in the same folder as the kfm.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.