Impressive Medal now given by frag, not by hit

This commit is contained in:
P3rlE 2022-02-02 23:59:26 +01:00
parent c444e2b27c
commit 97c4bd4295
3 changed files with 9 additions and 41 deletions

View file

@ -713,8 +713,8 @@ void weapon_railgun_fire (gentity_t *ent) {
} else { } else {
// check for "impressive" reward sound // check for "impressive" reward sound
ent->client->accurateCount += hits; ent->client->accurateCount += hits;
if ( ent->client->accurateCount >= 2 ) { if ( ent->client->accurateCount >= 4 ) {
ent->client->accurateCount -= 2; ent->client->accurateCount -= 4;
ent->client->ps.persistant[PERS_IMPRESSIVE_COUNT]++; ent->client->ps.persistant[PERS_IMPRESSIVE_COUNT]++;
// add the sprite over the player's head // 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 ); ent->client->ps.eFlags &= ~(EF_AWARD_IMPRESSIVE | EF_AWARD_EXCELLENT | EF_AWARD_GAUNTLET | EF_AWARD_ASSIST | EF_AWARD_DEFEND | EF_AWARD_CAP );

View file

@ -67,7 +67,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#define BASETA "missionpack" #define BASETA "missionpack"
#ifndef PRODUCT_VERSION #ifndef PRODUCT_VERSION
#define PRODUCT_VERSION "v0.3c_r469" #define PRODUCT_VERSION "v0.3c_r477"
#endif #endif

View file

@ -192,7 +192,7 @@ q3rallycode
engine\code\client\snd_openal.c engine\code\client\snd_openal.c
engine\code\client\snd_public.h engine\code\client\snd_public.h
engine\code\client\snd_wavelet.c engine\code\client\snd_wavelet.c
-game +game
engine\code\game\ai_chat.c engine\code\game\ai_chat.c
engine\code\game\ai_chat.h engine\code\game\ai_chat.h
engine\code\game\ai_cmd.c engine\code\game\ai_cmd.c
@ -886,45 +886,13 @@ q3rallycode
engine\cross-make-mingw64.sh engine\cross-make-mingw64.sh
[Open project files] [Open project files]
0=engine\code\qcommon\q_shared.h 0=engine\code\qcommon\q_shared.h
1=engine\code\cgame\cg_rally_hud.c 1=engine\code\game\g_weapon.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
[Selected Project Files] [Selected Project Files]
Main= Main=
Selected=engine\code\qcommon\q_shared.h Selected=engine\code\game\g_weapon.c
[engine\code\qcommon\q_shared.h] [engine\code\qcommon\q_shared.h]
TopLine=46 TopLine=46
Caret=36,70 Caret=36,70
[engine\code\cgame\cg_rally_hud.c] [engine\code\game\g_weapon.c]
TopLine=590 TopLine=693
Caret=1,610 Caret=35,717
[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