Copyright 2011 Cstrike-ManiaCs. Powered by Blogger.
RSS

Player Outline [Tf2, Left 4 Dead 1 , Left for Dead 2]

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


CVar's (Defaults):


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


CVar Overrides:


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.

}


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


Config file will be automatically created at cfg\sourcemod\plugin.playeroutlines.cfg



Version Log:



Spoiler





Code:


Version 1.0.0

* Initial Release.






Known Bugs:

* None yet.

  • Digg
  • Del.icio.us
  • StumbleUpon
  • Reddit
  • RSS

0 comments:

Post a Comment

google-site-verification: google5f70f6edf33e1bcf.html