Change vehicle age
Moderator: OpenTTD Developers
Change vehicle age
Hello. I'd like to ask if it is possible to change age of an individual vehicle.
I am working on a scenario in which you start with a single airport and few aircraft, and I want the aircraft to be aged a lot to basically simulate that you bought them used.
I tried doing some edits in the save file, but boy, did it not end well...
Also, a little side-question, is it somehow possible to add the vehicle symbols that normally appear next to station names to signs? (it's not that important so I didn't want to start a new topic for it)
Thank you in advance for any answers or suggestions.
I am working on a scenario in which you start with a single airport and few aircraft, and I want the aircraft to be aged a lot to basically simulate that you bought them used.
I tried doing some edits in the save file, but boy, did it not end well...
Also, a little side-question, is it somehow possible to add the vehicle symbols that normally appear next to station names to signs? (it's not that important so I didn't want to start a new topic for it)
Thank you in advance for any answers or suggestions.
-
- Route Supervisor
- Posts: 459
- Joined: 14 Oct 2017 11:06
- Location: Ukraine
Re: Change vehicle age (and vehicle symbols)
Hello, DerekCZ.
1) No, You can't change those characteristics in-game. You can go to the settings>>limitations and change parameter "Vehicles never expire" to "Yes".
2) No, but You can make those symbols in newGRF.
1) No, You can't change those characteristics in-game. You can go to the settings>>limitations and change parameter "Vehicles never expire" to "Yes".
2) No, but You can make those symbols in newGRF.
Sprite artist and NewGRF developer, coding in NML. My projects:
NewGRFs: Not Enough Subways Set | North American Passenger Railroads | Elevated Subway Bridge | Tony Pixel's Subway Equipment Set (frozen)
Screenshots: New York City Subway Episodes
Re: Change vehicle age (and vehicle symbols)
I know about that, but the premise of the scenario was supposed to be that you need to make enough money before the planes you had from start become obsolete, so you can later buy new ones.Tony Pixel wrote:... You can go to the settings>>limitations and change parameter "Vehicles never expire" to "Yes" ...
I guess I'll how to do it without the age then
Re: Change vehicle age (and vehicle symbols)
You CAN add vehicle type symbols on signs. They are characters. Ask McZapkie, he did this in the Polroad set.DerekCZ wrote:I know about that, but the premise of the scenario was supposed to be that you need to make enough money before the planes you had from start become obsolete, so you can later buy new ones.Tony Pixel wrote:... You can go to the settings>>limitations and change parameter "Vehicles never expire" to "Yes" ...
I guess I'll how to do it without the age then
Re: Change vehicle age
before trying to hack savegames, make sure you save them uncompressed (setting in the conifg file)DerekCZ wrote: I tried doing some edits in the save file, but boy, did it not end well...
it's not really meant for that, but internally they have character codes in the "custom" unicode range, so you could technically "type" themAlso, a little side-question, is it somehow possible to add the vehicle symbols that normally appear next to station names to signs? (it's not that important so I didn't want to start a new topic for it)
Re: Change vehicle age
Why not just set game start earlier, buy vehicles, press "fast forward" button, wait a while, save and rename to .scn?
Symbols can be inserted as {BUS} for example.
Symbols can be inserted as {BUS} for example.
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.
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.
Re: Change vehicle age
You can't type in the string formatting codes {BUS} etc. in-game, but you can copy-paste the Unicode Private Use Area characters to get the symbols.
When pasted into OTTD, these five characters become the five vehicle symbols:
They will probably show as garbage in your web browser, and I hope the forums software won't mangle them
When pasted into OTTD, these five characters become the five vehicle symbols:
They will probably show as garbage in your web browser, and I hope the forums software won't mangle them
Re: Change vehicle age
I also thought of that, and that's probably what I'm gonna do. It's just a very uncontrolled way to do it and it can not be changed back after I re-save it and start further editing.McZapkie wrote:Why not just set game start earlier, buy vehicles, press "fast forward" button, wait a while, save and rename to .scn?
PS: I'll experiment with those symbols tomorrow, I genuinely did not expect that it could work
Re: Change vehicle age
If you rename a .sav to .scn, it can be loaded in scenario editor, and you can change the start date.DerekCZ wrote:I also thought of that, and that's probably what I'm gonna do. It's just a very uncontrolled way to do it and it can not be changed back after I re-save it and start further editing.McZapkie wrote:Why not just set game start earlier, buy vehicles, press "fast forward" button, wait a while, save and rename to .scn?
PS: I'll experiment with those symbols tomorrow, I genuinely did not expect that it could work
Re: Change vehicle age
That sounds interesting, too bad you can't paste to OTTD in Linuxjfs wrote:You can't type in the string formatting codes {BUS} etc. in-game, but you can copy-paste the Unicode Private Use Area characters to get the symbols.
When pasted into OTTD, these five characters become the five vehicle symbols:
They will probably show as garbage in your web browser, and I hope the forums software won't mangle them
Who is online
Users browsing this forum: No registered users and 5 guests