AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [L4D & L4D2] MultiWitches v1.3 (https://forums.alliedmods.net/showthread.php?t=138553)

McFlurry 09-19-2010 13:05

[L4D & L4D2] MultiWitches v1.3
 
5 Attachment(s)
Well I've always wanted more witches in my game so I created a little something to spawn witches per witch.

Cvars:
auto created config by the name of l4d_multiwitches
PHP Code:

// This file was auto-generated by SourceMod (v1.4.0)
// ConVars for plugin "l4d_multiwitches.smx"


// Enable or Disable this plugin?
// -
// Default: "1"
l4d_multiwitches_enable "1"

// Which gamemodes allow extra witches
// -
// Default: "coop,realism,versus,teamversus"
l4d_multiwitches_modes "coop,realism,versus,teamversus"

// How many extra witches to create?
// -
// Default: "1"
l4d_multiwitches_witches "1" 

Note: Just because the plugin fires "z_spawn witch auto" doesn't mean a witch is guaranteed to be spawned, sometimes the director wont find a spot to place the witch. Sometimes witches aren't allowed to spawn. :wink:

Changelog:

1.0 - Initial Release

1.0 - Re-release: Source must have gotten corrupted because the cvars were being listed with l4d2_ as the prefix instead of l4d_

1.1 - Fixed to work with The Sacrifice as ServerCommand seems to be broken at the time of this post(10/8/10)

1.2 - Temporary fix for versus and teamversus, witches during the daytime will work fine but sitting down witches will spawn on top of each other til I get some more time to fix that. Coop will work as before

1.3 - Updated code to be easier to read. Cvar handles are invalidated when created. Debug now prints to server console as well. Crashes will no longer happen. Should work with versus now.

delirium_trigger 09-19-2010 13:25

Re: [L4D & L4D2] MultiWitches
 
Now every map can be just like the Mill Town in Hard Rain!!! This will make players freak

Ja-Forces 09-19-2010 14:26

Re: [L4D & L4D2] MultiWitches
 
http://forums.alliedmods.net/showthread.php?t=137431 so?

McFlurry 09-19-2010 14:32

Re: [L4D & L4D2] MultiWitches
 
Yours uses a timer mine is simply a derivative that uses the witch_spawn event instead of timed spawns.

loraliromance 10-08-2010 08:06

Re: [L4D & L4D2] MultiWitches
 
Hey there!

This doesn't seem to be working for me >.<

i was super excited!

In my server.cfg I have

sm_cvar versus_tank_chance_intro 1
sm_cvar versus_tank_chance_finale 1
sm_cvar versus_tank_chance 1
sm_cvar versus_witch_chance_intro 0
sm_cvar versus_witch_chance_finale 0
sm_cvar versus_witch_chance 1


Mostly cause I want tanks every level, too bad they can't have both without being glitchy!

Either way every level but the first and the last a witch spawned but no additional witches at all :(

Any idea what the problem is?

I set the additional witch spawn to 2 in the multiwitches.cfg.

<3

thanks for the help :)

McFlurry 10-08-2010 23:59

Re: [L4D & L4D2] MultiWitches v1.1
 
The problem is that ServerCommand appears to be broken right now. I updated it to find the first client in can find and execute the command on them as FakeClientCommand.

loraliromance 10-09-2010 00:28

Re: [L4D & L4D2] MultiWitches v1.1
 
Awesome, thanks.

I installed the new version and I'm about to give it a go and see how it works :)

loraliromance 10-09-2010 03:32

Re: [L4D & L4D2] MultiWitches v1.1
 
I just played The sacrifice, no additional witches seemed to spawn when the value was set at 2.
I'm setting it at 1 and trying an original L4D2 map and seeing what happens.


*EDIT*


Now for some reason on Dead Center I got no witches at all =/

McFlurry 10-09-2010 13:22

Re: [L4D & L4D2] MultiWitches v1.1
 
1 Attachment(s)
Try using this debug version. It will tell you whenever a witch is created in chat. The amount of witches created should be 1 + l4d_extra_witches
It works for me so I can't be sure what the problem is.

Elektramode 10-09-2010 13:50

Re: [L4D & L4D2] MultiWitches v1.1
 
the floating giraffe is hypnotic


All times are GMT -4. The time now is 13:01.

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