AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [L4D2] Witch Control (https://forums.alliedmods.net/showthread.php?t=125591)

DJ_WEST 04-30-2010 06:55

[L4D2] Witch Control
 
3 Attachment(s)
[L4D2] Witch Control

Version: 1.3



Description:
The plugin allows infected players to take control of a witch. Aim to it and press USE button (default E). You can sit down and get up witch by press DUCK button (default CTRL). Also you can lose control of the witch by press USE button.
You can't control a witch when she was scared.

Witch features:
  • Walk and turn
  • Sit down and get up
  • Сlimb on the ladders
  • Fall from height
  • Jump
  • Attack

Video

Cvars:
Quote:

l4d2_witch_speed - witch speed (default: 2.0) (range: 1.0-5.0).

l4d2_witch_take_mode - mode of taking control of a witch (default: 2)
0 - only alive infected
1 - only ghost infected
2 - alive and ghost infected

l4d2_witch_message_type - message type (default: 3)
0 - disable
1 - chat
2 - hint
3 - instructor hint

l4d2_witch_attack - witch attack ability (deafult: 1)
0 - disable
1 - enable
Installation:
1. Download the "l4d2_witch_control.smx" and put into your "addons\sourcemod\plugins" directory.
2. Download the "l4d2_witch_control.txt" and put into your "addons\sourcemod\gamedata" directory.
3. Download the "translations.zip" and extract into your "addons\sourcemod" directory.

Credits:
V10 for the "SetClass" signature

Translations:
  • en - AtomicStryker
  • ru - DJ_WEST
  • de - AtomicStryker
  • pl - kwski43

Changelog:
Quote:

1.3:
  • Fixed error in RemoveWitchControl() function
  • Fixed the game instructor function (l4d2_witch_message_type 3), now cvar gameinstructor_enable set 0 correctly on the players
  • Added witch attack ability (MOUSE1)
  • Added witch jump ability (SPACE)
  • Added witch ability to turn left or right when are you sitting
  • Added new cvar l4d2_witch_attack
  • Fixed bug when burning infected tried to take witch and players see fire effect on the witch, thanks DarrenToh
  • Fixed bug when player set witch on fire, now you can't control witch if she burning, thanks DarrenToh
1.2:
  • Fixed bug when a person is in control of a witch and a tank spawns, thanks DarrenToh
  • Fixed error when the plugin sets gameinstructor_enable to 1 every time if l4d2_witch_message_type != 3, thanks kwski43
  • Fixed bug when all the survivors die while a player is controlling the witch, that player in next round will either suddenly die or be stuck, thanks crazydog
  • Added "pl" translation, thanks kwski43
1.1:
  • Fixed bug when players can see a hunter model, thanks dani1341
  • Updated translations, thanks AtomicStryker
1.0:
  • Initial Release


ellis 04-30-2010 07:15

Re: [L4D2] Witch Control
 
really awesome dj_west!! :up:

DarrenToh 04-30-2010 09:18

Re: [L4D2] Witch Control
 
I LOVE YOU!

dani1341 04-30-2010 09:21

Re: [L4D2] Witch Control
 
Finally :)

FuzzOne 04-30-2010 09:25

Re: [L4D2] Witch Control
 
i dont belive O_O
A plugins that finally do it!

Maxunit 04-30-2010 09:31

Re: [L4D2] Witch Control
 
Can it be done to FULLY control her? Like even attack on your own etc?

EHG 04-30-2010 09:33

Re: [L4D2] Witch Control
 
Very interesting. Good job.
I bet you could use the same method to control common infected.

It would be cool to be able to control common infected while waiting for special infected respawn timer.

Visual77 04-30-2010 09:52

Re: [L4D2] Witch Control
 
Wow, what a mod. Nice one. Can you add the IN_RELOAD button aswell?
And add a cvar if you want the USE button or the RELOAD button?

Cookies 04-30-2010 10:26

Re: [L4D2] Witch Control
 
Hmm nice works well


EDIT: is there gonna be a way to control even after startaled in future with a cvar to turn it on off maybe :-)

DJ_WEST 04-30-2010 11:00

Re: [L4D2] Witch Control
 
Quote:

hmm is there anyway to stop the l4d2_witch_message_type 3 - instructor hint as it seems to be bringing up the instructor hint for everything even things like picking up med kicks melees hurting team m8's ect
gameinstructor_enable "0"
Quote:

Can it be done to FULLY control her? Like even attack on your own etc?
It can, but it will be difficult, because the witch also do actions on different events, written by developers for her. Besides, it will be a very disbalanced to the survivors, because the witch has a strong attacks.
I just had the idea to do attack for witch (like a hunter mouse2 attack) to break objects (like doors).
Quote:

Wow, what a mod. Nice one. Can you add the IN_RELOAD button aswell?
And add a cvar if you want the USE button or the RELOAD button?
You can do it by self. Replace IN_USE with IN_RELOAD.


All times are GMT -4. The time now is 10:49.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.