View Single Post
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Old 05-09-2019 , 12:32   Re: [L4D & L4D2] Decoration For Witch Killer, Witch Guard
Reply With Quote #36

Fork from Dragokas version

v1.4.1
  • Added "pt" and "es" translations. ("phrases" file can also be used in 1.4.0)
  • Created a new ConVar: l4d_witch_guard_steal - Enables/Disables other clients to steal(pick up) a Witch from other owners while on the ground. 0 = Disable, 1 = Enable.
    (Note: default "0" => disabled, gonna print "Steal_Witch" message to the activator.)
  • Replaced pipebomb model for the already precached molotov.

Fork from Dragokas version + v1.4.1 (v.1.4.2)

v1.4.2
  • Increased the time to "put down" the Witch into 0.5s, now it takes 1.5s seconds. (same time as the pickup action)
    (Note: changed to prevent "unwanted" spawns while using the "USE" button to do other actions.)
  • *Added a check to Witch don't be "put down" during "USE" actions. (L4D1: reviving a teammate / L4D2: reviving a teammate, starting generator, filling up with gas can, etc)
    (Note: If you hold the "USE" button during 1.5s, after the previous action ends, the Witch will still gonna be "put down".)

Fork from Dragokas version + v1.4.2 (v.1.4.3)

v.1.4.3
  • Created a new ConVar "l4d_witch_guard_spriteowner" - Show/Hide the sprite indicating which Witch in the ground is from the owner. 0 = Hide, 1 = Show.
    (Note: Will add a gray arrow sprite above the Witch's head only for the owner.)
  • Updated the translations file "Steal_Witch" section, to show the Witch's owner name.

Fork from Dragokas version + v1.4.3 (v.1.4.4)

v.1.4.4 (attached)
  • Added check to "m_useActionTarget" prop only on L4D2. (thanks to "Dragokas")

Special thanks to:
  • Dragokas, for the Fork.
  • MasterMind420, for his "Heal fixes" plugin. (which helped me to find a way to block the witch "put down" during "USE" actions)
  • Mi.Cura, for testing.
  • Crasher_3637, for reviewing some of my coding errors.
Attached Files
File Type: txt witch_guard.phrases.txt (4.2 KB, 84 views)
File Type: sp Get Plugin or Get Source (witch_guard_l4d.sp - 311 views - 29.0 KB)
__________________

Last edited by Marttt; 06-08-2019 at 11:00.
Marttt is offline