Raised This Month: $ Target: $400
 0% 

[L4D-L4D2] New custom commands v1.0.9


Post New Thread Reply   
 
Thread Tools Display Modes
paul92
Senior Member
Join Date: Sep 2010
Old 12-05-2010 , 08:02   Re: [L4D-L4D2] New custom commands v1.0.8
Reply With Quote #251

Ehi Honorcode,
the "change color" command works only for survivors, but i wish you could implement this also for special infected... Can you include this? (I want make a tank invisible! XD)
Let me know if you will do (When you can)!
paul92 is offline
Zoeylicious
Member
Join Date: Oct 2010
Old 12-05-2010 , 08:09   Re: [L4D-L4D2] New custom commands v1.0.8
Reply With Quote #252

hello paul92

not a bad idea lol
Zoeylicious is offline
Catbus
New Member
Join Date: Dec 2010
Old 12-12-2010 , 00:22   Re: [L4D-L4D2] New custom commands v1.0.8
Reply With Quote #253

I'm having some problems with the mod. First, when I launch the admin menu via sm_admin in console and press 1 for player options, and then press any of the options the menu just shuts down, no console error or anything. Secondly typing things like "!airstrike Ellis" Do not work, I get an error saying I cannot target that player. I also tried this on one of my friends and it said the same thing. Whats weird is I can still use server commands just fine. I have tried !ccrefresh and I have reinstalled the pluggin. This is in l4d2 by the way, and im also using this via local server, is that the problem? Thanks in advance for the help!
Catbus is offline
bibu
Veteran Member
Join Date: Sep 2010
Old 12-12-2010 , 07:21   Re: [L4D-L4D2] New custom commands v1.0.8
Reply With Quote #254

!jointeam commands doesn't work.
bibu is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 12-12-2010 , 07:34   Re: [L4D-L4D2] New custom commands v1.0.8
Reply With Quote #255

Quote:
Originally Posted by bibu View Post
!jointeam commands doesn't work.
??? Not part of this plugin...
__________________
Silvers is offline
honorcode23
BANNED
Join Date: Mar 2010
Location: Chile
Old 12-12-2010 , 22:46   Re: [L4D-L4D2] New custom commands v1.0.8
Reply With Quote #256

Quote:
Originally Posted by Catbus View Post
I'm having some problems with the mod. First, when I launch the admin menu via sm_admin in console and press 1 for player options, and then press any of the options the menu just shuts down, no console error or anything. Secondly typing things like "!airstrike Ellis" Do not work, I get an error saying I cannot target that player. I also tried this on one of my friends and it said the same thing. Whats weird is I can still use server commands just fine. I have tried !ccrefresh and I have reinstalled the pluggin. This is in l4d2 by the way, and im also using this via local server, is that the problem? Thanks in advance for the help!
Sourcemod menu doesnt really support Client-sided servers. Start a dedicated server, and then join to it.
honorcode23 is offline
Rochellecrab
Junior Member
Join Date: Nov 2010
Old 12-13-2010 , 06:30   Re: [L4D-L4D2] New custom commands v1.0.8
Reply With Quote #257

"sm_acidspill" (Spit Player) - Will appear acid on the player's feet:

Code:
#include <sdktools>

static Handle:h_DetonateSpit = INVALID_HANDLE;

public InitializeSignature()
{
	new Handle:h_GameConfig = LoadGameConfigFile( "signatues" );
	
	StartPrepSDKCall( SDKCall_Entity );
	PrepSDKCall_SetFromConf( h_GameConfig, SDKConf_Signature, "CSpitterProjectile_Detonate" );
	h_DetonateSpit = EndPrepSDKCall();
	
	CloseHandle( h_GameConfig );
}

public Action:Command_AcidSpill( client, args )
{
	if ( GetCmdArgs() >= 1 )
	{
		decl String:sz_Argument[ 32 ];
		GetCmdArg( 1, sz_Argument, sizeof( sz_Argument ) );
		
		new n_Victim = GetClientOfUserId( StringToInt( sz_Argument ) );
		
		if ( IsClientConnected( n_Victim ) && IsClientInGame( n_Victim ) )
		{	
			decl Float:v_Origin[ 3 ];
			GetClientAbsOrigin( n_Victim, v_Origin );
			v_Origin[ 2 ] += 16.0;
			
			new n_Acid = CreateEntityByName( "spitter_projectile" );
			
			if ( IsValidEdict( n_Acid ) )
			{
				DispatchSpawn( n_Acid );
					
				SetEntPropFloat ( n_Acid, Prop_Send, "m_DmgRadius" , 1024.0 ); // Radius of the acid.
				SetEntProp      ( n_Acid, Prop_Send, "m_bIsLive"   , 1 );      // Without this set to 1, the acid won't make any sound.
				SetEntPropEnt   ( n_Acid, Prop_Send, "m_hThrower"  , client ); // A player who caused the acid to appear.
				
				TeleportEntity( n_Acid, v_Origin, NULL_VECTOR, NULL_VECTOR );
				
				SDKCall( h_DetonateSpit, n_Acid ); // Instantly detonates the projectile.
			}
		}
	}
}
Code:
"CSpitterProjectile_Detonate"
{
	"library"   "server"
	"linux"     "@_ZN18CSpitterProjectile8DetonateEv"
}
Sorry for no windows signatue. Searching for it is a black magic for me.
Poorly, without calling the
Code:
CSpitterProjectile::Detonate()
function, the projectile won't explode even after touching a wall. Maybe there is an other way to do it, but I didn't find it yet.
__________________

Last edited by Rochellecrab; 12-13-2010 at 06:49.
Rochellecrab is offline
honorcode23
BANNED
Join Date: Mar 2010
Location: Chile
Old 12-13-2010 , 14:30   Re: [L4D-L4D2] New custom commands v1.0.9
Reply With Quote #258

Thank you so much Rochellecrab!

Update:

1.0.9
-Added sm_acidspill, sm_shove, sm_adren, sm_panic, sm_temphp, sm_oldmovie, sm_cchelp commands.
-Fixed some other bugs
honorcode23 is offline
Machine
Senior Member
Join Date: Apr 2010
Old 12-13-2010 , 22:09   Re: [L4D-L4D2] New custom commands v1.0.9
Reply With Quote #259

Wow, you've been busy. Finally someone was able to get black and white to work. Good job!

Nice update.
Machine is offline
JayXsane
Member
Join Date: Oct 2010
Location: In my home, duh.
Old 12-14-2010 , 10:13   Re: [L4D-L4D2] New custom commands v1.0.9
Reply With Quote #260

This doesn't work on my Linux server :\ I had to go back to (hopefully) 1.0.8.
JayXsane is offline
Send a message via Skype™ to JayXsane
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 18:46.


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