Request: AutoBridge

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

Post Reply
littlemikey
Engineer
Engineer
Posts: 117
Joined: 24 May 2007 00:30

Request: AutoBridge

Post by littlemikey »

Hi there, i have a small suggestion for a new feature: AutoBridge. Let me just explain it.

Take a look at the attached screenshot. For very long bridges like this, you need cross the gap with the bridge tool, scroll down the list to choose the one you want, click, and repeat. This can quickly become very repetative and very time consuming. I would really like to see a feature where the only step you need to do is drag the bridge tool.

The way this would work may be choosing a default bridge somehow, then every time you drag the bridge tool it just builds that default bridge.

Any ideas/comments/suggestions anyone?
Attachments
Chinatown Mafia, 3rd Nov 1994.png
Very slow bridge building
(48.48 KiB) Downloaded 453 times
Alberth
OpenTTD Developer
OpenTTD Developer
Posts: 4763
Joined: 09 Sep 2007 05:03
Location: home

Re: Request: AutoBridge

Post by Alberth »

Hello,

Unless you plan on implementing this feature, a more apropiate place for this post may be in the OTTD suggestions forum.

With respect to implementation, maybe we should remember the bridge-type last bought, and have an additional button for 'auto-buy' that stays on once depressed (unless pressed again before dragging or when a new bridge-type is added to the list).
However, we have currently no way to display the 'currently selected bridge-type', do we?

Albert
Being a retired OpenTTD developer does not mean I know what I am doing.
User avatar
Zuu
OpenTTD Developer
OpenTTD Developer
Posts: 4553
Joined: 09 Jun 2003 18:21
Location: /home/sweden

Re: Request: AutoBridge

Post by Zuu »

It have been suggested before to enchance the build bridge UI.

---
My touch on the idea:

In the normal bridge selection GUI, add some way to select prefered bridge and a hint that you build the prefered bridge by holding ctrl, while building.

Then hold Ctrl when you build a bridge and it will pick the prefered bridge. A prefered bridge can be anything like [a specific bridge], or [the fastest bridge] or [the cheapest bridge]


--
But yes, this should be moved to OpenTTD Suggestions.
My OpenTTD contributions (AIs, Game Scripts, patches, OpenTTD Auto Updater, and some sprites)
Junctioneer (a traffic intersection simulator)
littlemikey
Engineer
Engineer
Posts: 117
Joined: 24 May 2007 00:30

Re: Request: AutoBridge

Post by littlemikey »

I'm sorry for wrong location of this post, I realised it should be in suggestions after I made it >_<
blitzkrieg
Engineer
Engineer
Posts: 105
Joined: 30 Jun 2006 04:22

Re: Request: AutoBridge

Post by blitzkrieg »

Zuu wrote:In the normal bridge selection GUI, add some way to select prefered bridge and a hint that you build the prefered bridge by holding ctrl, while building.

Then hold Ctrl when you build a bridge and it will pick the prefered bridge. A prefered bridge can be anything like [a specific bridge], or [the fastest bridge] or [the cheapest bridge]


--
But yes, this should be moved to OpenTTD Suggestions.
I don't know if any one amongst you is/are using the ChrissIn version of OTTD.
In the ChrisIn version a patch has been integrated by which when you select the bridge length (eg from tile X to tile Y) all the available types of bridges are shown i:e; the scrolling has been removed thus enabling you to see all the possible types of Bridges (the window though becomes very large at later stages!!)& you just have to choose the one you want.

@ Zuu : It would be nice if u could choose & keep a selected bridge as default. Nice idea!!

@ Moderaters: Kindly Move this post to Suggestion Section.
Tom0004
Chairman
Chairman
Posts: 822
Joined: 01 Jul 2007 22:33
Location: Manchester, UK

Re: Request: AutoBridge

Post by Tom0004 »

oh well bet me to it, but heres the link to the thread http://www.tt-forums.net/viewtopic.php?t=31765
littlemikey
Engineer
Engineer
Posts: 117
Joined: 24 May 2007 00:30

Re: Request: AutoBridge

Post by littlemikey »

blitzkrieg wrote:
Zuu wrote:In the normal bridge selection GUI, add some way to select prefered bridge and a hint that you build the prefered bridge by holding ctrl, while building.

