Addon Details

Watch - Add Favorite


GunMod -- a rewrite of GunGame ScreenShot

Does this version work for you?
24
w00ts
w00t!2

GunMod -- a rewrite of GunGame - Version 12

posted on 2007-03-31 18:37:50
by SuperDave



Description

Release 12 of GunMod adds some great new commands. [b]GunMod requires only EventScripts v1.5+[/b] [b]This script affects gameplay in the following ways:[/b] [b]*[/b]When a map starts (or this script is loaded), a weapon order is chosen (specified in options--many included or option for custom or random). Depending on when the script is loaded and the script options, players will have a few rounds to connect before the tournament begins (default 2 rounds). During these warm up rounds, the players can be restricted to only knives (default off). [b]*[/b]When a player spawns, they are given a level if they do not already have on. The level given can be the average level or can be above a certain percent of player (default above 25% of players). The spawning player is then given a weapon based on his or her level and the weapon order. [b]*[/b]When a player kills or is killed, that player's level changes (specified in options) and he or she is given the weapon which corresponds with the new level. [b]*[/b]When a player changes weapons, there is an option for a sound to play (19 provided--default random). [b]*[/b]When a player completes all of the levels in the weapon order, that player wins. If the game continues after a player wins (specified in options), then winning players will be given the last weapon in the weapon order until the map changes. Winning players can continue to earn levels but will continue with the same weapon. [b]*[/b]While this script is loaded, players will be restricted to the weapon of their level. They can also be given a knife, kevlar, a helmet, flashbang(s), a smoke grenade, nightvision goggles and a defuse kit based on the script options. [i]See the options below for further details.[/i] [b][url=http://addons.eventscripts.com/addons/view/cheapdeathmatch]CheapDeathmatch[/url] is again compatible with GunMod![/b] You can find it here: [url]http://addons.eventscripts.com/addons/view/cheapdeathmatch[/url] [syntax="es"]// Config/Options // Unless otherwise noted, 0 = off and 1 = on // ***** Weapon order options ***** es_xset gunmod_weaponorders "0;1;2;3;4;5;6;7;8;10" // Weapon orders used [default "0;1;2;3;4;5;6;7;8;10"] // 0 - strong-to-weak - "m249;awp;xm1014;sg550;m3;g3sg1;aug;sg552;m4a1;ak47;galil;famas;ump45; // mp5navy;mac10;tmp;scout;deagle;usp;p228;fiveseven;glock;elite;knife" // 1 - far-to-close range - "awp;aug;m249;sg552;g3sg1;ak47;m4a1;sg550;galil;famas;scout;p90;mp5navy; // tmp;xm1014;ump45;mac10;m3;deagle;usp;p228;fiveseven;glock;elite;knife" // 2 - thoughtfully jumbled - "aug;deagle;awp;galil;xm1014;g3sg1;tmp;p90;sg552;sg550;ump45;m249; // m4a1;famas;mp5navy;scout;ak47;mac10;p228;m3;glock;usp;elite;fiveseven;knife" // 3 - SMG-based - "mp5navy;p90;ump45;tmp;galil;xm1014;mac10;m3;famas;m249;aug;awp;deagle;sg552; // scout;glock;ak47;sg550;m4a1;usp;g3sg1;fiveseven;p228;elite;knife" // 4 - SMG tournament - "p90;deagle;usp;galil;mp5navy;ump45;famas;xm1014;p228;glock;tmp;fiveseven; // m3;mac10;elite;scout;knife" // 5 - easy rifle - "aug;ak47;sg552;m4a1;m249;awp;mp5navy;p90;m3;deagle" // 6 - easy no-rifle - "mp5navy;p90;mac10;tmp;xm1014;ump45;m3;deagle;usp;elite" // 7 - sniper tournament - "m4a1;sg550;tmp;g3sg1;mac10;m3;awp;deagle;scout;knife" // 8 - Zen's - "m4a1;mac10;ak47;scout;aug;m249;sg552;tmp;awp;elite;deagle;p228;glock;fiveseven;usp" // 9 - custom - see below // 10 - random - see below es_xset gunmod_sequentialorders 0 // Are weapons orders played sequentially, as opposed to randomly? [default 0] es_xset gunmod_customorder "deagle;ak47;scout;aug;g3sg1;galil;famas;m4a1;sg552;sg550;m249;awp; tmp;mp5navy;glock;elite;m3;xm1014;usp;mac10;ump45;p228;fiveseven;p90;hegrenade;knife" // Weapons in the custom weapon order separated with a semicolon--see the script options for // acceptable names versus common names // You may use each weapon as many or as few times as desired es_xset gunmod_customorder_highestlost 25 // The highest level that can be lost or skipped in the custom order es_xset gunmod_randomorder "deagle;ak47;scout;aug;g3sg1;galil;famas;m4a1;sg552;sg550;m249;awp; tmp;mp5navy;glock;elite;m3;xm1014;usp;mac10;ump45;p228;fiveseven;p90" // Weapons in the random weapon order separated with a semicolon--see the script options for // acceptable names versus common names // You may use each weapon as many or as few times as desired es_xset gunmod_randomorder_minhighestlost 16 // The minimum highest level that can be lost or skipped in the random order es_xset gunmod_randomorder_maxhighestlost 24 // The maximum highest level that can be lost or skipped in the random order es_xset gunmod_allow_knife 1 // Are players allowed to have the knife on every level? [default 1] // ***** Level-up options ***** es_xset gunmod_defaultkillchange 0.7 // Levels received for a default kill [default 0.7] es_xset gunmod_headshotkillchange 1.6 // Levels received for a headshot kill [default 1.6] es_xset gunmod_knifekillchange 1.9 // Levels received for a knife kill [default 1.9] es_xset gunmod_teamkillchange -1.4 // Levels received for a team kill [default -1.4] es_xset gunmod_bombexplodedchange 0 // Levels received for planting a bomb that explodes [default 0] es_xset gunmod_bombdefusedchange 0 // Levels received for defusing the bomb [default 0] // ***** Level-down options ***** es_xset gunmod_defaultdeathchange -0.3 // Levels received for a default death [default -0.3] es_xset gunmod_headshotdeathchange -1.1 // Levels received for a headshot death [default -1.1] es_xset gunmod_knifedeathchange -1.5 // Levels received for a knife death [default -1.5] es_xset gunmod_teamdeathchange 0 // Levels received for a team death [default 0] es_xset gunmod_worlddeathchange -0.8 // Levels received for a world (falling, traps, et cetera) death [default -0.8] es_xset gunmod_suicidechange -1 // Levels received for a suicide death [default -1] es_xset gunmod_hostagedeathchange -0.5 // Levels received for killing a hostage [default -0.5] // ***** Level-change options ***** es_xset gunmod_levelchange_health 0 // Do players receive 100 health when they change levels? [default 0] es_xset gunmod_levelchange_kevlar 1 // Do players receive 100 armor when they change levels? [default 1] es_xset gunmod_levelchange_helmet 1 // Do players receive a helmet when they change levels? [default 1] es_xset gunmod_levelchange_flashbang 1 // Number of flashbangs players will have when they change levels [default 1] es_xset gunmod_levelchange_smokegrenade 0 // Do players receive a smoke grenade when they change levels? [default 0] es_xset gunmod_playerspawn_nightvision 1 // Do players receive nightvision? [default 1] es_xset gunmod_playerspawn_defuser 1 // Do players receive defuse kits, when applicable? [default 1] es_xset gunmod_playerspawn_kevlar 1 // Do players receive 100 armor when they spawn? [default 1] es_xset gunmod_playerspawn_helmet 1 // Do players receive a helmet when they spawn? [default 1] es_xset gunmod_playerspawn_flashbang 1 // Number of flashbangs players will receive when they spawn [default 1] es_xset gunmod_playerspawn_smokegrenade 1 // Do players receive a smoke grenade when they spawn? [default 1] es_xset gunmod_levelchange_updatelevel 1 // Do players receive level information when they change levels? [default 1] // This option overrides the next two settings es_xset gunmod_levelchange_announce 1 // Do players receive a chat-area message with level information when they change levels? // [default 1] es_xset gunmod_levelchange_statbox 15 // Number of seconds to display the black box with level information when players change levels-- // set to 0 to eliminate [default 15] es_xset gunmod_levelchange_statbox_median 1 // Is the middle level displayed as median as opposed to average? [default 1] // ***** Sound options ***** es_xset gunmod_sound_groups "1;2;3;4;5;6;7;8;9;10;11;12;13;14;15;16;17;18;19" // Sound groups used [default "1;2;3;4;5;6;7;8;9;10;11;12;13;14;15;16;17;18;19"] // 0 = No sounds, 1 = HL1 beeps, 2 = HL1 thunder sounds, 3 = HL2 beeps, 4 = HL2 energy sounds, // 5 = HL2 manhack sounds, 6 = HL2 dog sounds, 7 = HL2 strider sounds, 8 = HL2 turret sounds, // 9 = HL2 vortigaunt sounds, 10 = HL2 scanner sounds 1, 11 = HL2 scanner sounds 2, // 12 = HL2 combine soldier sounds, 13 = HL2 ichthyosaur sounds, 14 = HL2 rollermine sounds, // 15 = Miscellaneous HL2 sounds 1, 16 = HL2 scanner sounds 3, 17 = Miscellaneous HL2 sounds 2, // 18 = Miscellaneous HL2 sounds 3, 19 = Miscellaneous HL2 sounds 4, 20 = Custom sounds (see below) es_xset gunmod_sound_sequentialorder 0 // Are sound groups played sequentially, as opposed to randomly? [default 0] es_xset gunmod_sound_leveluppercent 30 // Percent of the map that can hear when a player gains a level [default 30] es_xset gunmod_sound_leveldownpercent 30 // Percent of the map that can hear when a player loses a level [default 30] es_xset gunmod_sound_finishpercent 100 // Percent of the map that can hear when a player finishes the weapon order [default 30] es_xset gunmod_customsound_levelup "none" // Custom sound group sound for gaining a level--set to "none" for no sound es_xset gunmod_customsound_leveldown "none" // Custom sound group sound for losing a level--set to "none" for no sound es_xset gunmod_customsound_finish "none" // Custom sound group sound for finishing the weapon order--set to "none" for no sound // ***** Order finish options ***** es_xset gunmod_finish_changemap 0 // Change maps when a player finishes the weapon order? [default 0] es_xset gunmod_finish_roundendchangemap 1 // Change maps the round after a player finishes the weapon order? [default 1] es_xset gunmod_finish_middlechangemap 1 // Change maps when the middle level finishes the weapon order? [default 1] // See the Connecting player options below for the option regarding determining the middle level es_xset gunmod_finish_centerannounce 1 // Announce in the center of the screen the player that first finishes the weapon order? [default 1] es_xset gunmod_finish_announce 1 // Announce in text the player that first finishes the weapon order? [default 1] es_xset gunmod_finish_boxtime 30 // Number of seconds to display a first to finish message to the finishing player in an // upper-left box--set to 0 to eliminate [default 30] es_xset gunmod_finish_boxcolor 1 // Color to display the first to finish message [default 1] // 1 = red, 2 = blue, 3 = green, 4 = yellow, 5 = purple, 6 = pink, 7 = orange, 8 = white es_xset gunmod_finish_runnerupcenterannounce 1 // Announce in the center of the screen players that finish the weapon order but are not first? // [default 1] es_xset gunmod_finish_runnerupannounce 1 // Announce in text players that finish the weapon order but are not first? [default 1] es_xset gunmod_finish_runnerupboxtime 30 // Number of seconds to desplay a finish position message to the finishing player in an // upper-left box--set to 0 to eliminate [default 30] es_xset gunmod_finish_runnerupboxcolor 2 // Color to display the finish position message [default 2] // 1 = red, 2 = blue, 3 = green, 4 = yellow, 5 = purple, 6 = pink, 7 = orange, 8 = white // ***** Winners list options ***** es_xset gunmod_winnerslist_max 100 // Number of players stored in the winners list--set to 0 to eliminate winners list [default 100] es_xset gunmod_winnerslist_allowedabsence 15 // Number of tournaments a player can be absent before he or she loses wins [default 15] es_xset gunmod_winnerslist_winslostforabsence 1 // Number of wins a player loses for being absent--set to 0 to remove players for absence // [default 1] es_xset gunmod_winnerslist_botsasoneslot 1 // Are bots treated as one player ("the bots")? [default 1] // ***** Request options ***** es_xset gunmod_request_level "!level" // Players that say this will receive level information--set to "none" to eliminate // [default "!level"] es_xset gunmod_request_level_announcespawn 1 // Do players receive a message informing them how to request level information when they spawn? // [default 1] es_xset gunmod_request_level_announcedeath 1 // Do players receive a message informing them how to request level information when they die? // [default 1] es_xset gunmod_request_leaders "!leaders" // Players that say this will receive leader information--set to "none" to eliminate // [default "!leaders"] es_xset gunmod_request_leaders_numberdisplayed 16 // Number of leaders to display [default 16] es_xset gunmod_request_leaders_console 1 // Is leader information sent to the requesting player's console? [default 1] es_xset gunmod_request_leaders_statbox 15 // Number of seconds to display the black box with leader information to the requesting // player--set to 0 to eliminate [default 15] es_xset gunmod_request_leaders_announcespawn 1 // Do players receive a message informing them how to request leader information when they spawn? // [default 1] es_xset gunmod_request_leaders_announcedeath 1 // Do players receive a message informing them how to request leader information when they die? // [default 1] es_xset gunmod_request_order "!weaponorder" // Players that say this will receive weapon order information--set to "none" to eliminate // [default "!weaponorder"] es_xset gunmod_request_order_console 1 // Is weapon order information sent to the requesting player's console? [default 1] es_xset gunmod_request_order_statbox 15 // Number of seconds to display the black box with weapon order information to the requesting // player--set to 0 to eliminate [default 15] es_xset gunmod_request_order_statbox_highlighthighest 1 // Is the highest level highlighted in addition to the requesting player's current level? // [default 1] es_xset gunmod_request_order_announcespawn 1 // Do players receive a message informing them how to request weapon order information when they // spawn? [default 1] es_xset gunmod_request_order_announcedeath 1 // Do players receive a message informing them how to request weapon order information when they // die? [default 1] es_xset gunmod_request_winners "!winnerslist" // Players that say this will receive the list of top winners, if applicable--set to "none" to // eliminate [default "!winnerslist"] es_xset gunmod_request_winners_numberdisplayed 15 // Number of top winners to display [default 15] es_xset gunmod_request_winners_console 1 // Is the list of top winners sent to the requesting player's console? [default 1] es_xset gunmod_request_winners_statbox 15 // Number of seconds to display the black box with the list of top winners to the requesting // player--set to 0 to eliminate [default 15] es_xset gunmod_request_winners_announcespawn 1 // Do players receive a message informing them how to request the list of top winners when they // spawn? [default 1] es_xset gunmod_request_winners_announcedeath 1 // Do players receive a message informing them how to request the list of top winners when they die? // [default 1] // ***** Warm up options ***** es_xset gunmod_warm_up_rounds 2 // Number of warm up rounds before GunMod starts [default 2] es_xset gunmod_warm_up_knifeonly 0 // Are players limited to the knife on warm up levels? [default 0] // ***** Connecting player options ***** es_xset gunmod_connectingplayers_usepercent 1 // Determine joinging player level by percent as opposed to average? [default 1] es_xset gunmod_connectingplayers_percent 25 // Percent of players that joining players will receive a level above [default 25] // When gunmod_connectingplayers_usepercent is 0 this option has no effect // ***** Announcement options ***** es_xset gunmod_announce_kills 0 // Do players receive a message with the name and level of players they kill? [default 0] es_xset gunmod_announce_deaths 1 // Do players receive a message with the name and level of the player that killed them? [default 1] es_xset gunmod_announce_weaponordername 1 // Do players receive a message with the current weapon order name when they join the game? // [default 1] [/syntax] [b][url=http://check.eventscripts.com/esparser.php?url=http://forums.mattie.info/cs/forums/files/es_gunmod_193.txt&scriptname=gunmod&remexp=1&addexp=1&brackets=1&quotes=1&codeoutblock=1&curlybrackets=1&blockname=1&doblock=1&es_x=1&event=1]Is this script optimized? (Thanks Chun!)[/url][/b] [url=http://addons.eventscripts.com/addons/user/11091][img]http://addons.eventscripts.com/addons/userbar/11091/GunMod%20-%20CSSoundtrack%20-%20CheapBombTimer/mystats.png[/img][/url]

