Raised This Month: $32 Target: $400
 8% 

[L4D & L4D2] Auto Infected Spawner


Post New Thread Reply   
 
Thread Tools Display Modes
bazrael
Senior Member
Join Date: Jan 2010
Location: Where Lucy became superw
Old 04-11-2016 , 11:07   Re: [L4D & L4D2] Auto Infected Spawner
Reply With Quote #71

Quote:
Originally Posted by Munch View Post
I know its a bit late and you probably figured it out by now but ive only just noticed your question
I know it's not too late to thank you for plain explanation. Another question is from your post.
PHP Code:
bind "q" "sm_cheat z_spawn <special> auto" //sourcemod said sm_cheat was unknown command. 
Could I spawn a tank anytime beyond survivor's field of view with AIS plugin?
--04.19--
Thanks for answer.

Last edited by bazrael; 04-18-2016 at 16:51. Reason: Reply
bazrael is offline
Munch
Senior Member
Join Date: May 2012
Location: Liverpool UK
Old 04-12-2016 , 08:09   Re: [L4D & L4D2] Auto Infected Spawner
Reply With Quote #72

This "sm_cheat z_spawn <special> auto" command is part of the "New Custom Commands" Plugin and is nothing to do with the Auto Infected Spawner. I have a version here with 2 updated signatures.

Incidentally there are 2 versions of this command:
"sm_cheat z_spawn <special> auto" spawns specials out of sight of players, however its hard to tell if you spawned, the director or the AIS.
"sm_cheat z_spawn <special> area" spawns specials at your cursor, much more fun to use like spawning a boomer behind your friends back or right in there face.
__________________
Dead Men Fighting L4D2 8 Man Dead Men Fighting UK
Munch is offline
bazrael
Senior Member
Join Date: Jan 2010
Location: Where Lucy became superw
Old 07-07-2016 , 07:17   Re: [L4D & L4D2] Auto Infected Spawner
Reply With Quote #73

I found there was a weird bug in current AIS plugin. (Sep 15th, 2014)

Currently newest version will stop spawning the special infected because of unknown reason. Suddenly no special infected spawns during current level, only common infected, witch and tank appear. Even if trying to unload plugin and refresh, disable "l4d2_ais_enabled" and enable again, this issue still can't solve. However it goes back to normal at next level.

Fortunately I keep older version of AIS which released by Munch on Dec 2th, 2013. This older version won't happen above issue but I didn't save *.sp for backup. His original post was modified and replaced with another "spawn 28 specials" newer version. I checked this and the file of first post. They are almost the same content except the version of first post removed warning message of startling witch.

Has anyone got the same issue?
--07.28--
Appreciate your help. I'll test normal version for a while and see whether above issue still exists.

Last edited by bazrael; 07-27-2016 at 23:51. Reason: Reply
bazrael is offline
Munch
Senior Member
Join Date: May 2012
Location: Liverpool UK
Old 07-11-2016 , 12:52   Re: [L4D & L4D2] Auto Infected Spawner
Reply With Quote #74

I'm currently using 3 different versions of this plugin

l4d2_autoIS.sp Normal version and probably the version you didn't backup

The following 2 are based on Fuzzone's code. Unfortunately he's been inactive for nearly 2 years so didn't expand on his version. So I've been playing around with it, Hoping to replace his code with CVARS but dont expect it soon as I've got plenty of other commitments to sort out

These are easily modified for more than 8 players (just add an extra "case" for each additional player) read code at line 860 to understand what going on (easily understood) only downside is you need to compile for every change you make. Pretty much any CVAR can be added the only thing you need to know is the difference between CVAR'S that use whole numbers and those that are fractions.

example:
SetConVarInt(FindConVar("z_common_limit"), 50);
SetConVarFloat(FindConVar("z_wandering_densit y"), 0.01);

in other words:
SetConVarInt is whole numbers 2, 77, 1300 ect
SetConVarFloat is for fractions 1.3 2.750 35.5 ect


l4d2_Auto_Insanity.sp (Test this version on my No6 link below. Obviously you will need players joining leaving and dying to see the difference)
Modified version for 8 players. More players = More & harder everything.

l4d2_autoIS_SIonly.sp (Test this version on my No5 link below. Obviously you will need players joining leaving and dying to see the difference)
And the last one is a special Special Infected only version (essentially its versus with all 8 players on the survivors team. This with considerably more Specials will seriously test your reflexes) Again like the Auto Insanity version More players = More SI with decreasing spawn times. read code at line 860 to understand what going on.

