Cheat away custom movement variables
This commit is contained in:
parent
cb3e244885
commit
5fb51f4ab2
@ -304,46 +304,46 @@ namespace Components
|
||||
void PlayerMovement::RegisterMovementDvars()
|
||||
{
|
||||
PlayerDuckedSpeedScale = Game::Dvar_RegisterFloat("player_duckedSpeedScale",
|
||||
0.65f, 0.0f, 5.0f, Game::DVAR_CODINFO,
|
||||
0.65f, 0.0f, 5.0f, Game::DVAR_CHEAT,
|
||||
"The scale applied to the player speed when ducking");
|
||||
|
||||
PlayerProneSpeedScale = Game::Dvar_RegisterFloat("player_proneSpeedScale",
|
||||
0.15f, 0.0f, 5.0f, Game::DVAR_CODINFO,
|
||||
0.15f, 0.0f, 5.0f, Game::DVAR_CHEAT,
|
||||
"The scale applied to the player speed when crawling");
|
||||
|
||||
// 3arc naming convention
|
||||
CGUfoScaler = Game::Dvar_RegisterFloat("cg_ufo_scaler",
|
||||
6.0f, 0.001f, 1000.0f, Game::DVAR_CODINFO,
|
||||
6.0f, 0.001f, 1000.0f, Game::DVAR_CHEAT,
|
||||
"The speed at which ufo camera moves");
|
||||
|
||||
CGNoclipScaler = Game::Dvar_RegisterFloat("cg_noclip_scaler",
|
||||
3.0f, 0.001f, 1000.0f, Game::DVAR_CODINFO,
|
||||
3.0f, 0.001f, 1000.0f, Game::DVAR_CHEAT,
|
||||
"The speed at which noclip camera moves");
|
||||
|
||||
BGDisableLandingSlowdown = Game::Dvar_RegisterBool("bg_disableLandingSlowdown",
|
||||
false, Game::DVAR_CODINFO, "Toggle landing slowdown");
|
||||
false, Game::DVAR_CHEAT, "Toggle landing slowdown");
|
||||
|
||||
BGBunnyHopAuto = Game::Dvar_RegisterBool("bg_bunnyHopAuto",
|
||||
false, Game::DVAR_CODINFO, "Constantly jump when holding space");
|
||||
false, Game::DVAR_CHEAT, "Constantly jump when holding space");
|
||||
|
||||
BGRocketJump = Game::Dvar_RegisterBool("bg_rocketJump",
|
||||
false, Game::DVAR_CODINFO, "Enable CoD4 rocket jumps");
|
||||
false, Game::DVAR_CHEAT, "Enable CoD4 rocket jumps");
|
||||
|
||||
BGRocketJumpScale = Game::Dvar_RegisterFloat("bg_rocketJumpScale",
|
||||
64.0f, 1.0f, std::numeric_limits<float>::max(), Game::DVAR_CODINFO,
|
||||
64.0f, 1.0f, std::numeric_limits<float>::max(), Game::DVAR_CHEAT,
|
||||
"The scale applied to the pushback force of a rocket");
|
||||
|
||||
BGPlayerEjection = Game::Dvar_RegisterBool("bg_playerEjection",
|
||||
true, Game::DVAR_CODINFO, "Push intersecting players away from each other");
|
||||
true, Game::DVAR_CHEAT, "Push intersecting players away from each other");
|
||||
|
||||
BGPlayerCollision = Game::Dvar_RegisterBool("bg_playerCollision",
|
||||
true, Game::DVAR_CODINFO, "Push intersecting players away from each other");
|
||||
true, Game::DVAR_CHEAT, "Push intersecting players away from each other");
|
||||
|
||||
BGClimbAnything = Game::Dvar_RegisterBool("bg_climbAnything",
|
||||
false, Game::DVAR_CODINFO, "Treat any surface as a ladder");
|
||||
false, Game::DVAR_CHEAT, "Treat any surface as a ladder");
|
||||
|
||||
BGRecoilMultiplier = Game::Dvar_RegisterFloat("bg_recoilMultiplier",
|
||||
1.0f, 0.0f, 1000.0f, Game::DVAR_CODINFO,
|
||||
1.0f, 0.0f, 1000.0f, Game::DVAR_CHEAT,
|
||||
"The scale applied to the player recoil when firing");
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user