From 97c4bd42955a4bb6676768d6655d873ecdbe6a6f Mon Sep 17 00:00:00 2001 From: P3rlE <97919909+P3rlE@users.noreply.github.com> Date: Wed, 2 Feb 2022 23:59:26 +0100 Subject: [PATCH] Impressive Medal now given by frag, not by hit --- engine/code/game/g_weapon.c | 4 ++-- engine/code/qcommon/q_shared.h | 2 +- q3rallycode.ppr | 44 +++++----------------------------- 3 files changed, 9 insertions(+), 41 deletions(-) diff --git a/engine/code/game/g_weapon.c b/engine/code/game/g_weapon.c index 1a1ddbc5..c091a223 100644 --- a/engine/code/game/g_weapon.c +++ b/engine/code/game/g_weapon.c @@ -713,8 +713,8 @@ void weapon_railgun_fire (gentity_t *ent) { } else { // check for "impressive" reward sound ent->client->accurateCount += hits; - if ( ent->client->accurateCount >= 2 ) { - ent->client->accurateCount -= 2; + if ( ent->client->accurateCount >= 4 ) { + ent->client->accurateCount -= 4; ent->client->ps.persistant[PERS_IMPRESSIVE_COUNT]++; // add the sprite over the player's head ent->client->ps.eFlags &= ~(EF_AWARD_IMPRESSIVE | EF_AWARD_EXCELLENT | EF_AWARD_GAUNTLET | EF_AWARD_ASSIST | EF_AWARD_DEFEND | EF_AWARD_CAP ); diff --git a/engine/code/qcommon/q_shared.h b/engine/code/qcommon/q_shared.h index 9bc9505a..8a413072 100644 --- a/engine/code/qcommon/q_shared.h +++ b/engine/code/qcommon/q_shared.h @@ -67,7 +67,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA #define BASETA "missionpack" #ifndef PRODUCT_VERSION -#define PRODUCT_VERSION "v0.3c_r469" +#define PRODUCT_VERSION "v0.3c_r477" #endif diff --git a/q3rallycode.ppr b/q3rallycode.ppr index 8bbd8275..69ffaf6b 100644 --- a/q3rallycode.ppr +++ b/q3rallycode.ppr @@ -192,7 +192,7 @@ q3rallycode engine\code\client\snd_openal.c engine\code\client\snd_public.h engine\code\client\snd_wavelet.c - -game + +game engine\code\game\ai_chat.c engine\code\game\ai_chat.h engine\code\game\ai_cmd.c @@ -886,45 +886,13 @@ q3rallycode engine\cross-make-mingw64.sh [Open project files] 0=engine\code\qcommon\q_shared.h -1=engine\code\cgame\cg_rally_hud.c -2=engine\code\cgame\cg_rally_hud2.c -3=engine\code\cgame\cg_local.h -4=engine\code\cgame\cg_draw.c -5=engine\code\client\cl_console.c -6=engine\code\client\client.h -7=engine\code\game\g_team.c -8=engine\code\cgame\cg_main.c -9=engine\code\cgame\cg_servercmds.c +1=engine\code\game\g_weapon.c [Selected Project Files] Main= -Selected=engine\code\qcommon\q_shared.h +Selected=engine\code\game\g_weapon.c [engine\code\qcommon\q_shared.h] TopLine=46 Caret=36,70 -[engine\code\cgame\cg_rally_hud.c] -TopLine=590 -Caret=1,610 -[engine\code\cgame\cg_rally_hud2.c] -TopLine=328 -Caret=1,344 -[engine\code\cgame\cg_local.h] -TopLine=1 -Caret=72,4 -[engine\code\cgame\cg_draw.c] -TopLine=539 -Caret=41,549 -[engine\code\client\cl_console.c] -TopLine=1 -Caret=72,4 -[engine\code\client\client.h] -TopLine=1 -Caret=72,4 -[engine\code\game\g_team.c] -TopLine=1189 -Caret=1,1205 -[engine\code\cgame\cg_main.c] -TopLine=2178 -Caret=1,2194 -[engine\code\cgame\cg_servercmds.c] -TopLine=373 -Caret=1,417 +[engine\code\game\g_weapon.c] +TopLine=693 +Caret=35,717