Discussion in 'Civ4 - Modding Tutorials & Reference' started by Rabbit, White, Jul 5, 2006.
And here are the other files.
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 guess the problem was the UnitArtStyle since I redid the mod and left that file out. And it worked!
Thanks for all your help!
I checked out your Mars mod, looks way cool and I'll probably download it after I blow something somethig up with my battlecruiser.
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?????????
Can someone help me please?
Check your graphics options, and enable the animations there .
That it is! Thank you for the promt answer. Sorry fot this simple question. I would never get the solution by my self!
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.
Any help or hints where my problem may be?
What's the path for the button of these units?
And how big are the buttons?
If they are bigger than 64*64, Civ will just crash.
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.
Not to sound daft, but these procedures also apply to variable designs (e.g. ethnic diverse designs) for currently existing units too right?
No it doesn't.
The information for the ethnic unit artstyles is in Civilizations\CIV4UnitArtStyleTypeInfos.xml.
Is there a tutorial for that elsewhere, or is the procedure relatively the same?
I don't know of any tutorial for this .
But shouldn't be to complicated .
It's nearly the same as adding an entry to the ArtDefines_units.xml.
@JaeChunDaeSung: Just look in the CIV4UnitArtStyleTypeInfos.xml (in the Assets/xml/Civilizations folder).
1. See <Type>UNIT_ARTSTYLE_Sung empire</Type>
this leads to the CIV4CivilizationInfos.xml file, there
2. Back to CIV4UnitArtStyleTypeInfos.xml, find <UnitType>UNIT_Sung Raider</UnitType>
leads to the CIV4UnitInfos.xml, find
(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
Mostly important are
Find the xxxx.nif, xxxx.kfm and xxxx_fx.nif in Assets/art/units/sungraider folder
4. Thats it.
I am standing behind closed gates! Here is my problem:
I try the water_lizard-Unit from the Animal_Empire-Mod. But now i see, that the unit jams the Civilopedia and has no InterfaceScale????
It must be as simple as my other silly question. Please look at the sreenshots.
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.
They named different But i cant easy rename one of this files, can i?
On the other hand, i see a lot of newly created units, where the names are different!?
Separate names with a comma.