Use GS to place towns and edit land
Posted: 25 Apr 2018 13:40
hi
So what i'm thinking of trying to do, but i'm 99% sure I can't do it for technical reasons, is trying to build a gamescript that dynamically generates a map. Think of a gamescript that can edit the landscape, and place towns every X years after it's happy you've done a good job of adding the last town to your network with sufficient links to each other town.
So basically, I'm looking at trying to do is start with a blank flat map, two towns, and the script will randomly add more towns and edit the landscape as it builds outwards, giving a somewhat different game each time.
Is any part of this feasible with the current state of game scripts? If not, is it something that is easy to do? ie; adding parts of the 'land generator' code to a GS, or a hook into it or similar.
So what i'm thinking of trying to do, but i'm 99% sure I can't do it for technical reasons, is trying to build a gamescript that dynamically generates a map. Think of a gamescript that can edit the landscape, and place towns every X years after it's happy you've done a good job of adding the last town to your network with sufficient links to each other town.
So basically, I'm looking at trying to do is start with a blank flat map, two towns, and the script will randomly add more towns and edit the landscape as it builds outwards, giving a somewhat different game each time.
Is any part of this feasible with the current state of game scripts? If not, is it something that is easy to do? ie; adding parts of the 'land generator' code to a GS, or a hook into it or similar.