The International Simutrans Forum

Development => Patches & Projects => Incorporated Patches and Solved Bug Reports => Topic started by: gauthier on November 08, 2008, 03:46:43 pm

Title: select station extensions orientation
Post by: gauthier on November 08, 2008, 03:46:43 pm
The orientation of a player building is automatically decided. For my SNFOS station extentions, I tried to make 4 layouts buildings to have only one icon per building in the toolbar but the problem was that it was too difficult to build stations with it.

If orientation can be decided by the player, it would be allowed to have only one icon per building and build very easily nice stations.
Title: Re: select station extensions orientation
Post by: VS on November 08, 2008, 04:31:24 pm
How is the orientation decided then? I know it is by player, but what does the player do to indicate a direction?

That's not to say it is bad idea - only not complete.
Title: Re: select station extensions orientation
Post by: maister on November 08, 2008, 04:43:15 pm
!! gauthier...   Yes, it`s needed...  definite.... if you know how long i tried to make some nice stations, you think im crazy  ;)  BTW.. can you please use for the flooring a little bit unobtrusive color.. like marble grey :) i don`t like barbie... thx    ;D

@VS a button on the keyboard, and every time you push it, the direction will change.
Title: Re: select station extensions orientation
Post by: gauthier on November 08, 2008, 05:55:40 pm
Quote
a button on the keyboard, and every time you push it, the direction will change.


it's a good idea, I would suggest r or R but r mean remove and R mean rotate.

why not (looking at the keyboard ..., A, no, Z, ...)

Z ? (not z but Z)
not a capital letter ?

(a,z,e,r,t,y ...)

why not y ?
Title: Re: select station extensions orientation
Post by: prissi on November 08, 2008, 08:40:13 pm
The orientation is always facing the nearest stop. Id fail to see the difficulties here.

If you make buildings ****ymetric, you will also see the ground layout.
Title: Re: select station extensions orientation
Post by: VS on November 08, 2008, 09:09:33 pm
The problems arise when there is more than one stop nearby.
Title: Re: select station extensions orientation
Post by: gauthier on November 08, 2008, 09:43:19 pm
Sometime I must build temporary stations to be sure that the extension will be well-oriented.
Title: Re: select station extensions orientation
Post by: VS on November 08, 2008, 09:46:08 pm
…why not build in good order from the beginning?
Title: Re: select station extensions orientation
Post by: gauthier on November 08, 2008, 10:45:33 pm
Impossible in some cases.
Title: Re: select station extensions orientation
Post by: z9999 on November 09, 2008, 01:52:24 am
But I think it should reference ribi of the station at least in this case.

[edit] chaged the attached image
Title: Re: select station extensions orientation
Post by: maister on November 09, 2008, 08:53:00 am
The moment configuration is too incalculable. Sometimes it`s work sometimes i drive crazy ;)
The example on the above is simple. But we need also functionality for complex constructions.
(Also more complex like the example below  :P)

example:
Picture 1: All ok, but... i used some tricks
Picture 2: The map is now rotated and you will now see the misplaced elements (red arrow).
The blue arrows marked the tricks, that you not will see misplaced element on picture 1.

The "Tricks"
- use elements without direction
- build high building to cover
- desist to build some elements
- rotate the map before build some elements

(sorry that i upload pictures here, the screenshot server has right now a upgrading.)
Title: Re: select station extensions orientation
Post by: gauthier on November 09, 2008, 09:55:00 am
I haven't thought about the rotation, it's true : if orientation can be selected, four layouts buildings can exist so rotation problems are fixed !
Title: Re: select station extensions orientation
Post by: maister on November 09, 2008, 10:10:38 am
I think not. Because as soon you will rotate the map again you will have a chaos, because the elements change their directions. Like my example.
And also it`s very complicate to build with the map rotation. That would be great if there a button to rotate the element self..

That means, following would be great:
- a fix direction of the elements (also if you rotate the map)
- a button for rotating
Title: Re: select station extensions orientation
Post by: gauthier on November 09, 2008, 10:22:01 am
Quote
I think not. Because as soon you will rotate the map again you will have a chaos, because the elements change their directions.

No no you haven't understood what I mean.

Quote
rotation problems are fixed !

I mean that after building your station, when you rotate the map there isn't any chaos. (Ans you can also build with the map rotated and there is no chaos when rotating again).
Title: Re: select station extensions orientation
Post by: prissi on November 09, 2008, 07:21:57 pm
The example of z9999 with the building next to a bridge is an  error. A building should not be allowed there. Or, if one wants a building there, it should look for planquard_t about a halt.
Title: Re: select station extensions orientation
Post by: whoami on November 09, 2008, 08:04:45 pm
The example of z9999 with the building next to a bridge is an error. A building should not be allowed there.
Why not- just because the player can choose a building that doesn't match? On the contrary, I would say that a stop on a bridge would not work, unless it is made accessible by some stairs or an elevator.
Title: Re: select station extensions orientation
Post by: prissi on November 09, 2008, 08:39:15 pm
No because just a default rotation is choosen, because the routine found nothing. But also the rotation of player buildings was wrong. The whole stuff was broken (but nobody aparently reported on it ... ) Should worked as intended in the next nightly.
Title: Re: select station extensions orientation
Post by: prissi on November 17, 2008, 09:28:07 pm
Please text again.
Title: Re: select station extensions orientation
Post by: gauthier on November 18, 2008, 06:14:04 pm
Quote
Please text again.

Oh sorry I haven't seen :D

in fact I haven't really understood what you mean. Can you explain in a "easier" English ?
Title: Re: select station extensions orientation
Post by: wernieman on November 18, 2008, 06:43:30 pm
I think he mean:
Quote
please test again

