Hi! Welcome to the forum for Platinum Arts Sandbox Free 3D Game Maker. I currently have the forums locked as I am attempting to properly update them.

In the meantime please join the new Discord Server!

If you have any questions please e-mail me through the Platinum Arts website.

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.
Locked
TheIntercooler
Member
Member
Posts: 31
Joined: November 27th, 2011, 2:26 pm
Name: Ed

Slowmo game toggle on and off on mapload

Post 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?
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

Post 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
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

Post 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"
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

Post 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"
Locked