View Full Version : Artillery Bombardment and iPower


redazncommieDXP
Jan 08, 2007, 12:30 AM
How can I edit in artillery bombardment to my game? I'm thinking about Civ 3 style blast an enemy unit from a square or two over and knock off 3 hp. Pow! Is there any way to do this?

Also, I've found an interesting little tag that calls itself iPower. What does this do exactly? I suspect that it adds to the "Power" score and has nothing to do with combat power or hp?

Dale
Jan 08, 2007, 04:51 AM
Try this for ranged bombarding:

http://forums.civfanatics.com/showthread.php?t=198670

redazncommieDXP
Jan 08, 2007, 05:47 AM
I'm poking around in the mod, but I can't quite figure out what you did to allow ranged bombardment. Could you give me a quick crash course on how you did it? I'm using the ethnic diversity mod (in addition to some changes I made myself) so I have to go in there myself and fiddle around with all the .xmls and whatnot.

Dale
Jan 08, 2007, 07:01 AM
SDK changes are all indicated with "// Dale" so just search on that.

XML changes:
- Civ4MissionInfos.xml: changed bombard mission.
- Civ4InterfaceModeInfos.xml: added bombard interface mode.
- Civ4UnitSchema.xml: do a search for "DCM" which should highlight the two additions.
- Civ4UnitInfos.xml: do a search for "DCMBombRange" will show you the new tag for ranged bombarding units.

redazncommieDXP
Jan 10, 2007, 03:12 AM
I can't seem to make the ranged bombardment work- all I've succeeded in doing is removing the regular bombard feature. This hurts especially bad because I modded walls to give a %200 bonus to defense, and now there is no counter to it.

I didn't put in the .dll, because its addition crashes the game, and I don't know how to crack it open and have a look at what's inside. Is there a certain program I need?

Dale
Jan 10, 2007, 03:27 AM
You need the dll. Whats the error?

redazncommieDXP
Jan 10, 2007, 11:06 AM
"Runtime Error!

Program: [blah blah]Civ4Warlords.exe

This application has requested the Runtime terminate it in an unusual way. Please contact the application's support team for more information."

I know your mod is for Warlords 2.08, and I'm running 2.00. The reason for this is that I've put together a mod of my own that doesn't seem to work for 2.08 and I am rather loathe to throw all my work away and start over from scratch. That's why I've been trying to hand-merge it rather than just copy-pasting.

Dale
Jan 10, 2007, 01:03 PM
Then that's the problem. :)

A 2.08 dll will not run in 2.00. In the zipfile is a folder called source. Contains all the source files. Do as search for "// Dale" in those folders, transfer them into the 2.00 files (copy/paste) then compile.

Dale

redazncommieDXP
Jan 10, 2007, 01:46 PM
Dale, you make me feel foolish. How would I compile said files into a .dll? For that matter, how would I decompile these files?

Dale
Jan 10, 2007, 06:34 PM
Hmm..... can I make a suggestion? Download my full combat mod for Warlords, and when you start a custom game in the game options area, turn off everything except ranged bombardment. My full mod for warlords is for version 2.00, not 2.08.

Or, patch up buddy!

redazncommieDXP
Jan 11, 2007, 04:21 PM
I am now patched up, running a new Civ game minus any ranged bombardment. Only trouble is that I don't know how your .dll will interact with the .dll of the mod I'm running- I'm using Ket's Unaltered Gameplay, and I don't want to lose all the goodies that come with it if I can avoid it.