Raised This Month: $ Target: $400
 0% 

[REQ] [L4D2] Tank speeds up SI Spawn Time


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
DarkWolff
Junior Member
Join Date: Jan 2010
Old 07-16-2010 , 14:15   [REQ] [L4D2] Tank speeds up SI Spawn Time
Reply With Quote #1

I'm looking for a plugin that speeds up the SI respawn timer whenever a tank is out. Is there anyone interested in making this plugin?
DarkWolff is offline
IronWarrior
Veteran Member
Join Date: Jan 2010
Old 07-16-2010 , 14:46   Re: [REQ] [L4D2] Tank speeds up SI Spawn Time
Reply With Quote #2

Nice idea, I like.
IronWarrior is offline
Jon
Veteran Member
Join Date: Dec 2007
Old 07-16-2010 , 14:55   Re: [REQ] [L4D2] Tank speeds up SI Spawn Time
Reply With Quote #3

Something like this

Code:
#include <sourcemod> #define SPAWN_INTERVAL_TANK 10 #define SPAWN_INTERVAL_NORMAL 20 new Handle:g_cvarSpawnInterval = INVALID_HANDLE public Plugin:myinfo = {     name = "Faster Spawns",     author = "Jon",     description = "Reduces spawn time for special infected during tank",     version = "1.0" } public OnPluginStart( ) {     g_cvarSpawnInterval = FindConVar( "versus_special_respawn_interval" )     HookEvent( "tank_spawn", TankSpawn )     HookEvent( "tank_killed", TankKilled )     HookEvent( "round_end", RoundEnd ) } public Action:TankSpawn( Handle:event, const String:name[], bool:dontBroadcast )     SetConVarInt( g_cvarSpawnInterval, SPAWN_INTERVAL_TANK ) public Action:TankKilled( Handle:event, const String:name[], bool:dontBroadcast )     SetConVarInt( g_cvarSpawnInterval, SPAWN_INTERVAL_NORMAL )     public Action:RoundEnd( Handle:event, const String:name[], bool:dontBroadcast )     SetConVarInt( g_cvarSpawnInterval, SPAWN_INTERVAL_NORMAL )
Jon is offline
dirka_dirka
Veteran Member
Join Date: Nov 2009
Old 07-16-2010 , 16:16   Re: [REQ] [L4D2] Tank speeds up SI Spawn Time
Reply With Quote #4

that might work when theres only 1 tank alive..
but if this is used on c3m4_plantation coop, or in any survival game, or on any custom server with multiple tanks.. it will get confused until the round ends. need to check if there are any other tanks alive when 1 tank dies before reverting it to normal.
dirka_dirka is offline
Jon
Veteran Member
Join Date: Dec 2007
Old 07-16-2010 , 16:47   Re: [REQ] [L4D2] Tank speeds up SI Spawn Time
Reply With Quote #5

Was intented for 4v4 vs
Jon is offline
DarkWolff
Junior Member
Join Date: Jan 2010
Old 07-18-2010 , 18:28   Re: [REQ] [L4D2] Tank speeds up SI Spawn Time
Reply With Quote #6

Thanks! Gonna try it out shortly.
DarkWolff is offline
Reply



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 13:44.


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