## ETPub PCR alpha hacks (etpub_pcr_ah) ## (C) 2006-2007 PatheticCockroach.com ## This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License ## Derivative works may only be done if they are distributed with their source code. ## ## The original etpub_pcr_ah source and binaries can be found around http://www.patheticcockroach.com/etserver/etpub_pcr.php ## ## Note : ETPub PCR alpha hacks are just small modifications for ETPub (http://www.etpub.org) Arti Spammer award ------------------------- MODIFICATION STARTS HERE src\cgame\cg_local.h (line 1981) **** REPLACE #define NUM_ENDGAME_AWARDS 14 **** WITH #define NUM_ENDGAME_AWARDS 15 src\cgame\cg_debriefing.c (line 2809) **** AFTER "Welcome Newbie! Award", // dont get this if any other award given or > 100 xp (this map) **** ADD "Arti Spammer", // min 10 arti strikes src\game\g_local.h (line 645) **** BEFORE int coach_team; int damage_given; **** ADD int arti_fired; src\game\g_weapon.c (line 3118) **** AFTER // forty - arty/airstrike rate limiting. G_AddArtyToCounters( ent ); **** ADD // PatheticCockroach - Arti spammer award ent->client->sess.arti_fired++; src\game\g_stats.c (line 1109) **** AFTER CHECKSTATTIME( ps.persistant[PERS_SCORE], pers.enterTime ); **** ADD CHECKSTATMIN( sess.arti_fired, 10 ); ------------------------- PERSONAL NOTES // josh: track kill rating with ELO probability // statisticics // josh: Going to make kill rating damage-based instead of // just kill-based. More fair. if (g_killRating.integer) { G_UpdateKillRatings(attacker,targ,mod,dmg); } if(targ->health <= 0) { attacker->client->sess.kills++; targ->client->sess.deaths++; if (g_killRating.integer & KILL_RATING_DATASET) { G_LogKillGUID(attacker,targ,mod); } }