Page 1 of 1
Slowmo game toggle on and off on mapload
Posted: January 3rd, 2012, 4:35 pm
by TheIntercooler
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?
Re: Slowmo game toggle on and off on mapload
Posted: January 4th, 2012, 12:47 am
by Tony
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
Re: Slowmo game toggle on and off on mapload
Posted: January 4th, 2012, 10:43 am
by jSoftApps
@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"
Re: Slowmo game toggle on and off on mapload
Posted: January 5th, 2012, 10:59 am
by TheIntercooler
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"