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

Ghosts


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Plugin Info:     Modification:   Counter-Strike        Category:   Gameplay        Approver:   Hawk552 (427)
Spike7d8
Junior Member
Join Date: Jan 2008
Old 01-31-2008 , 18:00   Ghosts
Reply With Quote #1

Code:
...........     ...     ...      .........      ...........     ...........     ..........
...........     ...     ...     ...........     ...........     ...........     ..........
...             ...     ...     ...     ...     ...                 ...         ...
...             ...     ...     ...     ...     ...                 ...         ...
...  ......     ...........     ...     ...     ...........         ...         ..........
...  ......     ...........     ...     ...     ...........         ...         ..........
...     ...     ...     ...     ...     ...             ...         ...                ...
...     ...     ...     ...     ...     ...             ...         ...                ...
...........     ...     ...     ...........     ...........         ...         ..........
...........     ...     ...      .........      ...........         ...         ..........

Description:


This plugin makes players less visible as they run faster. With the default values, they will be totaly invisible if they run all the time. This plugin emphasizes the gamer's ability to use sound as a vital tool in its success.



CVARs:

ghosts_mode:
0: off (default)
1: on without glow
2: on with glow

ghosts_team:
0: both teams (default)
1: CT only
2: T only

ghosts_speed:
1 - 50: the speed above which players become totally invisible (default 20)

ghosts_glow:
0 - 100: if the player speed is below ghosts_glow / 100 of ghosts_speed, he will glow (default 25)


Change Log:
0.3a:
code optimizations (thanks Lord_Destros for pointing them out)
0.3:
added cvar ghosts_team (thanks paulg for the ideea)
modified default values of ghosts_speed and ghosts_glow
removed cstrike from include directive
0.2:
added 2 cvars (ghosts_speed & ghosts_glow)
renamed amx_ghosts to ghosts_mode
bug fix on average distance traveled
0.1:
initial release
Attached Files
File Type: sma Get Plugin or Get Source (Ghosts.sma - 10530 views - 4.1 KB)

Last edited by Spike7d8; 02-09-2008 at 15:37. Reason: plugin update
Spike7d8 is offline
 


Thread Tools
Display Modes

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 07:57.


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