Page 5 of 5

Re: Reproducible map generation

Posted: 27 Sep 2020 21:07
by Quast65
Hello!

I am trying to import some signs using the import_towns command in the console.

I use this format:

Code: Select all

0,0,-2048,-2048
Afgedamde Maas,N,0,-1128,-1292
Alde Faenen,N,0,-678,-470
Alkmaardermeer,N,0,-662,-1056
Ameland,N,0,-464,-379
Amstelmeer,N,0,-542,-871
Amsterdam-Rijnkanaal,N,0,-854,-1092
Amsterdam-Rijnkanaal,N,0,-987,-1152
Ankeveense Plassen,N,0,-885,-1083
But there are some issues...

1.The signs that are placed on water show up as signs, but have N in brackets next to the name, like this:
Afgedamde Maas (N)
2.The signs that are placed on land show up as little villages and not as signs.

What am I doing wrong?

EDIT:
I realize now that I possibly dont have the patch that allows importing of signs (only the one that imports towns).
Is there a compiled version of OTTD that has the patch that has the feature for importing signs?

EDIT2:
Never mind ;-)
It wasnt too much work to delete the ones that showed up as little villages and replace those by signs manually.
Also renaming the ones that had (N) behind the name wasnt too much work either ;-)
All is fine now in my scenarios.

Re: Reproducible map generation

Posted: 10 Jul 2021 00:23
by Wahazar
I updated this 'patch' to catch up changes in current version.
console_cmds.cpp based on 1.11.1 can be downloaded from link in origin post.
To compile, one need just to overwrite original console_cmds.cpp with my version,
or more elegant (especially in case of JGRPP to avoid deleting additional non-vanilla commands),
just search for 4 /* import scenario patch ... /* end import scenario patch... blocks in my console_cmds.cpp and copypaste them into appropriate places in your console_cmds.cpp, than recompile.

Unfortunately, I have no windows compiler, thus I can't provide windows executables.