boiii-scripts/mp/mp_freerun_04.gsc
2023-04-13 17:30:38 +02:00

33 lines
6.3 KiB
Plaintext

#using scripts\codescripts\struct;
#using scripts\shared\util_shared;
#using scripts\mp\_load;
#using scripts\mp\_util;
#using scripts\mp\mp_freerun_04_fx;
#using scripts\mp\mp_freerun_04_sound;
function main()
{
precache();
mp_freerun_04_fx::main();
mp_freerun_04_sound::main();
load::main();
//set the minimum velocity required for the player to break glass (tuned for the glass wall-run)
SetDvar("glassMinVelocityToBreakFromJump", "380");
SetDvar("glassMinVelocityToBreakFromWallRun", "180");
SetDvar( "compassmaxrange", "2100" ); // Set up the default range of the compass
}
function precache()
{
// DO ALL PRECACHING HERE
}