diff options
Diffstat (limited to 'game/shared/tf2/tf_reconvars.cpp')
| -rw-r--r-- | game/shared/tf2/tf_reconvars.cpp | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/game/shared/tf2/tf_reconvars.cpp b/game/shared/tf2/tf_reconvars.cpp new file mode 100644 index 0000000..dc1e2eb --- /dev/null +++ b/game/shared/tf2/tf_reconvars.cpp @@ -0,0 +1,64 @@ +//========= Copyright Valve Corporation, All rights reserved. ============// +// +// Purpose: +// +// $NoKeywords: $ +//=============================================================================// +#include "cbase.h" +#include "tf_reconvars.h" + +// FIXME: put these in a config file. +CReconJetpackLevel g_ReconJetpackLevels[MAX_TF_TECHLEVELS] = +{ + { + 0.35f, // How fast the jetpack recharges. + 1.0f, // How fast the jetpack depletes. + -0.1f, // When the jetpack is fully depleted, it snaps to this so the pilot sputters. + 150, // Fastest you can go upwards. + 15 // How fast it accelerates. + }, + + { + 0.55f, // How fast the jetpack recharges. + 0.75f, // How fast the jetpack depletes. + -0.1f, // When the jetpack is fully depleted, it snaps to this so the pilot sputters. + 150, // Fastest you can go upwards. + 15 // How fast it accelerates. + }, + + { + 0.55f, // How fast the jetpack recharges. + 0.55f, // How fast the jetpack depletes. + -0.1f, // When the jetpack is fully depleted, it snaps to this so the pilot sputters. + 200, // Fastest you can go upwards. + 15 // How fast it accelerates. + }, + + { + 0.75f, // How fast the jetpack recharges. + 0.35f, // How fast the jetpack depletes. + -0.1f, // When the jetpack is fully depleted, it snaps to this so the pilot sputters. + 200, // Fastest you can go upwards. + 15 // How fast it accelerates. + }, + + // Not used + + { + 0.7f, // How fast the jetpack recharges. + 1.0f, // How fast the jetpack depletes. + -0.1f, // When the jetpack is fully depleted, it snaps to this so the pilot sputters. + 130, // Fastest you can go upwards. + 15 // How fast it accelerates. + }, + + { + 0.7f, // How fast the jetpack recharges. + 1.0f, // How fast the jetpack depletes. + -0.1f, // When the jetpack is fully depleted, it snaps to this so the pilot sputters. + 130, // Fastest you can go upwards. + 15 // How fast it accelerates. + }, +}; + + |