Rathelon
Prince
I'm trying to create a few more changes for Civ IV, and I think most of them are fairly simple XML modifications, but I'd appreciate some input from the more experienced guys here. I've done modding for Freelancer in the past (mostly just editting .ini files and .dll files - no modeling), and I've been working on the XML files a bit in Civ IV.
So far, my custom mod includes some things made by you good folks here, and a couple minor XML changes I've made. I've added in the Mobile Artillery and Mobile SAM that came with patch 1.52, custom flags (courtesy of Rhye, Bad Ronald, and Krispa), and Willowmound's diplomacy text. I also changed some game text myself, removed global warming, changed a couple civ colors, and changed the names of Praetorians to Roman Legion and Colosseum to Stadium (inspired by another person here).
Many of the additional changes I want to make are inspired by ideas discussed here, or things that were in previous Civ versions that are missing.
1. Make the Stealth Bomber unique to America, but add a new unit for everyone else called a Long Range Bomber. I know I can do this in XML, though I'll have to borrow somebody's model for the Long Range Bomber. Though, I'm not exactly sure how to make the Stealth Bomber unique. Should I just remove the evasion bonus from the default Stealth Bomber, and rename it in the GameTextObjects file to display as Long Range Bomber and replace it's graphics with the new model. Then create the original Stealth Bomber (using the backup files) model as a new unit, unique to the Americans?
2. Change Navy Seals to Special Forces (no longer a unique unit). I know this is just XML changes also (assuming I just keep the old model - which I probably will). I'd have to remove it as a unique unit from America, and then do what to make it available to every civ? Or is that all I need to do?
3. Marines dont become obsolete. Another easy one, I think. Do I just remove the upgrade to mechanized infantry from their unit tag in the UnitInfos file?
4. Cavalry upgrades to armor (i.e Tank), as well as Gunship. Personal preference, since I was an armor crewman in the Army, but I was in the 1st Cavalry Division. Another simple one, I think. Just add an the additional upgrade to the end of the Cavalry definition, correct?
5. Add in a transport helicopter. For this one I've already downloaded Nautil's Chinook and MI26 helicopters, but there doesnt seem to be enough .nif files to create the new unit. The Mobile Artillery and Mobile SAM had a dozen or so files associated with them, but Nautil's models only have 3 each. Not sure what to do here?
6. Make helicopters (Gunships and the proposed transport) able to fly over water, and also able to land on aircraft carriers. I know how to make them able to land on carriers, simple enough. And, I've read that you can just change the Gunship to DOMAIN_NONE to make them fly over water - but when I tried that, it only was able to move 1 space per turn. I must be missing something.
7. Let Submarines carry Special Forces. Submarines can carry SPECIALUNIT_PEOPLE, and SPECIALUNIT_PEOPLE is defined in the GameTextInfos as 'Scouts, Explorers, Missionaries, Spies, Great People'. Now, if I add Special Forces here, all that's going to do is make it display to the player that Submarines can carry Special Forces. How to I make the game know that Submarines can carry them?
The last two things I want to do, I dont think can be done in XML, which is the limit of my knowledge so far. I would like to have Artillery and Mobile Artillery be able to attack/bombard from more than adjacent tile. At least 1 or 2 tiles range. I'd also like workers to have the ability to build Airstrips again, and have Airstrips act like a city when it comes to healing rate of units positioned there. In fact, that would be another addition to make Forts more useful as well - for land units. Make Forts give the same healing bonus as a friendly city.
Any advice or tips would be appreciated.
So far, my custom mod includes some things made by you good folks here, and a couple minor XML changes I've made. I've added in the Mobile Artillery and Mobile SAM that came with patch 1.52, custom flags (courtesy of Rhye, Bad Ronald, and Krispa), and Willowmound's diplomacy text. I also changed some game text myself, removed global warming, changed a couple civ colors, and changed the names of Praetorians to Roman Legion and Colosseum to Stadium (inspired by another person here).
Many of the additional changes I want to make are inspired by ideas discussed here, or things that were in previous Civ versions that are missing.
1. Make the Stealth Bomber unique to America, but add a new unit for everyone else called a Long Range Bomber. I know I can do this in XML, though I'll have to borrow somebody's model for the Long Range Bomber. Though, I'm not exactly sure how to make the Stealth Bomber unique. Should I just remove the evasion bonus from the default Stealth Bomber, and rename it in the GameTextObjects file to display as Long Range Bomber and replace it's graphics with the new model. Then create the original Stealth Bomber (using the backup files) model as a new unit, unique to the Americans?
2. Change Navy Seals to Special Forces (no longer a unique unit). I know this is just XML changes also (assuming I just keep the old model - which I probably will). I'd have to remove it as a unique unit from America, and then do what to make it available to every civ? Or is that all I need to do?
3. Marines dont become obsolete. Another easy one, I think. Do I just remove the upgrade to mechanized infantry from their unit tag in the UnitInfos file?
4. Cavalry upgrades to armor (i.e Tank), as well as Gunship. Personal preference, since I was an armor crewman in the Army, but I was in the 1st Cavalry Division. Another simple one, I think. Just add an the additional upgrade to the end of the Cavalry definition, correct?
5. Add in a transport helicopter. For this one I've already downloaded Nautil's Chinook and MI26 helicopters, but there doesnt seem to be enough .nif files to create the new unit. The Mobile Artillery and Mobile SAM had a dozen or so files associated with them, but Nautil's models only have 3 each. Not sure what to do here?
6. Make helicopters (Gunships and the proposed transport) able to fly over water, and also able to land on aircraft carriers. I know how to make them able to land on carriers, simple enough. And, I've read that you can just change the Gunship to DOMAIN_NONE to make them fly over water - but when I tried that, it only was able to move 1 space per turn. I must be missing something.
7. Let Submarines carry Special Forces. Submarines can carry SPECIALUNIT_PEOPLE, and SPECIALUNIT_PEOPLE is defined in the GameTextInfos as 'Scouts, Explorers, Missionaries, Spies, Great People'. Now, if I add Special Forces here, all that's going to do is make it display to the player that Submarines can carry Special Forces. How to I make the game know that Submarines can carry them?
The last two things I want to do, I dont think can be done in XML, which is the limit of my knowledge so far. I would like to have Artillery and Mobile Artillery be able to attack/bombard from more than adjacent tile. At least 1 or 2 tiles range. I'd also like workers to have the ability to build Airstrips again, and have Airstrips act like a city when it comes to healing rate of units positioned there. In fact, that would be another addition to make Forts more useful as well - for land units. Make Forts give the same healing bonus as a friendly city.
Any advice or tips would be appreciated.