Transport Fever 2

Transport Fever 2

411 ratings
Undo!
20
9
5
3
11
5
2
3
5
2
3
3
2
   
Award
Favorite
Favorited
Unfavorite
Track/Street: Track, Street
Misc: Script Mod
File Size
Posted
Updated
282.863 KB
May 23, 2023 @ 11:05am
Jun 21, 2023 @ 6:06am
4 Change Notes ( view )

Subscribe to download
Undo!

Description

After popular suggestion in the forums, it is finally here: Undo!

This was much harder to implement than I first thought, and there are some limitations but it works reasonably well.

Features:
- Button to undo up to 10 of the last "build" actions, such as track / road laying, signals, bus stops, stations and other constructions
- Undo will give you a full refund of the amount spent
- A "redo" button that will allow you to "undo undo", this will charge you the normal amount

Limitations:
- It cannot resurrect demolished town buildings. I attempted to replace these but they come back as zombie buildings, it seems that only the internal TF code can build these correctly
- It cannot replace auto removed assets and decorations, so an un-done track laying (for example) will leave behind a "scar" on the landscape
- Undoing or redoing large chains of actions becomes increasly less likely to work as the number of events grows - which is why I limited it to 10
- It cannot undo anything that was done by another script or mod (with the exception of some of my own mods which have been integrated)

I have been through many crashes to desktop developing this mod, it now seems stable but I strongly recommend (auto) saving regularly, and please report any issues - importantly - including log snippet and also what mods were in use (so I have a hope of fixing it).

Enjoy!
Popular Discussions View All (1)
0
Oct 9, 2024 @ 4:41am
Creating "Zombie Buildings"
N0neGiv3N
44 Comments
N0neGiv3N Oct 6, 2024 @ 5:32am 
Hey Okeating, could you tell me what I would need to edit in your mod to undo A.I created building to turn them into zombie buildings instead? I actually would like the ability to do that.

Look forward to hearing back from you!
Eman Saila Apr 18, 2024 @ 6:23am 
Great tool, helps not only beginners like me. Thanks a lot !
Hushey Dec 26, 2023 @ 7:06pm 
that is SO clever!!!
Elje0ett Oct 2, 2023 @ 10:19am 
If I were to accidentally build/place a town, would this be able to undo that?
childoflir Aug 23, 2023 @ 1:27pm 
love this mod. Well done.
compispider Aug 23, 2023 @ 10:11am 
Top Tool, super.
Pdguru Aug 22, 2023 @ 5:44pm 
This does not work. Clicking the button undoes nothing. Does it need an update?
ADIOP55550 Aug 2, 2023 @ 3:15am 
Does well what it promised to do
ncharly Jul 5, 2023 @ 2:22am 
danke Dir vielmals. Ist eine super Mod, gestern geladen. geht Spitze-
Ims Jun 29, 2023 @ 12:17pm 
It's not called "Undo It!". Unplayable.