Page 2 of 2

Posted: 24 Apr 2005 12:00
by DeletedUser21
how about a roofless version too! that would be great :D

Posted: 24 Apr 2005 16:18
by Dextro
Since you're talking about station graphics I was wondering if this set would be compatible with OpenTTD:
http://www.tt-forums.net/viewtopic.php?t=13575

Posted: 24 Apr 2005 16:27
by DeletedUser21
I tried already some station graphics on 0.3.4 but only some of them worked.

Posted: 24 Apr 2005 16:44
by Dextro
Mr. X wrote:I tried already some station graphics on 0.3.4 but only some of them worked.
There still isn't any way to choose which train station you want :( Maybe the devs will add this some day... :roll:

Posted: 24 Apr 2005 17:00
by MeusH
It'd be terrific if they add it to 0.4.0.

Re: New station graphics

Posted: 28 Aug 2007 17:05
by Felps
Hi fellows!

I have a new layout for bus/truck station :shock: , and i would like to know how can I apply it on game?

My doubt is about, how the moviments/positions of trucks are set when their are on stations??? :roll:

Do the stations grf have a nfo code too?? ?(

thanks guys! :)

Re: New station graphics

Posted: 28 Aug 2007 17:37
by belugas
Felps wrote:I have a new layout for bus/truck station :shock: , and i would like to know how can I apply it on game?
Currently, it can only be applied with a grf that implements Action 0A (sprite replacement).
Felps wrote:My doubt is about, how the moviments/positions of trucks are set when their are on stations??? :roll:
Currently, it is hardcoded in the game. IT might be possible, in a certain unspecified future, to add support of the movments, using Richk67's work on newGRF airports (since it is based on stations). But not right now. sorry
Felps wrote:Do the stations grf have a nfo code too?? ?(
Yup.

Re: New station graphics

Posted: 28 Aug 2007 18:59
by Felps
Hi belugas!

thanks for the explanation!

If i just change the place where a bus park, at station ( I mean, graphically, with other sprite) ,i believe i won't work nice, am I right??

What more is need?

:D , thanks!

Re: New station graphics

Posted: 28 Aug 2007 20:05
by FooBar
Busses and trucks will move through your new station exactly as in a default station. Loading bays and floor layout need to be roughly like the original.

Currently, it's only possible to replace the default station graphic with a new one. Vehicles will not behave differently, so you need to take that into account when designing your new graphics.

Re: New station graphics

Posted: 30 Aug 2007 17:49
by Felps
:wink: OK, thanks FooBar. :D

could you teach me , please, why this "movements" can't be controlled by actions on the Nfo file?

It's possible ? using the sprites and some coord points of where should be positioned some bus sprites when they were over a station.

This could give a chace to everyone make his own stations and choose how the busses or trucks move on it, and problably could let constuct bigger stations.

:D This idea is acceptable ?? :roll:

bye

Re: New station graphics

Posted: 30 Aug 2007 18:07
by belugas
This idea * is currently not possible because the movement of the vehicles is hardcoded in the program.
It uses what is called a Finite State Machine logic.
Right now, as i've told you before (
Currently, it is hardcoded in the game. IT might be possible, in a certain unspecified future, to add support of the movments, using Richk67's work on newGRF airports (since it is based on stations). But not right now. sorry
), it is been worked out at least for the airports.
Airports use a lot Finite State Machine and is the perfect candidate for such a change.
Once it will be completed, it will eventually be possible to transfert the technic to buss/truck and even ships movments.

* Using sprites is not a good idea to code any movment scheme. The coordinate points are part of the solution. but each of those points would refer to a block, that block in turn can be locked, reserved, used by the plane/bus/truck/ship. The collection of the points will be used by the engine (shorter) to "move" from one block to the other.
And you should be doing that "dance" without locking up the station.

Re: New station graphics

Posted: 31 Aug 2007 14:58
by Felps
:D all right!!!

I've been reading the topic about newGrfs airports, and I undestood some parts.. :wink: But as you can imagine, for me as beginner in this hardcode, was much more dificult to understand all the ideais and explanations there. :mrgreen:

But thanks again belugas, for your patience... :D

Please give me your opinion, how could I (beginner) help the future changes / projects.?? ?(

Bye!