!!! NOTE !!! Some features have been disabled since they are covered by AWE /Bell Demolition v0.96b written by Clifton Cline, a.k.a. [FLARE]_Ravir ravir@clan-flare.org http://demolition.codcity.org Includes the Clan iO "forceSpectator" thread to allow the server to restrict spectators to teammates via the "g_iokillcam" and "g_ioteamspec" variables. This will be removed when the CoD patch is released, as that option will be implemented as part of the game. NOTE: Requires Ravir's Little Admin Tools (included in distribution ZIP) ------------------------------------------------------- Overview: The attackers must take explosive packs from their spawn point to marked objectives. The explosives must be planted and defended until they explode, destroying the objective. Similar to Search and Destroy, but with a heavier emphasis on teamplay. ------------------------------------------------------- Why it's different: Instead of all attackers being able to plant bombs, there are actual packs located near the attacker's spawn point. These must be picked up by players and carried. If the player dies, they drop the pack. If a defending player locates a dropped pack, or sneaks around to the attacker's spawn point and finds packs that have not been picked up, they can be defused on the spot, rendering them useless. The server can require the attackers to destroy one or both of the objectives. If the defenders defuse too many of the packs for the attackers to complete this requirement, the defenders win. The round does NOT end if a bomb has been planted before time runs out, or if a bomb has been planted, but all of the attackers are killed. The round continues until the bomb has been defused, or has exploded. Players get bonus points for completing objectives. By default, planting a bomb scores 1 point. If the bomb is protected until it explodes, the player that planted the bomb scores 2 more points. Players get a full 3 points for defusing a bomb, whether it's on the ground, at it's spawn point, or on an objective. Players get a one-shot first aid kit, with which they can restore 25 to 40 points of a teammate's health. Players also get bonus points for defending the bomb and/or bomb carrier. Text notification of bomb plants and defused, noting the player's name. Set "g_iokillcam" to 0 to disable killcam, or "g_ioteamspec" to 1 to restrict spectators to only viewing their teammates. Players can respawn in waves, or individually. Optional automatic team balance. Server can make 1 or all players switch teams. ------------------------------------------------------- Compatibility: Works on the following standard Call of Duty maps: mp_brecourt mp_carentan mp_dawnville mp_depot mp_harbor mp_hurtgen mp_pavlov mp_powcamp mp_railyard mp_rocket Other maps can be made to support Demolition. The map must simply provide full support for the Search and Destroy gametype, off of which Demolition supports itself. NOTE: The origin of the explosives packs is determined by the attacker's spawn points NOTE: ALL CVARS can now be set with map-sensitive overrides for Demolition. Example: Your server's default value for "scr_dem_numofpacks" is "3". However, your regular players say that's not enough for the "Rocket" map. Simply add a new cvar in your config file, adding a "_" and the mapname to the existing cvar: set scr_dem_numofpacks "3" set scr_dem_numofpacks_mp_rocket "5" Now all maps will play with 3 expacks, except mp_rocket, which gets 5. The following is the running list of cvars that affect gameplay in Demolition scr_dem_requiredtargets //number of objectives which must be destroyed (1 or 2, default 2), can be changed during gameplay scr_dem_plantbonus //bonus points for planting a bomb, default 1 scr_dem_bombbonus //bonus for bomb exploding, default 2 scr_dem_defusebonus //bonus for defusing, default 3 scr_dem_assistbonus //bonus for defending the bomb/carrier, default 1 scr_dem_planttime // seconds to plant a bomb, default 5 scr_dem_defusetime // seconds to defuse a bomb, default 10 scr_dem_countdown // seconds for a bomb to explode, default 60 scr_dem_respawn // mode for respawn" "none" (no respawning) "wave" (all dead players respawn together every x seconds) "player" (each player spawn x seconds after dying) scr_dem_respawndelay // respawn delay in seconds, default 30 scr_dem_respawndelay_allies // respawn delay in seconds, default 30 scr_dem_respawndelay_axis // respawn delay in seconds, default 30 scr_dem_unstabledelaymin // minimum delay in seconds, before a bomb dropped by a player will explode, default 120 (2 minutes) scr_dem_unstabledelaymax // maximum delay in seconds, before a bomb dropped by a player will explode, default 180 (3 minutes) scr_dem_kaboom // % chance that a bomb dropped by a killed player will explode almost immediately, default 10 scr_dem_kaboomdelay // delay for the kaboom. Minimum 3 seconds, max 15 scr_dem_drophealth // players drop health packs when killed, 1/0, default 1 (on) scr_teambalance // force all team selections to "auto-assign", default 0, set to 1 to turn on scr_dem_spawnprotection // seconds of protection for spawned players scr_dem_spawnprotection_reflect // percentage of damage to reflect from spawn protection, default 25 scr_dem_spawnadvantage // % of damage that the first shot from a protected player does to their target (first shot nullifies protection) scr_dem_spawnrange // number of feet the spawned player can move before they lose protection g_alliestag // allow only players with a certain string in their name to join allies, i.e. \set g_alliestag [FLARE]_ g_axistag // ditto, for axis // if g_switchteam -1 is used to make all players switch teams, these two exchange automatically // clear the tag to allow all players again, i.e. \set g_alliestag "" scr_dem_firstaid // equip players with the single-use first aid kits. 1/0, default 1 scr_dem_teamratio // enable/disable team ratios. 1/0, default 0 (not verified workin yet) scr_dem_numofpacks // number of explosives packs the attackers get. Default 3, minimum 3, max 10 scr_dem_protectspawnbombs // prevent bombs from being defused until they've been carried away from spawn, 0/1, default 0 g_kicktospec // set to a client ID to make them a spectator, -1 to kick all players to spectator scr_showhit // show the HUD "target" blip when a player damages another player scr_dem_maxplants // maximum number of expacks that can be planted on a single target at once scr_dem_pack_release_time // Delay in seconds between expack removal or defusal from supply box scr_dem_pack_release_max // Number of expacks allowed to be carried around the field at one time scr_dem_showprotect // display a white cross above a player's head while under spawn protection, 0/1, default 1 scr_dem_mortar // enable ambient mortars. 0 = off, 1 to 10 = number of mortars to use scr_dem_mortar_safety // prevent the mortars from hitting players. 0 = safe, 1 = deadly scr_dem_mortar_delay_min // minimum delay between a mortar's firing cycle (seconds) scr_dem_mortar_delay_max // maximum delay between a mortar's firing cycle (seconds) // the actual delay is a random value between _min and _max, and is independant for each mortar. // i.e. with _min = 20, _max = 60, each mortar will wait randomly from 20 to 60 seconds between firing rounds. ------------------------------------------------------- History: v0.96b - [bug fix] Bug Fixes: Tutorial now works with scr_freelook turned off v0.96a - [bug fix, feature add] Bug Fixes: Fixed scr_killcam, scr_freelook, and scr_spectateenemy Fixed scoring issue with bombs that explode after time runs out Demolition custom Anti-hop disabled due to built-in anti-hop Features added: "scr_dem_mortar" now supports multiple mortars. 0 for off, 1 to 10 to set the number of mortars. v0.96 - [Patch compatibility, bug fix, feature add] Patch compatibility: Full Compatibility with CoD v1.2 Bug Fixes: Fixed double countdown notifications after choosing a weapon Fixed bomb-smiting leaving progress bars on players while defusing/planting Fixed planting a bomb on a target that's already destroyed Players can no longer heal and defuse at the same time Players do not enter respawn wave until killcam is finished or exited Fixed multi-planting bombs causing the script to miscount remaining bombs, round-end problems Fixed Linux crash when a player disconnects after planting a bomb Fixed Linux crash when a player joins or changes teams during a game Features added: Optional head icon to indicate spawn protection Attackers compass shows dropped bombs as ? Defenders see defusals in progress on compass as ? Anti-hop feature: Players who hop repeatedly take more damage and get shellshocked Icon legend for compass Changes: Hit indicator is more transparent v0.95 - [Big Feature add, bug fix] Combat Feedback: HUD blip to show when you hit an player with your weapon All cvars support map-sensitive overrides Round Time does not run out while a player is planting a bomb Only live ticking bombs glow, unplanted bombs don't Teams can plant multiple bombs on a single objective to make it harder to defuse Explosives packs now spawn in a supply crate, and the server admin has new control: scr_dem_pack_release_time: Delay in seconds between expack removal or defusal from supply box scr_dem_pack_release_max: Number of expacks allowed to be carried around the field at one time Fixed expack drop bugs, falling out of map, strange places, etc. v0.948a - [bug fix, feature added] Added "g_dem_smitebomb" for admins to destroy bombs that may be bugged out Added "g_smite" to Ravir's Admin mod, for admins to smite players with small explosions Fixed "player" respawn mode some more Fixed bombs sometimes dropping through the floor v0.948 - [bug fix, feature add] Added Seperate Respawn times for teams More stability improvements Fixed "turbo-firing" bug while planting/defusing Fixed "player" respawn mode Removed kickback from damage while in spawn protection Added bomb location offsets at spawn Fixed bombs left in the air after carrier death Added reflected damage from spawn protection v0.947b - [bug fix] Stability bug fixes, mostly affecting LINUX and development boxes v0.947a - [bug fix] Attacking while planting REALLY breaks your progress now Dying while healing someone does not leave a first aid icon in their cosshairs v0.947 - [Feature creep] Added Pain and Death sounds Attacking while planting/defusing will break your progress Added an option to protect bombs that haven't been moved from spawn from being defused Added support optional number of bombs, minimum 3, maximum 10 v0.946f - [bug fix] Stability bug fixes, mostly affecting LINUX and development boxes v0.946e - [bug fix] bomb HUD works properly if a bomb explodes while it's being defused No more Round Draws if time runs out. Somebody gotta win, somebody gotta lose Fixed the spontaneous respawn when selecting a weapon after the grace period v0.946d - [bug fix, feature added] added some rare case bug fixes for first aid kits players now get a bonus point if they use the full effect of the first aid kit on a teammate v0.946c - [bug fix, feature added] more bugfix on first aid rewrote some bomb handling, should fix the bugs that put the bomb in limbo added the g_kicktospec variable v0.946b - [bug fix] bugfixing the first aid kits v0.946 - [feature addition] Added first-aid kits to the standard player loadout Added team ratio controls v0.945d - [Bug fix] Plant issues addressed v0.945c - [Bug fix, feature addition] Dropped bombs do not explode after being defused.\ Spawn problems addressed Spawn protection added v0.945b - [Bug fix] Had a stupidity bug that didn't defuse bombs Updated version numbers v0.945 - [Bug fix, feature added] Exploding bombs do reliable damage now. Lethal to 20 feet, damaging to 30 feet Added HUD bomb counter Added optional health packs dropped by killed players Added "mp/dem.arena", to support callvoting the gametype v0.944 - [Bug fix] Fixed lockup on start introduced in prev. version. Added dem script variables to the updateScriptCvars thread for realtime updates v0.943 - [Bug fix, feature added] Fixed bug preventing players from planting bombs Fixed bug allowing players to drop bombs in the air Fixed players getting assists for exploded bombs Bomb explosions now have a minimum and maximum delay Added: Bombs dropped by killed players have a chance of exploding in seconds Added clan tag limiters v0.942 - [Bug fix, feature enhance] Enhanced the HUD animations, made them more efficient, removed option to disable Made bomb tracking on the radar more efficient Introduced the min/max delay settings on "unstable" bombs Made dropped bombs offset themselves from the player's body Fixed the assist scoring system v0.941 - [Bug fix, gameplay enhance] Fixed a spawning/weapon selection error that made the match draw or restart v0.94 - [Bug fix, gameplay enhance] Fixed more "assist" issues Rebuilt bomb pickup icon animation, much smoother Bombs will respawn after 60 seconds if dropped in a minefield Bombs will explode after 3 minutes if otherwise dropped and not recovered. v0.93 - [Bug fix, feature creep] Fixed some "assist" scoring issues Added the bomb pickup animation, with option to turn it off.\ v0.92 - [Feature creep] Added optional respawning methods: waves, delayed Added optional auto-team balance on connect Added optional bonus points for defending the bombs and/or bomb carrier Added Ravir's Little Admin Tools to allow server-forced team swtiching v0.91 - [Bug fix, added features] Allowed explosion on both objectives simultaneously Added bonus points for objectives Text notifications of objectives, including announcement at startup v0.90 - [First Public Release] ------------------------------------------------------- Known Issues: team ratio controls may not work properly yet, will not attempt to fix until after official CoD patch