Player Outline
Enable Player Outlines (Based on HP Pull)
Another plugin apart of my mini series of fun command plugins (mainly just for practice). This plugin allows players to enable/disable player outlines (viewable through walls) of their HP value.
This can be used to have fun or gain an un-fair advantage over a player, it's your decision on how to use it.
The player outline re-enables itself over respawn if it were enabled before. Targetting can be used through server and player console, as well with admin menu support.
At default, all players can toggle it on or off on themselves. (See CVar overrides below to change this)
Uses clienprefs to re-enable the effect after spawn, if that is a problem, I will change it. I have not found any problems.
Screenshot Below
Supported Games:
Code:
Team Fortress 2
Left 4 Dead
Left 4 Dead 2
Code:
- sm_outline_version "1.0.0"
Player Outline Version
- sm_outline_enabled "1"
Enable Player Outline
- sm_outline_notify "1"
Enable Notifications of Player Outline Toggles in Chat
- sm_outline_logs "0"
Enable Logs of Player Outline Toggles
Code:
admin_overrides.cfg
{
"sm_outlineon" "" //Required admin flag to use sm_outlineon command.
"sm_outlineoff" "" //Required admin flag to use sm_outlineoff command.
"sm_outline_target" "b" //Required admin flag to target others with sm_outlineon or sm_outlineoff commands.
}
Code:
sm_outlineon
Enable Player Outline On Yourself
sm_outlineon <#userid|name>
Enable Player Outline On Target
sm_outlineoff
Disable Player Outline From Yourself
sm_goutlineoff <#userid|name>
Disable Player Outline From Target
Version Log:
Spoiler
Code:
Version 1.0.0
* Initial Release.
Known Bugs:
* None yet.
0 comments:
Post a Comment