Hi,
It´s possible to build road using game script? In doc, there is a function GSRoad.BuildRoad and note
Building a piece of road (without CompanyMode) results in a piece of road owned by towns.
But I tried and does not work for me.
Game script build road
Moderator: OpenTTD Developers
Re: Game script build road
Look at WmDOT: viewtopic.php?f=65&t=53698
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: Game script build road
Thx, resolved.
Missing SetCurrentRoadType line;
Missing SetCurrentRoadType line;
Code: Select all
local roadType = GSRoad.ROADTYPE_ROAD;
GSRoad.SetCurrentRoadType(roadType);
Who is online
Users browsing this forum: No registered users and 19 guests