/dports/games/xonotic/Xonotic/source/qcsrc/common/mutators/mutator/random_gravity/ |
H A D | sv_random_gravity.qc | 19 …cvar_settemp("sv_gravity", cvar_string("sv_gravity")); // settemp current gravity so it's restored… 33 …cvar_set("sv_gravity", ftos(bound(autocvar_g_random_gravity_min, random() - random() * -autocvar_g… 35 …cvar_set("sv_gravity", ftos(bound(autocvar_g_random_gravity_min, random() * autocvar_g_random_grav…
|
/dports/games/iortcw/iortcw-1.51c/MP/code/botlib/ |
H A D | be_aas_move.c | 85 aassettings.sv_gravity = 800; in AAS_InitSettings() 100 …0.5 * aassettings.sv_gravity * ( aassettings.sv_jumpvel / aassettings.sv_gravity ) * ( aassettings… in AAS_InitSettings() 428 float sv_friction, sv_stopspeed, sv_gravity, sv_waterfriction; in AAS_PredictClientMovement() local 451 sv_gravity = aassettings.sv_gravity; in AAS_PredictClientMovement() 478 gravity = swimming ? sv_watergravity : sv_gravity; in AAS_PredictClientMovement() 871 float sv_gravity, sv_maxvelocity; in AAS_HorizontalVelocityForJump() local 875 sv_gravity = aassettings.sv_gravity; in AAS_HorizontalVelocityForJump() 879 maxjump = 0.5 * sv_gravity * ( zvel / sv_gravity ) * ( zvel / sv_gravity ); in AAS_HorizontalVelocityForJump() 890 t = sqrt( height2fall / ( 0.5 * sv_gravity ) ); in AAS_HorizontalVelocityForJump() 894 *velocity = sqrt( dir[0] * dir[0] + dir[1] * dir[1] ) / ( t + zvel / sv_gravity ); in AAS_HorizontalVelocityForJump()
|
H A D | be_aas_reach.c | 479 gravity = aassettings.sv_gravity; in AAS_FallDamageDistance() 495 gravity = aassettings.sv_gravity; in AAS_FallDelta() 507 float sv_gravity; in AAS_MaxJumpHeight() local 509 sv_gravity = aassettings.sv_gravity; in AAS_MaxJumpHeight() 511 return 0.5 * sv_gravity * ( sv_jumpvel / sv_gravity ) * ( sv_jumpvel / sv_gravity ); in AAS_MaxJumpHeight() 521 float sv_gravity, sv_maxvelocity, t; in AAS_MaxJumpDistance() local 523 sv_gravity = aassettings.sv_gravity; in AAS_MaxJumpDistance() 526 t = sqrt( MAX_JUMPFALLHEIGHT / ( 0.5 * sv_gravity ) ); in AAS_MaxJumpDistance() 528 return sv_maxvelocity * ( t + sv_jumpvel / sv_gravity ); in AAS_MaxJumpDistance() 648 return aassettings.sv_jumpvel / ( aassettings.sv_gravity * 0.1 ); in AAS_BarrierJumpTravelTime() [all …]
|
H A D | be_aas_def.h | 100 float sv_gravity; member
|
/dports/games/iortcw/iortcw-1.51c/SP/code/botlib/ |
H A D | be_aas_move.c | 85 aassettings.sv_gravity = 800; in AAS_InitSettings() 428 float sv_friction, sv_stopspeed, sv_gravity, sv_waterfriction; in AAS_PredictClientMovement() local 451 sv_gravity = aassettings.sv_gravity; in AAS_PredictClientMovement() 478 gravity = swimming ? sv_watergravity : sv_gravity; in AAS_PredictClientMovement() 871 float sv_gravity, sv_maxvelocity; in AAS_HorizontalVelocityForJump() local 875 sv_gravity = aassettings.sv_gravity; in AAS_HorizontalVelocityForJump() 879 maxjump = 0.5 * sv_gravity * ( zvel / sv_gravity ) * ( zvel / sv_gravity ); in AAS_HorizontalVelocityForJump() 890 t = sqrt( height2fall / ( 0.5 * sv_gravity ) ); in AAS_HorizontalVelocityForJump() 894 *velocity = sqrt( dir[0] * dir[0] + dir[1] * dir[1] ) / ( t + zvel / sv_gravity ); in AAS_HorizontalVelocityForJump()
|
H A D | be_aas_reach.c | 484 gravity = aassettings.sv_gravity; in AAS_FallDamageDistance() 500 gravity = aassettings.sv_gravity; in AAS_FallDelta() 512 float sv_gravity; in AAS_MaxJumpHeight() local 514 sv_gravity = aassettings.sv_gravity; in AAS_MaxJumpHeight() 516 return 0.5 * sv_gravity * ( sv_jumpvel / sv_gravity ) * ( sv_jumpvel / sv_gravity ); in AAS_MaxJumpHeight() 526 float sv_gravity, sv_maxvelocity, t; in AAS_MaxJumpDistance() local 528 sv_gravity = aassettings.sv_gravity; in AAS_MaxJumpDistance() 531 t = sqrt( MAX_JUMPFALLHEIGHT / ( 0.5 * sv_gravity ) ); in AAS_MaxJumpDistance() 533 return sv_maxvelocity * ( t + sv_jumpvel / sv_gravity ); in AAS_MaxJumpDistance() 653 return aassettings.sv_jumpvel / ( aassettings.sv_gravity * 0.1 ); in AAS_BarrierJumpTravelTime() [all …]
|
H A D | be_aas_def.h | 100 float sv_gravity; member
|
/dports/games/quake-dpmod/quake-dpmod-20130301/dpmod/qc/ |
H A D | playermovement.qc | 7 float sv_gravity; 33 sv_gravity = cvar("sv_gravity"); 128 self.velocity_z = self.velocity_z + self.gravity * sv_gravity * frametime; 130 self.velocity_z = self.velocity_z + sv_gravity * frametime;
|
/dports/games/cake/cake_src/cake/ |
H A D | world.h | 14 extern Var sv_gravity;
|
/dports/games/alienarena/alienarena-7.66/Tools/LinuxScripts/ |
H A D | randomgravity | 35 …$aapath/Tools/LinuxScripts/rcon $serverip:$serverport $serverpass set sv_gravity $random >/dev/nul…
|
/dports/games/alienarena-data/alienarena-7.66/Tools/LinuxScripts/ |
H A D | randomgravity | 35 …$aapath/Tools/LinuxScripts/rcon $serverip:$serverport $serverpass set sv_gravity $random >/dev/nul…
|
/dports/games/quake2-psychomod/psychomod/src/ |
H A D | g_phys.c | 314 ent->velocity[2] -= ent->gravity * sv_gravity->value * FRAMETIME * 0.5; in SV_AddGravity() 316 ent->velocity[2] -= ent->gravity * sv_gravity->value * FRAMETIME; in SV_AddGravity() 322 ent->velocity[2] += 1.5 * ent->gravity * sv_gravity->value * FRAMETIME; in SV_AddGravity() 326 ent->velocity[2] += 1.5 * ent->gravity * sv_gravity->value * FRAMETIME; in SV_AddGravity() 905 if (ent->velocity[2] < sv_gravity->value*-0.1) in SV_Physics_Step()
|
/dports/games/quakeforge/quakeforge-0.7.2/nq/source/ |
H A D | sv_phys.c | 57 cvar_t *sv_gravity; variable 355 SVvector (ent, velocity)[2] -= ent_grav * sv_gravity->value * sv_frametime; in SV_AddGravity() 368 ent_grav *= sv_gravity->value; in SV_FinishGravity() 771 if (SVvector (ent, velocity)[2] < sv_gravity->value * -0.1) in SV_Physics_Step()
|
/dports/games/quake2-matrix/matrix/MatrixFixSource/ |
H A D | matrix_movement.c | 65 ent->s.angles[PITCH] -= (sv_gravity->value*0.0625); in MatrixFlip() 71 ent->s.angles[PITCH] += (sv_gravity->value*0.1); in MatrixFlip() 80 ent->s.angles[ROLL] += (sv_gravity->value*0.0625); in MatrixFlip() 96 ent->s.angles[ROLL] -= (sv_gravity->value*0.0625); in MatrixFlip()
|
/dports/games/quakeforge/quakeforge-0.7.2/qw/source/ |
H A D | sv_phys.c | 57 cvar_t *sv_gravity; variable 355 SVvector (ent, velocity)[2] -= ent_grav * sv_gravity->value * sv_frametime; in SV_AddGravity() 368 ent_grav *= sv_gravity->value; in SV_FinishGravity() 780 if (SVvector (ent, velocity)[2] < sv_gravity->value * -0.1) in SV_Physics_Step()
|
/dports/games/xonotic/Xonotic/source/qcsrc/server/ |
H A D | campaign.qc | 115 // copy sv_gravity cvar, as the engine needs it too (sorry, this will mess 117 cvar_set_normal("sv_gravity", ftos(autocvar_sv_gravity));
|
/dports/games/vavoom/vavoom-1.33/source/ |
H A D | p_levelinfo.cpp | 64 static VCvarF sv_gravity("sv_gravity", "800.0", CVAR_ServerInfo); 120 Gravity = sv_gravity * DEFAULT_GRAVITY / 800.0; in SetMapInfo()
|
/dports/games/quetoo/quetoo-0.6.1/src/ctf/ |
H A D | g_main.c | 55 cvar_t *sv_gravity; variable 106 sv_gravity = gi.cvar("sv_gravity", "800", 0); in InitGame()
|
/dports/games/quake2-rogue/quake2-rogue-3.20/ |
H A D | g_phys.c | 311 ent->gravity * sv_gravity->value * FRAMETIME, in SV_AddGravity() 316 ent->velocity[2] -= ent->gravity * sv_gravity->value * FRAMETIME; in SV_AddGravity() 318 ent->velocity[2] -= ent->gravity * sv_gravity->value * FRAMETIME; in SV_AddGravity() 852 if (ent->velocity[2] < sv_gravity->value*-0.1) in SV_Physics_Step()
|
/dports/games/qudos/QuDos-0.40.1-src/src/mods/rogue/ |
H A D | g_phys.c | 311 ent->gravity * sv_gravity->value * FRAMETIME, in SV_AddGravity() 316 ent->velocity[2] -= ent->gravity * sv_gravity->value * FRAMETIME; in SV_AddGravity() 318 ent->velocity[2] -= ent->gravity * sv_gravity->value * FRAMETIME; in SV_AddGravity() 852 if (ent->velocity[2] < sv_gravity->value*-0.1) in SV_Physics_Step()
|
/dports/games/qudos/QuDos-0.40.1-src/src/mods/zaero/ |
H A D | g_phys.c | 304 ent->velocity[2] -= ent->gravity * sv_gravity->value * FRAMETIME; in SV_AddGravity() 849 if (ent->velocity[2] < sv_gravity->value*-0.1) in SV_Physics_Step() 928 float gravVal = ent->gravity * sv_gravity->value * FRAMETIME; in SV_Physics_FallFloat() 936 if (ent->velocity[2] < sv_gravity->value*-0.1) in SV_Physics_FallFloat()
|
/dports/games/quetoo/quetoo-0.6.1/src/baseq2/ |
H A D | g_main.c | 54 cvar_t *sv_gravity; variable 105 sv_gravity = gi.cvar("sv_gravity", "800", 0); in InitGame()
|
/dports/games/xonotic/Xonotic/source/qcsrc/menu/xonotic/ |
H A D | dialog_multiplayer_create_mutators.qc | 76 if(cvar("sv_gravity") < stof(cvar_defstring("sv_gravity"))) 191 s = makeXonoticSlider_T(80, 400, 8, "sv_gravity",
|
/dports/games/libretro-tyrquake/tyrquake-e76477d/common/ |
H A D | server.h | 186 extern cvar_t sv_gravity;
|
/dports/games/quetoo/quetoo-0.6.1/src/vanctf/ |
H A D | g_main.c | 37 cvar_t *sv_gravity; variable 105 sv_gravity = gi.cvar("sv_gravity", "800", 0); in InitGame()
|