Then hold Ctrl when you build a bridge and it will pick the prefered bridge. A prefered bridge can be anything like [a specific bridge], or [the fastest bridge] or [the cheapest bridge]


--
But yes, this should be moved to OpenTTD Suggestions.
I don't know if any one amongst you is/are using the ChrissIn version of OTTD.
In the ChrisIn version a patch has been integrated by which when you select the bridge length (eg from tile X to tile Y) all the available types of bridges are shown i:e; the scrolling has been removed thus enabling you to see all the possible types of Bridges (the window though becomes very large at later stages!!)& you just have to choose the one you want.

@ Zuu : It would be nice if u could choose & keep a selected bridge as default. Nice idea!!

@ Moderaters: Kindly Move this post to Suggestion Section.
Unfortunataly, I dont use chrisIN, or the Copy and Paste patch, because niether of them are on the COOP servers, which is the server that i want this for the most.
Alberth
OpenTTD Developer
OpenTTD Developer
Posts: 4763
Joined: 09 Sep 2007 05:03
Location: home

Re: Request: AutoBridge

Post by Alberth »

@0004tom: The thread you refer to is about the bridge-build window which is a part of the problem. Very useful though.

@Zuu: Not sure that we should have CTL special behavior. I'd much prefer to have options in plain sight, eg in the window by toggles or whatever.
Being a retired OpenTTD developer does not mean I know what I am doing.
User avatar
Zuu
OpenTTD Developer
OpenTTD Developer
Posts: 4553
Joined: 09 Jun 2003 18:21
Location: /home/sweden

Re: Request: AutoBridge

Post by Zuu »

Alberth wrote:@Zuu: Not sure that we should have CTL special behavior. I'd much prefer to have options in plain sight, eg in the window by toggles or whatever.
I do agree that using CTRL have the problem of hiding features. Now I believe that the bridge GUI could have this default bridge-selection with a hint to the user to use CTRL to build the default bridge. If smart GUI design fails we will at worst have a text at the bottom of the window that says "use CTRL to build default bridge" or shorter "CTRL = default bridge" or "CTRL builds default bridge".

If user sees that there is a way to select a default bridge, he/she would be interested to also know how to build the default one. To make it more clear instead of default we could use the term "CTRL-bridge" to give a hint to users that they have to use CTRL to activate the default-system.
My OpenTTD contributions (AIs, Game Scripts, patches, OpenTTD Auto Updater, and some sprites)
Junctioneer (a traffic intersection simulator)
User avatar
Bilbo
Tycoon
Tycoon
Posts: 1710
Joined: 06 Jun 2007 21:07
Location: Czech Republic

Re: Request: AutoBridge

Post by Bilbo »

littlemikey wrote: Unfortunataly, I dont use chrisIN, or the Copy and Paste patch, because niether of them are on the COOP servers, which is the server that i want this for the most.
You can get source code of whatever version currently runs on COOP servers, add copy & paste patch to it (servers and clients with or without patch are compatible), perhaps adding some more GUI enhancement patches that will not break compatibility (there is somewhere a patch that removes the scriollbars from bridge selection dialog, making it tall enough to show all bridges for example) - then you just compile it and play with it :)
If you need something, do it yourself or it will be never done.

My patches: Extra large maps (1048576 high, 1048576 wide) (FS#1059), Vehicle + Town + Industry console commands (FS#1060), few minor patches (FS#2820, FS#1521, FS#2837, FS#2843), AI debugging facility

Other: Very large ships NewGRF, Bilbo's multiplayer patch pack v5 (for OpenTTD 0.7.3)
User avatar
AntBUK
Transport Coordinator
Transport Coordinator
Posts: 319
Joined: 02 May 2007 12:29
Location: Sheffield, England
Contact:

Re: Request: AutoBridge

Post by AntBUK »

Drag and drop bridges? maybe more effort then its worth but its an idea :)

edit: typo
Last edited by AntBUK on 27 Nov 2007 20:27, edited 1 time in total.
Rasing Awareness: Aspergers Syndrome 1 (NAS UK)2 (BBC)3 (YaleDDC)