Version Notes For 12

Updated on: 2007-08-02 07:01:18 EST by SuperDave (View Zip Contents)
- The error where players with 0 or less wins were not removed from the top winners list has been corrected. If this error has occurred in your winners list, it will automatically be corrected the next time the player hits the required number of absent tournaments. - The unusual error where [url=http://www.eventscripts.com/pages/es_reload]es_reload[/url] would duplicate the winners list has been corrected. - The hegrenade level has been tweaked so players automatically switch to the new grenade when a previous grenade explodes. - The [b]gunmod_levelchange_updatelevel[/b] option has been added and relating option descriptions have been updated to reduce confusion. - The [b]gunmod_warm_up_rounds[/b] and [b]gunmod_warm_up_knifeonly[/b] options have been added to allow for warm up rounds before the GunMod tournament starts. - The [b]gunmod_connectingplayers_usepercent[/b] option has been added to give the choice whether joining players receive a level higher than a certain percentage of players or simply receive the average level. The [b]gunmod_connectingplayers_percent[/b] option has also been added to dictate the percent of players that will have a level beneath joining players, if applicable. - The [b]gunmod_levelchange_statbox_median[/b] option has been added to dictate whether the [url=http://en.wikipedia.org/wiki/Median]median[/url] or [url=http://en.wikipedia.org/wiki/Average]average[/url] level is considered the middle level on the level information statbox and in regards to [b]gunmod_finish_middlechangemap[/b]. - To further support the choice between using median or average as the middle level, the [b]gunmod_finish_averagechangemap[/b] option has been updated to [b]gunmod_finish_middlechangemap[/b]. - The [b]gunmod_request_order_statbox_highlighthighest[/b] option has been added to highlight the highest level on the weapon order statbox. - The [b]gunmod_request_leaders[/b] option has been added to allow players to request a list of current players and levels. This option has the following sub-options: [b]gunmod_request_leaders_numberdisplayed gunmod_request_leaders_console gunmod_request_leaders_statbox gunmod_request_leaders_announcespawn gunmod_request_leaders_announcedeath[/b]

( Previous Versions )