The International Simutrans Forum

Development => Patches & Projects => Incorporated Patches and Solved Bug Reports => Topic started by: Herocrafter on February 14, 2009, 08:47:23 pm

Title: Upgrade station?
Post by: Herocrafter on February 14, 2009, 08:47:23 pm
Is it possible to upgrade a station?  That is, keep the station in the same spot and keep its name and all the routes that stop there and upgrade the station, say from a one bench mail stop to a two bench mail stop without having to destroy nearby buildings/rearrange roads and place a second stop then delete the first and replace it w/ the stop you want then destroy the other stop you just built and reconfigure the roadway back the way it was?
Title: Re: Upgrade station?
Post by: Stubbsy on February 14, 2009, 09:15:30 pm
Not atm what i know of, although this would be very very useful and make life easier.
Title: Re: Upgrade station?
Post by: VS on February 14, 2009, 09:17:16 pm
Uff...? Your 4-line sentence confuses me :D

If you want to just "overbuild" stations, like ways, then the answer is no, building one thing over another this way does not work - only for ways (track, road). Also you can not byp**** the need for another tile of station - you can not remove the last tile of station and keep it in existence.

Anyway, how:

If it is a rail station, it probably has more than one tile. So the trick is - you must never destroy it completely. Demolish one tile, build there the new platform, demolish second tile, build new platform... schedule are coordinate based, so after reconstruction they point to the same station, even if for a moment the tile is "nothing".

If it is a bus/truck stop. ****uming you can build any kind of station/stop that it is connected to the original tile, the station entity is preserved and you can do the same as with rail station. Add "holder" (some cheap station part), demolish old tile, build new, remove "holder" again if you want. (In pak128 are these parking extensions that are suited well for this task.)

If it is a dock,... at this point you should know enough to figure it yourself :) Build some "holder", remove old, build new, dispose of holder if you want to.

Make sure that during construction you keep the station as one entity - build everything next to tiles that belong to the station (one station = one name banner). Otherwise it goes south, like one half of platform being different station :D
Title: Re: Upgrade station?
Post by: Fabio on February 14, 2009, 10:17:16 pm
I came out with this idea:
if i click with a station tool on a tile  with a compatible station (e.g. train/train, bus/bus, etc...) there could be a gui window showing the error and asking whether the player wants to replace that station tile with the new one.
A lower cost could be also considered (e.g. new station cost - old station cost/2).
something like:

This tile already contains a station. What do you want to do?


MOD note: Moved to extension request.
Title: Re: Upgrade station?
Post by: Herocrafter on February 14, 2009, 10:20:16 pm
Thanks for the reply.  Even if its not the answer I hoped for.  These shorter sentences are easy to read.  However, they do not convey convoluted processes as such.  I found it most suitable  ;D

Fabio, how about just clicking on the station and have a upgrade button/link->choices? 
Title: Re: Upgrade station?
Post by: jamespetts on February 15, 2009, 11:03:22 am
Fabio,

that's a good idea!
Title: Re: Upgrade station?
Post by: Fabio on February 15, 2009, 05:18:07 pm
Fabio, how about just clicking on the station and have a upgrade button/link->choices? 
this is an idea, but the gui to select the new staion would be pretty tricky to make, i'm afraid.
but if possible, it would be VERY good!

Thank you! now let's see if someone can try to patch it...
what's good with this method, it's that you already selected which new station you would like to use...
Title: Re: Upgrade station?
Post by: gerw on February 16, 2009, 08:16:10 am
This tile already contains a station. What do you want to do?
  • cancel
  • replace tile
  • replace all station tiles
I think, that can be easily done. I will have a look at it soon.
Title: Re: Upgrade station?
Post by: Fabio on February 16, 2009, 08:41:48 am
thank you! :)
Title: Re: Upgrade station?
Post by: prissi on February 16, 2009, 09:35:48 am
In reality an old station is either take out of a line and then destroyed and rebuilt or rebuilt in another place. Also popup and other bad things in UI design are not my favourites ...

By the way in more recent verysion the name should be kept anyway.
Title: Re: Upgrade station?
Post by: Fabio on February 16, 2009, 09:51:33 am
on the contrary
1) a popup error window is already shown, so it would only be an enhanced version
2) although what you say is true about railways stations (but some are simply upgraded/refurbished), this doesn't apply to bus stops, where enhancements are often made on the place (e.g. adding a shelter, or a bench, etc...)
Title: Re: Upgrade station?
Post by: Dwachs on February 16, 2009, 10:01:24 am
I would propose the following system:

A station can be built on top of another one (without gui interaction), if
== it belongs to the same way type (road, track etc)
== it enables the same or more good types (mail, p****engers, goods) as the existing station
== has equal or higher level

That is, upgrading is allowed, downgrading is not.
Title: Re: Upgrade station?
Post by: Fabio on February 16, 2009, 10:30:38 am
this seems even better!
Title: Re: Upgrade station?
Post by: whoami on February 16, 2009, 12:29:19 pm
Requiring Shift-Click (Ctrl-Click is for different levels; these both could be swapped) to replace the existing station tile would allow to upgrade and downgrade, and would also prevent accidental replacing.
Title: Re: Upgrade station?
Post by: Herocrafter on February 16, 2009, 09:29:20 pm
Wow!  You folks' enthusiam remind me of the mod makers of Egosofts X series (a niche, space sim favorite of mine)  :award:
Title: Re: Upgrade station?
Post by: gerw on February 16, 2009, 09:44:47 pm
Mmh. I don't like the variant with shift+ctrl(+alt+...). I want to play just with two hands ;)