Something is driving you insane... It is me.
littlemikey
Engineer
Engineer
Posts: 117
Joined: 24 May 2007 00:30

Re: Request: AutoBridge

Post by littlemikey »

Bilbo wrote:
littlemikey wrote: Unfortunataly, I dont use chrisIN, or the Copy and Paste patch, because niether of them are on the COOP servers, which is the server that i want this for the most.
You can get source code of whatever version currently runs on COOP servers, add copy & paste patch to it (servers and clients with or without patch are compatible), perhaps adding some more GUI enhancement patches that will not break compatibility (there is somewhere a patch that removes the scriollbars from bridge selection dialog, making it tall enough to show all bridges for example) - then you just compile it and play with it :)
Copy and Paste patch is not allowed on COOP servers, i'd be breaking the rules if I used it there.
User avatar
Bilbo
Tycoon
Tycoon
Posts: 1710
Joined: 06 Jun 2007 21:07
Location: Czech Republic

Re: Request: AutoBridge

Post by Bilbo »

littlemikey wrote:Copy and Paste patch is not allowed on COOP servers, i'd be breaking the rules if I used it there.
Last time I played it wasn't disallowed ... and when I look at http://openttdcoop.ppcis.org/wiki/index.php/Ruleset I don't see there any rule forbidding it (well, due to the nature of gameplay there you won't use C&P very often ... but sometimes it can help a bit).
Basically, I see no need for forbidding it - if you build intelligent tracks, it doesn't matter HOW you build it ... whether by C&P or not.
If you need something, do it yourself or it will be never done.

My patches: Extra large maps (1048576 high, 1048576 wide) (FS#1059), Vehicle + Town + Industry console commands (FS#1060), few minor patches (FS#2820, FS#1521, FS#2837, FS#2843), AI debugging facility

Other: Very large ships NewGRF, Bilbo's multiplayer patch pack v5 (for OpenTTD 0.7.3)
User avatar
AntBUK
Transport Coordinator
Transport Coordinator
Posts: 319
Joined: 02 May 2007 12:29
Location: Sheffield, England
Contact:

Re: Request: AutoBridge

Post by AntBUK »

I don't think its a case of it not being allowed as much as it'll take the fun out of the game.

That, and I know I wouldn't be happy if an entire BBH/SLH or station layout with terraforming appeared out of nowhere with zero thought/constructive effort, so I think its safe to say others wouldn't be happy either.
Rasing Awareness: Aspergers Syndrome 1 (NAS UK)2 (BBC)3 (YaleDDC)


Something is driving you insane... It is me.
User avatar
Bilbo
Tycoon
Tycoon
Posts: 1710
Joined: 06 Jun 2007 21:07
Location: Czech Republic

Re: Request: AutoBridge

Post by Bilbo »

AntBUK wrote:I don't think its a case of it not being allowed as much as it'll take the fun out of the game.

That, and I know I wouldn't be happy if an entire BBH/SLH or station layout with terraforming appeared out of nowhere with zero thought/constructive effort, so I think its safe to say others wouldn't be happy either.
Most of the hubs I saw on coop are a bit one-of-a-kind, so C&P won't help there.
I used it some time ago there for things like building street grid around the city so it can expand (it is a bit faster with the c&p than without) and copying minor elements (like the service station where you can't show much invention anyway). Copying larger chunks or entire hubs/stations won't do much good there (and that would go against the "do not terraform excessively" rule) .... I have done the hubs and station manually, so I was able to do place all the eye-candy there :)

Also, C&P can be good if you accidentally build something one or two squares in bad direction, then you can copy & repaste it 2 squares away :)

I think the tool have valid uses, if not being used carelessly ...
If you need something, do it yourself or it will be never done.

My patches: Extra large maps (1048576 high, 1048576 wide) (FS#1059), Vehicle + Town + Industry console commands (FS#1060), few minor patches (FS#2820, FS#1521, FS#2837, FS#2843), AI debugging facility

Other: Very large ships NewGRF, Bilbo's multiplayer patch pack v5 (for OpenTTD 0.7.3)
Post Reply

Return to “OpenTTD Development”

Who is online

Users browsing this forum: Google [Bot] and 49 guests