Discussion in 'Civ4 - Modding Tutorials & Reference' started by sovarn, Nov 10, 2005.
Is there a list of all possible unit Abilities? Or you can invent and add any ability you want?
You can only change the values which are already in the UnitInfos.xml, and you can't just add other tags in there, they would not work.
If you want totally new abilities, then you'd have to program that in (and that would be then the wrong tutorial for you ).
Ok, thanks for this answer.
Hey I THINK i did everything in the tutorial right but by all the new units showing up as red domes apparently i didnt. anyone else with this problem or know what i can do to fix it?
the path in ArtDefines_units.xml is wrong, most likely the file name. Check it again .
I apologize if this is the wrong place to ask this question. I am trying to change some units stats or values or whatever they are called, and I notice for ROM that instead of using terrain offense and defense, Afforesse used featureattacks and featuredefense, and I just wondered why, and if any problems could be caused going the other way?
2nd question. If I want to change a units offense and defense in flatlands, do I have to do this <FeatureAttack><FeatureType>FEATURE_PLAINS</FeatureType>
</FeatureAttack> for grassland and marsh and tundra separately?
Oh, if you prefer terrain or feature related attack/defense values is just a matter of taste and what you want to do, nothing more.
...er...yes, you have to do it separately, but together in the main tag...er...e.g.:
Thank you, The J, exactly what I needed.
Love Civ IV and remember my days tinkering around with modding Civ II. Not much I want to change, except for one thing:
I want to make Mechanized Infantry also require having the Oil resource. But have absolutely no clue on how to do that. I have BtS (3.17) any idea on where I need to look?
Like mentioned in the OP, it's the Assets\XML\Units\UnitInfos.xml.
Just search for MECHANIZED_INFANTRY, find the related entry, and change:
I have no trouble adding new units: they show up in game properly and the button icons all work. However, the green/white/red dot status indicator button that used to appear at the top of every unit's (even unmodded units) flagstaff has disappeared. How to I get that to come back?
Where's the Newbie friendly tutorial?... like has absolutely no experience is modding Civ IV because it's modding interface sucks compared to 3's.
Hi, Civ4 BTS noob here. Anyone know how I can add artillery type attack to a spy unit? I'm working on a saboteur that can destroy stuff. I'm using the Great Spy assets, but don't have the ability to attack a unit or city. Any hints would be great. Thanks!
i am attempting to add a unit from FfH2 to a new mod to do some tinkering, and I get everything to work correctly, except that my marksman just stands there with his arms out at his side all the time in map, and in pedia
Hi I realize no one has posted in here in over a year, so sorry if an inconvenience...
Im new to modding civ 4, so far i managed to make a civ, add a tech, all with buttons and text entries. (After much trial and error I might add)
I have followed this tutorial to the word and I keep getting this same error
its in Artdefines_Units it says line 11, 12
then in unitclassinfos it says 15,17
Then it goes into a whole bunch of errors I'm assuming originating from these two.
very confused as i didnt edit anything in that area???
I pasted everything at the bottom as directed.
please help uploaded the two files in question, tried to get screenshots of errors but print screen button doesnt work.
the content ive attempted to add is the last entry reskined warrior names Brand instead of terry
*******problem solved had the artdefines xml from vanilla in there....******
Hello Civ4 lovers. I have previously(3years ago) knew exactly how to add second Unique Units and Buildings to CIV4. Now started to do it again, my unit appears on the map, but i stuck on the part ,,how to assign unit to specific civilization". It seems that you should add units in CIV4CivilizationInfos.xml file under<units> </units> tag, but it keeps crashing and saying file is failed to load, the game keeps on running. All i want to do is to replace a certain unit with my modded one and to assign it to specific civilization. Now it works only with all civilizations. Thank you in advance
Separate names with a comma.