Unfortunately gamescript can only read with use function "Import" a text in the directory where the script is installed.
And turning on logging will produce dirty text as an output with various tags that is not usable without an external parser.
I miss ordinary editor typu read / write pro gamescripty Can I do it somehow?
How to read and write in plaintext without using external editors and parsers?
Moderator: OpenTTD Developers
How to read and write in plaintext without using external editors and parsers?
Last edited by agentw4b on 06 May 2019 21:02, edited 2 times in total.
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: How to read and write in plaintext without using external editors and parsers?
Regarding the outputs and inputs via the Admin port using JSON format, there is, unfortunately, no usable tool to play with, which would solve this for an ordinary user. The tools I have seen are unusable for non-programmers ...
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 29 guests