Where is XML for air bomb missions?

Kip Beagle

Sleestak
Joined
Mar 21, 2008
Messages
99
Location
In a van, down by the river.
Does anyone know where to go in the XML files to change the chance of success for air bomb missions?

Actually, is there a list of all the XML codes anywhere (I know it would be enormous, but if there's a list somewhere, that'd be fantabulous!)?

Happy new year! :cheers:
 
What do you exactly mean?
The success depends on the strength of the bomber and the defending unit (...and promotions, etc).
You could change the bomber-strenght (iAircombat in Civ4unitinfos.xml),the chance of collateral damage (oh, it's already 100 [icollateraldamage in civ4unitinfos.xml]), the maximum collateral damage (bombers are limited to 50%, you could change it (icollateraldamagelimit in Civ4unitinfos.xml), the maximum of units, which are effected by the collateral damage (5 for the bomber, see icollateraldamagemaxunits, the same file), or the bomb-rate for the culture garrison (ibombrate, same file).

And i think, there's no complete list of .xml-codes here (but i don't know).
It's also not necessary, because the most things are self-explanatory.
I can say that :D, i haven't thought about bombers until this moment, i've only looked into the unitinfos.xml :).


And a happy new year :).
 
Well, there's no defending unit in air bomb. Air bomb is the option that lets you reduce city defence or destroy a tile improvement.

The reason I'm asking is because I'm playing the game with a mod (wolfrevolution) and the air bomb option isn't working properly. It only lets you reduce city defences but it never destroys tile improvements. So I was hoping to find out where to look for it in xml so I can see if there's something screwy.

Also, the xml codes are somewhat self-explanatory, but there are some really confusing ones in there too. For example, what does <iFeatureProductionPercent>100</iFeatureProductionPercent> in the gamespeedinfo.xml mean? (I don't actually care what it means, but it's a good example of a non self-explanatory xml code I think)

But thanks The_J for responding so fast!
 
Okay, i've never played civ in englisch, i'm sorry for the missunderstanding :).

Okay, for the improvements, it could be the iAirbombDefense-tag in the assets\xml\terrain\civ4improvementinfos.xml. Higher values=less success (i think so).
For the buildings...i don't know. You could give all buildings a positive iAirModifier (in the assets\xml\buildings\civ4buildingsinfos.xml), maybe.

I don't know, what iFeatureProductionPercent is, but if you change the other values in the gamespeedinfo, just change it too :D.
 
It's a random number based on iBombRate (modified by the number of hitpoints the bomber has) compared to a random number based on iAirBombDefense. If the first is greater than or equal to the second, the improvement is destroyed.

EDIT: So by increasing iBombRate, you should see greater success. I haven't even looked at iAirBombDefense, so I don't know what values those are...
 
Hmmm... the CIV4ImprovementInfos.xml doesn't seem to have been changed by the modder, as I don't see it in the mod's asset directory. So I'm assuming the mod is simply using the default game's improvementinfos.xml file. Since the tile bombing works for me on unmodded games, I don't think that can be the issue.

Weird. I'm not sure what to do at this point.

Thanks again though!
 
Back
Top Bottom