Undo (Middle click?)
Moderator: OpenTTD Developers
Undo (Middle click?)
Doesn't it really annoy you that if you're building a track and you make 1 mistake, you have to then go all the way up to demolish/remove that one little piece of track??
Wouldn't it be a good move to have the middle mouse button as an "Undo" type button, if you're building, accidentally make a piece of track going the wrong way, just middle-click and it undoes what you just did??
Perhaps a keyboard shortcut too?
Wouldn't it be a good move to have the middle mouse button as an "Undo" type button, if you're building, accidentally make a piece of track going the wrong way, just middle-click and it undoes what you just did??
Perhaps a keyboard shortcut too?
...Synthetic Intelligent Organism Normally for Infiltration and Dangerous Exploration...
...sionide.net...
...sionide.net...
ah cool - didn't know that, but still - the middle click doesn't do anything as of yet, i think it'd be good for an overall Undo-last-action thing?
...Synthetic Intelligent Organism Normally for Infiltration and Dangerous Exploration...
...sionide.net...
...sionide.net...
How about middle clicking acting permenantly as the bulldozer? Would be super handy imo cuz I can't always be bothered to mess around looking for keyboard shortcuts and switching between bulldozer and autorail all the time with the mouse is too much hassle 
I'm thinking something similar to rollercoaster tycoon's right clicking to remove stuff, but also with support for dragging like the normal bulldozer.
And yes you are looking at the most lazy computer user ever

I'm thinking something similar to rollercoaster tycoon's right clicking to remove stuff, but also with support for dragging like the normal bulldozer.
And yes you are looking at the most lazy computer user ever

-
- Engineer
- Posts: 12
- Joined: 12 Apr 2004 16:08
There's an important difference between "bulldoze" and "undo". With "undo" you should also get your money back - everything should be like it was a couple of seconds ago, with "bulldoze" you might get money back for clearing landtiles, but you've lost the building costs.Sliker_Hawk wrote:Well, I think having the middle mouse as undo (or the bulldozer) is a cool idea.. It would help alow.. Well, not A LOT, cos it doesn't take much to move your hand a bit but still, it'd be cool.
I'd like to see an undo button (either with a convenient shortkut-key or not). It happened twice to me yesterday that I accidently built a road-bridge instead of a rail-bridge; had to demolish the wrong bridge and in the end pay for two bridges instead of one. (Instead of a complete undo, a button that changes a bridge-type from rail to road or back would be nice as well).
A bit off-topic: is there somewhere an overview of all keyboard-shortcuts of openTTD? I searched a bit, but couldn't find one
- bobingabout
- Tycoon
- Posts: 1850
- Joined: 21 May 2005 15:10
- Location: Hull, England
i would like an undo function.
oops, just wated my money demolising the ocean

I WANT MY MONEY BACK! UNDO! UNDO!!!
atleast the remove track function is good.
an undo wouldn't work in multiplayer though.
oops, just wated my money demolising the ocean



I WANT MY MONEY BACK! UNDO! UNDO!!!
atleast the remove track function is good.
an undo wouldn't work in multiplayer though.
JPG SUX!!! USE PNG!!!
There are times when JPG is useful, TTD screenshots is not one of them. Please use PNG instead.
[/url]
There are times when JPG is useful, TTD screenshots is not one of them. Please use PNG instead.
[/url]
There is an undo function. It's called a savegame. The only safe way to revert to a previous state is to revert everything, and making a savegame everytime you change something is abusurd.
Besides, how much game-time do you spend where the cost of undoing your mistake and fixing it is actually significant?
Besides, how much game-time do you spend where the cost of undoing your mistake and fixing it is actually significant?
To get a good answer, ask a Smart Question. Similarly, if you want a bug fixed, write a Useful Bug Report. No TTDPatch crashlog? Then follow directions.
Projects: NFORenum (download) | PlaneSet (Website) | grfcodec (download) | grfdebug.log parser
Projects: NFORenum (download) | PlaneSet (Website) | grfcodec (download) | grfdebug.log parser
I didn't know that implementing an undo option by the coders could only be done by saving after each build-operation. Nevermind then..DaleStan wrote:There is an undo function. It's called a savegame. The only safe way to revert to a previous state is to revert everything, and making a savegame everytime you change something is abusurd.
Besides, how much game-time do you spend where the cost of undoing your mistake and fixing it is actually significant?

- bobingabout
- Tycoon
- Posts: 1850
- Joined: 21 May 2005 15:10
- Location: Hull, England
no it doesn't, it just has to remember the last thing you did.
JPG SUX!!! USE PNG!!!
There are times when JPG is useful, TTD screenshots is not one of them. Please use PNG instead.
[/url]
There are times when JPG is useful, TTD screenshots is not one of them. Please use PNG instead.
[/url]
but thats what the buldozer is for they want an undo option if they make a lousy click that doesnt cost anything
Formerly known as r0b0t_b0y2003, robotboy, roboboy and beclawat. The best place to get the most recent nightly builds of TTDPatch is: http://roboboy.users.tt-forums.net/TTDPatch/nightlies/
maybe we could hve it detect what was next to it and check if any new road (mainly rail) faceing it appears and if it does and has nothing using it of the company who built it then they cant remove it.
Formerly known as r0b0t_b0y2003, robotboy, roboboy and beclawat. The best place to get the most recent nightly builds of TTDPatch is: http://roboboy.users.tt-forums.net/TTDPatch/nightlies/
But what if presence of the signal has caused two trains to enter what will become a single block?MeusH wrote:It wouldn't break anything in game if undo would simply bulldoze\remove last structure made (bulldoze track\remove signal) - of course it will cost some money...
And for track, what if a train is on that track?
For depots, what if a vehicle is (partway) in?
Even if you just use the checks that are already in place, this just makes the undo function a glorified bulldozer.
To do undo properly, you'd have to maintain an undo stack, and check the whole thing every time a vehicle does something that could invalidate an entry. (Enters a new tile, changes target, &c.)
Like I said. There's an undo function: a savegame. The bulldozer tool works pretty well too, but obviously isn't entirely an undo.
To get a good answer, ask a Smart Question. Similarly, if you want a bug fixed, write a Useful Bug Report. No TTDPatch crashlog? Then follow directions.
Projects: NFORenum (download) | PlaneSet (Website) | grfcodec (download) | grfdebug.log parser
Projects: NFORenum (download) | PlaneSet (Website) | grfcodec (download) | grfdebug.log parser
Hmmm... I believe it does in lots of games. But when you press it you might accidentally scroll too, which usually has another effect in games.Yoeri wrote:the idea is great, but my mouse doesn't have a third button. It does have a wheel though, and it is clickable. does that count as the third button?
Contributor to the The 2cc Set and Dutch Trainset. Inventor of the Metro concept. Retired Graphics Artist.

Download TT | Latest TTDPatch | OpenTTD | OpenTTDCoop | BaNaNaS: OpenTTD content system | 2048² OTTD scenario of the Netherlands
GRF Codec | GRF Crawler | GRF Maker | Usefull graphics & tools sites | NML Documentation Wiki | NFO Documentation Wiki
All my graphics are licensed under GPL. "Always remember you're unique, just like everyone else."
Download TT | Latest TTDPatch | OpenTTD | OpenTTDCoop | BaNaNaS: OpenTTD content system | 2048² OTTD scenario of the Netherlands
GRF Codec | GRF Crawler | GRF Maker | Usefull graphics & tools sites | NML Documentation Wiki | NFO Documentation Wiki
All my graphics are licensed under GPL. "Always remember you're unique, just like everyone else."
Who is online
Users browsing this forum: No registered users and 26 guests