***************************************************************** DeCamper for Quake 2 ***************************************************************** Name: DeCamper Version: 1.0 (12/16/98) Quake 2 version: v3.20 (and some older versions) Authors: SteQve (main programmer) and others in Two Pole Software, i.e. Rohn and X Email: steqve@shore.net Web page: http://www.shore.net/~steqve/quakemods.html Description: DeCamper is a server-side mod which allows the players to vote to "DeCamp" a player who has been camping. If a player is DeCamped, the damage they can do to other players is reduced; things like powerups and armor that are taken are immediately replaced; the camper's body is highlighted in yellow; and the camper's score is reduced. After a period of time, the camper is UnDeCamped and can play as a normal player again. The server operator can set 13 different options via a .INI file. Credits: idsoftware for making Quake, campers everywhere, and Toxy and Blucher for last-minute testing ******************************************** Mod Information ******************************************** * Play Information * Single Player : No Deathmatch : Yes New Sounds : No New Graphics : No New Music : No * Construction * Base : gamex86.dll Editor(s) used : Microsoft Visual C++ 4.0 Known Bugs : none yet Build Time : a few minutes on a Dell P200 with 32M RAM. Modification Details : contact steqve@shore.net; fairly extensive Files modified : many; contact steqve@shore.net Source included : not for 0.1, but email if interested ******************************************** Installation ******************************************** 1) Unzip the zip file into your Quake 2 directory. You should get gamex86.dll, DeCamper.ini, and other files. 2) If you wish, edit the options in the DeCamper.ini file (see instructions below) 3) Run Quake 2 with the command line "quake2 +set game DeCamper" 4) Read "Client Side commands" for client side commands that implement the voting process and other things. ******************************************** How the Thing Works ******************************************** People play the game. Somebody notices that player C may be a camper. They nominate C. C flashes white so other players can see who the nominee is. The other players vote yes or no. If a minimum number of votes (or minimum percentage of votes) is acquired, the player is DeCamped. The camper is highlighted in yellow, similar to Quad or invulnerability powerups. Based on options specified in a DeCamper.INI file on the server, the camper may (or may not) be allowed to pick up powerups such as Quad and invulnerability. Their score is reduced by a fixed number specified by the server operator. Depending on server options, if the camper picks up weapons, ammo, powerups, or armor, it may be immediately replaced so that the camper has a minimum impact on other players. After a certain amount of time, the camper is UnDeCamped and treated like a normal player. Various restrictions are put on the voting process to limit potential abuse of the voting system. ******************************************** Client Side Commands ******************************************** 1) cmd decamp help - lists commands available to the client 2) cmd decamp nominate PLAYER_NAME - nominates PLAYER_NAME as a camper 3) cmd decamp nom_match PARTIAL_NAME - nominates player whose name includes PARTIAL_NAME 4) cmd decamp yes - votes to DeCamp the nominated player 5) cmd decamp no - votes NOT to DeCamp the nominated player 6) cmd decamp options - view a short list of DeCamper options set by the server ******************************************** Editing DeCamper.ini ******************************************** You can set several options in the DeCamper.ini file that control voting, the amount you want to "punish" the camper, and the impact the camper has on the rest of the game (e.g. reduced damage, automatic replacement of powerups, etc.) Each time a new game is started, DeCamper.ini is read in. Each entry MUST be in the form OPTION=VALUE. There can not be any spaces between the = and the OPTION and the VALUE. Comments -------- You can enter "comments" in the DeCamper.ini file by putting a # in the first column. DeCamper will ignore such comments. Voting Options -------------- 1) min_num_yes=5 Minimum number of yes votes to declare someone a Camper. Set to 0 to disable and use minimum percentage. 2) min_perc_yes=50 Minimum percentage of yes votes to declare a camper. If min_num_yes is set, then DeCamper tests min_num_yes first, then min_perc_yes. In this way you could say something like "at least 5 YES votes, or if not that, 50% of all votes" 3) vote_seconds=30 Number of seconds the voting period will last. Give players enough time to vote, but not too long. 4) vote_disabled_minutes=5 Number of minutes that vote is disabled after the last vote has taken place. This helps prevent people from voting too often. Punishment Options ------------------ 5) decamp_time_minutes=5 Number of minutes to DeCamp the player. 6) immune_time=60 Number of seconds a player is immune from nomination after they have been unsuccessfully nominated, or after they have been UnDeCamped. This prevents "harrassment" nominations of innocent players as well as providing a "repentance" time for former Campers. This will be split into 2 options in the next version. 7) frag_reduce=2 Number of frags to deduct from Camper's score once they're DeCamped. 8) damage_perc=25 Percent of "normal" damage a Camper inflicts on opponents. Note that Quad damage still applies, so a Camper with Quad and a 50% damage percentage will do 200% of normal damage. Item Pickup Options ------------------- When a Camper picks up certain items, you can set options to determine if they should be replaced immediately so that other players can get them. This applies to powerups such as Quad, but can also apply to weapons, armor, and ammo. NOTE: Setting a replacement option to 0 will minimize memory consumption of DeCamper, since it must keep "inventories" of items that a Camper picks up. Since there is a lot of ammo available but only a few powerups and armor, the default options are set accordingly. 9) pickup_powerup=1 Says whether or not to allow camper to pick up powerups. 1=yes, 0=no. 10) replace_powerup=1 If 1, when camper picks up a powerup, it is immediately replaced. If 0, no immediate powerup replacement occurs. 11) replace_weapon=1 If 1, when Camper picks up a weapon, it is replaced immediately. If 0, no immediate weapon replacement occurs. 12) replace_ammo=0 If 1, when Camper picks up ammo, it is replaced immediately. If 0, no immediate ammo replacement occurs. 13) replace_armor=1 If 1, when Camper picks up armor, it is replaced immediately. If 0, no immediate armor replacement occurs.