ENDLESS™ Space is a turn-based 4X strategy game, covering the space colonization age in the ENDLESS™ Universe. You control every aspect of your civilization as you strive for galactic dominion.
Is it possible to mod my govenors to act differently to game defaults?
I think the "AIParametersBuilding.xml" file is what I want. But I can't figure out how the mechanics work. I understand that a higher number meant a higher priority, but I can't come up with a proper mechanism that would explain how each governor type or balanced would work.
I thought balanced might take the highest priority number for any and use that, or average it. Either way though, it would end up with a number above 0 for the food improvements. On the other hand the military improvements are always built.
Also is it possible to mod a my governors to be different to the AI players? Or for me to use a custom governor in multiplayer games? (I want to save time because I pretty much have a built order for some "must build" buildings.) But I don't want to build most others as a way to conserve dust upkeep.
ryousei wrote: Is it possible to mod my govenors to act differently to game defaults?
I think the "AIParametersBuilding.xml" file is what I want. But I can't figure out how the mechanics work. I understand that a higher number meant a higher priority, but I can't come up with a proper mechanism that would explain how each governor type or balanced would work.
I thought balanced might take the highest priority number for any and use that, or average it. Either way though, it would end up with a number above 0 for the food improvements. On the other hand the military improvements are always built.
Also is it possible to mod a my governors to be different to the AI players? Or for me to use a custom governor in multiplayer games? (I want to save time because I pretty much have a built order for some "must build" buildings.) But I don't want to build most others as a way to conserve dust upkeep.
Yes, you can but only to some extent.
There's more files than just AIParametersBuilding.xml involved in that but you are right that it is one of them.
The file that describes the difference between the Governors is, I think the one with the word "Bailiff" in it's name. It describes the a factor how important each governor regards each of the values you can see in AIParametersBuilding.xml. There also is another multiplyer in Registry.xml and one in the XML for the different races. Also there are some situational multiplyers in the game, that could also be found in Registry.xml (for example there is a modifier to food when the population is low and one to military when at war).
Also very important are the files like StarSystemImprovement.xml, where there are specific conditions defined that must be met before a building can be built by a governor.
Example: The governor won't make a building that only gives a benefit when there is an explored moon, when you have no moon.
It would be really hard to modify a governor without also affecting the play of the AI since the AI has been seen to at least use following different governors:
Balanced, Food, Production, Dust.
Making a new governor would only allow you to modify their modifiers but that is probably not what you want when looking at AIParametersBuilding.xml.
Here's how the governor works:
When deciding if and in what order to build things he will divide the value after all multipliers have been applied by the number of turns it takes to build them.
If this is lower than the value for Ind=>Dust it won't build it.
For example: Your building has a Value of Industry=2.
You use the balanced Governor who has a multiplier of 0.6 for Industry.
This gives you 1.2.
The value for Ind=>Dust is 0.1 and the multipliers are 0.7 and 0.5.
This gives you 0.035.
So the maximum number of turns it can take for your building to be built is 1.2/0.035=34.
As whatever you are doing with this potentially improves the AI, I'm interested in following your changes.
ryousei
Newcomer
ryousei
Newcomer
100g2g ptsReport comment
Why do you report ryousei?
Are you sure you want to block ryousei ?
BlockCancelAre you sure you want to unblock ryousei ?
UnblockCanceldavea
Newcomer
davea
Newcomer
700g2g ptsReport comment
Why do you report davea?
Are you sure you want to block davea ?
BlockCancelAre you sure you want to unblock davea ?
UnblockCancelAil
VIP
Ail
VIP
6 400g2g ptsReport comment
Why do you report Ail?
Are you sure you want to block Ail ?
BlockCancelAre you sure you want to unblock Ail ?
UnblockCancelDEVThorTillas
Dev
Florian - Lead programmer on Humankind
DEVThorTillas
Dev
30 200g2g ptsReport comment
Why do you report ThorTillas?
Are you sure you want to block ThorTillas ?
BlockCancelAre you sure you want to unblock ThorTillas ?
UnblockCancelAil
VIP
Ail
VIP
6 400g2g ptsReport comment
Why do you report Ail?
Are you sure you want to block Ail ?
BlockCancelAre you sure you want to unblock Ail ?
UnblockCancelryousei
Newcomer
ryousei
Newcomer
100g2g ptsReport comment
Why do you report ryousei?
Are you sure you want to block ryousei ?
BlockCancelAre you sure you want to unblock ryousei ?
UnblockCancelAil
VIP
Ail
VIP
6 400g2g ptsReport comment
Why do you report Ail?
Are you sure you want to block Ail ?
BlockCancelAre you sure you want to unblock Ail ?
UnblockCancel