Raised This Month: $1944 Target: $400
 486% 

HL2DM - Grenade Trail


Post New Thread Reply   
 
Thread Tools Display Modes
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 - 29 views - 7.8 KB)

Last edited by belgvr; 07-09-2020 at 05:03.
belgvr is offline
ZaX
Senior Member
Join Date: Jan 2015
Old 07-09-2020 , 05:07   Re: HL2DM - Grenade Trail
Reply With Quote #2

This is the wrong section to post this plugin in x)
https://forums.alliedmods.net/forumdisplay.php?f=108
ZaX is offline
belgvr
Member
Join Date: Dec 2008
Location: Brazil
Old 07-09-2020 , 05:18   Re: HL2DM - Grenade Trail
Reply With Quote #3

Sorry, Thanks for letting me know!
belgvr is offline
NotApollyon093
Junior Member
Join Date: Mar 2019
Location: Spokane, WA
Old 07-10-2020 , 23:41   Re: HL2DM - Grenade Trail
Reply With Quote #4

Nice, can't believe people are still scripting for this game.
NotApollyon093 is offline
belgvr
Member
Join Date: Dec 2008
Location: Brazil
Old 07-11-2020 , 03:00   Re: HL2DM - Grenade Trail
Reply With Quote #5

Quote:
Originally Posted by ZaX View Post
This is the wrong section to post this plugin in x)
https://forums.alliedmods.net/forumdisplay.php?f=108
Feel free to lock/close this topic if you wish...
belgvr is offline
belgvr
Member
Join Date: Dec 2008
Location: Brazil
Old 07-11-2020 , 03:01   Re: HL2DM - Grenade Trail
Reply With Quote #6

Quote:
Originally Posted by NotApollyon093 View Post
Nice, can't believe people are still scripting for this game.
it's posted HERE
belgvr is offline
Indigozm
Junior Member
Join Date: Nov 2017
Old 07-11-2020 , 06:26   Re: HL2DM - Grenade Trail
Reply With Quote #7

Looks beautiful!
__________________
Indigozm is offline
Send a message via ICQ to Indigozm Send a message via Skype™ to Indigozm
Reply


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 09:50.


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