enemy territory logo

ETPub PCR alpha hacks (etpub_pcr_ah) : documentation

Last updated on 2007-06-02 (rev 94). This document (should) contain only settings that are unique to etpub_pcr_ah (or that have been modified).
The up-to-date ETPub documentation can be found on their Trac website.
ETPub PCR alpha hacks (etpub_pcr_ah) is available for download here.

Additions

g_spawInvulFair
Removes the spawn protection when the player fires his first shot
(note : the spawn protection will still be removed after the g_spawnInvul time)
0 - Disabled
1 - Enabled
default : 1
g_adrenotherCharge
Sets how many percents will be removed from the charge bar on performing an adrenother action.
For instance 50 will remove half (50%) the charge bar when using adrenother.
default : 20
g_adreDuration
Sets the duration of adrenaline's effects. The default value for this in ET is 10 seconds.
default : 15
g_adreDmg
Sets the percentage of damage taken when under adre. The default value for this in ET is 50.
Known limitation : headshots still do at least their minimum damage.
default : 75
g_covertShotcost
Sets how many percents will be removed from the charge bar on shooting a weapon that should remove the disguise of a covert.
For instance 50 will remove half (50%) the charge bar when shooting an FG42 under disguise IF g_coverts is 512 and/or not 32 and/or not 64 (I'm not sure about the priorities).
If you want to restore the default ET behavior, set this value to 101 (or more).
default : 30
See also : g_coverts (32, 64 and 512)
g_disguiseDmg
Sets the percentage of damage taken when under disguise. The default value for this in ET is 100.
Known limitation : headshots still do at least their minimum damage.
default : 75
See also : g_coverts (8 and 16)
IMPORTANT : g_coverts should NOT be 8. If you set g_coverts to 8, g_disguiseDmg will always be 50.
g_msgpos (feature addition)
# 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.
g_truePing
bitflag :
1 - use ETPub's true pings
2 - fake pings (flag 1 has priority over it) still looking quite realistic for players (NOT for LAN players)
4 - fake pings (flag 2 has priority over it) even for very high pings (NOT for LAN players)
8 - fake pings for bots
16 - show bots as bots (flag 8 has priority over it)
32 - fake ping for LAN players (make them look like remote players)
default : 0
g_medicHealthRegen (feature addition)
# The rate at which medics regenerate health (in HP per second). This rate is divided into two parts:
# The first is from 1 to 90% of medic max HP, and then above that.
# The system default is 3/2 (3 HP per second, then 2 HP per second).
# default : 0
# (See http://etpub.org/ETPubServerDocs.html#g_medicHealthRegen)
This modification adds custom regen.
7 - custom : g_medicRegen1/g_medicRegen2
g_medicRegen1 and 2 are in HP per seconds, default = 1
g_medicMaxHealth
Maxhealth for medics = g_medicMaxHealth% * other classes
default : 112 (same as ET default)
g_medicsPCR
bitflag :
1 - no pistol for medics
2 - no grenade for medics
4 - medics don't regenerate when under adre
default : 4
vote_nextmapSmooth (deprecated : use g_mapVoteFlags 16 instead)
boolean, if enabled (1), will make a nextmap vote act as a timelimit 0.1 vote, so :
- XP will be saved properly at the end of the map
- the nextmap vote can't pass during warmup
- the nextmap vote won't skip the map voting
default : 1 (enabled)
g_fopsAmmoRegen
The rate at which filed ops regenerate ammo (in bullet per second).
default : 1
g_medicMinAmmo
The minimum maximum number of ammo clips a medic can have for MP40/Thompson
default : 1 (ET default would be 3)
g_medicMaxAmmo
The maximum maximum number of ammo clips a medic can have for MP40/Thompson
default : 3 (ET default would be 4)
g_maxTimelimit
The maximum timelimit, in minutes, that can be set using the timelimit vote. To disable, set it to 0.
default : 90
g_throwKnifeWait
How many milliseconds a player must wait between knife throws.
default : 500
This modification changes the ETPub g_throwKnifeWait from a time in seconds to a time in milliseconds.
It also removes the minimum value (200ms). To restore the default ETPub behavior, set it to 2000.
g_adreselfCharge
Sets how many percents will be removed from the charge bar on performing an adre on self action.
For instance 50 will remove half (50%) the charge bar when using adre on self.
default : 80 (ET default is 100)
g_friendlyPlant
bitflag :
1 - allow to plant dyno/satchel on a friendly objective or constructible
2 - can damage/destroy friendly constructibles (vehicle, barriers...) with nades, arti, dyno, etc as if they were enemy stuff
4 - dyno can destroy a friendly objective
8 - an eng can build opfor objectives
16 - lose 20 XP when destroying friendly obj, lose 2 XP when destroying friendly constructible
default : 11 (ET default would be 0)
g_firstAid
Whether any player (not just medics) can revive other players.
bitflag :
1 - can revive medics only, don't show icon over wounded teammates
2 - can revive any class, show icon over wounded teammates
default : 3
g_forceLimboHealth
integer
# If set to 0 it takes about 3 shots (75HP) to gib a wounded player, if set to 1 it takes about 5 (150HP).
# Default is 1
New : if you set it to higher than 10 (not included), you set directly the amount of HP between wounded and limbo.
g_fastres (feature addition)
# With g_fastres set to 1, players will instantly get up and is instantly mobile after being revived by a medic.
# However, the player is not invulnerable then.
# 0 - Disabled (standard res, 3 seconds shield)
# 1 - Enabled (fastres, no shield)
New : if you set it to 10 or higher, g_fastres sets the shield duration, in milliseconds (and the player is still instantly mobile)
default : 0
g_noobTips
bitflag, was meant to save a bit of bandwidth and to free the central screen area a bit.
In fact now it's more side logbox-oriented and will probably get renamed one day, and moved to client side.
0 - Hide useless tips like "you lost your spawn protection", "you need to wait x time between knives", etc
1 - Show the n00b tips
2 - Use the side logbox
About killing messages : g_obituary HAS TO be set to 1 for the messages to be displayed in the side logbox
default : 3 (recommended)
g_playDead (feature addition)
# Allows players use the 'playdead' command and their character will act like it is dead
# until the playdead command is issued again (or they really die).
bitflag :
1 - Enable playdead
2 - Disable the annoying CP messages "Playing dead", "SURPRISE!"
Default : 3
g_fireteamSize
Sets the maximum size of a fireteam (you need an up-to-date client if you want g_fireteamSize >6).
Min : 2
Max : 8
Default : 6
cg_icon4class (client-side only, can be edited via in-game ETPub menu)
boolean, client side
0 - default ETPub display
1 - show class icon instead of text in scoreboard and above players heads
Default : 1
g_kickTimeK
The number of seconds kicked for after being kicked by !kick and when g_autoTempBan & 2 == true
If set to 0, g_autoTempBanTime will be used instead
Default : 0
You shouldn't set this to a too high value, for higher durations you want to use !ban [player] [duration]
g_kickTimeW
The number of seconds kicked for after being kicked !warn and when g_autoTempBan & 4 == true
If set to 0, g_autoTempBanTime will be used instead
Default : 0
cg_showVersions (client-side only, can be edited via in-game ETPub menu)
boolean, client side
0 - don't show versions
1 - show client and server versions in the top-left corner
Default : 1
g_ssGrace
Time, in milliseconds, during which you can shoot without losing your spawn shield after spawning.
Only usefull if g_spawInvulFair is 1...
Default : 500
g_peaceAndLove
bitflag to disable all damage from weapons.
1 - disable damage
2 - print a message (g_peaceMsg) to the inflictor
4 - play a sound (g_peaceSnd) to the inflictor (needs g_tyranny enabled)
8 - issue a warning after g_peaceDmg damage inflicted (needs shrubbot enabled)
16 - reflect inflicted damage
32 - instagib inflictor
g_peaceMsg
see g_peaceAndLove, default "^1Cease fire ! Cease Fire !"
g_peaceSnd
see g_peaceAndLove, default "sound/misc/cease_fire.wav"
g_peaceDmg
see g_peaceAndLove, default 300

Shrubbot commands

g_legacyShrub (not a command but a setting)
boolean
0 - New shrubbot commands behavior (eg !pip with no arg pips self, !pip all pips all players)
1 - Shrubbot commands behave like in ETPub (eg !pip with no arg pips all players)
default : 1
At this time this setting is only implemented for !clip, !freeze, !check, !burn and !lol.
!heal
H
yes
!heal (NAME|SLOT)
Revives dead ppl...
!finger
e (like !userinfo)
no
!finger
Tell the user to use either !admintest or !userinfo.
!cheat
H (like !heal)
yes
!cheat [aimbot/clip/god] [name|slot|all]
Toggle a cheat for the target. Use !cheat all to toggle all cheats off.
!check
a (like !admintest)
no (since g_tyranny can be changed on the fly it's needed)
!check [name|slot|all]
Check if the target has a cheat from !cheat in use. If no arg provided it works on self. This can be used on anyone, no matter their level or immunity. Use !check all to test all players at once.
!config
a (like !admintest)
no
!config
Give some info about the server config.
!freeze
Z (like !pause)
no
!freeze [name|slot|all] [reason]
Freeze/unfreeze a player. If done on all it will unfreeze all. If no arg provided it works on self.

Value modifications

MAX_SHRUBBOT_COMMANDS
The max number of commands in the g_shrubbot file has been increased to 256.
MAX_VOTE_MAPS
The max number of maps in map voting has been increased to 64.
g_spoofOptions
Same as in ETPub except that we set the default value to 195.
g_coverts
Same as in ETPub except that we set the default value to 1024.
g_damageXP
Same as in ETPub except that we removed it from the serverinfo string.
g_tyranny
Same as in ETPub except that it's no more read-only.

Removals

sv_fps
From what I read around the web, sv_fps shouldn't be set to anything else than 20 in ET (and nobody uses it anyway). So I removed it to uncrowd CS_SERVERINFO a bit.

Misc stuff

New awards
We added Arti Spammer (most arti fired, minimum 10), Darwin award (most stupid deaths like drowning, falling, self-killing except by /kill...) and Isaac Newton Award (most deaths by falling).
©2006-2007 PatheticCockroach.com
Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike License.