Junior Member
|
07-28-2022
, 02:26
Re: [L4D & L4D2] Decoration For Witch Killer, Witch Guard
|
#78
|
Quote:
Originally Posted by Marttt
v.1.4.9.8
Change Log:- Added trophy effect when the Witch Guard is given. (Based on Silvers [L4D & L4D2] Achievement Trophy plugin)
- Added map and gamemode check to prevent the Witch Guard to be given.
- Removed "sm_witch" command.
- Added more cvars.
- Changed third-person detection to the Lux+Dragokas method.
- Added Witch Guard for kills with fire (e.g. Molotov).
- Fixed some invalid checks.
- Button for pickup the witch is now added through a timer 1.5 seconds later.
- Added progress bar while trying to put the witch down.
- If the client has some override glow it will be also applied to the witch, otherwise it will keep the default plugin glow.
- Added glowing to the witch on back.
- Removed dummy entity.
New admin command:
- Added "sm_givewitch" command to gives a Witch Guard to the target.
- Added "sm_witchoff" command to hide the Witch Guard.
- Added "sm_witchon" command to show the Witch Guard.
- Added "sm_witchpose2" command to change the owned Witch Guards pose.
New cvars:
- l4d_witch_guard_lose_in_death ⇨ Lose witch when player dies. 0 = Disable, 1 = Enable.
- l4d_witch_guard_lose_in_afk ⇨ Lose witch when player goes afk. 0 = Disable , 1 = Enable.
- l4d_witch_guard_prioritize_human_players ⇨ Prioritize human players. 0 = Disable, 1 = Enable.
- l4d_witch_guard_give_random ⇨ Give witch to a random player if the killer already has one. 0 = Disable, 1 = Enable.
- l4d_witch_guard_weapon_type ⇨ Weapon type given to the witch. 0 = Random, 1 = Assault Rifle, 2 = Hunting Rifle, 3 = Auto Shotgun.
- l4d_witch_guard_arc ⇨ The arc that the witch guard will search for targets.
- l4d_witch_guard_glowtype ⇨ The Witch Guard glow outline type.
- l4d_witch_guard_glowflashing ⇨ The Witch Guard will have a glow outline flashing.
- l4d_witch_guard_glowminrange ⇨ The minimum range that a client can be away from the Witch Guard until the glow starts to outline.
- l4d_witch_guard_glowmaxrange ⇨ The maximum range that a client can be away from the Witch Guard until the glow stops to outline.
- l4d_witch_guard_scoredamage ⇨ "Enables the Witch Guard hits and kills count as the owner.
- l4d_witch_guard_showbar ⇨ Shows a progress bar while putting the Witch Guard down (L4D2 only). 0 = Disable , 1 = Enable.
- l4d_witch_guard_bestpose_onback ⇨ 0: random pose, 1: best pose, 2: specific pose (uses pose_onback cvars)
- l4d_witch_guard_bestpose_ondown ⇨ 0: random pose, 1: best pose, 2: specific pose (uses pose_down cvars)
- l4d_witch_guard_pose_down ⇨ 0: off, 1-82: default witch pose while down. (l4d_witch_guard_bestpose_onback must be: 2)
- l4d_witch_guard_pose_onback ⇨ 0: off, 1-82: default witch pose while on back. (l4d_witch_guard_bestpose_onback must be: 2)
- l4d_witch_guard_bots ⇨ Allow bots to get Witch Guard 0 = Disable, 1 = Enable.
- l4d_witch_guard_chance ⇨ % chance to get a Witch Guard when a witch is killed.
- l4d_witch_guard_gamemodesoff ⇨ Turn off the plugin in these game modes, separate by commas (no spaces). Empty = none.\nKnown values: coop,realism,versus,survival,scavenge,teamver sus,teamscavenge,\nmutation[1-20],community[1-6],gunbrain,l4d1coop,l4d1vs,holdout,dash,shootz ones.
- l4d_witch_guard_gamemodeson ⇨ Turn on the plugin in these game modes, separate by commas (no spaces). Empty = all.\nKnown values: coop,realism,versus,survival,scavenge,teamver sus,teamscavenge,\nmutation[1-20],community[1-6],gunbrain,l4d1coop,l4d1vs,holdout,dash,shootz ones.
- l4d_witch_guard_gamemodestoggle ⇨ Turn on the plugin in these game modes.\nKnown values: 0 = all, 1 = coop, 2 = survival, 4 = versus, 8 = scavenge.\nAdd numbers greater than 0 for multiple options.\nExample: \3\, enables for \coop\ (1) and \survival\ (2).
- l4d_witch_guard_mapsoff ⇨ Prevent the plugin being loaded on these maps, separate by commas (no spaces). Empty = none.\nExample: \l4d_hospital01_apartment,c1m1_hotel\
- l4d_witch_guard_mapson ⇨ Allow the plugin being loaded on these maps, separate by commas (no spaces). Empty = all.\nExample: \l4d_hospital01_apartment,c1m1_hotel\
- l4d_witch_guard_mode ⇨ Criteria based on to give the Witch Guard. 0 = Last Hit, 1 = Most Damage.
- l4d_witch_guard_model ⇨ Witch model given on kill. 0 = Random, 1 = Model from killed witch.
- l4d_witch_guard_saferoom ⇨ Enables carrying the Witch Guard across maps when reaches alive to the saferoom with it on back. Removes on map change. 0 = Disable, 1 = Enable.
- l4d_witch_guard_weapon_type ⇨ Weapon type given to the witch. 0 = Random, 1 = Assault Rifle, 2 = Hunting Rifle, 3 = Auto Shotgun.
Notes: - Splitted "l4d_witch_onback_bestpose" cvar into "l4d_witch_guard_bestpose_onback" / "l4d_witch_guard_bestpose_ondown".
- Saferoom cvar sometimes bugs and gives a Witch to a random person.
I also made a tank guard plugin that is similar to this one, if anyone is interested, PM me.
|
sourcemod
Version 1.1.1 before shooting?
|
|