## 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_msgpos : # The locations of messages, if g_msgs is non-zero, and g_msgX variables are set. # default : 0 # (See http://etpub.org/ETPubServerDocs.html#g_msgpos) This modification adds an option equivalent to 0+1. To enable it, set g_msgpos to 16. ------------------------- MODIFICATION STARTS HERE src\game\g_local.h : (line 3375) **** AFTER #define MSGPOS_CONSOLE 4 **** ADD #define MSGPOS_CHAT_AND_CENTER 16 src\game\g_misc.c : (line 2727) **** AFTER case MSGPOS_CONSOLE: G_Printf( "^9banner: ^7%s\n", banner ); break; **** ADD case MSGPOS_CHAT_AND_CENTER: AP(va("cp \"%s\"",banner)); AP(va("chat \"%s\" -1",banner)); break;