Is Random Seed on new game creation gone?
Moderator: OpenTTD Developers
Is Random Seed on new game creation gone?
I haven't played in a few versions, and just downloaded the most recent version on the main page (1.5.0 beta 1). When I last played, I was used to tweaking my settings and grfs to my liking, and then regenerating my world with the same seed. In this version, there doesn't seem to be a spot on the New Game window for using a specific seed. Has this feature been removed? Is there a secret way of re-accessing it?
I had started a new game with a particularly interesting looking seed, but then realized I wanted an 1860 start, not an 1800 start (so I could have ships with Fish2)... and while I have the seed written down, there seems to be no way to get it back. I am sad.
I had started a new game with a particularly interesting looking seed, but then realized I wanted an 1860 start, not an 1800 start (so I could have ships with Fish2)... and while I have the seed written down, there seems to be no way to get it back. I am sad.
-
- Engineer
- Posts: 86
- Joined: 07 Sep 2014 09:20
Re: Is Random Seed on new game creation gone?
I miss that option too. I use it quite a lot for the same reasons you mention.
- planetmaker
- OpenTTD Developer
- Posts: 9432
- Joined: 07 Nov 2007 22:44
- Location: Sol d
Re: Is Random Seed on new game creation gone?
It's only gone from the GUI. You should still be able to set it via command prompt (open with key left of '1' usually), the variable is called 'generation_seed': set generation_seed XXX where XXX is your desired random seed. Then have OpenTTD re-generate the map.fieari wrote:I haven't played in a few versions, and just downloaded the most recent version on the main page (1.5.0 beta 1). When I last played, I was used to tweaking my settings and grfs to my liking, and then regenerating my world with the same seed. In this version, there doesn't seem to be a spot on the New Game window for using a specific seed. Has this feature been removed? Is there a secret way of re-accessing it?
I had started a new game with a particularly interesting looking seed, but then realized I wanted an 1860 start, not an 1800 start (so I could have ships with Fish2)... and while I have the seed written down, there seems to be no way to get it back. I am sad.
OpenTTD: manual | online content | translations | Wanted contributions and patches
#openttdcoop: blog | wiki | public server | DevZone | NewGRF web translator
DevZone - home of the free NewGRFs: OpenSFX | OpenMSX | OpenGFX | Swedish Rails | OpenGFX+ Trains|RV|Industries|Airports|Landscape | NML
Re: Is Random Seed on new game creation gone?
Would it be possible or make sense to include a place in advanced settings to enter it?
Do you like drones, quadcopters & flying toys? Check out Drone Strike Force!
Base Music Sets: OpenMSX | Scott Joplin Anthology | Traditional Winter Holiday Music | Modern Motion Music
Other Projects: 2CC Trams | Modern Waypoints | Sprite Sandbox & NewGRF Releases | Ideabox | Town Names | Isle of Sodor Scenario | Random Sprite Repository
Misc Topics: My Screenshots | Forgotten NewGRFs | Unfinished Graphics Sets | Stats Shack | GarryG's Auz Sets
Base Music Sets: OpenMSX | Scott Joplin Anthology | Traditional Winter Holiday Music | Modern Motion Music
Other Projects: 2CC Trams | Modern Waypoints | Sprite Sandbox & NewGRF Releases | Ideabox | Town Names | Isle of Sodor Scenario | Random Sprite Repository
Misc Topics: My Screenshots | Forgotten NewGRFs | Unfinished Graphics Sets | Stats Shack | GarryG's Auz Sets
Re: Is Random Seed on new game creation gone?
You can also use the console command "newgame 12345" to start a game with the selected settings and a specific seed.
Advanced setting does not sound useful since it is in a different window.
Anyway, if we gain a map generation preview, a randomise button would make sense again.
Maybe also a seed entry, though the seed has always been pretty useless, since you also need to have all the settings (including some advanced settings, and NewGRF) to be the same.
Advanced setting does not sound useful since it is in a different window.
Anyway, if we gain a map generation preview, a randomise button would make sense again.
Maybe also a seed entry, though the seed has always been pretty useless, since you also need to have all the settings (including some advanced settings, and NewGRF) to be the same.
⢇⡸⢸⠢⡇⡇⢎⡁⢎⡱⢸⡱⢸⣭⠀⢸⢜⢸⢸⣀⢸⣀⢸⣭⢸⡱⠀⢰⠭⡆⣫⠰⣉⢸⢸⠀⢰⠭⡆⡯⡆⢹⠁⠀⢐⠰⡁
Re: Is Random Seed on new game creation gone?
maybe entering the seed could be hidden as ctrl+click on this hypothetical randomize button
Re: Is Random Seed on new game creation gone?
Hm, is this right? Using OpenTTD 1.5.0 RC1
Code: Select all
]
]set generation_seed 2953721201
]getseed
Generation Seed: 4022468488
]
Do you like drones, quadcopters & flying toys? Check out Drone Strike Force!
Base Music Sets: OpenMSX | Scott Joplin Anthology | Traditional Winter Holiday Music | Modern Motion Music
Other Projects: 2CC Trams | Modern Waypoints | Sprite Sandbox & NewGRF Releases | Ideabox | Town Names | Isle of Sodor Scenario | Random Sprite Repository
Misc Topics: My Screenshots | Forgotten NewGRFs | Unfinished Graphics Sets | Stats Shack | GarryG's Auz Sets
Base Music Sets: OpenMSX | Scott Joplin Anthology | Traditional Winter Holiday Music | Modern Motion Music
Other Projects: 2CC Trams | Modern Waypoints | Sprite Sandbox & NewGRF Releases | Ideabox | Town Names | Isle of Sodor Scenario | Random Sprite Repository
Misc Topics: My Screenshots | Forgotten NewGRFs | Unfinished Graphics Sets | Stats Shack | GarryG's Auz Sets
Re: Is Random Seed on new game creation gone?
You need to distinguish current-game-settings and new-game-settings.kamnet wrote:Hm, is this right? Using OpenTTD 1.5.0 RC1
"getseed" will aways refer to the current game.
In-game "setting generation_seed" refers to the current game settings. Changing it affects "restart".
In-game "setting_newgame generation_seed" refers to new games. Changing it affects "newgame".
In main menu both "setting" and "setting_newgame" refer to new games. Changing it affects "newgame".
In your example you used "getseed" and "setting" in main menu. The former gives you the seed of the intro game, the latter the seed for new games. To read the value of a setting use "setting" resp. "setting_newgame" without appending a new value.
⢇⡸⢸⠢⡇⡇⢎⡁⢎⡱⢸⡱⢸⣭⠀⢸⢜⢸⢸⣀⢸⣀⢸⣭⢸⡱⠀⢰⠭⡆⣫⠰⣉⢸⢸⠀⢰⠭⡆⡯⡆⢹⠁⠀⢐⠰⡁
Re: Is Random Seed on new game creation gone?
Thank you for the clarification.
Do you like drones, quadcopters & flying toys? Check out Drone Strike Force!
Base Music Sets: OpenMSX | Scott Joplin Anthology | Traditional Winter Holiday Music | Modern Motion Music
Other Projects: 2CC Trams | Modern Waypoints | Sprite Sandbox & NewGRF Releases | Ideabox | Town Names | Isle of Sodor Scenario | Random Sprite Repository
Misc Topics: My Screenshots | Forgotten NewGRFs | Unfinished Graphics Sets | Stats Shack | GarryG's Auz Sets
Base Music Sets: OpenMSX | Scott Joplin Anthology | Traditional Winter Holiday Music | Modern Motion Music
Other Projects: 2CC Trams | Modern Waypoints | Sprite Sandbox & NewGRF Releases | Ideabox | Town Names | Isle of Sodor Scenario | Random Sprite Repository
Misc Topics: My Screenshots | Forgotten NewGRFs | Unfinished Graphics Sets | Stats Shack | GarryG's Auz Sets
Re: Is Random Seed on new game creation gone?
1.I uploaded a scenario map and it did not work. Newgame or restart has always been another random map.frosch wrote:You need to distinguish current-game-settings and new-game-settings.kamnet wrote:Hm, is this right? Using OpenTTD 1.5.0 RC1
"getseed" will aways refer to the current game.
In-game "setting generation_seed" refers to the current game settings. Changing it affects "restart".
In-game "setting_newgame generation_seed" refers to new games. Changing it affects "newgame".
In main menu both "setting" and "setting_newgame" refer to new games. Changing it affects "newgame".
In your example you used "getseed" and "setting" in main menu. The former gives you the seed of the intro game, the latter the seed for new games. To read the value of a setting use "setting" resp. "setting_newgame" without appending a new value.
In the picture it has the same number, but the map is visibly different from the scenario. I need to load the same map after the game has ended automatically, but it does not work for the scenario map. And the parameter in the openttd.cfg file does not exist to retrieve scenario again after automatic restart.
2. In other cases, I do not need generating generation_seed in the openttd.cfg file, I need the game to be random, but it is not. The generation_seed parameter is always generated
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: Is Random Seed on new game creation gone?
try "settingnewgame" instead of "set"?
Re: Is Random Seed on new game creation gone?
It does not work. This generates a completely new map with a different generation_seed and without all of the NewGRFs set.Eddi wrote:try "settingnewgame" instead of "set"?
Probably the number generated with the getseed command is valid only for random maps. When I get a scenario map, the getseed command shows me a number that when I use I get a completely different map after "restart" or "newgame"...
If there was a parameter that would automatically re-run a scenario map after the previous game, I would not mind, but I do not know any such parameter.
I want the random game to be random, so it does not generate the same generation_seed, and to make the specific scenario maps repeat after the game. Is it an impossible dream?
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: Is Random Seed on new game creation gone?
if the default behaviour doesn't work for you, then you might customize it by using the admin port
the random seed is pretty much useless for scenarios, as it was the random seed set when somone started the scenario editor, and has nothing to do with how that person used the scenario editor later
also, the same seed may generate different maps depending on other settings like town density, town names, house newgrfs, start year, etc. and also game versions can give different outcome
the random seed is pretty much useless for scenarios, as it was the random seed set when somone started the scenario editor, and has nothing to do with how that person used the scenario editor later
also, the same seed may generate different maps depending on other settings like town density, town names, house newgrfs, start year, etc. and also game versions can give different outcome
Who is online
Users browsing this forum: No registered users and 23 guests