Arizard / deathrun

Arizard's Deathrun gamemode for Garry's Mod
63 stars 38 forks source link

Low gravity? #146

Closed GreenSteive closed 4 years ago

GreenSteive commented 5 years ago

Been looking everywhere to try resolve this but I can't find it anywhere. This gamemode for my servers makes us on very low gravity, making it incredibly unfair and not the normal deathrun. I tried looking through the configs but I couldn't find anything. Any idea on how I can customize the gravity or fix this? Thanks

Arizard commented 5 years ago

Set sv_gravity 800 in your server.cfg

On 11 Apr 2019, at 3:51 am, GreenSteive notifications@github.com wrote:

Been looking everywhere to try resolve this but I can't find it anywhere. This gamemode for my servers makes us on very low gravity, making it incredibly unfair and not the normal deathrun. I tried looking through the configs but I couldn't find anything. Any idea on how I can customize the gravity or fix this? Thanks

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

Arizard commented 5 years ago

More specifically, the gravity isn't "low" but the jump power is increased, so you jump higher - this is then countered by increasing the gravity, so the player falls back down faster. This was done to make the movement more snappy and tighten the controls to assist with bunnyhopping.

GreenSteive commented 5 years ago

I see, thanks for the response. However this ruins deathrun for me, and it is simply just my preference not saying it is wrong your way. But, is this configurable? Like I said, I'd like to turn off the jump power and increased gravity. Thanks

GreenSteive commented 5 years ago

I managed to get a fix for the most part. In the init.lua file i changed the following files

ply:SetJumpPower( 250 ) to ply:SetJumpPower( 170 ) RunConsoleCommand("sv_gravity", 800) to RunConsoleCommand("sv_gravity", 650)

Arizard commented 5 years ago

Yep, that's probably what I would've done too