top of page

LTOWVisibleTimersMod

"Add on-screen timers for things that didn't have them before!"
SimonTendo-LTOWVisibleTimersMod-1.1.0.png.256x256_q95_crop.png

Not all features with a timer in Last Train Outta Wormtown had these timers visible as feedback for the player, and ones that did usually had them custom-coded in the script of the feature they applied to. 

 

For this mod, the primary goal was to simply add visible timers to more features.

LTOWVisibleTimersMod: a project with the goal of visualizing feedback on any feature I could want it to

Proof of Concept:

I started with sticks of dynamite that have had their fuse lit and learned how to have the timer face the active game camera.

 

I also learned Unity's Image fillAmount could be used to inject the timer's max- and current-time to make it look like a depleting circle or bar.

Expanding and Flexibility:

With this, I had a visible timer for lit dynamite sticks. Next, I wanted to do the same for tumbleweeds, but copying all the code to a new script felt inefficient.

 

So, I decided to delegate the main timer-functionality to an abstract class with virtual methods to inject object-specific data such as max- and current-time.

 

This made making new visible timers for objects as simple as creating a new child script that simply told the main script what its values were.

VisibleTimersCode.png
Proof of tech of visible timers printing features' time-values
Proof of concept that these visible timers can look nice
Code of the base visible timer script setting itself and all its visual components up automatically
Video demo showcasing changing colors over time on multiple objects

Automation and Ease-Of-Use:

This already made the system very flexible, but I still managed to get more flexibility out of it:

  • I made the timer UI a static prefab that the parent script would load by itself, so that every new visible-timer-prefab didn't even need to add it manually, the main script will do all of the work.

  • I made it so that timers' Image, Transform, color, notation, and more are all parameters, which can be edited as configurable settings, to let players customize timers however they want.

  • And I made a BasicTimer child class that didn't contain any code itself, but could be added through code and publicly accessed to pass it its parameters, such as in other mods. 

VisibleTimers 1.png
The visual prefab and script visible timers use to print either numerical time, depleting circles, or depleting bars
2025-05-30 visible timers demo lever bar.png
2025-05-30 visible timers demo lever circle.png
2025-05-30 visible timers demo lever text.png
Possible visualizations and colors visible timers can have
Video demo of visible timers' configurable visualizations, edited at runtime

Takeaways:

All this combined allowed me to extremely easily create new timers for five different objects that didn't have visible timers before, as well as cross-mod compatibility. With the only improvement points really being to reconsider to create a custom canvas to put the timers on, to prevent it from being hidden behind other objects, and finding even more objects to give visible timers.

​

But at the mod's release its flexibility paid off, as people praised there being more objects that supported visible timers than anticipated, as well as the complete customizability of the timers. 

Video demo of the final implementation of visible dynamite timers
Video demo of the final implementation of visible infinite-stamina timers

If you would like to enjoy this mod too, you can download it through the Thunderstore Mod Manager, following this link: Link to the page

LTOWVisibleTimersMod online listing 2025-09-03.png
The online listing for the LTOWVisibleTimersMod as of 2025-09-03
bottom of page