ENDLESS™ Legend is a turn-based 4X fantasy-strategy game, where you control every aspect of your civilization as you struggle to save your homeworld Auriga. Create your own Legend!
I've been working on a mod that would allow you to use a Salt the Earth city option during an ongoing ownership phase of a newly captured city using a base amount of production (rather than the city action phase like the regular salt the earth option does right now, so it doesn't happen immediately). I've got that all figured out and working well, but I'd like make this a purely "curb your power" move by the aggressor, where no settler spawns after the city is razed, since i feel that it would be easy to abuse being able to destroy a city and move your settler away from your enemy, but still be able to set up a new city closer to your others basically for free.
The problem I am running into is my inability to find where the settler being spawned from salting the earth is located in the .xml files. Does anyone have an idea of where the lines controlling the spawning of settlers from StE might be? Or if it's possible to get it to act like the Cultists' faction trait "Weapons of the Enemy"??
DepartmentOfIndustry+Constructibles[CityConstructibleAction] in the Simulation folder is the last place I've seen. I think it goes into the hard coding at that point.
Certain, specific things seem to be hard coded. I think this might be one of them.
If you do solve the problem, please do share how you did.
First, you'll nee to look at the file DepartmentOfIndustry+Constructibles[CityConstructibleAction].xml where you will find the city contructible Raze (which correspond to "Salting the Earth").
First, you'll nee to look at the file DepartmentOfIndustry+Constructibles[CityConstructibleAction].xml where you will find the city contructible Raze (which correspond to "Salting the Earth").
If you get rid of the line
$Property(ClassCity:Ownership) eq 1
then you won't need ownership à 100% anymore.
If you get rid of the line
then you won't have a settler created.
I hope it helps!
Thanks for the info! I went ahead and tried it for myself. I should preface this by saying I am a complete and utter stranger to modding.
So it didn't have the desired effect... I now have the option to Salt the Earth while a city is still in the partial ownership phase, but it doesn't actually do anything. I select it, and the next turn the city still stands, and the earth remains salt-free.
Frankenchuby
Roving Cosmonaut
Frankenchuby
Roving Cosmonaut
27 000g2g ptsReport comment
Why do you report Frankenchuby?
Are you sure you want to block Frankenchuby ?
BlockCancelAre you sure you want to unblock Frankenchuby ?
UnblockCancellilyophelia
Shadow Lord
"For every complex problem there is an answer that is clear, simple, and wrong." -H. L. Mencken
lilyophelia
Shadow Lord
14 000g2g ptsReport comment
Why do you report lilyophelia?
Are you sure you want to block lilyophelia ?
BlockCancelAre you sure you want to unblock lilyophelia ?
UnblockCancelOddyC
Newcomer
OddyC
Newcomer
15 600g2g ptsReport comment
Why do you report OddyC?
Are you sure you want to block OddyC ?
BlockCancelAre you sure you want to unblock OddyC ?
UnblockCancelDEVPikou
Dev
DEVPikou
Dev
19 600g2g ptsReport comment
Why do you report Pikou?
Are you sure you want to block Pikou ?
BlockCancelAre you sure you want to unblock Pikou ?
UnblockCancelOddyC
Newcomer
OddyC
Newcomer
15 600g2g ptsReport comment
Why do you report OddyC?
Are you sure you want to block OddyC ?
BlockCancelAre you sure you want to unblock OddyC ?
UnblockCancelOddyC
Newcomer
OddyC
Newcomer
15 600g2g ptsReport comment
Why do you report OddyC?
Are you sure you want to block OddyC ?
BlockCancelAre you sure you want to unblock OddyC ?
UnblockCancel