Adjacent stations, again

Forum for technical discussions regarding development. If you have a general suggestion, problem or comment, please use one of the other forums.

Moderator: OpenTTD Developers

User avatar
Wolf01
Tycoon
Tycoon
Posts: 2016
Joined: 24 Apr 2004 10:43
Location: Venezia - Italia
Contact:

Adjacent stations, again

Post by Wolf01 »

ok, this time is better than ever

what you can do, and what you can't:
- Build adjacent stations, also adjacent to competitors' stations (with CTRL)
- Customise every tile, no more limited to non-adjacent tiles
- Use them as waypoints directly on the other station entrance
- You can't join at distance
- You can't extend a station to adjoin 2 stations, you have to rebuild the one you want to extend to do this, maybe i'll work on it but don't expect it soon
- Multiplayer safe
Attachments
Wardingbury Transport, 20th Aug 1950.png
Wardingbury Transport, 20th Aug 1950.png (21 KiB) Viewed 3588 times
adjoin_stations_9828.diff
(2.77 KiB) Downloaded 104 times
openttd.rar
the executable
(684.14 KiB) Downloaded 72 times
Last edited by Wolf01 on 13 May 2007 09:03, edited 1 time in total.
User avatar
CMircea
Chairman
Chairman
Posts: 887
Joined: 29 Dec 2006 14:05

Post by CMircea »

Executable coming soon.

EDIT: It doesn't build the exe. Oh well...
User avatar
Ben_K
Tycoon
Tycoon
Posts: 1166
Joined: 01 Jun 2006 15:15
Location: Sydney, AUS

Post by Ben_K »

Never mind Desolator, Wolf01 has added one :)

Wolf, when you use these as waypoints, does it treatthe 2 stations on the same platform as if they were one? As in, if you have a waypoint on a 3 tile station, making a 4 tile platform, would a 4 tile train unload at normal rates, or as if it was at a 3 tile platform?
User avatar
Maedhros
OpenTTD Developer
OpenTTD Developer
Posts: 603
Joined: 30 Mar 2006 18:24
Location: Durham, UK

Post by Maedhros »

No, it'll just use the length of the platform it's unloading at, so 3 tiles long.
No-one's more important than the earthworm.
User avatar
Wolf01
Tycoon
Tycoon
Posts: 2016
Joined: 24 Apr 2004 10:43
Location: Venezia - Italia
Contact:

Post by Wolf01 »

what do you think maedhros? is what you wanted to do? or you still need the fully adjoin behaviour (the ability to extend the stations in the adjoined area, chosing the station you want to extend between the two)?
User avatar
XeryusTC
Tycoon
Tycoon
Posts: 15415
Joined: 02 May 2005 11:05
Skype: XeryusTC
Location: localhost

Post by XeryusTC »

I think I'd rather see waypoints being able to be build over multiple lines than using adjacent stations. I usually like the waypoint graphics more for a waypoint than the station graphics.
Don't panic - My YouTube channel - Follow me on twitter (@XeryusTC) - Play Tribes: Ascend - Tired of Dropbox? Try SpiderOak (use this link and we both get 1GB extra space)
Image
OpenTTD: manual #openttdcoop: blog | wiki | public server | NewGRF pack | DevZone
Image Image Image Image Image Image Image
User avatar
Wolf01
Tycoon
Tycoon
Posts: 2016
Joined: 24 Apr 2004 10:43
Location: Venezia - Italia
Contact:

Post by Wolf01 »

XeryusTC wrote:I think I'd rather see waypoints being able to be build over multiple lines than using adjacent stations. I usually like the waypoint graphics more for a waypoint than the station graphics.
i asked for this, i was answered to use stations, so i started to develope the patch

you can always draw a waypoint graphics for newstations ;)
User avatar
XeryusTC
Tycoon
Tycoon
Posts: 15415
Joined: 02 May 2005 11:05
Skype: XeryusTC
Location: localhost

Post by XeryusTC »

Wolf01 wrote:
XeryusTC wrote:I think I'd rather see waypoints being able to be build over multiple lines than using adjacent stations. I usually like the waypoint graphics more for a waypoint than the station graphics.
i asked for this, i was answered to use stations, so i started to develope the patch

you can always draw a waypoint graphics for newstations ;)
The waypoints for newstations use "WAYP" as station class (prop 0x08), which makes them unable to accept/generate cargo and disallows trains from stopping at them in TTDPatch. Additionally they will appear in the waypoint build menu in OpenTTD and are thus not buildable as normal stations.
This way it is not possible to build "true" waypoints as multi lane waypoints in OTTD. That's why I would rather see that the waypoints are going to be fixed.
Don't panic - My YouTube channel - Follow me on twitter (@XeryusTC) - Play Tribes: Ascend - Tired of Dropbox? Try SpiderOak (use this link and we both get 1GB extra space)
Image
OpenTTD: manual #openttdcoop: blog | wiki | public server | NewGRF pack | DevZone
Image Image Image Image Image Image Image
peter1138
OpenTTD Developer
OpenTTD Developer
Posts: 1791
Joined: 30 Mar 2005 09:43

