Allows admins to put a player into the surrender pose where they cannot shoot or jump, and move slowly. The player can ether be "frightened" the same way they are when they touch the ghost in koth_harvest_event, or they can be be put into the end of round humiliation stance. Check out the handy admin menu posted Here. (Thanks j0sh77) NOTE: If you get the error "Native "TF2_StunPlayer" was not found" please update to SM 1.3.2 or newer.
If you get the error "Native "TF2_StunPlayer" was not found" please update to SM 1.3.2 or newer.
Admin: sm_stun <Username/#ID> [Duration] - Puts player into normal losing pose. sm_gstun <Username/#ID> [Duration] - Stuns the player like they walked into the ghost on Harvest. sm_bonk <Username/#ID> [Duration] [Flag (1/2/3)] - Bonks the player as though they were hit by a baseball. Client: sm_stunme [Duration] - Player stuns himself sm_gstunme [Duration] - Player ghost stuns himself sm_bonkme [Duration] - Player bonks himself
Notes: The [Duration] variable is optional, if not specified it will pull from the cvars below: The client commands are enabled/disabled using the cvar below.
sm_stunmod_version -|- shows plugin version sm_stunmod_selfstun -|- allow non-admins to use commands on themselves. (sm_stunme, etc) 1 = enabled, 0 = disabled. sm_stunmod_cmd_timer -|- the duration to use if not specified in the command. (Default: 5 seconds). sm_stunmod_player_timer -|- the duration for players to bonk themselves if they don't specify. (Default: 5 Seconds)
If you want to "toggle" the effect manually, just enter some really large number. Then to toggle off enter "0" for the number.