Incidentaly the version's i use where compiled with sm1.62 havn't tried latest version so I hope these work.
Attached Files
File Type: sp Get Plugin or Get Source (l4d2_autoIS.sp - 1134 views - 36.8 KB)
File Type: sp Get Plugin or Get Source (l4d2_autoIS_SIonly.sp - 1054 views - 45.9 KB)
__________________
Dead Men Fighting L4D2 8 Man Dead Men Fighting UK

Last edited by Munch; 07-17-2016 at 14:39. Reason: removed autoinsanity due to error replaced with 1 below
Munch is offline
Munch
Senior Member
Join Date: May 2012
Location: Liverpool UK
Old 07-11-2016 , 16:20   Re: [L4D & L4D2] Auto Infected Spawner
Reply With Quote #75

Due to errors in logs as a result of removing a few unused cvarsI've upload this version which I was using up until a few hours ago
Attached Files
File Type: sp Get Plugin or Get Source (l4d2_Auto_Insanity.sp - 1369 views - 51.2 KB)
__________________
Dead Men Fighting L4D2 8 Man Dead Men Fighting UK
Munch is offline
bazrael
Senior Member
Join Date: Jan 2010
Location: Where Lucy became superw
Old 08-07-2016 , 21:49   Re: [L4D & L4D2] Auto Infected Spawner
Reply With Quote #76

Quote:
Originally Posted by Munch View Post
l4d2_autoIS.sp Normal version and probably the version you didn't backup
This version hasn't occurred the problem that special infected stop spawning, but it won't obey my config settings like l4d2_ais_time_min "25.0" and l4d2_ais_[special infected]_limit "1". Sometimes it seems to spawn 2 identical special infected simultaneously or in few seconds.
bazrael is offline
Munch
Senior Member
Join Date: May 2012
Location: Liverpool UK
Old 08-28-2016 , 04:50   Re: [L4D & L4D2] Auto Infected Spawner
Reply With Quote #77

I have had same issue occasionally however i cant say for sure whether this plugin is the cause. Maybe its a conflict with another plugin.
__________________
Dead Men Fighting L4D2 8 Man Dead Men Fighting UK
Munch is offline
Arthedains
Junior Member
Join Date: Nov 2016
Location: Europe
Old 01-03-2017 , 19:06   Re: [L4D & L4D2] Auto Infected Spawner
Reply With Quote #78

Quote:
Originally Posted by bazrael View Post
This version hasn't occurred the problem that special infected stop spawning, but it won't obey my config settings like l4d2_ais_time_min "25.0" and l4d2_ais_[special infected]_limit "1". Sometimes it seems to spawn 2 identical special infected simultaneously or in few seconds.
I looked in the .sp file and it said this:

//never directly set hSpawnTimer, use this function for custom spawn times

Actually, I noticed that some convars seem to be either overlooked or overwritten by this plugin. The only solution seems to be to either fix it, which I unfortunately can't, or to edit the .sp file. I tried to stop the new specials from spawning by editing the files and it worked. I still need to change some values though.

Last edited by Arthedains; 01-03-2017 at 19:15.
Arthedains is offline
phoenix0001
Senior Member
Join Date: Apr 2010
Location: China
Old 09-17-2017 , 11:53   Re: [L4D & L4D2] Auto Infected Spawner
Reply With Quote #79

Quote:
Originally Posted by Munch View Post
I'm currently using 3 different versions of this plugin

l4d2_autoIS.sp Normal version and probably the version you didn't backup

The following 2 are based on Fuzzone's code. Unfortunately he's been inactive for nearly 2 years so didn't expand on his version. So I've been playing around with it, Hoping to replace his code with CVARS but dont expect it soon as I've got plenty of other commitments to sort out

These are easily modified for more than 8 players (just add an extra "case" for each additional player) read code at line 860 to understand what going on (easily understood) only downside is you need to compile for every change you make. Pretty much any CVAR can be added the only thing you need to know is the difference between CVAR'S that use whole numbers and those that are fractions.

example:
SetConVarInt(FindConVar("z_common_limit"), 50);
SetConVarFloat(FindConVar("z_wandering_densit y"), 0.01);

in other words:
SetConVarInt is whole numbers 2, 77, 1300 ect
SetConVarFloat is for fractions 1.3 2.750 35.5 ect


l4d2_Auto_Insanity.sp (Test this version on my No6 link below. Obviously you will need players joining leaving and dying to see the difference)
Modified version for 8 players. More players = More & harder everything.

