AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [CS:S] Supporter Tracers v2.0.5 (Updated: 2/28/13) (https://forums.alliedmods.net/showthread.php?t=183133)

thetwistedpanda 04-17-2012 20:45

[CS:S] Supporter Tracers v2.0.5 (Updated: 2/28/13)
 
8 Attachment(s)
Requirements:
  • SDKHooks - Required
  • Dynamic Hooks - Optional
    • Only necessary if you wish to have knives that shoot tracers.
  • Morecolors.inc - Required (To Compile)
Description:
  • The plugin was developed along side the public Player Tracers plugin for my personal community, but I no longer have the time or desire to maintain two separate plugins that possess the exact same functionality. The scope of the plugin is still limited to CS:S, although with the release of Dynamic Hooks I may be able to port it to HL2 : DM or DoD : S upon request. For those of you that wish to update from Player Tracers, please note that every cvar and configuration file has had some form of change!
  • Essentially, this plugin provides functionality for attaching tracers, or visible beams, from the muzzle of a weapon to the point of bullet impact.
  • Unfortunately, I am unable to provide any custom materials with the release. Why not download some of these http://users.alliedmods.net/%7Esawce/crab.gif?
Features:
  • Access to Supporter Tracers can be provided to everyone, or restricted to players with access to the override "Tracers_Access" or the defined flag.
  • Ability to enable/disable client specific tracer features, such as: color, material, width, transparency, lifetime, and visibility.
  • Choose the default starting values for all client settings, or have them randomized per player.
  • Features that are disabled are forced to be the value selected for the client's default.
  • Control what commands open the plugin menu via a simple cvar.
  • Three configuration files located in /sourcemod/tracers/ that control all other aspects of the plugin.
  • Custom material files configured in /tracers/css_tracers_materials are automatically precached and added to the server's download table.
  • Custom materials and colors can be restricted to overrides and/or flags per each definition.
    • Overrides: Tracers_Access_Materials, Tracers_Access_Colors
  • Command (ADMFLAG_RCON): css_tracers_print - Prints a list of indexes that are to be used in plugin cvars.
ConVars:
  • css_tracers_enabled - Enables/Disables all features of this plugin.
  • css_tracers_access - If "", everyone can use Tracers, otherwise, only players with this flag or the "Tracers_Access" override can access.
  • css_tracers_commands - The chat triggers available to clients to access tracers features.
  • css_tracers_default_status - The default tracer status that is set to new clients. (0 = Disabled, 1 = Enabled, 2 = Always Enabled)
  • css_tracers_default_color - The default color index to be applied to new players or upon css_tracers_config_color being set to 0. (-1 = Random, # = Index)
  • css_tracers_default_lifetime - The default lifetime index to be applied to new players or upon css_tracers_config_lifetime being set to 0 (-1 = Random, # = Index)
  • css_tracers_default_width - The default width index to be applied to new players or upon css_tracers_config_width being set to 0 (-1 = Random, # = Index)
  • css_tracers_default_alpha - The default alpha index to be applied to new players or upon css_tracers_config_alpha being set to 0 (-1 = Random, # = Index)
  • css_tracers_default_material - The default material index to be applied to new players or upon css_tracers_config_material being set to 0 (-1 = Random, # = Index)
  • css_tracers_default_visible - The default visibility index applied to new players. (0 = Player Only, 1 = Team Only, 2 = All)
  • css_tracers_config_color - If enabled, clients will be able to change the color of their tracer.
  • css_tracers_config_alpha - If enabled, clients will be able to change the transparency of their tracer.
  • css_tracers_config_lifetime - If enabled, clients will be able to change the lifetime of their tracer.
  • css_tracers_config_width - If enabled, clients will be able to change the width of their tracer.
  • css_tracers_config_material - If enabled, clients will be able to change the material of their tracer.
  • css_tracers_config_visible - If enabled, clients will be able to change the visibility status of their tracer.
  • css_tracers_knife - If enabled, clients with access can shoot tracers from their knife to their crosshair location. (0 = Disabled, 1 = Left Click, 2 = Right Click, 3 = Both)
Installation:
  • /sourcemod/scripting/css_supporter_tracers.sp
  • /sourcemod/plugins/css_supporter_tracers.smx
  • /sourcemod/translations/css_supporter_tracers.phrases.txt
  • /sourcemod/gamedata/css_supporter_tracers.gamedata.txt
    • This is only required if you want to use Dynamic Hooks for Knife Tracers... Getting the updated game data is up to you.
  • /sourcemod/config/tracers/css_tracers_colors.ini
  • /sourcemod/config/tracers/css_tracers_configs.ini
  • /sourcemod/config/tracers/css_tracers_materials.ini

thetwistedpanda 04-17-2012 20:45

Re: [CS:S] Supporter Tracers
 
Reserved

clutchh 04-19-2012 05:56

Re: [CS:S] Supporter Tracers
 
It actually doesn't start without DHooks.
Quote:

Unable to load plugin "css_supporter_tracers.smx": Required extension "dhooks" file("dhooks.ext") not running.

thetwistedpanda 04-19-2012 06:09

Re: [CS:S] Supporter Tracers v2.0.1 (Updated: 4/19/12)
 
So close! I forgot one line of code that marked the extension as optional. Attachments have been updated. Just need the .smx for 2.0.1 which has that change.

clutchh 04-19-2012 07:02

Re: [CS:S] Supporter Tracers v2.0.1 (Updated: 4/19/12)
 
Thanks. :)

Also, I can't get anything past two colors to display in the menu in this (and trails as well).

Gisele 04-19-2012 07:38

Re: [CS:S] Supporter Tracers v2.0.1 (Updated: 4/19/12)
 
Hi, how to delete tracers in grenades (smoke,he,flashbang)??

thetwistedpanda 04-19-2012 16:01

Re: [CS:S] Supporter Tracers v2.0.1 (Updated: 4/19/12)
 
@ Gisele: Replace the following code:
PHP Code:

            if(StrContains(classname"_projectile") != -1)
                
CreateTimer(0.1Timer_OnEntityCreatedEntIndexToEntRef(entity));
#if defined _dhooks_included
            
else 

With:
PHP Code:

#if defined _dhooks_included 

and recompile. If the plugin gets another update I'll consider adding a cvar for it.

Gisele 04-19-2012 23:23

Re: [CS:S] Supporter Tracers v2.0.1 (Updated: 4/19/12)
 
Awesome, thank you very much. Sorry for mi poor english >.<'

clutchh 04-20-2012 17:50

Re: [CS:S] Supporter Tracers v2.0.1 (Updated: 4/19/12)
 
Quote:

Originally Posted by clutchh (Post 1692264)
Also, I can't get anything past two colors to display in the menu in this (and trails as well).

Any thought on this? Thanks.

thetwistedpanda 04-20-2012 23:43

Re: [CS:S] Supporter Tracers v2.0.1 (Updated: 4/19/12)
 
I missed your message the first time. Could you provide me an example of what you're doing?


All times are GMT -4. The time now is 13:27.

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