AlliedModders Donor
|
01-18-2014
, 18:32
[CS:GO] Deathmatch Goes Advanced (v0.13.8, 23/01/2016)
|
#1
|
Plugin is currently maintained by nullb, latest version in this post: https://forums.alliedmods.net/showth...36#post2445436
Latest gamedata here: https://forums.alliedmods.net/showpo...postcount=2245
Thanks:
I would like to thank SniperUK as my plugin is based on its Deathmatch plugin ( https://forums.alliedmods.net/showthread.php?t=189577).
Although almost everything has been rewritten this has been helping me a lot.
Why another deathmatch plugin?
This plugin is quite particular, because it modifies its configuration depending on played map.
This allows, for exemple to give only AWP and scout on AWP maps, to only grenades on HE maps, and lots of weapons on aim maps.
The configuration file is quite new concept as far as I know. It is described ins second post.
This plugin uses intensively CS:GO Cvars, thus will only work on CS:GO.
Do you like my work?
If you want to reward me for my work, or the help I can provide on this thread, feel free to make a donation
Plugin features:
- Admin menu
- Per map configuration (any Cvar can be controlled)
- On the fly configuration load by admin menu
- Per-team weapons restriction
- Only Headshot mode
- Configurable weapon clip and ammo count
- Weapon clip reload on kill
- Equipment (nades/tazer) refill on kill
- Give HE on he explode
- Infinite or finite taser shots
- Any weapon drop
- Dropped weapon management
- Remove chicken
- Map entity removal
- Gun menu:
- Can be displayed automaticaly on first spawn
- Can be displayed on user request
- Can provide only primary on secondary weapons
- Random weapon on spawn
- Pre-defined weapon on spawn
- Spawn protection
- Configurable spawn sound
- Configurable spawn screen fade
- Weapon skin independantly of the team
- Limited weapon rotation
- Fast shot after weapon equip option
- Map spawn editor (and map slot increase)
- Advanced spawn control
- Admin is invisible/god while editing spawns
- Advertisement (for gun menu or anything):
- Text can be displayed on Chat, Hint, Alert
- Can be displayed on spawn or on timer
- Can be displayed periodicaly
- Can cycle in a pool of messages
- Supports translations
- Display in hint a ladder based on RankMe stats on connected players
- Auto Updater support
- Others (see CVAR list and configuration file in second post)
How to install?
- Unzip .zip file into your sourcemod directory.
- Edit config/deathmatch.ini to your liking (You should first read second post and this exemple)
- If you want the simple ini file, rename config/deathmatch_simple.ini to config/deathmatch.ini and edit it to your liking
- End.
Configuration:
Configuration of this plugin may be hard, please take a look at the FAQ at the end of this post before asking for help.
The second post gives the architecture of the configuration file.
Requirements:
Cvars:
Spoiler
Code:
CVAR DEFAULT DESCRIPTION
dm_enabled 1 Enable deathmatch.
dm_gun_menu_mode 1 Gun menu mode. 1) Enabled. 2) Disabled. 3) Random
dm_gun_menu_triggers "guns gns buy" Gun menu say triggers. Space separated. Not case sensitive. Don't add '!' or '/'. Max size per trigger 10 char, max triggers 20
dm_connect_hide_menu 0 Hide DM menu at first spawn
dm_enable_random_menu 1 Enable random item in menu
dm_remove_objectives 1 Remove objectives (disables bomb sites and removes c4 and hostages).
dm_remove_chickens 1 Remove spawning chickens.
dm_weapons_allow_3rd_party 0 Allow 3rd party weapons from map or other plugins.
dm_weapons_allow_drop 0 Allow weapon drop.
dm_weapons_allow_drop_nade 0 Allow nade drop.
dm_weapons_allow_drop_knife 0 Allow knife drop.
dm_weapons_allow_drop_zeus 0 Allow tazer drop.
dm_weapons_allow_drop_c4 1 Allow c4 drop.
dm_weapons_allow_not_carried 0 Allow not carried weapons (on map).
dm_weapons_max_not_carried 100 Maximum number of not carried weapons on map.
dm_weapons_max_same_not_carried 20 Maximum number of not carried same weapons on map.
dm_weapons_remove_furthest 1 Uncarried weapon limit enforcement by removing weapons further to a player.
dm_weapons_remove_not_in_los 1 Uncarried weapon limit enforcement by removing weapons not in player Line Of Sight.
dm_weapons_remove_sametype_first 1 Uncarried weapon limit enforcement by removing first the weapons ttype that is most represented on map.
dm_randomspawn_internal 1 Use internal randomspawn method, requires DHook extension and custom DM spawns.
dm_normalspawn_internal 1 Use internal spawn method, requires DHook extension.
dm_normalspawn_los 0 Use LOS for normal (non random) spawn
dm_spawn_median_distance_ratio 0.2 Target spawn distance to other player = ratio * maximum distance between spawn points
dm_spawn_min_team_distance_ratio 0.2 Target minimum spawn distance to teammates = ratio * maximum distance between team spawn points
dm_spawn_protection_enable 0 Enable internal spawn protection (this has no effect on stock CS:FO spawn protection system)
dm_spawn_protection_duration 1.0 Spawn protection duration, in seconds
dm_spawn_protection_clearonshoot 1 Immediatly clears spawn protection when player shoots
dm_spawn_protection_color_t 255,0,0,255 Terrorist Client color when spawn protected (R, G, B A), set sv_disable_immunity_alpha 1 for a working alpha value
dm_spawn_protection_color_ct 0,0,255,255 CT Client color when spawn protected (R, G, B A), set sv_disable_immunity_alpha 1 for a working alpha value
dm_spawn_protection_hudfadecolor_t 255,0,0,100 Terrorist HUD color when spawn protected
dm_spawn_protection_hudfadecolor_ct 0,0,255,100 CT HUD color when spawn protected
dm_spawn_custom_sounds_enable 0 Enable custom spawn sounds
dm_spawn_custom_sounds "" Pool of custom spawn sounds. Comma separated. Sounds in randomly chosen form the pool. Max 10 sounds, path related to the sound/ directory. eg 'custom/sound1.wav,custom/sound2.wav'
dm_spawn_custom_sounds_level 90 Custom spawn sound play level. 75 is normal level, 140 is gunshot
dm_spawn_custom_sounds_to_self_enable 0 Enable custom spawn sounds to spawned player
dm_spawn_custom_sounds_to_self "" Pool of custom spawn sounds to spawned player. Comma separated. Sounds in randomly chosen form the pool. Max 10 sounds, path related to the sound/ directory. eg 'custom/sound1.wav,custom/sound2.wav'
dm_spawn_custom_sounds_to_self_level 90 Custom spawn sound to spawned player play level. 75 is normal level, 120 is gunshot
dm_spawn_custom_sounds_to_team_enable 0 Enable custom spawn sounds to teammates
dm_spawn_custom_sounds_to_team "" Pool of custom spawn sounds to teammates. Comma separated. Sounds in randomly chosen form the pool. Max 10 sounds, path related to the sound/ directory. eg 'custom/sound1.wav,custom/sound2.wav'
dm_spawn_custom_sounds_to_team_level 90 Custom spawn sound to teammates play level. 75 is normal level, 140 is gunshot
dm_spawn_fade_enable 0 Enable fade at spawn.
dm_spawn_fade_color 0,0,0,240 Fade color, Format Red,Green,Blue,Alpha
dm_spawn_fade_hold_duration 0 Fade hold duration in seconds. Time during which fade color is applied to screen without fading.
dm_spawn_fade_duration 1.5 Fade duration in seconds. Time after Hold duration during which screen is faded
dm_limited_weapons_rotation 1 Enable limited weapons rotation.
dm_limited_weapons_rotation_time 60.0 Time in second before rotating limited weapons between client. If 0, plugin will wait for player to change weapon.
dm_limited_weapons_rotation_min_time 10.0 Minimum time in second before rotating limited weapons between client.
dm_hide_radar 1 Hide HUD radar.
dm_replenish_ammo 1 Unlimited player ammo.
dm_replenish_clip 1 Refill clip on kill.
dm_replenish_clip_headshot 1 Refill clip on headshot kill.
dm_replenish_clip_knife 1 Refill clip on knife kill.
dm_replenish_clip_nade 1 Refill clip on nade kill.
dm_equip_kill "" Equipment to give after kill. Comma separated. Format <number>*<equimpment>. Equimpent can be he, flash, smoke, incendiary, decoy, zeus. eg "1*he,2*zeus"
dm_equip_headshot "" Equipment to give after HS kill. Comma separated. Format <number>*<equimpment>. Equimpent can be he, flash, smoke, incendiary, decoy, zeus. eg "1*he,2*zeus"
dm_equip_knife "" Equipment to give after Knife kill. Comma separated. Format <number>*<equimpment>. Equimpent can be he, flash, smoke, incendiary, decoy, zeus. eg "1*he,2*zeus"
dm_equip_nade "" Equipment to give after Nade kill. Comma separated. Format <number>*<equimpment>. Equimpent can be he, flash, smoke, incendiary, decoy, zeus. eg "1*he,2*zeus"
dm_fast_equip 1 Allows to shoot right after weapon equip.
dm_no_damage_knife 0 Filter damage from knives when only HS is not active
dm_no_damage_taser 0 Filter damage from taser when only HS is not active
dm_no_damage_nade 0 Filter damage from nades when only HS is not active
dm_no_damage_world 0 Filter damage from world when only HS is not active
dm_no_damage_trigger_hurt 0 Filter damage from trigger_hurt when only HS is not active
dm_onlyhs 0 Enable only headshot mode
dm_onlyhs_oneshot 0 Enable one shot kill for only HS
dm_onlyhs_allowknife 1 Allows knife in only HS mode
dm_onlyhs_allowtaser 1 Allows taser in only HS mode
dm_onlyhs_allownade 1 Allows HE nades in only HS mode
dm_onlyhs_allowworld 1 Allows suicide in only HS mode
dm_onlyhs_allowtriggerhurt 1 Allows trigger_hurt damage in only HS mode
dm_hp_start 100 Spawn HP.
dm_hp_max 100 Maximum HP.
dm_kevlar_start 100 Spawn Kevlar.
dm_kevlar_max 100 Maximum Kevlar.
dm_hp_kill 5 HP per kill.
dm_hp_hs 10 HP per headshot kill.
dm_hp_knife 25 HP per knife kill.
dm_hp_nade 25 HP per nade kill.
dm_hp_to_kevlar_ratio 0.5 Ratio of HP to refill on kevlar on kill.
dm_hp_to_kevlar_mode 2 Refill kevlar mode: 0 = Off, 1 = always, 2 = when HP is full.
dm_hp_to_helmet 3 Refill helmet mode: 0 = Off, 1 = always, 2 = when HP is full, 3 when HP and kevlar are full.
dm_hp_messages 1 Display HP messages.
dm_helmet 1 Give players Helmet.
dm_zeus 0 Number of taser to give give each player (-1 = infinite).
dm_knife 1 Give players a knife.
dm_defuser 0 Give players a defuse kit.
dm_nades_incendiary 0 Number of incendiary grenades to give each player.
dm_nades_decoy 0 Number of decoy grenades to give each player.
dm_nades_flashbang 0 Number of flashbang grenades to give each player.
dm_nades_he 0 Number of HE grenades to give each player (-1 = infinite).
dm_nades_smoke 0 Number of Smoke grenades to give each player.
dm_zeus_max 0 Maximum number of taser shot to give each player.
dm_nades_incendiary_max 0 Maximum number of incendiary grenades to give each player.
dm_nades_decoy_max 0 Maximum number of decoy grenades to give each player.
dm_nades_flashbang_max 0 Maximum number of flashbang grenades to give each player.
dm_nades_he_max 0 Maximum number of HE grenades to give each player.
dm_nades_smoke_max 0 Maximum number of Smoke grenades to give each player.
dm_default_primary none Default primary weapon to give a player
dm_default_secondary none Default secondary weapon to give a player
dm_warmup_time 45 Warmup duration
dm_show_rankme_ladder 1 Periodically show a rankme ladder in hint (rankme plugin dependant)
dm_show_rankme_ladder_period 60 Rankme ladder display period in seconds
dm_show_rankme_ladder_duration 15 Rankme ladder display duration in seconds
dm_filter_friendly_aimpunch 0 Filter aimpunch from a friendly fire
dm_filter_all_aimpunch 0 Filter all aimpunch (might also remove blood effects)
dm_filter_kill_log 0 Filter kill log on upper right corner
dm_filter_kill_beep 0 Filter beep sound on kill (in deathmatch game mode)
dm_filter_texts_enabled 0 Enable Text messages filtering
dm_filter_texts #Player_Point_Award_Killed_Enemy_Plural List of Text messages to filter. Comma separated. Maximum 20
dm_log_texts_enabled" 0 Enable Text messages logging, Filter shall be enabled to for this to work
dm_filter_hints_enabled 0 Enable Text messages filtering
dm_filter_hints "" List of Hint messages to filter. Comma separated. Maximum 20
dm_log_hints_enabled 0 Enable Text messages logging, Filter shall be enabled to for this to work
dm_filter_sounds_enabled 0 Enable Sounds filtering
dm_filter_sounds player/pl_respawn.wav List of Sounds to filter. Comma separated. Maximum 20
dm_log_sounds_enabled 0 Enable Sounds logging, Filter shall be enabled to for this to work
dm_filter_blood_decals 0 Filter blood decals on walls
dm_filter_blood_splatter 0 Filter blood splatters
dm_spawns_editor_speed_ratio 1.5 Speed ratio applied to admin in spawn edit mode.
dm_spawns_editor_gravity_ratio 0.2 Gravity ratio applied to admin in spawn edit mode.
ADVANCED
dm_entity_remove_plugin "env_entity_maker game_player_equip game_weapon_manager player_weaponstrip" Entities to be removed, needed by plugin, change if know what you are doing
dm_entity_remove_user "point_servercommand" Adds to plugin entities to be removed at map start. Space separated. Max size per entity 49 char, max entities 20
Commands:
Admins (Changemap flag)
sm_dm - Display admin menu (Chat alias: !dm)
dm_respawn_all - Respawn everyone
dm_respawn_dead - Respawn dead players
dm_load[_mod] "Section" "Subsection" [equip|respawn|restart|nextround] - Force a section->Subsection load If third argument is supplied, an action is performed:
- none: players will be equiped on their next spawn
- equip: equip all players after successfull load
- respawn: respawn all players after successfull load
- restart: restart game after successfull load
- nextround: perform load on next round
If dm_load_mod is used, previous loaded configuration won't be unloaded before
dm_weapon_add <weapon> [<limit>] - Add an available weapon. Set limit to -1 for unlimited
dm_weapon_remove <weapon> - Remove an available weapon
dm_weapon_limit <weapon> <limit> -Limit a weapon count. Set limit to -1 for unlimited
Spawn edition - Admins (Changemap flag)
dm_spawns_show - Toggle spawn display mode.
dm_spawns_add [T|CT] - Add spawn point at your position for T, CT or deathmatch is no argument is supplied
dm_spawns_delete - Remove spawn point at your position
dm_spawns_import - Import current map spawns
dm_spawns_save - Save spawns
dm_spawns_test <first|next|prev> - Spawn to first/next/previous point for testing
dm_spawns_stats - Display spawn statistics
Clients:
sm_guns - Display gun menu (Chat alias: guns)
Note on spawn points:
- Spawn data is saved in sourcemod/data/deathmatch_spawn/<map>.txt
- If you create CT and T points, you must create at least as many points as original map has. Same for Deatmatch points if original map has any of them. If points are missing, your point won't be loaded (an error in log will indicate which are the missing point types)
- You can create spawn points for Terrorist, Counter-Terrorist or Deathmatch. You must save using dm_spawns_save command before map change or your created spawn are ignored.
- Spawn point are only activated when map is loaded.
- If at least one spawn point is available for T and CT, original map spawns are replaced by user spawns (Note that it will increase the available slots of a map)
- If at least one Deathmatch point is available, user Deathmatch spawn point will be used when mp_randomspawn is 1
- Spawn configurations file from SniperUk's plugin can be used (points will be loaded as Deathmatch points, thus only be used when mp_randomspawn is 1), however I recommend to re-create your point using this plugin for intensive position check.
FAQ:
Note: this FAQ applies if you are not using the deathmach_simple.ini configuration
Spoiler
How can I disable Only Headshot mode?
Only headshot is enabled by default, to disable it
- Open sourcemod/configs/deathmatch.ini
- Go to section "Maps"->"fy" (almost at the end of the file)
- Remove the line "Configs" "Only HS +knife"
How do I add AWP weapon?
Refer to this post: https://forums.alliedmods.net/showth...14#post2088714
How do I disable random spawns?
Random spawn is enabled by default, to disable it
- Open sourcemod/configs/deathmatch.ini
- Go to section "Maps"->"fy" (almost at the end of the file)
- Remove the section "Load"{ "Configs" "Random Spawn" }
How do I disable FFA mode?
FFA is enabled by default, to disable it
- Open sourcemod/configs/deathmatch.ini
- Go to section "Maps"->"fy" (almost at the end of the file)
- Remove the section "Cvars"{ "mp_teammates_are_enemies" "1" }
How do I disable zeus?
In deathmatch mod zeus is given by default, to remove it
- Open sourcemod/configs/deathmatch.ini
- Go to section "Game Modes"->"Deathmatch"
- Remove the line "Configs" "zeus"
How do I disable warmup?
- Open sourcemod/configs/deathmatch.ini
- Go to section "Configs"->"Options Default"
- Set "dm_warmup_time" "0"
How do I add a spawn sound when not in deathmatch game mode?
- Open sourcemod/configs/deathmatch.ini
- Go to section "Configs"->"Options Default"
- Set "dm_spawn_custom_sounds_enable" "1"
- Set "dm_spawn_custom_sounds" "player/pl_respawn.wav"
How do I change spam protection time?
- Open sourcemod/configs/deathmatch.ini
- Go to section "Configs"->"Options Default"
Case 1: You have dm_spawn_protection_enable set to 1 (by default) Then set dm_spawn_protection_duration to whatever value you like
You can also enable or disable dm_spawn_protection_clearonshoot to remove spawn protection when player shoots
Case 2: You have dm_spawn_protection_enable set to 0
Then set mp_respawn_immunitytime to whatever value you like
TODO:
- Change mode vote for admin/players/automatic vote during warmup
Changelog:
Spoiler
Code:
v0.13.8 (23/01/2016):
-Restored weapons SkinTeam to allow weapon skins to work properly on casual game mode
v0.13.7 (09/01/2016):
-Updated weapon equip scheme to bypass loadout on USP/P2000
-Weapons SkinTeam is now deprecated
v0.13.6 (09/01/2016):
-Added AimPunch filtering with convars dm_filter_friendly_aimpunch and dm_filter_all_aimpunch
v0.13.5 (09/12/2015):
- Added new R8 revolver
- Fixed Tec9 magazine size
- Increased maximum string size that can be loaded from .ini file to 1024
v0.13.4b (16/09/2015):
- Updated gamedata
v0.13.4 (06/09/2015):
- Added ambiant sound filters
- Fix an issue where message repeat could fail
v0.13.3 (30/05/2015):
- Updated game data
- Increased maximum User message length to 1024
- Fix a possible error on Weapon Drop
v0.13.2 (21/03/2015):
- Fix a possible error on Weapon Drop
- Fix dm_spawn_protection_color_ct having no effect
v0.13.1 (09/01/2015):
- Updated P250 and CZ75A default ammo after CS:GO update
v0.13.0 (04/01/2015):
- Added cvars to setup spawn protection:
.dm_spawn_protection_enable
.dm_spawn_protection_duration
.dm_spawn_protection_clearonshoot
.dm_spawn_protection_color_t
.dm_spawn_protection_color_ct
.dm_spawn_protection_hudfadecolor_t
.dm_spawn_protection_hudfadecolor_ct
- Added cvars to filter blood decals and splatters dm_filter_blood_decals/dm_filter_blood_splatter
- Only HS/Damage filter now does not display blood when attack is filtered
v0.12.6 (12/12/2014):
- Fixed CZ75 after CSGO update
v0.12.5 (21/11/2014):
- Fixed Chat messages not being displayed properly
v0.12.4 (12/11/2014):
- Updated Game Data
v0.12.3 (12/11/2014):
- Updated Game Data
- Added cvars dm_no_damage_trigger_hurt/dm_onlyhs_allowtriggerhurt
- Fixed messaging system displaying message with multiple Text starting from second text instead of first
- Fixed messaging system sometimes stopping message repeat after a non null NoReDisplayTime
v0.12.2 (24/10/2014):
- Added Cvars to clean up game experience:
. dm_filter_kill_log disables kill log in upper right corner
. dm_filter_kill_beep disables beep sound when killing an enemy
. dm_filter_texts/hints/sounds_enabled enable text/hint/sound filtering based on a list defined in dm_filter_texts/hints/sounds
. dm_log_texts/hints/sounds_enabled allows to log in sourcemode logfiles the played sounds or text issued on chat or hint to pinpoint which one must be added in filter list
- Fixed a rare server crash if a spectating player selects a weapon that requires a team change to get the correct skin
v0.12.1 (21/10/2014):
- Added Cvars dm_no_damage_knife/taser/nade/world to filter damage when not in only HS mode
- Fixed 3rd party knives not being correctly registered by plugin (and not dealing damage in only HS)
- Fixed a rare issue that could cause an infinite loop while removing client weapons
v0.12.0 (21/09/2014):
- Added 'DefineWeapon' directive that allows to modify Clipe and Ammo counts (Needs Dhooks)
. This allows to completely define/add a weapon, see second post of thread for available options
. As per 21/09/2014 all weapons are defined internally but some could be added though .ini file in the future
- Changed the way reload is handled
- Fixed an error that could be thrown when 'drop' command is called on an invalid client
- Fixed weapon that could be given to spectators
- Added russian translation (thanks to indwin)
- Updated german translation (thanks to Newbie1992)
v0.11.7 (22/06/2014):
- Fixed a possible source of crash due to weapon skin enforcer
v0.11.6 (20/06/2014):
- Fixed error occurring when invalid player sends a drop command
- Fixed rare error in weapon rotation
v0.11.5 (12/06/2014):
- Fixed P2000 sounding like a deagle if USP-S is selacted in player loadout
v0.11.4 (06/06/2014):
- Fixed USP-S replacing P2000 if selected in inventory (and maybe M4-S too)
v0.11.3 (06/06/2014):
- Fixed C4 being detroyed on drop
v0.11.2 (06/06/2014):
- Added dm_onlyhs_oneshot to kill with one bullet in only HS mode
- Improved Only HS performance
- Automatically set mp_weapons_allow_zeus to 1 if needed
- Refill weapon ammo on pickup if replenish ammo is activated
- Fixed bayonet knife that was not detected as a knife
- Fixed possible error when trying to drop best nade
- Fixed 3rd party weapons being stripped if carried before being found by plugin
- Fixed possible error when enforcing not carried weapons limits
- Fixed weapon tracking system that was interverting team (for weapons neding a fake team change for skins)
v0.11.1 (02/06/2014):
- Fixed mp_death_drop_gun/grenade that were not working
- Fixed C4 that couldn't be dropped
- Fixed issues with weapon tracking system
v0.11.0 (01/06/2014):
- Added possibility to drop any weapon
- Added control on uncarried weapons count and how the maximum limit is enforced (furthest to players, not in LOS,...)
- Added cvar to allow weapons not created by the plugin (weapons on map, weapons created by the game/other plugins, etc...
- Added possibility to add limit on weapons that are not in menu (to limit weapons on map for example).
This if made by adding a 'h' (for hidden) in limit (eq 'weapon_awp' '5h')
- Added 'Delay' option for message, to specify a time delay before first display
- Weapon rotation will now wait for player to change weapon if dm_limited_weapons_rotation_time is 0
v0.10.0 (29/05/2014):
- Added configurable screen fade at spawn
- Added configurable spawn sound
. Sound can be independently configured for teammates, for spawned player and for enemies
. Sound level can be configured
. A pool of up to 10 sounds can be specified, chosen randomly at each spawn
- Smoothed spawn Temp Entities sent to client to avoid lag when editing spawns
- Fixed a possible source of crash when plugin Cvar are set in .cfg
v0.9.1 (20/05/2014):
- Added weapon skining indenpendently of the team
- Fixed Equipment reward on kill
- Increased a bit spawn offset to avoid being stuck on some props
v0.9.0 (18/05/2014):
- Added Equipment update on kill
. This is configured through dm_equip_<kill|headshot|knife|nade> cvars
. This is a comma separated string. Format <number>*<equimpment>. Equimpent can be he, flash, smoke, incendiary, decoy, zeus. eg '1*he,2*zeus'
. To be allowed to accumulate equipment, maximum equipment is set with cvars dm_zeus_max, dm_nades_<he|incendiary|decoy|flashband|smoke>_max
- Added Cvars 'dm_spawns_editor_speed_ratio' and 'dm_spawns_editor_gravity_ratio' to customise speed and gravity of admin while editing spawns
- Fixed knife sometimes not being given
- Fixed a possible crash when setting plugin Cvars in server.cfg
- Fixed last use weapon not being correctly set at first secondary selection
- Fixed a possible error on fast switch if weapon is stripped right after it has ben given
- Fixed incorrect value output by dm_spawns_stats
v0.8.4 08/05/2014:
- Enhanced spawn position calculations
- Decreased admin gravity when editing spawns
- Fixed weapon ammo restock that could be not functional in some rare cases
- Fixed an error that could occur on weapon limit enforcement
- Fixed weapon menu not being displayed to admin after configuration load through menu
- Added dm_spawns_stats command to get spawn statistics
v0.8.3 04/05/2014:
- Fixed C4 being incorrectly killed at round start by weapon limit enforcer (thanks to Loki)
- Fixed weapon menu not being re-displayed on game mode changed by admin
v0.8.2 28/04/2014:
- Fixed primary weapon menu not being displayed with random menu enabled
v0.8.1 27/04/2014:
- Added sounds on weapon removal and transfert
- Fixed a bug where client would constantly try to get a weapon at spawn after it has been transfered
- Fixed a bug when removing player weapon could fail on unlisted weapons
v0.8.0 26/04/2014:
- Global refactor and enhancement on weapons tracking system
- Menus are now queud and re-displayed on player spawn if needed
- Added limited weapons rotation between clients
- Added defuser allocation through dm_defuser Cvar
- Enhanced weapon removal
v0.7.14c 24/04/2014:
- Updated gamedata
v0.7.14b 13/04/2014:
- Fixed incorrect Cvar names for dm_hp_to_kevlar_ratio dm_hp_to_kevlar_mode
v0.7.14 13/04/2014:
- Added German translation (thanks to Newbie1992)
- Removed Cvar dm_armour replaced by dm_kevlar_start
- Added Cvars dm_kevlar_start, dm_kevlar_max
- Added Cvars dm_hp_nade, dm_hp_to_kevlar_ratio, dm_hp_to_kevlar_mode, dm_hp_to_helmet
- Previous Cvars allow to reward player with kevler and helmet on kill
- Added Cvar dm_replenish_clip_nade
- Fix a bug that would prevent player to change Pistol and may crash the server
v0.7.13 08/04/2014:
- Added command 'dm_spawns_test <first|next|prev>' to test spawn points
- Added admin menu items for testing spawn points
- Fixed rank ladder Cvar having no action on plugin since last release
- Fixed player being awarded a kill on suicide
- Small fixes on weapon equip system
v0.7.12 06/04/2014:
- Enhanced spawn choice performance
- Correctly filtered spawn using SDK IsTriggered function and checking for point to be clear of player
- Spawn system can now be used on original map spawns using dm_normalspawn_internal Cvar
- Renamed Cvar dm_randomspawn_median_distance_ratio to dm_spawn_median_distance_ratio
- Added Cvar dm_spawn_min_team_distance_ratio to specify minimum spawn distance to teammates
- Added Cvar dm_normalspawn_los to anable LOS on normal (non random) spawns
- Internal spawn system will now try to spawn player were action happens
- Fixed dm_onlyhs that logged an error on c4 explosions
- Fixed c4 being stripped even if remove ojectives is 0
- Fixed DHooks extension not being optional
- DHooks extension can now be unloaded at runtime
v0.7.11 03/04/2014
Following enhancement need Dynamic Hooks extension https://forums.alliedmods.net/showthread.php?t=180114
- Enhance player DM spawn when mp_randomspawn is active and if custom DM spawns are available
- Spawn enhancement Line Of Sight can be enabled through mp_randomspawn_los
- Optimum Spawn distance between players is specified with randomspawn_median_distance_ratio (default 0.2)
Target spawn distance to other player = ratio * maximum distance between DM spawn points
Plugin will try to get as near as possible to this distance with LOS clear (if _los Cvar is 1)
- Fix a bug where one lucky player per team could keep its limited weapon after admin dm_weapon_limit
v0.7.10 31/03/2014
- Refactor of weapon handling, entities are now tracked using m_iHealth props (unused)
- Improved weapon reload performance an code maintainability
- Fixed first round configuration loading if a Mod was required for nextround during warmup
- dm_replenish_clip_headshot/knife now override dm_replenish_clip if set
- dm_zeus can now be -1 (inifinite taser), 0 no taser or > 0 for numbered taser shot
- Improved weapon equip after weapons choices
- Now properly handles knife and taser when re-equiping players
- When editing spawn points, editor is now invisible/god and won't blok other players BUT will be blocked by them
- Fixed players being partially stuck after spawning on some non-flat surfaces
- Fixed rankme ladder display being trucated whan HTML chars appeared in player's name
- Added advanced Cvars dm_entity_remove_plugin and dm_entity_remove_user to specify which entities shall be removed (Advanced users)
v0.7.9 23/03/2014
- Added dm_replenish_clip_headshot and dm_replenish_clip_knife Cvars
- Added dm_onlyhs_allowtaser Cvar
- Fixed a bug with dm_onlyhs_allownade that didn't worked
- Fixed a bug That would display error in log when loading 'Primary' and 'Secondary' sections
- Fixed a bug that would display weird char in hint if message text started with {CARRIAGE_RETURN}
- Enforced weapon limits after respawn command
v0.7.8 22/03/2014
- Added only headshot Cvars
- Fixed regression on HP reward that did not acounted knife or HS
- Added weapon control command dm_weapon_add/dm_weapon_remove/dm_weapon_limit
- Added option in 'SectionOptions': 'PlayerDisplay' which if non void define how section is displayed to player
If it is set to '', player won't be notified on section load
If ommitted, player will get the same name admin has (AdminMenuName, or section name)
- Added new Normal section 'WeaponAdd', 'WeaponRemove' to incrementaly add or remove weapons
- Weapon can now be specified withou 'weapon_' prefix (in both admin command and .ini
- Rename 'KeepedLoads' => 'KeptLoads', although fisrt one is still allowed for backward compatibility
v0.7.7 19/03/2014
- Improved performances by saving gun at death instead of spawning it at player spawn
- Added pragma '#LoadType' which can have values
. 'LockedLoads': Next loaded Cvars can't be overwritten
. 'UnlockedLoads': Next loaded Cvars can be overwritten (Default)
. 'KeepedLoads': Next loaded Cvars and messages won't be restored when admin loads a mod
. 'RestoredLoads': Next loaded Cvars and messages will be restored when admin loads a mod (Default)
- Cvars modified by plugin are now no longer notified to clients
- Fixes respawn functions that respawned spectators also
- Fixes respawn functions that could fail to respawn a player
- Enhanced weapon give for better performance and player experience
- Various improvements and recode
v0.7.6 16/03/2014
- Added cvar dm_gun_menu_triggers that list gun menu say triggers (default 'guns gns buy')
- Filtered gun menu display if client spectates
- Added 'KeepClientSettings' optional to 'LoadAsAMod'. If set, client weapon choices will not be reset when dm_load_mod loads this section
- Added workshop map support for both .ini file and spawn points
- Fixed incorrect warning when saving spawns whith only DM points
v0.7.5 15/03/2014
- Improved plugin performances by no longer killing then spawning knife at player spawn
- Added Cvar to remove Entities that may Give/remove weapons to player: dm_remove_map_weapons
- Suppressed C4 pickup message (Untested)
- Added new command and menu: dm_load_mod, which has the same behaviour as dm_load but does not unload previous configuration
- Added new Key for SectionOptions configuration 'LoadAsAMod', which allows to list the section in Modifier menu
- 'AdminMenuName' now treat '/' as a section seprator for building submenus
- Added new Key for Message sections: 'NoReDisplayTime', that will not display a message if already displayed displayed since less than that duration
- Tried to fix weapon menu appearing completely trasparent by delaying its display on spawn
v0.7.4 14/03/2014
- Improved performances
v0.7.3 14/03/2014
- Fixed section loading whilst not in warmup
v0.7.2 12/03/2014
- Fixed a bug that cause the spawn auto positionning to be far to heavy on steep slopes
- Improved admin menu readability
v0.7.1 11/03/2014
- Added Cvar dm_fast_equip that allows to fire instantly when a weapon is equiped by the plugin (1 by default)
- Added 'equip' option to dm_load that will not respawn players but will instantly equip weapon/armor/health/... after loading a section
- dm_load now shows activity in chat when used
- Fixed client that might have incorrect weapon when loading configuration
v0.7.0 09/03/2014
- Added a deathmatch admin menu (command sm_dm, or !dm in chat)
- Added dm_spawns_import command to retrieve original map spawns
- Added new configuration subsection content 'SectionOptions' that can have a 'AdminMenuName' value. If present, section will be loadable through admin menu
- Fixed 'dm_load [...] nextround' that now works correctly even if nextround is first round (after warmup)
- Fixed 'dm_load' that now properly revert previous configuration before loading
- Fixed potential infinite recursion when creating a spawn point at some inappropriate zones
v0.6.6 08/03/2014
- Fixed incorrect automatic spawn placement, at great processing power expense
- Fixed hint and chat during spawns creation that would show 0 map spawns in map if no user spawn exist
v0.6.5 03/02/2014
- Added Updater support https://forums.alliedmods.net/showthread.php?t=169095
- Added chat information for spawns editing + warning when saving with not enough point
- Added an indication in hint of each type of spawn count
- Vastly improved spawn automagic placement correction performance
- Restored ConVars after warmup are no longer notified to clients
v0.6.4 25/02/2014
- Added a check when creating a spawn. Spawn point is automagically positioned to the nearest suitable area if needed.
This function can get pretty heavy and cause serious lag when creating a spawn point on existing spanws!
- Added a check on available map spawn and user spawn count. If map spawn point count is not under user spawn count, user spawns are not loaded (error log gets all the needed info). This is to prevent a crash.
v0.6.3 23/02/2014
- Fixed a bug that could cause an infinite respawn loop after warmup (thanks to cyberdeath)
- Spawns are now only displayed to the issuer of dm_spawns_show command
- Minor fixes
v0.6.2 23/02/2014
- Fix 2 other possible source of crash and misbehavior in spawn system
v0.6.1 23/02/2014
- Fix spawn system that could crash the server
- Added offset when creating spawns to be able to spawn over props
v0.6 22/02/2014
- Added spawn point editing support using commands dm_spawns_show/dm_spawns_add/dm_spawns_delete/dm_spawns_save
- Optimized weapon infinite ammo to decrease CPU load
v0.5 17/02/2014
- Warmup can now be disabled by setting dm_warmup_time 0
- Any spawned weapon that is not assigned to a player will be removed
- Added new admin commands dm_respawn_dead and dm_load
v0.4.1 13/02/2014
- Added new pistol CZ75-Auto
v0.4 08/02/2014
- Display in hint a ladder based on RankMe stats on connected players
- Fix a duplicate bug at spawn or first connect
- Now display message for spectator also
- Fix gun menu being transparent at spawn
v0.3.1 25/01/2014
- Fixed C4 removal when dm_remove_objectives is true
- Some bug fixes with warmup and Messages
v0.3 21/01/2014
- Added dm_enable_random_menu (1 by default) to show the "Random" item in weapons menu
- Updated advertisement system
. Color tags can now be used for chat messages: {NORMAL}, {DARK_RED}, {PINK}, {DARK_GREEN}, {YELLOW}, {LIGHT_GREEN}, {LIGHT_RED}, {GRAY}, {ORANGE}, {LIGHT_BLUE}, {DARK_BLUE}, {PURPLE}
. {CARRIAGE_RETURN} can be used for Hint and Alert DisplayTarget
. Corrected wrong support of special char (removed UTF8 support for now)
. Recode and bug fixes
v0.2 19/01/2014
- Added translation support
- Added dm_hide_radar Cvar (1 by default)
v0.1-beta 19/01/2014:
- Initial release
Last edited by h3bus; 06-05-2017 at 05:08.
Reason: filling in "Options" fields that went away
|
|