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

HL2DM - Grenade Trail


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Plugin Info:     Modification:   ALL        Category:   Admin Commands       
belgvr
Member
Join Date: Dec 2008
Location: Brazil
Old 07-09-2020 , 05:02   HL2DM - Grenade Trail
Reply With Quote #1

This is my first plugin. I will start by confessing i'm a total n00b at coding, so... this is just a modification of scorp's crossbow trail plugin (inspired on Trailball by raziEil) that he was kind enough to develop for me some months ago.

What I did was to just change the entity to attach trails to, which is the npc_grenade_frag.
I also added a new ConVar named sm_grenadetrail_material, which allows you to change the material of the trail instantly.



After installing the plugin and loading it for the first time, it will generate a config file in cfg/sourcemod named sm_grenadetrail.cfg

Note: I am also looking for a way to remove the original npc_grenade_frag red trail. Suggestions are welcome! =)

Spoiler
Attached Files
File Type: sp Get Plugin or Get Source (sm_grenadetrail.sp - 235 views - 7.8 KB)

Last edited by belgvr; 07-09-2020 at 05:03.
belgvr is offline
 



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 14:48.


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