Updated for etpub 0.7.1
cvarsThe following have been added or changed since 0.6.x
shrubbot ! commands | |||
!ban | !howfair |
server console commands | |||
bot | bp | krinfo | playsound_env |
prinfo | prreseteverything | prresetplayers | ratingsinfo |
winprob |
This should be set to the name of your shrubbot.cfg file if you want to enable shrubbot. See shrubbot documentation for more information about this file.
Example:
g_shrubbot "shrubbot.cfg"
This depends on punkbuster's guid, so don't turn this on unless you have punkbuster enabled on your server.
Default is "" (Disabled)
The name of the file that all shrubbot commands will be logged to. For example,
g_logAdmin "admin.log"
Default is "" (no log file)
A client can disable hitsounds by running
/setu cg_hitsounds 0before connecting to the server, or toggle hitsounds on the fly with the /hitsounds command.
g_hitsound_default (Default is "sound/weapons/impact/flesh2.wav") g_hitsound_helmet (Default is "sound/weapons/impact/metal4.wav") g_hitsound_head (Default is "sound/weapons/impact/flesh4.wav") g_hitsound_team_warn_axis (Default is "sound/chat/axis/26a.wav") g_hitsound_team_warn_allies (Default is "sound/chat/axis/26a.wav") g_hitsound_team_helmet (Default is "sound/weapons/impact/metal4.wav") g_hitsound_team_head (Default is "sound/weapons/impact/flesh4.wav") g_hitsound_team_default (Default is "sound/weapons/impact/flesh2.wav")
Note that these are server cvars. If you want to use hitsounds that are not included in the game you'll have to put them in a pk3 for all clients to download. Your custom hitsounds must be 22khz, 16 bit, mono WAV files in order for ET to be able to use them.
The sound that a player emits when shoved. Set this to "" to disable it.
The sound that a poisoned player emits every second. Set this to "" to disable it.
Default is "sound/player/gurp2.wav"
The sound that will play at the end of warmup or when the match is unpaused.
Example
set g_fightSound "sound/world/rooster.wav"
Set this to "" to disable it.
Default is ""
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).
Default is 0
NOTE: starting with etpub 0.5.1, this number has been changed to (hopefully) be more compatible with the value used in shrubet. You will need to turn down this value greatly when upgrading from earlier versions of etpub.
Default is 0.
Set this to 1 if you want to disable shove in the up/down direction (a.k.a "boosting").
Default is 0
Allows players do drag wounded players with the use key when moving backward slowly. Works best when crouching or prone.
Default is 0
Allows players to take the class of a gibbed teammate temporarily similarly to how a covert steals a uniform. Class changing does not latch, so the original class the player had will be restored on respawn.
Default is 0
If set to 0 it takes about 3 shots to gib a wounded player, if set to 1 it takes about 5.
Default is 1
If set to 1, players can send private messages to one another with the m command. Example:
/m tjw you totally suck!
Starting in 0.2.1 players can also type '/m tjw you totally suck' in the 'chat' dialog box and it will be recognized as a private message.
Starting in 0.5.1, clients can reject private message from other individual clients with the /ignore client command.
Default is 0
If set to 1, XP and number of lives remaining will be saved if a player disconnects and reconnects later during the same campaign. As of 0.1.1, this is now a bitflag with the following values:
Storing XP on disconnect depends on the punkbuster guid, so don't turn this on unless you have punkbuster enabled on your server.
Default is 0
Set this to the filename you want XPSave to store data in. This file will be relative to your fs_game directory (like g_shrubbot).
Default is "xpsave.cfg"
The number of seconds that must pass without a connection from this player before XPSave forgets his/her xp skills.
NOTE: if g_XPSaveMaxAge is less than g_XPSaveMaxAge_xp, g_XPSaveMaxAge will be used.
Default is 86400 (a.k.a 1 day)
The number of seconds that must pass without a connection from this player before XPSave forgets his/her skills/killrating/playerrating/mute status.
See also g_XPSaveMaxAge_xp
Default is 604800 (a.k.a 1 week)
This is a bitmask that controls the XP decay feature. The following bitflags are supported:
See also g_XPDecayRate.
This feature was created in response to the g_XPSave 4 flag which allows XP to continue building forever.
Default is 0
This is the rate (in skillpoints per second) that XP skill points for each
skill will decay when g_XPDecay is enabled.
Setting this to 0.1 would result in a player losing 6 points per minute IN ALL
SKILLS, so up to 42XP per minute if the player has skill points for each skill.
Default is 0.0
This is the minimum that any particular skill can be reduced to by g_XPDecay.
For example, setting this to 140.0 will ensure that no player will ever lose
rank or skill levels due to g_XPDecay.
Default is 0.0
This is a vicious cvar that will reset a players XP once their overall XP
score reaches it. It has been requested by those who run servers with XPSave
that never resets.
Set this to -1 to disable it.
Default is -1 (disabled)
Optionally enables the awarding of XP based upon the amount of damage
a player has done to the opposing team. Available options are: Default is 0 This setting determines the amount of damage that a player must do to earn
1 point of XP. See g_damageXP for additional information. default is 50 This is meant to match the shrubmod g_weapons cvar, but so far the only
implemented flags are: Default is 0
If set to a positive integer, players can damage each other by landing
on each other. The integer is multiplier that determines how much
damage should be done to the player that was fallen on. Also
the impact for the falling player will be broken so that they
only recieve 20% of the damage they would have normally. It is also
possible to do small amounts of damage (5HP) to other players by hopping
up and down on them.
Falling damage can be either 500, 50, 25, 15, or 10 depending on
the length of the fall. So if you set g_goomba to 5 and land on a
player from a fall that would have damaged you 10HP, you will inflict
50HP of damage on the player you land on, and you will only recieve 2HP of
damage.
See also g_goombaFlags
Set this to 0 to disable it
Default is 0
This is a bitflag cvar that controls the way g_goomba is handled. Currently
the following flags are supported:
Set this to 31 to have g_goomba work like shrubet.
Default is 0
The number of seconds players will be invincible after they spawn. Default is 3 The number of seconds Allied players will be invincible after they spawn.
This will override g_spawnInvul if not 0 Default is 0 The number of seconds Axis players will be invincible after they spawn.
This will override g_spawnInvul if not 0 Default is 0 Allow players to use +left and +right binds to spin their corpse when dead
or playing dead. Default is 0 If set to 0, players are allowed one non-killing team change per respawn cycle. If a player changes teams, he will be instantly spawned in the other teams default spawn point. Players will die (but not lose a life) if they change teams
a second time in one spawn cycle. Default is 1
g_ATB controls the type of active team balancing you want to use. Active team
balancing will automatically move one of the top three player(s) from the
team more likely to win, to the team more likely to lose. There are currently
two versions. One uses XP, the other playerrating. Set g_ATB to choose between
them. Note that g_ATB only decides WHEN to move a player, and NOT which player
to move. See g_ATB_rating to see how ATB chooses
which player to move.
Active Team Balance watches the team XP during the match and will force
one of the top 3 players from the dominant team to switch teams when
his/her team hits it's respawn time if the following criteria is met: For example, setting You can also adjust the rate at which ATB moves players with the
g_ATB_axisHoldoff (default 5) and g_ATB_alliedHoldoff (default 5) cvars.
For example, if g_ATB_axisHoldoff is set to 5 and an axis player is moved
to the allied team, ATB will take no other action until the axis spawn timer
cycles 5 times. NOTE: this calculation is based on TeamXP NOT the total XP of all
the players on the team. TeamXP is the total score earned for the team by
all players on the team during the map. When a player changes teams, the
TeamXP they earned for their team does not move with them. Default values:
g_ATB_diff: 70
g_ATB_diff 50
a player would be
moved if he/she was the top player on the team and his/her team had 750XP and
the other team had 500XP.
g_ATB_minXP: 300
g_ATB_minPlayers: 5
g_ATB_axisHoldoff: 5
g_ATB_alliedHoldoff: 5
Note: Read g_teamForceBalance_playerrating carefully also. You probably don't want to turn option 2 on until after running your server long enough to learn map and player stats.
NOTE: If you set g_ATB to 2, g_ATB_rating must have a value of 4 and g_shuffle_rating must have a value of 4 or 5 or ATB will be hyperactive and ineffective. For this reason, when g_ATB is 2, g_ATB_rating is forced to have a value of 4, and if g_shuffle_rating does not have a value of 4 or 5, it is forced to have a value of 5
If set to 1, one of 3 loweset scoring players on the losing team will be moved to the winning team when ATB acts (unless the losing team has less players).
Default is 1
Sets the rating system used by Active Team Balance. This is how ATB chooses which players to move, it is NOT how ATB decides WHEN to move them. That is g_ATB. The following options are supported:
NOTE: When g_ATB is set to 2, g_ATB_rating is forced to have a value of 4
Default is 3
Sets the rating system used by shuffle. The following options are supported:
NOTE: When g_ATB is set to 2, g_shuffle_rating must be set to 4 or 5, otherwise it is forced to have a value of 5
Default is 3
Sets the maximum number of landmines a team can have planted at any given time. This value should be 0 or greater.
Default is 10
Limits the number of Panzerfausts per team. A value of -1 means no limit
Default is -1
Limits the number of mortars per team. A value of -1 means no limit
Default is -1
Limits the number of flamethrowers per team. A value of -1 means no limit
Default is -1
Limits the number of mobile MG's per team. A value of -1 means no limit
Default is -1
Limits the number of grenade launching engineer rifles per team. A value of -1 means no limit
Default is -1
When a new map starts, load the map specific config file named [mapname].cfg in the folder [string]. For example if you set g_mapConfigs to 'mapcfg', when the map fueldump starts, the server will try to exec 'mapcfg/fueldump.cfg'.
Set this to "" to disable it.
Set this to "." to look for the cfg file in the current directory (fs_home_path).
Default is ""
Set the distance at which health packs and ammo packs are thrown. Set this to 0 to make it just like etmain. The settings should be similar to shrubet so set this to 2 for a subtle improvement.
Default is 0
If set to a positive integer, medics will drop [integer] number of health packs when they are gibbed. If set to -1, medics will drop the number of health packs that they could have dropped at the moment of their death.
Set this to 0 to turn it off.
Default is 0
If set to a positive integer, fieldops will drop [integer] number of ammo packs when they are gibbed. If set to -1, fieldops will drop the number of ammo packs that they could have dropped at the moment of their death.
Set this to 0 to turn it off.
Default is 0
Set the velocity at which health or ammo packs are tossed from the dead body when g_dropHealth or g_dropAmmo are activated. This changes the distance that these packs travel from the corpse.
Default is 0
Default is 0
A comma delimited string of words that will be censored from chat.
Default is ""
A comma delimited string of words that will be censored from player names.
Default is ""
This is a bitflag that currently supports the following flags:
Note: If you use both 1 and 4, it will gib (like shrub did).
Default is 0
Use Neil Toronto's censor filter. It'll catch some symbol and number replacements, and spaces now. It also adds some common words and common words with "swears" in them that should really be OK. For example, it will not censor "assassin" but it will censor "ass".
Default is 0
Use Neil Toronto's censor filter for player names. See g_censorNeil description for details.
Default is 0
The number of seconds to auto-mute as a censor penalty. Only works if bitflag 8 is added to g_censorPenalty.
Default is 60
The amount of XP to lose as a censor penalty. Only works if bitflag 16 is added to g_censorPenalty.
Default is 5
Set the length of time the end of game screens displays before loading the next map.
Default is 60
The percent of connected players who need to hit the "READY" button to move on to the next map without waiting g_intermissionTime to run out.
Default is 100
This is a bitflag cvar that currently supports the following flags:
Default is 0
When greater than 0, anybody that has this percentage of hits inflicted on a teammate will automatically be kicked. A minimum of g_minhits hits total required before this is calculated. Client can see current stats for themselves by doing a /damage in console. Implemented to mimic shrub behavior as much as is possible, there are other ways to implement this feature, which may be implemented in addition to current manner.
Default is 0
Minimum number of damaging hits required before calculating if player has reached g_teamDamageRestriction threshold. Flamethrower and landmine hits are adjusted similar to shrub. Medics get -2 hits for every revive.
Default is 6
When set, anyone kicked because of the g_teamDamageRestriction setting will be temporarily banned for g_autoTempBanTime seconds
Default is 0
The number of seconds kicked for when g_autoTempBan is set
Default is 1800
Gives medics the ability to poison enemies by sticking with their medic syringe. Enemies will be damaged at g_poison/second when g_poison is set to a value more than 0. Setting to 0 will disable poison needles.
Default is 0
This bitflag cvar controls the effects of g_poison. The following flags are supported:
Default is 7
Bitmask that controls the behavior of the /kill command.
See also g_fear
Default is 0
This is a bitmask that controls spectator behaviour. It supports the following flags:
Default is 0 (no changes from etmain).
Bitmask to control various aspects of the medic, to nerf or otherwise change their behavior. Currently supported flags include:
Default is 0
The rate at which medics regenerate health (in HP per second). This rate is divided into two parts: The first is from 1 to 110-125 HP (depending on the number of medics per team), and then above that. The system default is 3/2 (3 HP per second, then 2 HP per second).
Possible values are:
Default is 0
Bitmask to control various aspects of the Covert Op class. Currently supported flags include:
Default is 0
Allows players to see the true amount of time it takes until their actions are processed on the server. Pings will show around 50 ms higher than normal, but it's more accurate. Shows in the scoreboard.
Default is 0
These variables allow customization of the experience points necessary to go up in ranks. These settings consist of four space-separated integers indicating the number of XP required to go up a rank. A string such as "3 10 10 10" indicates that 3 points are required to go up the first rank, and the next three ranks are granted when the players has 10 points. If, for example, you want to grant akimbo pistols upon the first kill, you would set skill_lightweapons to "3 3 3 3". The default for each of these variables is "20 50 90 140". You can also grant levels upon connection byt using a value like "0 0 20 100". This would mean that the first two ranks would be granted upon connection, and the third and fourth ranks would be granted at 20 and 100 points, respectively.
NOTE: this cvar MUST be set prior to loading the first map. You will not be able to change this cvar once the game code is loaded.
NOTE: the serverInfo string has a fixed length of 1024 characters. This space is shared with any cvar you create on your server with the 'sets' command. If you use up too much space with 'sets', your server will fail to start. It will print the message "Info string length exceeded" if you don't have enough space left in your serverinfo string to handle the g_serverInfo flags you've selected. To fix this, either remove some sets cvars from your config, or use different g_serverInfo flags.
Default is 1.
NOTE: in 0.5.x there was a 4 flag that allowed killRating to be used for shuffle. This has been deprecated. This is now controlled through the g_shuffle_rating cvar.
See also g_ATB_rating.
See also g_shuffle_rating.
Default is 3.
See also g_ATB_rating.
See also g_shuffle_rating.
See also g_teamForceBalance_playerrating.
Default is 3.
On an etpub installation with little statistics history, !howfair will not print out very accurate data. g_playerRating_mapPad is a cvar that attempts to stabilize early !howfair results by adding a number of fake wins to each team. If you set it to 50, it starts with Axis = 50, Allies = 50 wins. This yields a map rating of 50% for both teams on that map. For every 2 real games played, 1 map pad value is ignored. So after 100 games, map pad is ignored (replaced with real games).
The higher map pad, the longer the values will stay near 50-50.
Default is 50
The minimum number of players that must participate in a map in order for it to count towards each player's player rating.
Default is 8 (e.g. 4v4)
Set to 0 to disable. If this setting is enabled, it overrides g_teamForceBalance.
If g_teamForceBalance_playerrating is non-zero, etpub will
not allow players to join a team whose chances of winning are already above
g_teamForceBalance_playerrating. The winning chance is calculated using 3 things:
the average player rating of the team, the number of players on each team, and
how often each team wins the current map (e.g. Allies usually win tc_base). If
the team being joined rates too highly, a message will tell the player to join
the other team.
Important Notes:
First of all, g_teamForceBalance_playerrating WILL allow unbalanced numbers to
offset map or team difficulty. If the Axis has VERY good players, it will allow
the Allies to have a few more players than Axis, given a map that is equally
difficult for both sides to win. Also, given teams equal in skill,
g_teamForceBalance_playerrating will force Allies to have a large team if the
map is almost always won by Axis.
Because g_teamForceBalance_playerrating uses info tracked over time, it may be
best to run through your cycle or campaign a few times without it before turning
it on, so that it can learn how good the players are, and how hard the maps are.
If you want an idea why it's working a certain way, use the !listteams command
server console (or game). This will show you how many points each team is
predicted to win. If a team is going to win less than 4 points, it's too good.
The other information shows you the breakdown of how the points are calculated.
Ratings Win Prob Win Points --------------------------------------------- Allies 0.65 5 Axis 0.35 10The above says that Axis has a 35% chance of winning based on the players and map. It takes into account the number of players per team also. The points are calculated as 16*(1 - win prob). So there you have it.
See also !listteams.
See also g_ATB.
Recommended Setting when used: 60
Default is 0.
Set this to 3 to use the behaviour of etmain and shrubet.
Default is 0
This cvar controls the use of administrator commands that could be used by admins to cheat or abuse players. If it is set to 0 you will not be able to use commands on your server such as !gib, !slap, !burn, etc.
Also, you will not be able to use g_logOptions flag 256 (log private messages) unless g_tyranny is enabled.
g_tyranny must also be enabled in order to specify a client in using the 'playsound' server command.
'g_tyranny' and its value appear in the serverInfo string to serve as a warning for perspective players.
NOTE: If you enable this, you MUST do so immediately when the server starts (before the first map is loaded). This means putting
set g_tyranny 1in the .cfg file that is exec'ed on server start. If you try to change this on a running server, you will get the message
g_tyranny is read only.
Default is 0
Similar to ETPro's b_mapscriptsdirectory. Set it to the name of a directory in your fs_path that contains custom map scripts.
For example you can copy the 'etpromapscripts' directory from the ETPro distribution to your 'etpub' directory and add:
set g_mapScriptDirectory "etpromapscripts"to your cfg.
NOTE: It is strongly recommended that you use the map scripts distributed with etpub since these updated scripts fix very important bugs in some of the original map scripts.
Setting g_mapScriptDirectory to "" disables any use of map .script files.
Default is ""
Similar to ETPro's b_campaignFile. If you set this to the name of a file in your fs_path it will be interpreted as a .campaign script and all other .campaign scripts in your pk3 files will be ignored.
This is useful for making custom campaigns since you don't need to offer a pk3 file containing a custom .campaign script for all clients to download. However, if the client has not downloaded this .campaign file in a pk3, they will not see information about the campaign. Such information includes:
Also, even though the built-in campaigns cmpgn_centraleurope and cmpgn_northafrica will not be valid, they will still appear in the client's VOTE -> MAP menu. If a vote for one of them passes, nothing will happen.
Setting this to "" disables it.
Default is ""
Cvars that restrict the rights of players to use the respective /callvote command.
Default is 1 (allowed)
If a player uses the /kill command within g_fear milliseconds after taking damage from an enemy, the attacker that last damaged that player will recieve full credit for the kill and the mode of death will be recorded as MOD_FEAR. Other restrictions are that the attacker must be on the opposite team and the attacker must still be alive.
In-game statistics will reflect that the death was caused by the weapon that did the last recorded damage to the player.
Set this to 0 to disable this behaviour.
Default is 2000 (2 seconds)
The duration, in seconds, between messages displayed to all users. Set messages by setting the g_msg1, g_msg2, g_msg3 . . . g_msgX cvars. These must be set consecutively, the first blank or missing number in the order will cycle the message back to the first message
Set this to 0 to disable this behavior
Default is 0 (disabled)
The locations of messages, if g_msgs is non-zero, and g_msgX variables are set
Default is 0
This cvar controls how player Obituaries are handled. Obituarys are the messages normally printed in the cpm space with a skull next to them to notify all players of another player's death.
Available options are:
See also g_logOptions.
Default is 2
Default is 10
Default is 10
Number of knives player starts with. Set to zero to disable. Player throws a knife with the /throwknife command. Use the /knives command to see how many knives you have left.
Requires etpub_client >= 20050927 or /weapons/knife.weap in a pk3 file downloaded to the client
Default is 0
Default it 5
Default is 35
Default is 2
Default is 0
Available options are:
Default is 0
Set to 1 to enable party panzers.
Default is 0
The pattern of the drawn panzers. This is a string of "bits" that represents where the panzers shots are aimed. The default value of "10001;01010;00100;01010;10001" means there are five rows of panzers fired (rows are separated by the semicolon (;) character), and an X pattern is drawn as "1" represents a panzer and "0" represents a space without a panzer.
There is no limit to the number of panzers that can be shot, although too many panzers will cause extreme lag on the server.
Default is "10001;01010;00100;01010;10001"
Damage caused by the party panzers.
Available options are:
Default is 2
If set to 1, panzers that are shot in mid-air will explode. If party panzers are on, nearby panzers will explode as well due to splash damage.
Default is 0
Speed of the panzers (Applies to normal and party panzers). Normal panzer speed is 2500.
Default is 2500
If set to 1, panzer trajectory will be affected by gravity (Applies to normal and party panzers).
Default is 0
Available options are:
This code was originally from ETPro (b_realhead). It was contributed by zinx and added to etpub by forty.
Default is 1
Available options are:
Default is 0
Allows players to kick smoke, and air strike canisters, along with grendaes. The integer adjust the amount of force put behind the kick. 75 is a good value, anything below 60 is about useless, and above about 125 is probably too much.
Default is 0
Default is 0
This is the number of consecutive kills or deaths a player must accumulate before a spree message is printed.
For example, if g_killingspree 5 is set, a player will receive kill spree or death messages at 5, 10, 15, 20, etc, in a row.
If g_misc flag 8 is set, a top 3 three killing spree message will print every minute, and a map best killing spree will print every two minutes.
Set this to 0 to disable spree messages
Default is 0
Controls the location of killing spree messages on the client
Available options are:
Default is 0
The string used to draw the end-of-spree message.
[n] will be replaced by the name of the player
[k] will be replaced by the number of kills at the end of the spree
[a] will be replaced by the name of the attacking player that ended the spree.
Default is "[n]^8's killing spree came to an end after ^7[k] ^8kills."
The string used to draw the end-of-spree message due to teamkill.
[n] will be replaced by the name of the player
[k] will be replaced by the number of kills at the end of the spree
[a] will be replaced by the name of the attacking player that ended the spree.
Default is [n]^8's killing spree was stopped by a ^1TEAMKILL^8 after ^7[k] ^8kills!"
The string used to draw the message indicating an anti-kill spree.
[n] will be replaced by the name of the player
[d] will be replaced by the number of deaths so far.
Default is "[n] ^8seems to be having a bad day... ^7[d] ^8deaths without a kill!"
The default string used to draw a message indicating an ongoing kill spree
[n] will be replaced by the name of the player
[k] will be replaced by the number of kills so far.
Default is "[n] ^8is on a killing spree ^7[k] ^8kills without a death!"
The string used in place of g_killingSpreeMsg_default for an ongoing killing spree of multiple X.
[n] will be replaced by the name of the player
[k] will be replaced by the number of kills so far.
Some examples:
set g_killingSpreeMsg_1 "[n] ^8is on a killing spree! ^7[k] ^8kills without a death!" set g_killingSpreeMsg_2 "[n] ^8is a killing machine! ^7[k] ^8kills without a death!" set g_killingSpreeMsg_3 "[n] ^8is on a rampage! ^7[k] ^8kills without a death!" set g_killingSpreeMsg_4 "[n] ^8is dominating! ^7[k] ^8kills without a death!" set g_killingSpreeMsg_5 "[n] ^8is invincible! ^7[k] ^8kills without a death!"
Default is to use g_killingSpreeMsg_default
Amount of damage done by the knife.
Default is 10
Amount of damage done by the sten.
Default is 14
Amount of damage done by the FG-42
Default is 15
Amount of damage done by by pistol weapons
Default is 18
Amount of damage done by the SMG weapoins (MP40 and Thompson).
Default is 18
Amount of damage done by the MG42.
Default is 18
Amount of damage done by an emplaced MG.
Default is 20
Amount of damage done by the FG-42 when scoped.
Default is 30
Amount of damage done by unscoped rifles (K43 and Garand).
Default is 34
Amount of damage done by a scoped Garand or K43.
Default is 50
Amount of damage done, per tick, by a flamethrower.
Also controls the per-tick damage done to a player who has been set on fire by a flamethrower and is still burning.
Default is 5
Amount of damage done by a grenade
Default is 250
Blast radius of a grenade
Default is 250
Amount of damage done by an engineer's grenade-launcher grenades
Default is 250
Blast radius of an engineer's grenade-launcher grenades
Default is 250
Amount of damage done by a landmine
Default is 250
Blast radius of a landmine
Default is 250
Amount of damage done by a satchel
Default is 250
Blast radius of a satchel
Default is 250
Amount of damage done by a panzerfaust rocket
Default is 400
Blast radius of a panzerfaust rocket
Default is 300
Amount of damage done by a mortar round
Default is 400
Blast radius of a mortar round
Default is 400
Amount of damage done by dynamite
Default is 400
Blast radius of dynamite
Default is 400
Amount of damage done PER BOMB by an airstrike
Default is 400
Blast Radius PER BOMB of an airstrike
Default is 400
Amount of damage done PER BOMB by Artillery fire
Note: if this value is non-zero, the spotting round will follow normal ET behavior (can do damage, but to a (VERY small radius, making damage unlikely)
Default is 400
Blast Radius PER BOMB of Artillery fire
Note: if this value is non-zero, the spotting round will follow normal ET behavior (can do damage, but to a (VERY small radius, making damage unlikely)
Default is 400
Enables experimental advanced combat options
Available options are:
Default is 0
This represents the minimum damage done by a headshot regardless of the weapon used to make the shot.
Headshots that would do damage below this value will be adjusted upward to equal g_dmgHeadshotMin.
Headshots from a weapon with damage at or above this value will do a multiple of their damage, as specified by g_dmgHeadShotRatio.
(The actual damage may undergo additional modification due to range and other conditions)
Default is 50
This specifies the multiplier used for headshots that do damage ABOVE g_dmgHeadShotMin.
Default is 2.0
Similar to Shrub's g_friendlyfire 2 cvar.
A multiplier value that determines how much friendly-fire damage, if any, is reflected back to the player that caused the damage. This setting is independent of g_friendlyfire, so damage can be set to reflect on both FF and non-FF servers.
A value of 1.0 would reflect full damage.
A value of 0.5 would reflect half damage.
Set to 0 to disable reflected friendly fire.
Default is 0
Selects which category of weapon will reflect when g_reflectFriendlyFire is non-zero.
Note: Setting this value to zero will override any multiplier set via g_reflectFriendlyFire, effectively disabling reflecting damage.
Available options are:
Default is 31 (Firearms + Grenades + Knives + Panzers + Flamers)
Allows greater control over friendly fire events.
Available options are:
Default is 0
Restricts the number of players that can play a specific class / team. You can either set it to a whole number to set a hard limit, or you can set it to a percentage value using the % symbol to limit based on the number of players on the team. When using percentage values, any partial values are rounded up
Example:set team_maxMedics "5" This will limit each team to 5 medics, regardless of how many players are on the team
Example:set team_maxMedics "15%"This will limit each team to having only 15% of their players medics.
Set this to -1 to disable limits
Default is -1
Multiplies the rate at which stamina is rebuilt. Setting this value to zero will cause players to not regain any stamina once it is used except through the use of adrenalin. Setting this value is recommended only if you have etpub client versions 20050927 or later.
Default is 1.0
Turns on the replacement of the following keys in say messages
Default is 0
Turns on identification of your teammates landmines. (Requires etpub client 20051230 or later)
Default is 0
Message to add to the drop screen when a client is kicked or banned.
Default is ""
As of 0.7.1, etpub changes the behavior of this etmain cvar:
g_inactivity is the number of milliseconds of player inactivity before the player is made
a spectator. The player must be on a non-spectator team for this to happen, otherwise:
If the player was already a spectator when the inactivity limit hits, then: 1) If the server
is full (no more public slots left) then the player is kicked; 2) If the server is not full,
then the player is allowed to remain as spectator for 60 more seconds at a time until
the player is not inactive anymore or the server becomes full.
A value of 0 means no time limit
Default is 0
As of 0.7.1, etpub changes the behavior of this etmain cvar:
g_spectatorInactivity kicks only when the server is full.
A value of 0 means no time limit
Default is 0
As of 0.7.1, etpub added the game type 6 (map voting). Please see Map Voting
Causes chat messages to be posted to a specific URL. A value of "" will disable this feature.
Default is ""
Causes player ratings to be posted to a specific URL upon map end. This feature will post one line per player containing GUID, PR, KR_Match, KR_Overall, PlayerName.
A value of "" will disable this feature.
Default is ""
Causes all server log entries to be posted to a given URL.
A value of "" will disable this feature.
Default is ""
Unique ID for identifying the server to stats.etpub.org for player statistics posts. You must obtain an ID for your server by posting a request in http://etpub.org. DO NOT SET A RANDOM VALUE FOR THIS FIELD, ALWAYS REQUEST THAT AN ID BE ASSIGNED TO YOUR SERVER
Default is ""
Enable/disable tactics mode (more on this later). A value of 0 will disable g_tactics mode.
Default is 0
Enable/disable etpub flood protect. Flooding means that a client is sending too many messages to the server (vsays, callvotes, etc...). Enabling g_floodprotect disables the engine's sv_floodprotect functionality. If you enable g_floodprotect, make sure you set a value for g_floodthreshold.
Default is 1
The number of messages per second before ignoring the client's messages. Only in effect when g_floodprotect is turned on.
Default is 6
Ways to change how map voting works
Only valid when g_gametype is 6 (see Map Voting)
Available options are:
Default is 0
How many maps are presented to users for voting upon during intermission
Only valid when g_gametype is 6 (see Map Voting)
Default is 6
How long a map is ineligible for voting, after it is played
Only valid when g_gametype is 6 (see Map Voting)
Default is 3
How many maps occur before XP is reset. If g_XPSave flag 4 is set,
g_resetXPMapCount is ignored. Similarly, if g_resetXPMapCount is
set to 0, it is the same as setting g_XPSave flag 4
Only valid when g_gametype is 6 (see Map Voting)
Default is 0
When set to 1, OmniBot functionality is enabled. You still need to have OmniBots installed correctly in order for OmniBots to work.
Default is 1
The path where the OmniBot dll/so file is installed. If you installed omni-bot correctly, then you do not need to modify this cvar. Leaving this cvar blank will search for the OmniBot file in the default locations.
Default is ""
With the release of etpub 0.7.1, a new g_gametype of 6 is introduced. This gametype allows, when used in conjunction with an etpub_client > 20060310, for the players to decide on the map that is played next. When g_gametype is set to 6, and the client is using the appropriate client, a new screen is introduced during intermission. This screen list, depending on server configuration, a list of up to 32 maps that are loaded on the server, and that all players can vote on. Once intermission ends, the server totals the votes, and plays the next map based upon the vote results
The following cvars control how map voting operates
Miscellaneous notes about mapvoting:There are several settings in ETPub that attempt to determine how "good" a player is in terms (hopefully) more meaningful than just XP or XP per unit of time. Here are the terms used and their definitions:
How good of a killer the player is, based on how many other players the player kills, and their kill rating. In other words, killing players with a high kill rating increases the shooter's kill rating more than killing players with a low kill rating.
This is a measure of how much the player contributes to winning a map. This measure is calculated by seeing how many times this player is on the winning team after every map, and how good the opposing team was. Like kill rating, winning against teams with a high average player rating results in player rating increasing faster.
The probability that a team will win a map (based on the players' player rating, team size, and the map).
These statistics are gathered by etpub and the data is saved to local files on disk.
The etpub development team member responsible for implementing these player rankings and ratings is Josh Menke. He has been kind enough to begin working on an academic write-up to explain the mathematics and statistics methods behind these rankings. Due to time constraints the document is being gradually updated and expanded. The latest version can be seen at: http://axon.cs.byu.edu/~josh/et.pdf
If you cannot find the document at the above location, please visit http://etpub.org
The following server console commands (for use in the server console or through rcon) commands have been added in etpub:
Omni-bot command. See the omni-bot 0.52 documentation for full details.
Display a message to all users in the chat area
Display a message to a specific user in the chat area. A partial name match can be used, and in this case the message will be sent to all users that match the partial name
Clears the XP of all users
Display a message to all users in the top of the screen (Requires etpub client >= 20051230)
Display a message to all users in the center of the screen
Display a message to all users in the popup message area of the screen
Forces a client cvar to have a certain value for all clients
List KillRating info by team, sorted.
Send a private message to a player. A partial name match can be used, and in this case the private message will be sent to all users that match the partial name
Plays the specified sound file. The slot number/player name parameter is optional. If the slot number or playername is specified, only that player hears the sound, otherwise all players hear the sound. g_tyranny must be enabled in order to play a sound to a specific player.
Plays the specified sound file, but the sound can be heard by everyone near the specified player. In contrast to playsound, both parameters are required for playsound_env. If playsound_env is used with one parameter (only the the filename is specified), then it is treated exactly as playsound [filename]. The further away nearby players are, the less they hear the sound. g_tyranny must be enabled in order to use this command.
List PlayerRating info by team, sorted.
Completely reset the PlayerRating system
Reset only the player ratings part of the PlayerRating system
As of 0.7.1 this command has been replaced by the winprob command.
(Requires that g_tyranny be enabled) Loads the XPSave file from disk. There is no reason to call this function, etpub loads the XPSave file automatically as needed.
Prints information about the win probability model
Commits the in-memory XPSave info to disk. Normally, etpub does this automatically every time a map ends or the server is shut down.
Additionally, all of the shrubbot commands can be used on the server console as well, the leading "!" is optional.
shrubbot is an invention of Ryan Mannion. etpub tries to clone shubbot as accurately as possible, both in user interface and in the shrubbot configuration file (usually called "shrubbot.cfg").
Below are the shrubbot commands that etpub currently supports and the corresponding flag to be used in the shrubbot config file to give permission to the command:COMMAND | FLAG | g_tyranny | USAGE | DESCRIPTION | ||||||||
!readconfig | G | - | !readconfig | read g_shrubbot file | ||||||||
!time | C | - | !time | prints out localtime of the server in global chat | ||||||||
!setlevel | s | - | !setlevel (NAME|SLOT) LEVEL | sets the connected player in slot number SLOT or with name containing NAME to the level indicated by LEVEL. A player cannot !setlevel another player to a lever higher than him/herself. | ||||||||
!kick | k | - | !kick (NAME|SLOT) REASON | kicks the player in slot number SLOT or with name containing NAME off off the server. REASON is given to the client as the drop message. The client will be banned for 2 minutes. | ||||||||
!ban | b | - |
!ban (NAME|SLOT) (SECONDS|TIME_WITH_MODIFIER) REASON |
Kicks the player in slot number SLOT or with name containing
NAME off the server and will not let them connect again for
SECONDS seconds, or, if a modifier (m, h, d, or w) is used, a
given amount of time. For example: 90 = 90 seconds 15m = 15 minutes 3h = 3 hours 5d = 5 days 1w = 1 week | ||||||||
!unban | b | - | !unban BAN_NUMBER | removes the ban that !showbans lists as BAN_NUMBER | ||||||||
!putteam | p | - | !putteam (NAME|SLOT) (r|b|s) |
puts the player in slot number SLOT or with name containing NAME on
the indicated team. r - AXIS b - ALLIES s - SPECTATORS | ||||||||
!pause | Z | - | !pause | pauses the match | ||||||||
!unpause | Z | - | !unpause | unpauses the match | ||||||||
!listplayers | i | - | !listplayers |
prints out a list of information about the connected players. the
columns are:
| ||||||||
!mute | m | - | !mute (NAME|SLOT) | mutes the player in slot number SLOT or with name containing NAME | ||||||||
!unmute | m | - | !unmute (NAME|SLOT) | unmutes the player in slot number SLOT or with name containing NAME | ||||||||
!showbans | B | - | !showbans [SKIP] |
lists up to 30 shrubbot bans currently in effect. columns are
| ||||||||
!help | h | - | !help | lists all available shrubbot commands. | ||||||||
!admintest | a | - | !admintest | prints out player's current shrubbot admin level in global chat. | ||||||||
!cancelvote | c | - | !cancelvote | makes a vote in progress fail | ||||||||
!passvote | V | - | !passvote | makes a vote in progress pass | ||||||||
!spec999 | P | - | !spec999 | moves all players with ping of 999 (as of etpub 0.7.1, these players are labeled "ZOMBIE") to the spectators team. | ||||||||
!shuffle | S | - | !shuffle | Shuffles teams (based on XP), but does NOT restart (see !restart) | ||||||||
!balance | S | - | !balance |
Runs one iteration of ATB balance (regardless of whether or not you have ATB turned on or off).
Useful for doing a one-time team balance that is smarter than !shuffle. NOTE: Players balanced with the !balance command cannot switch teams until either the map changes or the odds of the team winning swing the other way. This is to make auto-balanced teams stay fair since some players switch teams immediately after being !balanced/!shuffled. | ||||||||
!rename | N | YES | !rename (NAME|SLOT) NEWNAME | sets the player in slot number SLOT or with name containing NAME to NEWNAME. | ||||||||
!gib | g | YES | !gib (NAME|SLOT) | kills and gibs the player in slot number SLOT or with name containing NAME | ||||||||
!slap | A | YES | !slap (NAME|SLOT) [DAMAGE] [REASON] | does DAMAGE (default 20) damage to player in slot SLOT or with name containing NAME. If REASON is specified it's center-printed to the victim. | ||||||||
!burn | U | YES | !burn (NAME|SLOT) [REASON] | sets the player in slot number SLOT or with name containing NAME on fire. REASON will be center-printed to the victim. | ||||||||
!warn | R | - | !warn (NAME|SLOT) [WARNING] | plays the whistle sound and center-prints WARNING to the player in slot number SLOT or with name containing NAME. | ||||||||
!news | W | - | !news | plays the map specific news audio to all players if it is available. | ||||||||
!lock | K | - | !lock (r|b|s|all) | locks the team specified. recognized values are r=AXIS b=ALLIES s=SPECTATORS all=ALL | ||||||||
!unlock | K | - | !unlock (r|b|s|all) | unlocks the team specified. recognized values are r=AXIS b=ALLIES s=SPECTATORS all=ALL | ||||||||
!lol | x | YES | !lol [NAME|SLOT] [GRENADES] | makes all players drop grenades. If NAME or SLOT is provided only that player will drop grenades. GRENADES is the number of grenades to be dropped (default is 1, maximum is 16). | ||||||||
!restart | r | - | !restart | restarts the match | ||||||||
!reset | r | - | !reset | resets the match | ||||||||
!swap | w | - | !swap | swaps the players to the opposite team | ||||||||
!pip | z | YES | !pip [NAME|SLOT] | draws sparks (pixie dust) around the player in slot number SLOT or with name containing NAME. does it to all players if no NAME/SLOT is not providied. | ||||||||
!pop | z | YES | !pop [NAME|SLOT] | pops the helmet off of player in slot number SLOT or with name containing NAME. If no paramter is provided it pops the helmets off of all players. | ||||||||
!fling !launch !throw | l | YES | !fling (NAME|SLOT) | send the player in slot number SLOT or with name containing NAME flying. | ||||||||
!flinga !launcha !throwa | L | YES | !flinga | sends all players flying | ||||||||
!listteams | I | - | !listteams | prints out a list of statistical information about each team. This lists ends with ratings information based on how likely each team is to win the current map. The team with more points is LESS likely to win, therefore a good way to balance the teams is to join the team with more points, or move people to that team, until the points are about even. | ||||||||
!disorient | d | YES | !disorient (NAME|SLOT) [REASON] | turns the view upside down for the client in slot number SLOT or with name containing NAME. If REASON is specified it is printed to the client. | ||||||||
!orient | d | YES | !orient (NAME|SLOT) | reverses the action of !disorient for the client in slot number SLOT or with name containing NAME. | ||||||||
!resetxp | X | YES | !resetxp (NAME|SLOT) [REASON] | clears all XP and skillpoints for player in slot number SLOT or with name containing NAME. If reason is provided it is printed to the client. | ||||||||
!nextmap | n | - | !nextmap | moves to the next map in campaign or in the objective cycle end game intermission is skipped | ||||||||
!resetmyxp | M | - | !resetmyxp | clears all XP and skillpoints for the player who runs this command. | ||||||||
!howfair | I | - | !howfair |
Prints a simple summary to everyone on the chat of team fairness based on
player rating. The !howfair command measures team evenness based on the values of
g_teamForceBalance_playerRating and g_ATB_diff (if either of these settings is zero
then default values are used, so !howfair is useful even if you do not use any
etpub autobalance features) |
[level] level = 5 name = flags = *xUwould give level 5 admins all commands except !lol and !burn.
[admin] name = tjw guid = XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX level = 5 flags = -bswould give tjw all of the commands a level 5 admin has except !ban and !setlevel.
[admin] name = tjw guid = XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX level = 5 flags = -bs+Uwould give tjw all of the commands a level 5 user has except !ban and !setlevel, but he also gets the !burn command which typical level 5 admins do not have.
The configuration file itself is layed out in blocks serpated by blank lines. The three types of blocks supported are [level], [admin], and [ban]. If you ever need to edit the shrubbot.cfg file by hand, you need to run the !readconfig command (or restart etded) to load it.
When setting up a new shrubbot.cfg file, simply set the g_shrubbot cvar to the name you want to use for the configuration file, then connect to the server with your et, and run the following command in the server console:
!setlevel ETPlayer 5(where ETPlayer is your name). This will create the shrubbot.cfg file with default levels and your guid set to level 5 admin (the highest default level). You can then edit the level definitions in this file to match your preferences and run the !readconfig command to load them up.
Starting with etpub 0.7.1, the new element [command] has been added to the shrubbot file format. This allows server admins to create their own shrubbot commands for executing server commands. Here are some examples:
[command] command = hello exec = cp "hello world" desc = Center Print the text "hello world" to all connected clients levels = 0 1 2 3 4 5 [command] command = panzeroff exec = set team_maxPanzers 0 desc = Turn off panzers levels = 5 [command] command = havefun exec = exec fun.cfg desc = Load up some crazy settings/commands levels = 5 [command] command = unlimitedpanzers exec = cp "^1Unlimited panzers!"; set team_maxPanzers -1 desc = Everyone can have a panzerfaust! levels = 5
This would create 4 new commands, !hello, !panzeroff, !havefun, and !unlimitedpanzers. !hello can be run by any user with an admin level 0 through 5. !panzeroff, !havefun, and !unlimitedpanzers would be executable by only level 5 users. You must name each level in the space seperated level string (a higher level does not grant authority). As shown in !unlimitedpanzers, you can separate commands with a semicolon (;).
These commands will show up like any other shrubbot command in the output of !help and the !help command will also provide detailed info for the command using the 'desc' paramter (e.g. '!help hello')
These are the limits on the shrubbot file:
Maximum number of levels: | 32 |
Maximum length of shrubbot level name: | 36 (includes color codes) |
Maximum number of users with a set level: | 32768 |
Maximum number of player bans: | 1024 |
Maximum length of ban reason: | 1024 |
Maximum number of admin-defined commands: | 64 |
Maximum admin-defined command name length: | 64 characters |
Maximum admin-defined command length (executable part): | 1024 characters |
Maximum admin-defined command length (help string): | 1024 characters |