-x +s  8)
Title: Re: select station extensions orientation
Post by: gauthier on November 18, 2008, 08:49:25 pm
test or text ?

I have understood that Prissi want me to answer ...
Title: Re: select station extensions orientation
Post by: VS on November 18, 2008, 09:31:36 pm
Prissi makes lots of typos. If you read more threads like this, you will also find that "please test" is his favourite phrase :)

Ok, maybe I cheated a bit; before this, I updated my copy of code and in the changes were two entries related to this problem. So I knew it was fixed…
Title: Re: select station extensions orientation
Post by: KrazyJay on November 18, 2008, 10:04:03 pm
Prissi makes lots of typos. If you read more threads like this, you will also find that "please test" is his favourite phrase :) [...]
LOL! :D:D A real developer then! But where would we be without him... ;) /me respects Prissi big time!
Title: Re: select station extensions orientation
Post by: VS on November 18, 2008, 10:17:28 pm
Of course. Now, I make lots of typos, too - only I have enough time to check before posting! And he probably does not :(
Title: Re: select station extensions orientation
Post by: wernieman on November 18, 2008, 11:20:13 pm
OT:
When you look at my posts ...... I make very often Typos and I have a problem to find them ....

I think, my posts have the most  :'(
Title: Re: select station extensions orientation
Post by: z9999 on November 19, 2008, 08:25:36 am
 ??? seems not good.
Title: Re: select station extensions orientation
Post by: z9999 on November 21, 2008, 01:59:50 pm
Tested in r2128.
Title: Re: select station extensions orientation
Post by: IgorEliezer on November 21, 2008, 02:06:06 pm

Seems a new kind of architectural concept... ;D
Title: Re: select station extensions orientation
Post by: VS on November 21, 2008, 02:10:19 pm
Seems a new kind of architectural concept... ;D
Potemkin villages (http://en.wikipedia.org/wiki/Potemkin_village)?
Title: Re: select station extensions orientation
Post by: IgorEliezer on November 21, 2008, 02:13:33 pm
Potemkin villages (http://en.wikipedia.org/wiki/Potemkin_village)?

Too late... :'(

... at least I could use it as reference in my Final Project for my graduation (just kidding).
Title: Re: select station extensions orientation
Post by: z9999 on November 21, 2008, 09:59:50 pm
Tested in r2130.

I really support gauthier's extension request.
Title: Re: select station extensions orientation
Post by: gauthier on December 01, 2008, 08:46:27 pm
How is the extension today ? Since last modifications, impossible to build a nice stations with my station halls  :(
Title: Re: select station extensions orientation
Post by: gauthier on December 04, 2008, 06:52:14 pm
This idea made me think a other idea :

It's about cursors, instead of having a cursor painted by the author, why not use the building/way/station/signal/and so on, in green transparency in its final position ?

I mean, when you build a way, you see the final way in green transparency.
When you build a building and you can select orientation, the building is shown in green transparency as it would be built. When you change orientation before building the building, the cursor (building in green transparency) would change orientation.

By the way, if the thing couldn't be built, it would appear in red transparency.
Title: Re: select station extensions orientation
Post by: Zeno on December 04, 2008, 07:48:11 pm
Oh yes, I also support the request... I always spend ages building airports and never get what I want :'(
Title: Re: select station extensions orientation
Post by: marioxcc on December 04, 2008, 09:18:31 pm
1+.
Title: Re: select station extensions orientation
Post by: gauthier on December 07, 2008, 02:14:11 pm
(Prissi will hate me because of the work I give to him  ;D )
Title: Re: select station extensions orientation
Post by: gauthier on December 13, 2008, 08:52:58 pm
(Prissi sounds mute ...)
Title: Re: select station extensions orientation
Post by: VS on December 13, 2008, 09:30:43 pm
Prissi probably thinks, stop talking and give me a patch!
Title: Re: select station extensions orientation
Post by: prissi on December 13, 2008, 09:51:56 pm
prissi is busy enough with other stuff like multiplayer, but has this on the long todo list.
Title: Re: select station extensions orientation
Post by: gauthier on December 14, 2008, 10:33:06 am
Prissi seems very busy ...

Good luck with your todo list ;)
Title: Re: select station extensions orientation
Post by: prissi on December 30, 2008, 10:46:47 pm
Should be fixed since some versions. Please somebody try it?
Title: Re: select station extensions orientation
Post by: gauthier on January 01, 2009, 07:46:24 pm
Yes it's fixed, I saw it a couple of days ago.
Title: Re: select station extensions orientation
Post by: gauthier on January 03, 2009, 01:02:14 pm
it's not fixed ... (r 2203)
Title: Re: select station extensions orientation
Post by: prissi on January 03, 2009, 07:40:05 pm
The orientation is always to the next a station, fitst tiles with matching ways and then any station tiles. Other than that the building cannot guess your intention. Use layout=8 to achieve this.
Title: Re: select station extensions orientation
Post by: gauthier on January 04, 2009, 07:38:37 pm
My way to make stations worked well before ST 100  :-\

Quote
Other than that the building cannot guess your intention.
That's why it would be better to decide what orientation will be used.

Quote
Use layout=8 to achieve this.
Can you explain ?
Title: Re: select station extensions orientation
Post by: prissi on January 04, 2009, 08:17:26 pm
Layout=8 takes the orientation from the neighboring layout=8/16 building. Thus it would have what you want.
Title: Re: select station extensions orientation
Post by: gauthier on January 05, 2009, 05:44:08 pm
okay, thanks, I will try.