Post by peter1138 »

Hehe, you can always make waypoints appear in the station list. Just replace '1 << STAT_CLASS_WAYP' with '0' at src/rail_gui.cpp:883... They will behave just like normal stations, though.
He's like, some kind of OpenTTD developer.
User avatar
Ben_K
Tycoon
Tycoon
Posts: 1166
Joined: 01 Jun 2006 15:15
Location: Sydney, AUS

Post by Ben_K »

Maedhros wrote:No, it'll just use the length of the platform it's unloading at, so 3 tiles long.
Will it ever be possible to do this?
User avatar
Wolf01
Tycoon
Tycoon
Posts: 2016
Joined: 24 Apr 2004 10:43
Location: Venezia - Italia
Contact:

Post by Wolf01 »

here's another version, i extended this behaviour (the adjoin only) to all the stations types, so you are able to build 2 airports adjacent and roadstops too (very usefull in cities when there is enough space and the only suitable site is near an opponent)
Attachments
adjoin_stations_9828_2.diff
(7.34 KiB) Downloaded 92 times
User avatar
XeryusTC
Tycoon
Tycoon
Posts: 15415
Joined: 02 May 2005 11:05
Skype: XeryusTC
Location: localhost

Post by XeryusTC »

peter1138 wrote:Hehe, you can always make waypoints appear in the station list. Just replace '1 << STAT_CLASS_WAYP' with '0' at src/rail_gui.cpp:883... They will behave just like normal stations, though.
It doesn't work properly when using the original non-stop... ;)
Don't panic - My YouTube channel - Follow me on twitter (@XeryusTC) - Play Tribes: Ascend - Tired of Dropbox? Try SpiderOak (use this link and we both get 1GB extra space)
Image
OpenTTD: manual #openttdcoop: blog | wiki | public server | NewGRF pack | DevZone
Image Image Image Image Image Image Image
SyncViews
Engineer
Engineer
Posts: 38
Joined: 13 May 2007 12:31
Location: UK

Post by SyncViews »

...and roadstops too...
Since when were we not able to build bus/lorry stations next to eac hother anyway?
Every build of ottd ive played has let me do that.
User avatar
XeryusTC
Tycoon
Tycoon
Posts: 15415
Joined: 02 May 2005 11:05
Skype: XeryusTC
Location: localhost

Post by XeryusTC »

SyncViews wrote:
...and roadstops too...
Since when were we not able to build bus/lorry stations next to eac hother anyway?
Every build of ottd ive played has let me do that.
The point is that they're two different stations.
Don't panic - My YouTube channel - Follow me on twitter (@XeryusTC) - Play Tribes: Ascend - Tired of Dropbox? Try SpiderOak (use this link and we both get 1GB extra space)
Image
OpenTTD: manual #openttdcoop: blog | wiki | public server | NewGRF pack | DevZone
Image Image Image Image Image Image Image
User avatar
Ben_K
Tycoon
Tycoon
Posts: 1166
Joined: 01 Jun 2006 15:15
Location: Sydney, AUS

Post by Ben_K »

I *think* he means next to opponents ones in this case.
User avatar
Wolf01
Tycoon
Tycoon
Posts: 2016
Joined: 24 Apr 2004 10:43
Location: Venezia - Italia
Contact:

Post by Wolf01 »

Ben_K wrote:I *think* he means next to opponents ones in this case.
your ones too ;)
MJS
Director
Director
Posts: 540
Joined: 28 Jul 2005 09:31

Post by MJS »

Why has the distant-join been removed? It's a ttdpatch feature that I miss a lot (and without it, I wouldn't want to switch to OTTD, no matter how promising the passenger destinations are...)
User avatar
Wolf01
Tycoon
Tycoon
Posts: 2016
Joined: 24 Apr 2004 10:43
Location: Venezia - Italia
Contact:

Post by Wolf01 »

MJS wrote:Why has the distant-join been removed? It's a ttdpatch feature that I miss a lot (and without it, I wouldn't want to switch to OTTD, no matter how promising the passenger destinations are...)
this is a totally new rewrite, i think is better to keep both the patches separate, so the chance to get it in trunk is higher
User avatar
Wolf01
Tycoon
Tycoon
Posts: 2016
Joined: 24 Apr 2004 10:43
Location: Venezia - Italia
Contact:

Post by Wolf01 »

so, there is somebody interested (Maedhros apart) on this patch? should I continue to develop it?
User avatar
RainierWatcher
Traffic Manager
Traffic Manager
Posts: 244
Joined: 14 Jan 2007 15:10
Location: West Norfolk, England

Post by RainierWatcher »

It sounds good to me, I never understood why you can't build something next to another station anyway. Useful when space is cramped near a big production factory.
Post Reply

Return to “OpenTTD Development”

Who is online

Users browsing this forum: No registered users and 23 guests