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.
Use GS to place towns and edit land
Moderator: OpenTTD Developers
- Redirect Left
- Tycoon
- Posts: 7249
- Joined: 22 Jan 2005 19:31
- Location: Wakefield, West Yorkshire
Re: Use GS to place towns and edit land
As far as I can tell, all of what you've described is possible with NoGo as it currently stands.
Re: Use GS to place towns and edit land
City Founder Game Script : viewtopic.php?f=65&t=82795Redirect Left wrote: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.
I created it on March 12, 2018
Owner and admin of servers with names "Experimental games" .
My heightmaps: Flat Earth Map and United nations logo
My scenarios: Game Fallout 1,2,3 Map scenario
My gamescripts: City Founder GS
My heightmaps: Flat Earth Map and United nations logo
My scenarios: Game Fallout 1,2,3 Map scenario
My gamescripts: City Founder GS
- Redirect Left
- Tycoon
- Posts: 7249
- Joined: 22 Jan 2005 19:31
- Location: Wakefield, West Yorkshire
Re: Use GS to place towns and edit land
Ah nice. I'll see if that does what I want already, and if not. See if the licence allows me to edit it to what i'm desiring.agentw4b wrote: City Founder Game Script : viewtopic.php?f=65&t=82795
Re: Use GS to place towns and edit land
Redirect Left wrote:Ah nice. I'll see if that does what I want already, and if not. See if the licence allows me to edit it to what i'm desiring.agentw4b wrote: City Founder Game Script : viewtopic.php?f=65&t=82795
GPL 2
Owner and admin of servers with names "Experimental games" .
My heightmaps: Flat Earth Map and United nations logo
My scenarios: Game Fallout 1,2,3 Map scenario
My gamescripts: City Founder GS
My heightmaps: Flat Earth Map and United nations logo
My scenarios: Game Fallout 1,2,3 Map scenario
My gamescripts: City Founder GS
Re: Use GS to place towns and edit land
The author of the script is I, the city bases it only on time setting, not as a result of city prosperity or actions from the player. But if you want to improve it or have ideas to improve it, you can.
Owner and admin of servers with names "Experimental games" .
My heightmaps: Flat Earth Map and United nations logo
My scenarios: Game Fallout 1,2,3 Map scenario
My gamescripts: City Founder GS
My heightmaps: Flat Earth Map and United nations logo
My scenarios: Game Fallout 1,2,3 Map scenario
My gamescripts: City Founder GS
Who is online
Users browsing this forum: No registered users and 34 guests