Moderator: OpenTTD Developers
I disabled autosaves, because they use too much HDD space if you play a long game... and yes, I know I should save more often, but I make one line, perfectly, spend ages on it... and then one little glitch on the dynamite tool (trying to delete a handful of trees) and half my map goes up in smoke. I'm left with a dozen trains on a few tiles each, some cities and the odd station which happened to be occupied at a time.
Really, use 2gb of ram to do it if you must, but let me hit ctrl+z to undo my last action!
Anyways, I do think that this is something that should be added. I think it has been discussed before but anyways, a UNDO button would certainly improve gameplay.
I don't see that option. Is that in the patches or options menu? Or do I have to enable it manually?Rubidium wrote:You mean like it is now (when you did not enable keep_all_autosave)?
But that's off-topic, and I can deal with that later.
Undo would be useful, especially for those of us who play ottd on a laptop, when you end up blowing half the map up because you knocked the pad without realising. Happened to me a few times.
That's because you loaded a trunk openttd.cfg into an older (probably stable) version of OpenTTD.Mchl wrote:Actually... I have both under [gui] and [patches]... It's not something I'd expect...
Yes. I'm using several diffirent versions, and they all use same openttd.cfg. Thanks for explanation.Rubidium wrote:That's because you loaded a trunk openttd.cfg into an older (probably stable) version of OpenTTD.
What about an undo function? Would it be very hard to code? Is it possible at all (with a decent amount of coding)?
I also cannot see a reason for deleting trees. They are deleted automatically when you build rail or road. Also if you want to see past them you can make them completely invisible using a toolbar (found under the spanner).
- OpenTTD Developer
- Posts: 1507
- Joined: 05 Apr 2005 01:48
- Location: Deep down the deepest blue
The reason is that you need to go back to a point in time in the game.
And since there are a lot of stuff going on (way more than it may looks) under the hood, having a list of all those modifications will be simply... too much.
It's not just the last human action that needs to be done. It's the whole state of the game that needs to be saved. Otherwise, it would not make much sens. You need to revert it all. The trains that have dropped a shipment, the industry that changed its production etc etc.
This is not a word processor, it's something way bigger in term of pieces interacting.
The best way for an undo "kinda" stuff is to set autosave to a high frequency.
The game has not been constructed with an undo in mind. Therefor, adding it is not really a posibility.
- Mr. X
- Posts: 11502
- Joined: 20 Sep 2004 22:45
- Location: Black Mesa Research Facility - New Mexico
What about it not goes back in time but just records the last action you did alone? (Maybe I'm stupid or something but I'm wondering).belugas wrote:...
If I remove a piece of track somewhere and press the undo-button; it should just recreate that same piece of track (not going back in time but only undoing the last con or de-struction).
Only problem I can think of is abuse when someone build something and undoes it so it's cheaper to remove stuff (like trees or road).
Authority is something you deserve, not something you impose. -Wile E. Coyote (TT-Forums member)
e.g. planting trees would be the best example i can think of right now. it has an affect on the town rating. undoing the planting would require to memorize the town rating that existed before planting.
same thing with destroying trees, the town authority reacts to that (obviously this time in a negative way), undoing such an action requires more than just removing tress and paying back the money for that action.
besids, every single action in the game has an affect on the futur of the game. like Belugas already said, there is more in the background that you are not aware of that needs taking into account - trust a dev on that one, i think he knows more about the inside guts of the game
in addition to that: it sounds to me like a feature that is there to prevent people to plan, structure and think about their construction before they build it! you guys seriously need to switch on that thinker you have sitting on your neck (excluding the recently bannd kiddo, he aint got none)
i btw. read out of Belugas' post: will never happen!
Users browsing this forum: No registered users and 25 guests