Reproducible map generation

OpenTTD is a fully open-sourced reimplementation of TTD, written in C++, boasting improved gameplay and many new features.

Moderator: OpenTTD Developers

User avatar
Quast65
Tycoon
Tycoon
Posts: 2654
Joined: 09 Oct 2011 13:51
Location: The Netherlands

Re: Reproducible map generation

Post 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.
Projects: http://www.tt-forums.net/viewtopic.php?f=26&t=57266
Screenshots: http://www.tt-forums.net/viewtopic.php?f=47&t=56959
Scenario of The Netherlands: viewtopic.php?f=60&t=87604

Winner of the following screenshot competitions:
sep 2012, jan 2013, apr 2013, aug 2013, mar 2014, mar 2016, oct 2020
All my work is released under GPL-license (either V2 or V3), if not clearly stated otherwise.
Wahazar
Tycoon
Tycoon
Posts: 1451
Joined: 18 Jan 2014 18:10

Re: Reproducible map generation

Post 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.
Formerly known as: McZapkie
Projects: Reproducible Map Generation patch, NewGRFs: Manpower industries, PolTrams, Polroad, 600mm narrow gauge, wired, ECS industry extension, V4 CEE train set, HotHut.
Another favorite games: freeciv longturn, OHOL/2HOL.
Post Reply

Return to “General OpenTTD”

Who is online

Users browsing this forum: No registered users and 10 guests