Wintermute Engine Forum

Wintermute Engine => Feature requests, suggestions => Won't implement => Topic started by: redfox on November 09, 2007, 02:17:52 PM

Title: Pause Game, when Saving or Loading
Post by: redfox on November 09, 2007, 02:17:52 PM
I would very much lke to simply pause the game when a save is being made or a file loaded. I've tried using the exisiting Exclusive's but they stop the save or load themselves. Could the be a Pause which still allows save load features to continue, but freezes actors, particles, sounds and running scripts that arn't labeled not to pause?
Title: Re: Pause Game, when Saving or Loading
Post by: Mnemonic on November 12, 2007, 09:18:00 AM
I've tried using the exisiting Exclusive's but they stop the save or load themselves.
I don't know what you mean. WME Demo, for example, uses system exclusive menus which pause the game and allow you to save/load game.
Title: Re: Pause Game, when Saving or Loading
Post by: redfox on November 14, 2007, 02:09:32 PM
Ah, I must be doing something wrong... the game just freezes and doesn't save when I use Exclusive's as based on the demo menu.
Title: Re: Pause Game, when Saving or Loading
Post by: redfox on December 06, 2007, 02:18:39 PM
My main issue is that I have a scene for my menu background. I dont want to pause sound or actors or particles when visiting the menu, only when the save button is clicked. tSuch a button is in an overlaid window. But if I use a go Exclusive on the button, the entire games freezes and there is no save game?

This is why I request a way to pause the game (sound, actors, scripts etc) when saving, but not stop the save itself.
Title: Re: Pause Game, when Saving or Loading
Post by: Mnemonic on December 06, 2007, 03:58:34 PM
Try this: Make an empty window and add something like this to its script:

this.GoSystemExclusive();
Game.SaveGame(...);
this.Close();

When you click the save button, just load the above window. It will go to sys-ex mode, save the game, and close itself (ending the exclusive mode).

Untested, but it should work.
Title: Re: Pause Game, when Saving or Loading
Post by: redfox on December 13, 2007, 02:57:19 PM
Thank you, I shall try it out, and let you know if there were any problems