## 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) ## ## Thanks to Fliquid for the voice acting in this rev The instagib (flag 32) in g_peaceAndLove would make the objective vanish if gibbing the carrier. Also changed g_peaceSnd default from "sound/chat/allies/26b.wav" to "sound/misc/cease_fire.wav" ------------------------- MODIFICATION STARTS HERE src\game\g_combat.c (line 2067) **** REPLACE attacker->health = GIB_HEALTH - 1; AP(va("cpm \"%s ^9was gibbed for ^hROE violation^9.\"", attacker->client->pers.netname)); limbo(attacker, qtrue); **** WITH G_Damage(attacker, NULL, NULL, NULL, NULL, 500, 0, MOD_UNKNOWN); AP(va("cpm \"%s ^9was gibbed for ^hROE violation^9.\"", attacker->client->pers.netname)); limbo(attacker, qtrue); src\game\g_main.c (line 796) **** REPLACE { &g_peaceSnd, "g_peaceSnd", "sound/chat/allies/26b.wav", 0 }, **** WITH { &g_peaceSnd, "g_peaceSnd", "sound/misc/cease_fire.wav", 0 },