Raised This Month: $32 Target: $400
 8% 

[TF2] Stun Mod


Post New Thread Reply   
 
Thread Tools Display Modes
DarthNinja
SourceMod Plugin Approver
Join Date: Mar 2009
Location: PreThinkHook()
Old 05-27-2010 , 01:30   Re: [TF2] Stun Mod
Reply With Quote #21

Yeah, that was for printing names to chat,, then I used another method and forgot about it.
I'll correct it when I change the chat messages, I'm not really happy with the way they are now.
__________________
DarthNinja is offline
Sreaper
髪を用心
Join Date: Nov 2009
Old 05-30-2010 , 14:48   Re: [TF2] Stun Mod
Reply With Quote #22

Glitch - Heavies are able to punch still while under the effect of sm_stun. This may apply to more classes as well but I haven't confirmed this.

Also, the cvar timer's for the individual enable/disable stunme commands would be nice to have.

Last edited by Sreaper; 05-30-2010 at 15:04.
Sreaper is offline
Carn
Member
Join Date: Jun 2008
Old 05-31-2010 , 02:35   Re: [TF2] Stun Mod
Reply With Quote #23

removed from server due to people being able to console spam commands.. admin only fine...
Carn is offline
DarthNinja
SourceMod Plugin Approver
Join Date: Mar 2009
Location: PreThinkHook()
Old 05-31-2010 , 04:06   Re: [TF2] Stun Mod
Reply With Quote #24

Quote:
Originally Posted by Sreaper View Post
Glitch - Heavies are able to punch still while under the effect of sm_stun. This may apply to more classes as well but I haven't confirmed this.

Also, the cvar timer's for the individual enable/disable stunme commands would be nice to have.
I don't think I can fix heavies punching.
The cvars are on my todo list.

Quote:
Originally Posted by Carn View Post
removed from server due to people being able to console spam commands.. admin only fine...
Set sm_stunmod_selfstun to 0 then?
__________________
DarthNinja is offline
j0sh77
Senior Member
Join Date: Jan 2010
Old 06-08-2010 , 13:54   Re: [TF2] Stun Mod
Reply With Quote #25

Quote:
Originally Posted by scopesp View Post
funny one anyway possible add in admin menu under playercommands ?

thanks

Here, put this into your admin_custom.cfg

It can be found in tf/addons/sourcemod/configs

Code:
"Commands"
{
    "PlayerCommands"
    {
        "-Stun"
        {
            "cmd"            "sm_stun #1 @2"
            "admin"            "custom1"
            "execute"        "player"
            "1"
            {
                "type"        "groupplayer"
                "method"    "name"
                "title"        "Choose a Player"
            }
            "2"
            {
                "type"        "list"
                "title"        "Time to Stun"
                "1"        "5"
                "1."        "5 Seconds"
                "2"        "10"
                "2."        "10 Seconds"
                "3"        "15"
                "3."        "15 Seconds"
                "4"        "20"
                "4."        "20 Seconds"
                "5"        "30"
                "5."        "30 Seconds"
                "6"        "45"
                "6."        "45 Seconds"
                "7"        "60"
                "7."        "1 Minute"
                "8"        "90"
                "8."        "1.5 Minutes"
            }

        }
        "-Ghost Stun"
        {
            "cmd"            "sm_gstun #1 @2"
            "admin"            "custom1"
            "execute"        "player"
            "1"
            {
                "type"        "groupplayer"
                "method"    "name"
                "title"        "Choose a Player"
            }
            "2"
            {
                "type"        "list"
                "title"        "Time to Stun"
                "1"        "5"
                "1."        "5 Seconds"
                "2"        "10"
                "2."        "10 Seconds"
                "3"        "15"
                "3."        "15 Seconds"
                "4"        "20"
                "4."        "20 Seconds"
                "5"        "30"
                "5."        "30 Seconds"
                "6"        "45"
                "6."        "45 Seconds"
                "7"        "60"
                "7."        "1 Minute"
                "8"        "90"
                "8."        "1.5 Minutes"
            }

        }
        "-Bonk Stun"
        {
            "cmd"            "sm_bonk #1 @2"
            "admin"            "custom1"
            "execute"        "player"
            "1"
            {
                "type"        "groupplayer"
                "method"    "name"
                "title"        "Choose a Player"
            }
            "2"
            {
                "type"        "list"
                "title"        "Time to Stun"
                "1"        "5"
                "1."        "5 Seconds"
                "2"        "10"
                "2."        "10 Seconds"
                "3"        "15"
                "3."        "15 Seconds"
                "4"        "20"
                "4."        "20 Seconds"
                "5"        "30"
                "5."        "30 Seconds"
                "6"        "45"
                "6."        "45 Seconds"
                "7"        "60"
                "7."        "1 Minute"
                "8"        "90"
                "8."        "1.5 Minutes"
            }
        }
    }
}
You can change time limits in your menu, just change the numbers...
__________________

j0sh77 is offline
scopesp
Senior Member
Join Date: Jan 2009
Location: Munich
Old 06-08-2010 , 15:54   Re: [TF2] Stun Mod
Reply With Quote #26

cool thanks ;)
scopesp is offline
DarthNinja
SourceMod Plugin Approver
Join Date: Mar 2009
Location: PreThinkHook()
Old 08-03-2010 , 12:17   Re: [TF2] Stun Mod
Reply With Quote #27

Quote:
Originally Posted by psychonic View Post
@DarthNinja

There are a couple places where you have:
PHP Code:
new String:client_name[64];
GetClientName(clientclient_name64); 
but then don't actually use client_name.
Fixed that in the latest update.
(I started using %N and forgot about that code)


~Update released~

  • V1.3.3.7
    • Replaced PrintToChat with ShowActivity2
    • Removed some unused name-fetching code
__________________
DarthNinja is offline
Herokim
Senior Member
Join Date: Mar 2010
Location: In Fag-o-land
Old 08-14-2010 , 15:10   Re: [TF2] Stun Mod
Reply With Quote #28

Can you try to make real humilitation stance? Like sm_humiliateme or sm_humiliate *name here*. Because in that stance, you run with your normal speed, can crouch and jump.
Herokim is offline
DarthNinja
SourceMod Plugin Approver
Join Date: Mar 2009
Location: PreThinkHook()
Old 08-15-2010 , 01:54   Re: [TF2] Stun Mod
Reply With Quote #29

Quote:
Originally Posted by Herokim View Post
Can you try to make real humilitation stance? Like sm_humiliateme or sm_humiliate *name here*. Because in that stance, you run with your normal speed, can crouch and jump.
It does not seem to be possible.
__________________
DarthNinja is offline
Daed
New Member
Join Date: Jul 2009
Old 10-13-2010 , 10:13   Re: [TF2] Stun Mod
Reply With Quote #30

I think this might've been broken in a recent update.

Haven't tried updating to the latest sm snapshot, but I think it's been screwing up since a month or so.

Trying to use TF2_StunPlayer in any way gives me this:
Code:
L 10/13/2010 - 14:44:02: [SM] Native "TF2_StunPlayer" reported: Failed to locate function
L 10/13/2010 - 14:44:02: [SM] Displaying call stack trace for plugin "stunmod.smx":
L 10/13/2010 - 14:44:02: [SM]   [0]  Line 83, /home/groups/alliedmodders/forums/files/4/9/8/6/5/71104.attach::Cmd_Stun()
Looked around, couldn't find anything related to this.
Daed 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 23:46.


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