2 basic modding questions

prototypetolyfe

Chieftain
Joined
Aug 28, 2006
Messages
33
1. how can i make the apostilic palace not exist, but still keep the UN?

this may seam a bit odd but,
2. how can i make is so the human player can offer his/herself as a vassal or capitulate to an AI (i.e. me being the AI's vassal)?
 
The easiest way to remove the AP is to delete it from the Civ4BuildingInfo.xml (NOT Civ4BuildingClassInfo.xml), but i seriously suggest you make a copy of the original and work on that.

As for question 2, i have no clue, but you'll probably have to go into python or the sdk.
 
The easiest way to remove the AP is to delete it from the Civ4BuildingInfo.xml (NOT Civ4BuildingClassInfo.xml), but i seriously suggest you make a copy of the original and work on that.

As for question 2, i have no clue, but you'll probably have to go into python or the sdk.

Don't directly edit it, copy it into custom assets and edit that version. That way you can just delete the copy to remove changes, and it won't screw up multiplayer.
 
thanks for the help with the first part, i will do that before my next game, now is there anyway to achieve my second goal?
 
You're better off asking modding questions in the Creation & Customization forum.

Allowing the human to become a vassal most likely requires SDK changes and may not even be fully possible since the trade screen (where you would make the deal) isn't fully moddable. However perhaps you can find some way to do it.

Note that when disabling things like buildings or units, it is often advisable to simply set the cost to -1 rather than actually deleting it since it's less likely to have unforseen consequences and easier to restore if something goes wrong.
 
Back
Top Bottom