Chronis
Warlord
- Joined
- Feb 3, 2011
- Messages
- 102
Hello, I am trying to add two changes in my MOD that will require python and/or
dll changes. My experience with both of these is limited, but with the various tutorials available I think I can muddle my way through.
My question is how do I track down the code that controls these functions.
The changes I wish to MOD are:
1) Increase the negative consequences for razing cities
When playing with revDCM, Revolutions have made capturing and holding enemy cities very challenging (as it should be). However, raising enemy cities is almost consequence free. This distorts gameplay such that the optimal strategy is to always raise a captured city rather then try to hold it.
I would like to modify the code that controls when and how free units spawn following the razing of a city. I believe there is already code somewhere that causes free defenders to spawn on city razing late in the game but I do not know where it is.
2) Magic disappearing reappearing culture.
Currently, when you destroy the last city of an enemy empire all of their culture magically disappears. When playing with the RevDCM mod due to the importance of culture on revolutions this makes complete and total destruction of an enemy empire the only optimal way to play. Making a defeated state a vassal is not a competitive strategy nor is capturing part of an enemy empire and then making peace.
I would like to make enemy culture not vanish on defeat of an enemy civilization. This would make conquering an enemy civ harder, allow for alternative strategies like vassal states, and eliminate the problem of magically reappearing culture.
How do I track down the code that instructs the game to remove enemy culture once that civilization is eliminated?
Any assistance would be greatly appreciated.
dll changes. My experience with both of these is limited, but with the various tutorials available I think I can muddle my way through.
My question is how do I track down the code that controls these functions.
The changes I wish to MOD are:
1) Increase the negative consequences for razing cities
When playing with revDCM, Revolutions have made capturing and holding enemy cities very challenging (as it should be). However, raising enemy cities is almost consequence free. This distorts gameplay such that the optimal strategy is to always raise a captured city rather then try to hold it.
I would like to modify the code that controls when and how free units spawn following the razing of a city. I believe there is already code somewhere that causes free defenders to spawn on city razing late in the game but I do not know where it is.
2) Magic disappearing reappearing culture.
Currently, when you destroy the last city of an enemy empire all of their culture magically disappears. When playing with the RevDCM mod due to the importance of culture on revolutions this makes complete and total destruction of an enemy empire the only optimal way to play. Making a defeated state a vassal is not a competitive strategy nor is capturing part of an enemy empire and then making peace.
I would like to make enemy culture not vanish on defeat of an enemy civilization. This would make conquering an enemy civ harder, allow for alternative strategies like vassal states, and eliminate the problem of magically reappearing culture.
How do I track down the code that instructs the game to remove enemy culture once that civilization is eliminated?
Any assistance would be greatly appreciated.