Digital Paint Discussion Board

Paintball 2: The Game => Server Discussion => Topic started by: Jaxbot on July 06, 2006, 12:06:39 PM

Title: Server Physics
Post by: Jaxbot on July 06, 2006, 12:06:39 PM
Hi, how do I change the grenad or gravity Physics on a internet server? Thanks!
Title: Re: Server Physics
Post by: bitmate on July 06, 2006, 01:03:25 PM
Changing gravity: cvar_set sv_gravity # (800 is default)
Title: Re: Server Physics
Post by: Jaxbot on July 06, 2006, 08:43:23 PM
Ok, does that work with grenade physics too?

like cvar_set sv_grenbursts?
Title: Re: Server Physics
Post by: bitmate on July 07, 2006, 02:53:48 AM
I'm not sure if it's a cvar_set command, but the commands are "pbgren_bursts" and "pbgren_ballsperburst".
I don't even know exactly what "pbgren_bursts" does. You should ask one of our server experts here ;)
Title: Re: Server Physics
Post by: Jaxbot on July 07, 2006, 09:41:43 AM
pbgren_bursts should make the grande last longer, like it does in physics.
Title: Re: Server Physics
Post by: jitspoe on July 07, 2006, 10:16:39 PM
Paint grenade bursts are done every server frame, which is 1/10th of a second, so if you set the bursts to 10, it would explode for a full second.  Balls per burst is, naturally, the number of paintballs that are shot out in each burst.  Be careful with these settings as they can lag/crash the server easily if set too high.
Title: Re: Server Physics
Post by: Jaxbot on July 09, 2006, 10:14:05 AM
Yeah, I tried setting them both at 20, big server crash...