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

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


Post New Thread Reply   
 
Thread Tools Display Modes
Tonblader
Senior Member
Join Date: Jul 2011
Location: Peru
Old 10-30-2021 , 00:46   Re: [ANY] Dev Cmds (1.26) [27-Oct-2021]
Reply With Quote #81

Quote:
Originally Posted by Silvers View Post
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.
Successful changes, it was something that I also need.
Tonblader is offline
canadianjeff
BANNED
Join Date: Sep 2016
Old 10-31-2021 , 02:41   Re: [ANY] Dev Cmds (1.26) [27-Oct-2021]
Reply With Quote #82

awesome changes have some bacon.....

canadianjeff is offline
canadianjeff
BANNED
Join Date: Sep 2016
Old 11-03-2021 , 01:33   Re: [ANY] Dev Cmds (1.26) [27-Oct-2021]
Reply With Quote #83

about the sm_collision cant seem to target players or myself but I can target players when im aiming directly at them (see screenshot)


Last edited by canadianjeff; 11-03-2021 at 01:33.
canadianjeff is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 11-03-2021 , 11:22   Re: [ANY] Dev Cmds (1.26) [27-Oct-2021]
Reply With Quote #84

PHP Code:
sm_collision // [entity index] Toggles collision on the aimed entity or specified entity index. 
__________________

Last edited by Silvers; 11-03-2021 at 11:23.
Silvers is offline
canadianjeff
BANNED
Join Date: Sep 2016
Old 11-03-2021 , 22:09   Re: [ANY] Dev Cmds (1.26) [27-Oct-2021]
Reply With Quote #85

ok so I did my testing and toggled non solid on myself using my "id" from "status" cmd and it said I was non solid but could still be hit by commons and hunters which kinda fails me
canadianjeff is offline
Sreaper
髪を用心
Join Date: Nov 2009
Old 11-03-2021 , 22:50   Re: [ANY] Dev Cmds (1.26) [27-Oct-2021]
Reply With Quote #86

Quote:
Originally Posted by canadianjeff View Post
ok so I did my testing and toggled non solid on myself using my "id" from "status" cmd and it said I was non solid but could still be hit by commons and hunters which kinda fails me
try:
Quote:
sm_propself m_CollisionGroup 0
But also send that collision group to the hunter as well.

Last edited by Sreaper; 11-03-2021 at 22:51.
Sreaper is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 11-04-2021 , 07:34   Re: [ANY] Dev Cmds (1.26) [27-Oct-2021]
Reply With Quote #87

userid != client index... 3 is probably not your client index. Use sm_clients to find your client index.

sm_propself works just fine.
__________________
Silvers is offline
Tonblader
Senior Member
Join Date: Jul 2011
Location: Peru
Old 11-04-2021 , 12:45   Re: [ANY] Dev Cmds (1.26) [27-Oct-2021]
Reply With Quote #88

Is it possible to add a command that works rng, perhaps with a warning in console if it worked or not and maybe cvar to show in chat?
Example:
sm_rng 100 sm_slay @all (100% chance to work)
sm_rng 50 sm_setpos @all 0 0 0 (50% chance to work)

Also a simple command that you can send any normal text in the chat, similar to the answers that a command gives you in the chat.
Example: (idk if this name command exist)
sm_msg hello
in chat display:
hello

Last edited by Tonblader; 11-04-2021 at 12:52.
Tonblader is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 11-04-2021 , 13:16   Re: [ANY] Dev Cmds (1.26) [27-Oct-2021]
Reply With Quote #89

Quote:
Originally Posted by Tonblader View Post
Is it possible to add a command that works rng, perhaps with a warning in console if it worked or not and maybe cvar to show in chat?
Example:
sm_rng 100 sm_slay @all (100% chance to work)
sm_rng 50 sm_setpos @all 0 0 0 (50% chance to work)

Also a simple command that you can send any normal text in the chat, similar to the answers that a command gives you in the chat.
Example: (idk if this name command exist)
sm_msg hello
in chat display:
hello
I'll add sm_rng at some point.

Game already has say/sm_say/sm_psay commands.
__________________
Silvers is offline
Tonblader
Senior Member
Join Date: Jul 2011
Location: Peru
Old 11-04-2021 , 13:18   Re: [ANY] Dev Cmds (1.26) [27-Oct-2021]
Reply With Quote #90

Quote:
Originally Posted by Silvers View Post
I'll add sm_rng at some point.
Is good to read

Quote:
Originally Posted by Silvers View Post
Game already has say/sm_say/sm_psay commands.
Yes, but show someone's name
Tonblader 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 11:09.


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