## ETPub PCR alpha hacks (etpub_pcr_ah) ## (C) 2006-2007 PatheticCockroach.com ## This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 2.5 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) g_adreDuration : Sets the duration of adrenaline's effects. The default value for this in ET is 10 seconds. default : 15 ------------------------- MODIFICATION STARTS HERE src\game\g_weapon.c : (line 5743) **** REPLACE traceEnt->client->ps.powerups[PW_ADRENALINE] = level.time + 10000; **** WITH traceEnt->client->ps.powerups[PW_ADRENALINE] = level.time + 1000*g_adreDuration.integer; (line 719) **** REPLACE ent->client->ps.powerups[PW_ADRENALINE] = level.time + 10000; **** WITH ent->client->ps.powerups[PW_ADRENALINE] = level.time + 1000*g_adreDuration.integer; src\game\g_local.h : (line 2154) **** AFTER extern vmCvar_t g_spawnInvul; **** ADD extern vmCvar_t g_adreDuration; src\game\g_main.c : (line 257) **** AFTER vmCvar_t g_spawnInvul; **** ADD vmCvar_t g_adreDuration; (line 755) **** AFTER { &g_spawnInvul, "g_spawnInvul", "3", 0 }, **** ADD { &g_adreDuration, "g_adreDuration", "15", 0 },