Patch: overwrite roadstops and airports
Moderator: OpenTTD Developers
Patch: overwrite roadstops and airports
This is a patch to allow you to replace road stops (bus or truck) and airports. Simply build the new roadstop / airport over the top of the new one, similar to the way you can replace train station tiles without removing them first.
Note that, since you can only have one airport per station, trying to build an airport adjoining a station which already has an airport will also replace the old one. Let me know it that isn't the desired effect.
Also, the old airport must be free of planes, including in the hangar, take-off and landing. Basically the rules are the same as for removing an airport without this patch.
Version 1 - replace roadstops only
Version 2 - fixed bug with removing roadstops (thanks benc!).
Version 3 - fixed bug with building over a stop on a town-owned road.
Version 4 - replace airports as well
Attached is a patch against r9889
Note that, since you can only have one airport per station, trying to build an airport adjoining a station which already has an airport will also replace the old one. Let me know it that isn't the desired effect.
Also, the old airport must be free of planes, including in the hangar, take-off and landing. Basically the rules are the same as for removing an airport without this patch.
Version 1 - replace roadstops only
Version 2 - fixed bug with removing roadstops (thanks benc!).
Version 3 - fixed bug with building over a stop on a town-owned road.
Version 4 - replace airports as well
Attached is a patch against r9889
- Attachments
-
- overwrite roadstops & airports v4 r9889.patch
- Version 5 - replace airports as well as roadstops
- (12.92 KiB) Downloaded 408 times
Last edited by d37373 on 20 May 2007 11:56, edited 5 times in total.
I've updated the patch and fix a (or two?) bug(-s).
If you press CTRL and overbuild a airport completely and then deleted the airport you have a ghost station (see upper part of picture).
If you press CTRL and overbuild a airport only on a corner and deleted the new one you have a airport with acre (is it the right word?) as runway. With this fields you can make everything, bulldoze, plant trees, etc. (see lower part of picture).
Regards,
BamBam
If you press CTRL and overbuild a airport completely and then deleted the airport you have a ghost station (see upper part of picture).
If you press CTRL and overbuild a airport only on a corner and deleted the new one you have a airport with acre (is it the right word?) as runway. With this fields you can make everything, bulldoze, plant trees, etc. (see lower part of picture).
Regards,
BamBam
- Attachments
-
- Bug(-s) in version 4 and thereunder
- ctrl-bug.png (70.21 KiB) Viewed 6092 times
-
- overwrite_roadstops_and_airports_v5_10230.7z
- Win32 executable
- (905.47 KiB) Downloaded 324 times
-
- overwrite_roadstops_and_airports_v5_10230.patch
- (12.99 KiB) Downloaded 298 times
Who is online
Users browsing this forum: No registered users and 3 guests