Raised This Month: $ Target: $400
 0% 

[L4D2] Standardized Revamp Structure (srsmod)


Post New Thread Reply   
 
Thread Tools Display Modes
AtomicStryker
Veteran Member
Join Date: Apr 2009
Location: Teutonia!!
Old 01-12-2011 , 05:36   Re: [L4D2] Standardized Revamp Structure (srsmod)
Reply With Quote #451

By the way heres another little tweak of mine. Teetasse put it into his confogl addition plugin but why shouldn't everyone get the joy?


It finally makes the Survivors not hear Infected ghosts jumping around. Infected hear themselves just fine.

PHP Code:
#pragma semicolon 1
#include <sourcemod>
#include <sdktools>

static const String:INFECTED_FALL_SOUND[]    = "player/jumplanding_zombie.wav";
static const        
TEAM_INFECTED            3;

public 
OnPluginStart()
{
    
AddNormalSoundHook(NormalSHook:SoundHook);
}

public 
Action:SoundHook(clients[64], &numClientsString:sample[PLATFORM_MAX_PATH], &entity)
{
    if (
StrEqual(sampleINFECTED_FALL_SOUND))
    {
        
numClients 0;
    
        for (new 
1<= MaxClientsi++)
        {
            if (
IsClientInGame(i)
            && !
IsFakeClient(i)
            && 
GetClientTeam(i) == TEAM_INFECTED)
            {
                
clients[numClients] = i;
                
numClients++;
            }
        }
        
        return 
Plugin_Changed;
    }
    
    return 
Plugin_Continue;

Attached Files
File Type: sp Get Plugin or Get Source (l4d_inaudible_ghosts.sp - 648 views - 695 Bytes)
AtomicStryker is offline
GanjaStar
Senior Member
Join Date: Jun 2009
Old 01-12-2011 , 11:21   Re: [L4D2] Standardized Revamp Structure (srsmod)
Reply With Quote #452

aweosme stuff both the melee second hand fix and ghost steps removal

i didn't think my server could be more perfect, but it just is
GanjaStar is offline
fpsbrian
Senior Member
Join Date: Feb 2008
Old 01-16-2011 , 23:10   Re: [L4D2] Standardized Revamp Structure (srsmod)
Reply With Quote #453

For some reason I'm still having problems with med kits...

I want there to be 4 med kits in spawn
50% of med kits in the map to be removed and 50% replaced with pills
and 4 med kits at the finale for both teams.
__________________
fpsbrian is offline
AtomicStryker
Veteran Member
Join Date: Apr 2009
Location: Teutonia!!
Old 01-17-2011 , 03:43   Re: [L4D2] Standardized Revamp Structure (srsmod)
Reply With Quote #454

Posting your config would allow people to actually help you
AtomicStryker is offline
fenghf
Member
Join Date: Apr 2010
Old 01-23-2011 , 08:58   Re: [L4D2] Standardized Revamp Structure (srsmod)
Reply With Quote #455

What is the problem? L4D1
Click image for larger version

Name:	1233.jpg
Views:	230
Size:	53.9 KB
ID:	80987
Click image for larger version

Name:	123.jpg
Views:	197
Size:	50.5 KB
ID:	80986
fenghf is offline
fenghf
Member
Join Date: Apr 2010
Old 01-23-2011 , 09:49   Re: [L4D2] Standardized Revamp Structure (srsmod)
Reply With Quote #456

Quote:
Originally Posted by AtomicStryker View Post
The first rotoblin bug is about its item component for some reason trying to turn lamps into weapons (LOLOLOL)

The second is no bug but an absolutely clueless user

As mentioned before, srsmods Item module does not set the model. It only creates an Entity of class weapon_ammo_spawn. L4D1 itself then tries to give it a model it hasnt precached. GJ VALVE


Here use this to fix it

PHP Code:
#pragma semicolon 1
#include <sourcemod>
#include <sdktools>

static const String:BUG_MODEL[] = "models/props/terror/Ammo_Can.mdl";

public 
OnPluginStart()
{
    
HookEvent("round_start"Event_RoundStart);
}

public 
Action:Event_RoundStart(Handle:event, const String:name[], bool:dontBroadcast)
{
    if (!
IsModelPrecached(BUG_MODEL))
    {
        
PrecacheModel(BUG_MODEL);
    }

Click image for larger version

Name:	222.jpg
Views:	203
Size:	32.6 KB
ID:	80991
fenghf is offline
ellis
Senior Member
Join Date: Apr 2010
Old 01-31-2011 , 15:17   Re: [L4D2] Standardized Revamp Structure (srsmod)
Reply With Quote #457

atomic have you found a way to fix the bug with the item limiter?
btw. theres a small bug in the melee limit plugin, when you choose a other variable than 1 to restrict the melee ( example 2 melee )
Than he say ingame:

Maximum number of 0 melee weapon(s) is enforced.
ellis is offline
ellis
Senior Member
Join Date: Apr 2010
Old 01-31-2011 , 15:22   Re: [L4D2] Standardized Revamp Structure (srsmod)
Reply With Quote #458

Quote:
Originally Posted by fenghf View Post
What is the problem? L4D1
in l4d1 is a strange bug with the ammo spawn, you cannot remove ammo spawns from the game, so delete the line from your srsmod.cfg

the other bug on the screen with the weapon, in the second round tier2 weapon magically dissapear.

it needs only to add a little delay for the l4d1 version for weapons and the bug is history
ellis is offline
AtomicStryker
Veteran Member
Join Date: Apr 2009
Location: Teutonia!!
Old 01-31-2011 , 20:23   Re: [L4D2] Standardized Revamp Structure (srsmod)
Reply With Quote #459

Except the weapon respawning already is delayed by an arbitrary value (i think its 1,5 seconds) and i simply dont know what is causing the problem. I am also unwilling to install l4d1 and invest a lot of time to track that bug down.


Ask Mr. Zero if he knows of this, if he posts a solution i'll include it.
AtomicStryker is offline
Thaliya
New Member
Join Date: Feb 2010
Old 02-05-2011 , 22:28   Re: [L4D2] Standardized Revamp Structure (srsmod)
Reply With Quote #460

Ive got the following problem, there is no tank spawning and the player who gets switched cant move and the pings increase to about 200ms. Only way to play again is changing the map.
Quote:
L 02/06/2011 - 04:19:03: [srs.main.smx] L4D_OnSpawnTank fired, checking Spawning Spot for [Bot] reachability
L 02/06/2011 - 04:19:03: [srs.main.smx] No Bot present, swapping [DE]GoNoobGo to Spec to get one
L 02/06/2011 - 04:19:03: [srs.main.smx] IR_PlayerFirstSpawn
L 02/06/2011 - 04:19:03: [srs.main.smx] SurvivorBot::IsReachable(Vector const&) being called, target Ellis
L 02/06/2011 - 04:19:03: [srs.main.smx] Now attempting to get the human back into his Survivor
L 02/06/2011 - 04:19:03: [srs.main.smx] Tank Spawn deemed reachable, continue
L 02/06/2011 - 04:19:03: [srs.main.smx] L4D_OnSpawnTank fired, checking Spawning Spot for [Bot] reachability
L 02/06/2011 - 04:19:03: [srs.main.smx] No Bot present, swapping [DE]GoNoobGo to Spec to get one
L 02/06/2011 - 04:19:03: [srs.main.smx] IR_PlayerFirstSpawn
L 02/06/2011 - 04:19:03: [srs.main.smx] SurvivorBot::IsReachable(Vector const&) being called, target Ellis
L 02/06/2011 - 04:19:03: [srs.main.smx] Now attempting to get the human back into his Survivor
L 02/06/2011 - 04:19:03: [srs.main.smx] Tank Spawn deemed reachable, continue
L 02/06/2011 - 04:19:03: [srs.main.smx] L4D_OnSpawnTank fired, checking Spawning Spot for [Bot] reachability
L 02/06/2011 - 04:19:03: [srs.main.smx] No Bot present, swapping [DE]GoNoobGo to Spec to get one
L 02/06/2011 - 04:19:03: [srs.main.smx] IR_PlayerFirstSpawn
Quote:
04:26:20 [SM] Listing 31 plugins:
01 "L4D Broadcast" (0.9.7) by Voiderest
02 "Basic Chat" (1.4.0-dev) by AlliedModders LLC
03 "Client Preferences" (1.4.0-dev) by AlliedModders LLC
04 "l4d2_custom_vocalize.smx"
05 "Admin File Reader" (1.4.0-dev) by AlliedModders LLC
06 "Country Nick Plugin" (1.1.1) by Antoine LIBERT aka AeN0
07 "Hide Name" (1.1.3) by Twisted|Panda
08 "L4D1/2 Remove Lobby Reservation" (1.1.1) by Downtown1
09 "L4D Black and White Notifier" (1.31) by DarkNoghri, madcap
10 "Basic Commands" (1.4.0-dev) by AlliedModders LLC
11 "L4D2 Gun Control" (1.1.3) by AtomicStryker
12 "Melee In The Saferoom" (2.0.5) by N3wton
13 "Admin Help" (1.4.0-dev) by AlliedModders LLC
14 "Basic Ban Commands" (1.4.0-dev) by AlliedModders LLC
15 "Basic Votes" (1.4.0-dev) by AlliedModders LLC
16 "Fun Commands" (1.4.0-dev) by AlliedModders LLC
17 "Player Commands" (1.4.0-dev) by AlliedModders LLC
18 "Anti-Flood" (1.4.0-dev) by AlliedModders LLC
19 "Jesters Players Panel and Switch Menu" (1.1.4) by -=BwA=- Jester
20 "L4D SM Respawn" (1.9.3) by AtomicStryker & Ivailosp
21 "[L4D2] Weapon/Zombie Spawner" (0.7) by Zuko
22 "Basic Info Triggers" (1.4.0-dev) by AlliedModders LLC
23 "Admin Menu" (1.4.0-dev) by AlliedModders LLC
24 "Standardized Revamp Structure Modification for L4D2" (1.9 DEV) by srsteam
25 "Fun Votes" (1.4.0-dev) by AlliedModders LLC
26 "Basic Comm Control" (1.4.0-dev) by AlliedModders LLC
27 "Confogl's Competitive Mod" (2.2.2) by Confogl Team
28 "Survivor Bot Takeover" (0. by Mikko Andersson (muukis)
29 "[L4D2] Custom admin commands" (1.0.9) by honorcode23
30 "L4D Assistance System" (1.5) by [E]c & Max Chu & SilverShot
31 "L4D2 Ready Up" (0.17.10) by Downtown1 and Frustian, continued by AtomicStryker
Thaliya 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 03:31.


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