[Request] Auto-Pause on Event

Started by MisterVertigo, April 28, 2016, 03:57:59 PM

Previous topic - Next topic

MisterVertigo

Hello modders! Would it be possible to have the game speed changed to "pause" when an event happens in game? For example, I'm sitting back watching my colonists do the jobs I've assigned them, and then the red "Raid" envelope appears! The game would automatically pause to allow me to re-arrange my priorities and deal with the crisis, and then I can resume the game speed.

It would be great if it would pause on all "envelope" events, such as Raids, trade ships, disease, etc. Basically anything that would demand my immediate attention.

Is this something that is possible? Thanks!
"In vertigo you will be..."

"Relax, people. It's a teeny indie game; don't kill it with love." - Bozobub

Tatte

~Tatte~

Mightyrick1

You'd probably have to get a dll with some c# in it that recognizes when the game creates a new ReceiveLetter event and have that automaticly set the game speed to paused. I'm sure someone who is better at c# code than me can do something like that.
Amateur modder / YT LPer at www.tiny.cc/DDYoutube
mods : Elysian Flags - Mscarsonelle's theme

MisterVertigo

I've never coded in C# in my life, so that's why I asked here. I'm hoping someone that would know how also thinks this is a good idea! :)
"In vertigo you will be..."

"Relax, people. It's a teeny indie game; don't kill it with love." - Bozobub

MisterVertigo

"In vertigo you will be..."

"Relax, people. It's a teeny indie game; don't kill it with love." - Bozobub