Raised This Month: $12 Target: $400
 3% 

[ANY] Dev Cmds (1.50) [05-Mar-2024]


Post New Thread Reply   
 
Thread Tools Display Modes
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 09-06-2021 , 13:50   Re: [ANY] Dev Cmds (1.24) [06-Sep-2021]
Reply With Quote #71

Code:
1.24 (06-Sep-2021)
    - Added command "sm_attachments" to display all attachments on a specific client.
    - Added command "sm_emit" to play a sound from your client.
Small update I made to test some things.
__________________
Silvers is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 09-13-2021 , 05:34   Re: [ANY] Dev Cmds (1.25) [13-Sep-2021]
Reply With Quote #72

Bunch of commands I added because I needed them lately:

Code:
1.25 (13-Sep-2021)
    - Added command "sm_getspeed" to return a players current speed value.
    - Added command "sm_listens" to toggle printing all sounds being played.
    - Added command "sm_delweps" to delete weapons from yourself or the targeted clients.
    - Added command "sm_bringents" to teleport specified entities by classname to around the player.
    - L4D2: Added command "sm_sc" to change the gamemode to Scavenge.
__________________
Silvers is offline
canadianjeff
BANNED
Join Date: Sep 2016
Old 09-13-2021 , 19:46   Re: [ANY] Dev Cmds (1.25) [13-Sep-2021]
Reply With Quote #73

could this plugin be posted on github as well? so that I can merge my changes with your updates each time you decide to update it without having to merge my changes by hand
canadianjeff is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 09-14-2021 , 14:27   Re: [ANY] Dev Cmds (1.25) [13-Sep-2021]
Reply With Quote #74

Do you want to give me the changes so I can add to the plugin itself? One day I might sort out github.
__________________
Silvers is offline
canadianjeff
BANNED
Join Date: Sep 2016
Old 09-14-2021 , 19:34   Re: [ANY] Dev Cmds (1.25) [13-Sep-2021]
Reply With Quote #75

I will as soon as I have access to my plugins again I am actually in the process of moving houses so my main desktop pc is all packed up in boxes in storage only playing on my cheap laptop for the past few weeks
canadianjeff is offline
Tonblader
Senior Member
Join Date: Jul 2011
Location: Peru
Old 09-23-2021 , 22:50   Re: [ANY] Dev Cmds (1.25) [13-Sep-2021]
Reply With Quote #76

Can add a command to remove bile jar entities and effect (zombies search vomite site), pipe bombs entities and effects and molotov entities and effect? Maybe 2 command separated one for entities and one for effects and can target specific player.

Last edited by Tonblader; 09-24-2021 at 00:32.
Tonblader is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 09-24-2021 , 06:27   Re: [ANY] Dev Cmds (1.25) [13-Sep-2021]
Reply With Quote #77

Quote:
Originally Posted by Tonblader View Post
Can add a command to remove bile jar entities and effect (zombies search vomite site), pipe bombs entities and effects and molotov entities and effect? Maybe 2 command separated one for entities and one for effects and can target specific player.
This is too specific a request. This plugin is supposed to be for developers to do various things for testing and figuring things out for plugin developement, not specific game things like this. I've added some specific stuff but that's as far as I'll go. Post in requests section or write it yourself since you're doing SP stuff.
__________________
Silvers is offline
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 10-21-2021 , 13:04   Re: [ANY] Dev Cmds (1.25) [13-Sep-2021]
Reply With Quote #78

Addition to my previous code for sm_nospawn:

sm_nospawn sometimes miss infected/specials, bacause
PHP Code:
        FindConVar("director_no_bosses").SetInt(1);
        
FindConVar("director_no_specials").SetInt(1);
        
FindConVar("director_no_mobs").SetInt(1); 
wasn't enough, (e.g. when panic event occurs), so I also added:
PHP Code:
HookEvent("player_spawn"Event_PlayerSpawn);

public 
Action Event_PlayerSpawn(Event event, const char[] namebool dontBroadcast)
{
    if( 
g_bNospawn )
    {
        
int client GetClientOfUserId(event.GetInt("userid"));
        if( 
client && IsClientInGame(client) && GetClientTeam(client) == )
        {
            
KickClient(client);
        }
    }
}

public 
void OnEntityCreated(int entity, const char[] classname)
{
    if( 
g_bNospawn )
    {
        if( 
strcmp(classname"infected") == )
        {
            
SDKHook(entitySDKHook_SpawnPostOnSpawnCommon);
        }
    }
}

public 
void OnSpawnCommon(int Ent)
{
    
RemoveEntity(Ent);

Also, could you add please, sm_tele to use like:
Code:
sm_tele @all // teleports everybody to my position
sm_tele @all <x y z>
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
Dragokas is offline
canadianjeff
BANNED
Join Date: Sep 2016
Old 10-21-2021 , 20:23   Re: [ANY] Dev Cmds (1.25) [13-Sep-2021]
Reply With Quote #79

would it be possible to have a command that toggles collision on a target make it non solid?
canadianjeff is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 10-27-2021 , 03:54   Re: [ANY] Dev Cmds (1.26) [27-Oct-2021]
Reply With Quote #80

Done.

Code:
1.26 (27-Oct-2021)
    - Added command "sm_tele" to teleport clients to aim position or specific vector. Requested by "Dragokas".
    - Added command "sm_collision" to toggle collision on a specified entity. Requested by "canadianjeff". Thanks to "Dragokas" for the stock.
    - Added commands "sm_solid" and "sm_solidf" to return the solid type and solid flags from a value.
    - L4D1 & L4D2: Changed command "sm_nospawn" to block common spawning. Thanks to "Dragokas" for reporting.
__________________
Silvers 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 10:29.


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