diff options
author | Tremulous Test Server <tremtest@d1stkfactory> | 2015-07-05 08:59:48 +0000 |
---|---|---|
committer | Tremulous Test Server <tremtest@d1stkfactory> | 2015-07-05 08:59:48 +0000 |
commit | 81eee170fd08b98d4f6cd469a42ac9a6295fbb4d (patch) | |
tree | 4c83a6bc79847d84262e8457d76a885ec701d214 /src/game/g_main.c | |
parent | 0918eb3bcdefd0d6ee4bd573b761454c99f032f6 (diff) |
Changed the way reward scaling works and reintroduced team,player reward factors.
Diffstat (limited to 'src/game/g_main.c')
-rw-r--r-- | src/game/g_main.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/game/g_main.c b/src/game/g_main.c index 1efc039..a07347e 100644 --- a/src/game/g_main.c +++ b/src/game/g_main.c @@ -187,6 +187,8 @@ vmCvar_t g_InstantRewardMultiplierH; vmCvar_t g_KillRewardMultiplierA; vmCvar_t g_KillRewardMultiplierH; vmCvar_t g_ConstantRewardFactor; +vmCvar_t g_TeamRewardFactor; +vmCvar_t g_PlayerRewardFactor; vmCvar_t g_MinRewardFactor; vmCvar_t g_MaxRewardFactor; vmCvar_t g_RewardFactorPower; @@ -362,9 +364,11 @@ static cvarTable_t gameCvarTable[ ] = { &g_InstantRewardMultiplierH, "g_InstantRewardMultiplierH", "1", CVAR_ARCHIVE, 0, qfalse }, { &g_KillRewardMultiplierA, "g_KillRewardMultiplierA", "1", CVAR_ARCHIVE, 0, qfalse }, { &g_KillRewardMultiplierH, "g_KillRewardMultiplierH", "1", CVAR_ARCHIVE, 0, qfalse }, - { &g_ConstantRewardFactor, "g_ConstantRewardFactor", "0", CVAR_ARCHIVE, 0, qfalse }, - { &g_MinRewardFactor, "g_MinRewardFactor", "0.2", CVAR_ARCHIVE, 0, qfalse }, - { &g_MaxRewardFactor, "g_MaxRewardFactor", "5.0", CVAR_ARCHIVE, 0, qfalse }, + { &g_ConstantRewardFactor, "g_ConstantRewardFactor", "0.2", CVAR_ARCHIVE, 0, qfalse }, + { &g_TeamRewardFactor, "g_TeamRewardFactor", "0.6", CVAR_ARCHIVE, 0, qfalse }, + { &g_PlayerRewardFactor, "g_PlayerRewardFactor", "0.2", CVAR_ARCHIVE, 0, qfalse }, + { &g_MinRewardFactor, "g_MinRewardFactor", "0.33", CVAR_ARCHIVE, 0, qfalse }, + { &g_MaxRewardFactor, "g_MaxRewardFactor", "3.0", CVAR_ARCHIVE, 0, qfalse }, { &g_RewardFactorPower, "g_RewardFactorPower", "0.3025", CVAR_ARCHIVE, 0, qfalse }, { &g_TimerPeriod, "g_TimerPeriod", "0", CVAR_ARCHIVE, 0, qfalse }, { &g_TimerCommand, "g_TimerCommand", "", CVAR_ARCHIVE, 0, qfalse }, |