l4d2_autoIS_SIonly.sp (Test this version on my No5 link below. Obviously you will need players joining leaving and dying to see the difference)
And the last one is a special Special Infected only version (essentially its versus with all 8 players on the survivors team. This with considerably more Specials will seriously test your reflexes) Again like the Auto Insanity version More players = More SI with decreasing spawn times. read code at line 860 to understand what going on.

Incidentaly the version's i use where compiled with sm1.62 havn't tried latest version so I hope these work.
How to add difficulty?
such as
case 1=Easy (z_difficulty Easy)
case 4=Normal (z_difficulty Normal)
case 8=Hard (z_difficulty Hard)
case 12=Impossible (z_difficulty Impossible)
PHP Code:
        {
            case 
1:
            {
               
SILimit 1;
               
SpawnTimeMin 60.0;
               
SpawnTimeMax 90.0;
               
SpawnSize 1;
           
               
SpawnLimits[SI_BOOMER] = 1;
               
SpawnLimits[SI_HUNTER] = 1;
               
SpawnLimits[SI_SMOKER] = 1;
               
SpawnLimits[SI_CHARGER] = 1;
               
SpawnLimits[SI_JOCKEY] = 1;
               
SpawnLimits[SI_SPITTER] = 1;
               
SpawnLimits[SI_TANK] = 1;
               
WitchLimit = -1;
               
WitchPeriod 760.0;

               
SetConVarInt(FindConVar("z_exploding_health"), 25);
               
SetConVarInt(FindConVar("z_charger_health"), 150);
               
SetConVarInt(FindConVar("z_hunter_health"), 60);
               
SetConVarInt(FindConVar("z_jockey_health"), 25);
               
SetConVarInt(FindConVar("z_gas_health"), 60);
               
SetConVarInt(FindConVar("z_spitter_health"), 40);
               
SetConVarInt(FindConVar("z_tank_health"), 1000);

               
SetConVarInt(FindConVar("survivor_speed"), 210);

               
SetConVarInt(FindConVar("z_background_limit"), 10);
               
SetConVarInt(FindConVar("z_common_limit"), 25);

               
SetConVarInt(FindConVar("z_mob_spawn_min_interval_easy"), 130);
               
SetConVarInt(FindConVar("z_mob_spawn_min_interval_normal"), 120);
               
SetConVarInt(FindConVar("z_mob_spawn_min_interval_hard"), 110);
               
SetConVarInt(FindConVar("z_mob_spawn_min_interval_expert"), 100);

               
SetConVarInt(FindConVar("z_mob_spawn_max_interval_easy"), 260);
               
SetConVarInt(FindConVar("z_mob_spawn_max_interval_normal"), 240);
               
SetConVarInt(FindConVar("z_mob_spawn_max_interval_hard"), 220);
               
SetConVarInt(FindConVar("z_mob_spawn_max_interval_expert"), 200);

               
SetConVarInt(FindConVar("z_mega_mob_spawn_min_interval"), 440);
               
SetConVarInt(FindConVar("z_mega_mob_spawn_max_interval"), 600);
               
SetConVarInt(FindConVar("z_mega_mob_size"), 30); 
__________________
I like this BBS sharing of spirit

I come from China, my English is poor

Last edited by phoenix0001; 09-18-2017 at 22:57.
phoenix0001 is offline
phoenix0001
Senior Member
Join Date: Apr 2010
Location: China
Old 09-29-2017 , 23:02   Re: [L4D & L4D2] Auto Infected Spawner
Reply With Quote #80

PHP Code:
            case 1:
            {
               
SILimit 1;
               
SpawnTimeMin 60.0;
               
SpawnTimeMax 90.0;
               
SpawnSize 1;
           
               
SpawnLimits[SI_BOOMER] = 1;
               
SpawnLimits[SI_HUNTER] = 1;
               
SpawnLimits[SI_SMOKER] = 1;
               
SpawnLimits[SI_CHARGER] = 1;
               
SpawnLimits[SI_JOCKEY] = 1;
               
SpawnLimits[SI_SPITTER] = 1;
               
SpawnLimits[SI_TANK] = 1;
               
WitchLimit = -1;
               
WitchPeriod 760.0
How to increase the tank can be the same as witch refresh time Want to increase the number of tanks
WitchLimit = -1;
WitchPeriod = 760.0;
__________________
I like this BBS sharing of spirit

I come from China, my English is poor
phoenix0001 is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


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