Re: [hlcoders] Prevent pause during open dev console?

2010-09-30 Thread Tony "omega" Sergi
So long as it's in singleplayer (maxplayers <2) whenever the console is visible it is forcibly paused, and there is absolutely no way around it as a mod. The only 2 solutions are to either a) accept that it pauses and move on or b) you -can- set maxplayers to 2 to make it multiplayer instead of sin

Re: [hlcoders] Prevent pause during open dev console?

2010-09-30 Thread Adam "amckern" McKern
You can always build your code on the multilayer code base? Owner Nigredo Studios http://www.nigredostudios.com --- On Fri, 1/10/10, James Pizzurro wrote: From: James Pizzurro Subject: Re: [hlcoders] Prevent pause during open dev console? To: "Discussion of Half-Life Programming" Rec

Re: [hlcoders] Prevent pause during open dev console?

2010-09-30 Thread James Pizzurro
If I remember correctly, when the game is paused, at least one of the things that happens is host_timescale is set to 0. I'm not sure what could be done about this though because it is all probably handled in the inaccessible parts of the engine. On Thu, Sep 30, 2010 at 5:04 PM, Martin Smith wrot

Re: [hlcoders] Prevent pause during open dev console?

2010-09-30 Thread Martin Smith
Still no luck, but thank you also for the feedback. On Thu, Sep 30, 2010 at 4:39 PM, Tom Edwards wrote: > You can run unpause (or perhaps it's pause again, as a toggle) while > inside the console. It's probably possible to bind a key that does both > things at once. > > > On 30/09/2010 7:18, Mar

Re: [hlcoders] Prevent pause during open dev console?

2010-09-30 Thread Tom Edwards
You can run unpause (or perhaps it's pause again, as a toggle) while inside the console. It's probably possible to bind a key that does both things at once. On 30/09/2010 7:18, Martin Smith wrote: Hey list, By default, when the engine receives a toggleconsole command in a single-player game,

Re: [hlcoders] Prevent pause during open dev console?

2010-09-30 Thread Martin Smith
Thanks for the response, but it doesn't seem to have any effect. On Thu, Sep 30, 2010 at 3:39 PM, Stephen Swires wrote: > sv_pausable 0, if the game is paused you need to type "pause" before > running > this command > > On Thu, Sep 30, 2010 at 7:18 PM, Martin Smith wrote: > > > Hey list, > > > >

Re: [hlcoders] Prevent pause during open dev console?

2010-09-30 Thread Stephen Swires
sv_pausable 0, if the game is paused you need to type "pause" before running this command On Thu, Sep 30, 2010 at 7:18 PM, Martin Smith wrote: > Hey list, > > By default, when the engine receives a toggleconsole command in a > single-player game, the game is paused until the console is closed. I

[hlcoders] Prevent pause during open dev console?

2010-09-30 Thread Martin Smith
Hey list, By default, when the engine receives a toggleconsole command in a single-player game, the game is paused until the console is closed. I'd like to allow use of the dev console while a simulation continues running. Can anyone think of a way to prevent this from happening? I guess the alte