Page 1 of 1

Last ditch debug mode?

Posted: Tue Mar 01, 2016 10:40 pm
by webkilla
I'm 5½ hours into a very good game

Just got blue science production up, about to set up solar power - my lasers are wreaking havoc on my coal power production since it disrupts coal mining... and my last auto-save puts me about 1½ minutes away from a massive swarm attack that will crush me utterly. My power supply is completely down due to coal power disruptions from this. Was about to fix it with solar, but no time left.

I've tried to handle it - but I'm boned. Thoroughly. After half a dozen attempts, nothing. I'm a so boned.



...and I don't want to toss away almost 6 hours of leisurely fun and industry.


Is there a debug command I can use to temporarily give me infinite electricity or something?
I don't want to have to toss this game away - but without a cheat-fix I cannot salvage this.

Re: Last ditch debug mode?

Posted: Tue Mar 01, 2016 10:43 pm
by Koub
Why not give yourself a few stacks of coal ?

Re: Last ditch debug mode?

Posted: Tue Mar 01, 2016 10:44 pm
by Smarty
You could run a kill all command

Re: Last ditch debug mode?

Posted: Tue Mar 01, 2016 10:46 pm
by Smarty

Code: Select all

/c game.forces["enemy"].kill_all_units()
This is the command

Re: Last ditch debug mode?

Posted: Tue Mar 01, 2016 10:50 pm
by prg
To give you a bit more time to sort out your energy situation till the next wave comes, flip the game to peaceful mode:

Code: Select all

game.peaceful_mode=true
game.forces.enemy.kill_all_units()
Run the same thing again with peaceful_mode=false to switch the critters back to aggressive.

Re: Last ditch debug mode?

Posted: Tue Mar 01, 2016 11:39 pm
by webkilla
thank you so much!

...now to get that damned power supply up and running