Slowmo game toggle on and off on mapload

Having issues not related to a specific Sandbox game mode? Get help here!
Please also read the rules for support when posting support requests.
Failure to comply with the forum rules may result in your topic being locked without resolution.
TheIntercooler
Member
Member
Posts: 31
Joined: November 27th, 2011, 2:26 pm
Name: Ed

Slowmo game toggle on and off on mapload

Postby TheIntercooler » January 3rd, 2012, 4:35 pm

I know how to turn and turn off Slowmo when I'm in a game. But is there a way I can turn it on when automatically when a games loaded and off when the games closed?

I tried to add it to my menu as a game type but it wont load in slowmo I still have to run the command in the game to start and end it. There should be a way I can toggle it on as a game starts and back off correct?

User avatar
Tony
Member
Member
Posts: 113
Joined: November 13th, 2011, 5:04 am
Name: Tony
Location: Cincinnati, Ohio, USA

Re: Slowmo game toggle on and off on mapload

Postby Tony » January 4th, 2012, 12:47 am

If you mean the speed at which a character or player moves, this will work:

r_char_base_maxspeed 60

Change 60 to whatever speed you want.

I don't know if a negative value works here or not, but this is one movement script that I've seen.
60 is a speed boost.
Put that in the critters cfg of your game files for the character you want to affect.

Try a negative value and see if it works.

Good luck, and have fun =)

- Tony
Rockin' the Web for All the Right Reasons

Image Mind Reading Mastered
Image Canonize Juan Valdez and his Burro

User avatar
jSoftApps
Member
Member
Posts: 426
Joined: May 2nd, 2011, 10:02 pm
Name: J.R.
IRC Username: jSoftApps
Location: jSoft Apps Software Innovations HQ
Contact:

Re: Slowmo game toggle on and off on mapload

Postby jSoftApps » January 4th, 2012, 10:43 am

@Tony I believe he's talking about the slow-mo function in Sauerbraten's campaign mode.

@TheIntercooler I think the code for that would be

Code: Select all

guibutton "sp <mapnamehere>;  slow motion"
jSoft Apps Software Innovations - App, Games and More!
Visit our Website!

Image

jSoft Apps is now on indie db!
Image

TheIntercooler
Member
Member
Posts: 31
Joined: November 27th, 2011, 2:26 pm
Name: Ed

Re: Slowmo game toggle on and off on mapload

Postby TheIntercooler » January 5th, 2012, 10:59 am

jSoftApps wrote:@Tony I believe he's talking about the slow-mo function in Sauerbraten's campaign mode.

@TheIntercooler I think the code for that would be

Code: Select all

guibutton "sp <mapnamehere>;  slow motion"


@JSoftApps

Thanks for the help! The code you gave me was pretty close to what it needed to be. I tweaked it a bit and it works fine. I ended up with this ...

Code: Select all

guibutton "Slow-mo Game"      "sp main;  slowmosp1"


Return to “Sandbox General Support”

Who is online

Users browsing this forum: No registered users and 3 guests