The International Simutrans Forum

Development => Extension Requests => Topic started by: gauthier on January 19, 2013, 06:24:37 PM

Title: Station's extensions in ground (but not underground)
Post by: gauthier on January 19, 2013, 06:24:37 PM
The idea is very simple, just see this thread : http://forum.simutrans.com/index.php?topic=9225.0

In fact I see two solutions :
_ Adding a new type of station extension which can be built directly in a cliff (difficult since cursor can't be placed on a cliff + limited height).
_ Adding a new type of station extension whose roof can be built on (ie : roof seen as a tile by the game) -> probably easier to code, no height limit, no cursor problem. (and why not allowing several tiles high ones ?).

And some real examples to see what I am talking about :

(http://www.udenap.org/groupe_de_pages_09/photos/raincy.jpg)

(http://files2.structurae.de/files/photos/wikipedia/gare_rer_b_la_plaine_stade_de_france.jpg)

(http://www.photo-aerienne-france.fr/z-84avignon-gare-tgv-14-0806.jpg)

(http://files2.structurae.de/files/photos/64/ligne_metro_n%C2%B02/p1170057.jpg)
Title: Re: Station's extensions in ground (but not underground)
Post by: greenling on January 19, 2013, 08:03:30 PM
Hello Gauthier for your qustion gives two solutions.
Here the Links:
http://japanese.simutrans.com/index.php?plugin=attach&refer=Addon128%2FOthers&openfile=koukaeki2.zip
http://japanese.simutrans.com/index.php?plugin=attach&refer=Addon128%2FOthers&openfile=KOUKAEKI.zip
Title: Re: Station's extensions in ground (but not underground)
Post by: prissi on January 19, 2013, 10:59:05 PM
pak64 has such a station extension, which is a flat tile with a facade at its end. pak64.german as well.
Title: Re: Station's extensions in ground (but not underground)
Post by: gauthier on January 19, 2013, 11:02:07 PM
I know, but you can't build on these buildings, do you ?
Title: Re: Station's extensions in ground (but not underground)
Post by: greenling on January 19, 2013, 11:10:38 PM
Hello Gauthier
I can those building out the links be build on the gamemap.
(I must quickly in the Bed. I'm ill.) ::'(
Title: Re: Station's extensions in ground (but not underground)
Post by: prissi on January 19, 2013, 11:23:42 PM
No a building is (for now) expected to be on a ground (also elevated ground counst as ground).
Title: Re: Station's extensions in ground (but not underground)
Post by: Bear789 on January 20, 2013, 09:49:27 AM
In my experience, you can build a bridge ove an existing station extension without the need to occupy adjacent tiles. You need to build a single tile station, use ctrl+click to add the extension building with the proper orientation, then build the bridge over it. There are usually some graphic layering glitches, but I suppose that if someone paints a bridge and an extension designed to work together like that, it can look good.
Title: Re: Station's extensions in ground (but not underground)
Post by: gauthier on January 20, 2013, 12:16:41 PM
I know that about bridges. However I suggest a proper and easier way to do that : the possibility of seeing the roof of a station hall as a tile which can be built on.

As you said, there are graphical glitches with current bridges tinkering. Moreover that's much more restrictive. In the example of the thread I linked in the first post, how would you do that ? You can't build a demi-bridge which stops in mid-air for example, with elevated ways you would have to build several layers of these, then destroy lower ones and finally hope to have two tiles high extensions to be built under.
Title: Re: Station's extensions in ground (but not underground)
Post by: prissi on January 20, 2013, 09:27:22 PM
Yaeh, but buildings on non-ground tiles is really something which would require changes at very many places. Rather put the facade on the tile before the bridge/elevated way works already.

(http://japanese.simutrans.com/index.php?plugin=ref&page=Addon128%2FOthers&src=koukaeki.png)
Title: Re: Station's extensions in ground (but not underground)
Post by: Ters on January 21, 2013, 06:01:11 AM
Bridges and elevated roads create "grounds" in the air. However, those grounds come pre-filled with a way. Some kind of building/bridge hybrid could therefore perhaps work? It's not a very elegant solution, though.
Title: Re: Station's extensions in ground (but not underground)
Post by: mEGa on January 21, 2013, 01:15:43 PM
Just to feed discussion :

I begin to create metro station just for elevated railway :
http://forum.simutrans.com/index.php?topic=10126.msg109395#msg109395 (http://forum.simutrans.com/index.php?topic=10126.msg109395#msg109395)
(http://www.simutrans-france.fr.nf/lib/exe/fetch.php?media=fr:metro:elevated_station_1x1_vue_1900.png)

I mean that create base on ground could improve this
Title: Re: Station's extensions in ground (but not underground)
Post by: prissi on January 21, 2013, 09:17:40 PM
I understood. But why not doing what is already possible, as in the screenshot above.

If this is a bridge/elevated way or a bridge, you can even put an extension buuilding below too. Thus I really somewhat miss the point.
Title: Re: Station's extensions in ground (but not underground)
Post by: sdog on January 21, 2013, 09:23:39 PM
Extension buildings to exactly fit the arches could be done.

There might be graphics or clipping problems, but they would be an entirely differnent topic.

A different approach could be new elevated ways where the arches below are filled. To effectively do this, one would need to restrict the allowed ways and directions below an elevated way. (this is also something that might be interesting in a current discussion in pak128.britain.)
Title: Re: Station's extensions in ground (but not underground)
Post by: VS on January 21, 2013, 09:35:36 PM
I think the point is that the building below can not "mask" the bridge or elevated way above it, so it always looks like elevated way on something. The fake front solution needs surrounding the station from both sides. So you can't get "everything" at once...

After thinking a bit about it, the price for using fake fronts is just destroying more city houses :)
Title: Re: Station's extensions in ground (but not underground)
Post by: Fabio on January 22, 2013, 12:09:50 PM
Elevated ways which fill the ground (and need it to be empty) would be very nice. There could be nice embankments to be painted ;)
Title: Re: Station's extensions in ground (but not underground)
Post by: dennosius on January 22, 2013, 02:43:40 PM
How is this monorail depot programmed? When built on an elevated monorail track, a shed is automatically built below. Is that something hardcoded? If not, the same way could maybe used to build something stacked.
Title: Re: Station's extensions in ground (but not underground)
Post by: prissi on January 22, 2013, 11:17:05 PM
The shed is hardcoded, but also available as extension building. (Or was for some time at least.) A bilding below a brodge should overlay the pillar, especially, if it has its front image defined.
Title: Re: Station's extensions in ground (but not underground)
Post by: wlindley on January 23, 2013, 01:13:53 AM
Yes, in hausbauer.cc and possibly other places, the building name "MonorailGround" is magic.

There are many magic things sprinkled in the code, that really ought to be documented in the .dat part of the Wiki.  Ideally, behaviours like the automatic monorail foundation logic would be generalized instead of magic... someday...
Title: Re: Station's extensions in ground (but not underground)
Post by: Combuijs on January 23, 2013, 08:12:39 AM
Ah, a pity it only works for monorails. Other elevated ways (tracks, roads etc.) cannot do this trick. (In simwerkz.cc the function wkz_depot_t::work has a special case for monorail_wt).

Would it be an idea to make it a bit more general? When I build a depot on an elevated (railroad-)track it now "hangs" in the air. I was planning to have a look how it was solved for monorails and to use the same trick for this elevated depot, but that apparently won't work. As far as I could see the special case in wkz_depot_t::work for monorail_wt is easy extendable for all waytypes. The only strange thing is then that this foundation is still called "MonorailGround" whatever you use it for, but that is better than "hanging" depots, I feel. (The option to have different foundations for each waytype is a lot more work, I feel, it should be coded as a new object_type, I think).

Prissi, the shed is indeed also available as extension under the name "MonorailFoundation". But you can't build it under elevated track I think (but I will look into this in the weekend, as that would solve the hanging depot problem as well).
Title: Re: Station's extensions in ground (but not underground)
Post by: VS on January 23, 2013, 02:26:35 PM
Quote from: prissi on January 22, 2013, 11:17:05 PM
A bilding below a brodge should overlay the pillar, especially, if it has its front image defined.
Ha! Assuming that's true, it's worth one whole internets - as "already implemented" :)

Extensions can be already built under bridges and elevated ways; only, in some cases, a pillar has to be removed first :D




I can only second Combuijs' idea about auto-foundation for other waytypes.
Title: Re: Station's extensions in ground (but not underground)
Post by: Combuijs on January 23, 2013, 09:06:56 PM
Just to report that the MonorailFoundation can indeed be placed under elevated track. Currently its waytype is Monorail_track, but if you delete that from the source file (and type=shed also, because that won't do anything...) it can be built as a general extension (so it won't appear in the monorail menu anymore).
Title: Re: Station's extensions in ground (but not underground)
Post by: Dwachs on January 24, 2013, 08:13:01 AM
The current monorail-depot-foundation stuff is kind of ugly.

It could be extended to all way-types. But it remains to specify rules for these kind of stuff. Under which conditions can something be build on elevated way, when should which foundation be placed. Should stacking be allowed?
Title: Re: Station's extensions in ground (but not underground)
Post by: prissi on January 24, 2013, 09:15:37 AM
I certainly agree with Dwachs comments. Rather constrains for certain buildings nextto[NSWEupdown] could be the way to the future.
Title: Re: Station's extensions in ground (but not underground)
Post by: kierongreen on January 24, 2013, 12:34:55 PM
I like the constraints idea! So if a building was required by another it should be placed automatically, and if it can't be placed then construction of the first building should be forbidden?
Title: Re: Station's extensions in ground (but not underground)
Post by: prissi on January 24, 2013, 02:27:42 PM
Yes, something like that. Would require some changes of the icon to indicate suitable tiles or not.
Title: Re: Station's extensions in ground (but not underground)
Post by: VS on January 24, 2013, 02:55:23 PM
Maybe the cursor or some kind of preview would indicate this better?
Title: Re: Station's extensions in ground (but not underground)
Post by: mEGa on January 27, 2013, 12:55:58 PM
I'm trying to create extension of station as japan extension models  for elevated Parisian stations project.

(http://www.simutrans-france.fr.nf/lib/exe/fetch.php?media=fr:extension_station_aerienne-mini.png)

It is composed by 3 elements
- left : simple walls with murals
- centre : opened doors to issues
- right : little chops
You could put them as you will want.

Finally, is it good solution to offer realism isn't it ?

See french post to more details (Sorry only in french)
http://forum.simutrans.com/index.php?topic=8460.msg111317#msg111317 (http://forum.simutrans.com/index.php?topic=8460.msg111317#msg111317)
Title: Re: Station's extensions in ground (but not underground)
Post by: greenling on January 27, 2013, 03:30:00 PM
Hello Mega
That Photo Looks very good out.
You have make a very good job.
Title: Re: Station's extensions in ground (but not underground)
Post by: gauthier on January 27, 2013, 06:26:45 PM
Once again, I'm aware of tricks like that, I have even created an elevated maglev way with no pillars for that use in MLM dev., however I would find more user-friendly to have buildings as I described here.

Wouldn't it be easier to code using some parts used by artificial slopes ?
Title: Re: Station's extensions in ground (but not underground)
Post by: Ters on January 27, 2013, 08:09:59 PM
Quote from: gauthier on January 27, 2013, 06:26:45 PM
Wouldn't it be easier to code using some parts used by artificial slopes ?

I don't think so, except for what artificial slopes, bridges, elevated ways and tunnels have in common already. Artificial slopes have no building aspects whatsoever. The vertical walls are drawn as part of the tile in front, or so I've read.
Title: Re: Station's extensions in ground (but not underground)
Post by: prissi on January 28, 2013, 12:53:37 PM
You could do this with only one foreground element with 16 rotations ...
Title: Re: Station's extensions in ground (but not underground)
Post by: wlindley on January 31, 2013, 02:49:50 PM
Quote from: mEGa on January 27, 2013, 12:55:58 PM
I'm trying to create extension of station as japan extension models  for elevated Parisian stations project.

You can easily create an elevated station that descends "below" its ground, using the x,y offset parameter for FrontImage, like this:

FrontImage[1][0][0][0][0][0]=elevated-station-with-lower-extension.0.0,0,32

Use Y offset = pakset_size/4, for example 32 with pak128. Note that if you build such a station on the ground, it will look very strange!
Title: Re: Station's extensions in ground (but not underground)
Post by: greenling on January 31, 2013, 08:15:41 PM
Woh. That it a crasy idea Wlindley.
Title: Re: Station's extensions in ground (but not underground)
Post by: AP on February 01, 2013, 07:22:41 AM
Has it just repeated the tiles down to give 3 storeys? It looks odd because the facade is flat. Other designs might work better in this scenario.

Look at London St Pancras - a tall brick facade,richly detailed and articulated, but each tier is very similar. Ditto a stone facade with classical columns, where the columns just get taller.



Title: Re: Station's extensions in ground (but not underground)
Post by: mEGa on February 01, 2013, 08:01:17 AM
Thank you Windley. Very interesting. I'll try to create them soon.
Title: Re: Station's extensions in ground (but not underground)
Post by: mEGa on February 03, 2013, 02:35:19 PM
Well,
I tried to apply Wlindley's interesting method.
So, success issue with offset (0,32) and image is correctly placed.
(http://forum.simutrans.com/index.php?action=dlattach;topic=11329.0;attach=21077;image)



On the other hand, this trick does not apply to the plain elevated tile but only in elevated ways.
Finally, the Fabio's last ones (very large) cover a part of the face but not very ugly. What do you think about it?

(http://forum.simutrans.com/index.php?action=dlattach;topic=11329.0;attach=21079;image)

EDIT :
last design groups all situations. See this example :
(http://www.simutrans-france.fr.nf/lib/exe/fetch.php?media=fr:elevated_station_1x1_vue_1900_3.png)

You can notice 2 aspects in game :
with latest elevated ways of last pak128 (112) designe by Fabio and with old japan elevated ways.

You can try this stations with :
- pakset :  http://www.simutrans-france.fr.nf/lib/exe/fetch.php?media=fr:metro:elevated_station_1x1.pak
- sources : http://www.simutrans-france.fr.nf/lib/exe/fetch.php?media=fr:metro:elevated_station_1x1_src.zip
Feedbacks are welcome of course ;-)



Title: Re: Station's extensions in ground (but not underground)
Post by: Fabio on February 03, 2013, 05:54:36 PM
Beautiful! :thumbsup:

Can I only suggest you to use my brick texture for consistency?

I'll see if I can upload it here.
Title: Re: Station's extensions in ground (but not underground)
Post by: Ters on February 03, 2013, 06:40:56 PM
Of course, there is still the problem that the space under the bridge isn't occupied. You'd have to make sure that no one builds a round through there (which isn't a problem normally) or that the city doesn't build a skyscraper there (which is a problem with plain bridges as well).
Title: Re: Station's extensions in ground (but not underground)
Post by: greenling on February 03, 2013, 08:02:50 PM
Quote
(http://www.simutrans-france.fr.nf/lib/exe/fetch.php?media=fr:extension_station_aerienne-mini.png)
Mega it possible to make the simple walls with murals,the opened doors to issues, the little chops as Station extations?
Title: Re: Station's extensions in ground (but not underground)
Post by: mEGa on February 04, 2013, 06:28:27 AM
Thanks for your nice feedbacks.
Quote from: Fabio on February 03, 2013, 05:54:36 PM
Can I only suggest you to use my brick texture for consistency?
Of course... And why not. I deicded to make two models :
this presented for french addons (to keep Parisian aspect)
and a,other for pak128 : so your textures is welcome .
I wait your "bip" when you're upload them.

Quote from: greenling on February 03, 2013, 08:02:50 PM
Mega it possible to make the simple walls with murals,the opened doors to issues, the little chops as Station extations?
I understand what you wanted to say. But I'm not sure is a good idea to also offer these extensions, because I'm afraid people mix them. What another guys think about it ?
Title: Re: Station's extensions in ground (but not underground)
Post by: gauthier on February 04, 2013, 06:32:01 PM
Mega, all this is very nice but it is going completely off topic ...
Title: Re: Station's extensions in ground (but not underground)
Post by: VS on February 04, 2013, 07:07:00 PM
Quote from: mEGa on February 03, 2013, 02:35:19 PM
Feedbacks are welcome of course ;-)
First of all... Is that a dog or a cow on the poster? ;D

On the narrow way with iron pillars, empty space looks weird :) I would add the wall on "tracked" side, I guess it is enough in BackImage.
Title: Re: Station's extensions in ground (but not underground)
Post by: ӔO on February 05, 2013, 02:01:51 AM
Quote from: wlindley on January 31, 2013, 02:49:50 PM
You can easily create an elevated station that descends "below" its ground, using the x,y offset parameter for FrontImage, like this:

FrontImage[1][0][0][0][0][0]=elevated-station-with-lower-extension.0.0,0,32

Use Y offset = pakset_size/4, for example 32 with pak128. Note that if you build such a station on the ground, it will look very strange!

That gives me an idea...

How about (yet another) image extension? Call it a "skirt" or something. If the station is placed on an elevated way or bridge, the skirt can fill in a skirt image underneath. It should be possible to delete the skirt too, like bridge pillars.

Then the player can place any station extension underneath, the skirt will hide the image and would not have an aesthetic conflict. If the station extension is placed beside, it would look as it normally would.
Title: Re: Station's extensions in ground (but not underground)
Post by: Bear789 on February 05, 2013, 08:57:21 AM
I like that station; I think that you could add another wall on the corner to cover the hole that you can see in the japanese elevated.
There are a couple of problems, though: first that's eye candy, not functional. Extensions are ment to add capacity or enable good types in a certain station, and you can't do that with altered platform graphics.
Second, even some parisian elevated stations have empty space under them (or at least under most of them). I definetly remember M6 with parking space under the stations, I'm not sure about M2. It's been a while since I was in Paris.
Title: Re: Station's extensions in ground (but not underground)
Post by: prissi on February 05, 2013, 09:28:52 AM
SHould I move this to the 128 board?
Title: Re: Station's extensions in ground (but not underground)
Post by: gauthier on February 06, 2013, 03:43:23 PM
QuoteSHould I move this to the 128 board?

Please no, this is still an extension request which Mega turned off topic with his metro stations :p
Title: Re: Station's extensions in ground (but not underground)
Post by: wlindley on February 06, 2013, 05:45:16 PM
Enclosed screenshot shows an underground station with sliced view. 


Could the original request be satisfied by permitting underground extension buildings to override the standard retaining-wall? 

See also this discussion (http://forum.simutrans.com/index.php?topic=9264.msg87698#msg87698)
Title: Re: Station's extensions in ground (but not underground)
Post by: mEGa on February 07, 2013, 07:24:23 AM
Quote from: wlindley on February 06, 2013, 05:45:16 PM
Could the original request be satisfied by permitting underground extension buildings to override the standard retaining-wall? 
I mean it'will be a good idea.
Title: Re: Station's extensions in ground (but not underground)
Post by: greenling on February 07, 2013, 04:46:46 PM
Hello Mega
In the photo it a Bug.A wall over a road let Crash cars.
Title: Re: Station's extensions in ground (but not underground)
Post by: mEGa on February 07, 2013, 05:04:15 PM
Quote from: greenling on February 07, 2013, 04:46:46 PM
In the photo it a Bug.A wall over a road let Crash cars.
Oh yes, you're right. It was just an example to illustrate possible combinations of this station ;-)
Title: Re: Station's extensions in ground (but not underground)
Post by: gauthier on February 08, 2013, 06:11:19 PM
Is it possible for a moderator to move Mega's stations in a more appropriate part of the forum ?