No pause on the end-game "no satellite" message

Post Reply
User avatar
binbinhfr
Smart Inserter
Smart Inserter
Posts: 1524
Joined: Sat Feb 27, 2016 7:37 pm
Contact:

No pause on the end-game "no satellite" message

Post by binbinhfr »

It would be great for mods using rocket-silo in an alternative way (ion cannon, cargo rockets), to avoid the blocking "no satellite" message in solo play.

For memory, the map code is :

Code: Select all

script.on_event(defines.events.on_rocket_launched, function(event)
(...)
    if (#game.players <= 1) then
      game.show_message_dialog{text = {"gui-rocket-silo.rocket-launched-without-satellite"}}
    else
      for index, player in pairs(force.players) do
        player.print({"gui-rocket-silo.rocket-launched-without-satellite"})
      end
    end
It would be great to suppress the solo-play test and always use the player.print non-blocking message.
Last edited by binbinhfr on Tue Jul 26, 2016 8:29 am, edited 2 times in total.
My mods on the Factorio Mod Portal :geek:

User avatar
binbinhfr
Smart Inserter
Smart Inserter
Posts: 1524
Joined: Sat Feb 27, 2016 7:37 pm
Contact:

Re: Suppress the "no satellite" paused dialog

Post by binbinhfr »

Well I checked a new map under 0.13, and it seems that my request was not received :-(
It would be great for rocket mods and any end-game mods... And not a big change to implement...
Last edited by binbinhfr on Tue Jul 26, 2016 8:42 am, edited 1 time in total.
My mods on the Factorio Mod Portal :geek:

User avatar
Versepelles
Long Handed Inserter
Long Handed Inserter
Posts: 70
Joined: Sat May 28, 2016 1:42 pm
Contact:

Re: Suppress the "no satellite" paused dialog

Post by Versepelles »

I'd like to second this request. Redefining the end-game is the purpose of some mods, and these can be a great boon to Factorio, so I believe the time invested making this change would probably be worth it.

User avatar
binbinhfr
Smart Inserter
Smart Inserter
Posts: 1524
Joined: Sat Feb 27, 2016 7:37 pm
Contact:

Re: No pause on the end-game "no satellite" message

Post by binbinhfr »

Yes !
In general, I always think that these paused dialogs are always a pain.
(The "freeplay" paused dialog when you create a new map is another example).
Those dialogs could be printed in the console window, as informative non blocking messages.
My mods on the Factorio Mod Portal :geek:

Rockstar04
Fast Inserter
Fast Inserter
Posts: 171
Joined: Sun Feb 17, 2013 4:31 pm
Contact:

Re: No pause on the end-game "no satellite" message

Post by Rockstar04 »

Would it be possible to allow mods to change what triggers the message? So things like the ion-cannon would be considered "valid" payloads?

Rseding91
Factorio Staff
Factorio Staff
Posts: 13209
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: No pause on the end-game "no satellite" message

Post by Rseding91 »

I'll see what I can come up with.
If you want to get ahold of me I'm almost always on Discord.


Post Reply

Return to “Implemented mod requests”