ProjectileTrails v1.0.0

Release your plugins here!
User avatar
satoon101
Project Leader
Posts: 2582
Joined: Sat Jul 07, 2012 1:59 am

ProjectileTrails v1.0.0

Postby satoon101 » Sun May 13, 2018 4:15 pm

ProjectileTrails adds trails to projectiles (ie thrown grenades).

The configuration is based on the known projectiles for the specific game. For instance, in CS:S and CS:GO, both will have settings for hegrenade, flashbang, and smokegrenade, while CS:GO will also contain settings for decoy, molotov (which includes incgrenades), and tagrenade.

Here is the default configuration for CS:S:

Code: Select all

// Default Value: 7
// Set to the number of ticks to wait between each check.
   pt_ticks_between_check 7


// Default Value: 0
// Enable/disable only showing effects to teammates of the thrower.
   pt_team_only 0

// Trail Effect Options:
// "beam", "dust", "smoke", "sparks"

// ######################################################################### //
//                             FLASHBANG Settings                            //
// ######################################################################### //
// ---------------------------------------- //
//            TERRORIST Settings            //
// ---------------------------------------- //

// Default Value: "beam"
// Set to the value for TERRORIST flashbang.
   pt_flashbang_terrorist_effect "beam"


// Default Value: "255,0,0"
// Set to the RGB value if using 'beam' for TERRORIST flashbang.
   pt_flashbang_terrorist_beam_color "255,0,0"

// ---------------------------------------- //
//               CT Settings                //
// ---------------------------------------- //

// Default Value: "beam"
// Set to the value for CT flashbang.
   pt_flashbang_ct_effect "beam"


// Default Value: "255,0,0"
// Set to the RGB value if using 'beam' for CT flashbang.
   pt_flashbang_ct_beam_color "255,0,0"


// ######################################################################### //
//                             HEGRENADE Settings                            //
// ######################################################################### //
// ---------------------------------------- //
//            TERRORIST Settings            //
// ---------------------------------------- //

// Default Value: "beam"
// Set to the value for TERRORIST hegrenade.
   pt_hegrenade_terrorist_effect "beam"


// Default Value: "255,0,0"
// Set to the RGB value if using 'beam' for TERRORIST hegrenade.
   pt_hegrenade_terrorist_beam_color "255,0,0"

// ---------------------------------------- //
//               CT Settings                //
// ---------------------------------------- //

// Default Value: "beam"
// Set to the value for CT hegrenade.
   pt_hegrenade_ct_effect "beam"


// Default Value: "255,0,0"
// Set to the RGB value if using 'beam' for CT hegrenade.
   pt_hegrenade_ct_beam_color "255,0,0"


// ######################################################################### //
//                           SMOKEGRENADE Settings                           //
// ######################################################################### //
// ---------------------------------------- //
//            TERRORIST Settings            //
// ---------------------------------------- //

// Default Value: "beam"
// Set to the value for TERRORIST smokegrenade.
   pt_smokegrenade_terrorist_effect "beam"


// Default Value: "255,0,0"
// Set to the RGB value if using 'beam' for TERRORIST smokegrenade.
   pt_smokegrenade_terrorist_beam_color "255,0,0"

// ---------------------------------------- //
//               CT Settings                //
// ---------------------------------------- //

// Default Value: "beam"
// Set to the value for CT smokegrenade.
   pt_smokegrenade_ct_effect "beam"


// Default Value: "255,0,0"
// Set to the RGB value if using 'beam' for CT smokegrenade.
   pt_smokegrenade_ct_beam_color "255,0,0"


Currently, there are only 4 effects to choose from:

  • Beam (Note that with beam you also get to choose the RGB color of the beam)
  • Dust
  • Smoke
  • Sparks

To create the configuration file, load projectile_trails on the server once and the default file will be created at ../cfg/source-python/projectile_trails.cfg. Edit the file to your liking and then re-load projectile_trails.

If you have suggestions or notice any bugs for the plugin, please feel free to post them on the issues list:
https://github.com/satoon101/ProjectileTrails/issues

This plugin has been fully tested on CS:S and CS:GO, but could also work on other games as long as there are projectiles listed in ../addons/source-python/data/source-python/weapons/<game_name>.ini. I will work to verify support for other games when I have the opportunity.

Thanks, and enjoy :)

Current version download
projectile_trails - v1.0.0.zip
(11.53 KiB) Downloaded 66 times
Image

Return to “Plugin Releases”

Who is online

Users browsing this forum: No registered users and 8 guests