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

Spawn particle


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
MrDerpZ
Junior Member
Join Date: Aug 2013
Old 09-14-2013 , 08:44   Spawn particle
Reply With Quote #1

-------------

Last edited by MrDerpZ; 05-17-2023 at 15:35. Reason: Privacy
MrDerpZ is offline
Oshizu
Veteran Member
Join Date: Nov 2012
Location: Warsaw
Old 09-14-2013 , 11:56   Re: Spawn particle
Reply With Quote #2

I'il explain you stuff in CreateParticle() snippet
CreateParticle(
"community_sparkle", - Name of particle that you want to spawn (Particle List)
300.0, - For how long particle should stay alive / appear
client, - To which player should particle be parented
ATTACH_NORMAL); attach method (Can't explain more without having full snippet)
__________________
...

Last edited by Oshizu; 09-14-2013 at 11:57.
Oshizu is offline
Oshizu
Veteran Member
Join Date: Nov 2012
Location: Warsaw
Old 09-14-2013 , 11:58   Re: Spawn particle
Reply With Quote #3

You missed in my post Particle List mate
Click on it!
__________________
...
Oshizu is offline
Oshizu
Veteran Member
Join Date: Nov 2012
Location: Warsaw
Old 09-14-2013 , 12:07   Re: Spawn particle
Reply With Quote #4

Okay.
If you want to attach it to head try ATTACH_HEAD
__________________
...
Oshizu is offline
Oshizu
Veteran Member
Join Date: Nov 2012
Location: Warsaw
Old 09-14-2013 , 12:17   Re: Spawn particle
Reply With Quote #5

There are three attachments in this snippet asuming you took it from [TF2] Self-Made Trail plugin
PHP Code:
#define NO_ATTACH 0
#define ATTACH_NORMAL 1
#define ATTACH_HEAD 2 
NO_ATTACH - stuff is not following player just spawns at player location
ATTACH_NORMAL - spawns at player feets
ATTACH_HEAD - spawns at player head
__________________
...
Oshizu is offline
Arkarr
Veteran Member
Join Date: Sep 2012
Location: Just behind my PC screen
Old 09-15-2013 , 02:25   Re: Spawn particle
Reply With Quote #6

Just a question, Valve don't allow plugin with particle attached to head, right ?
__________________
Want to check my plugins ?

Last edited by Arkarr; 09-15-2013 at 02:29.
Arkarr is offline
Oshizu
Veteran Member
Join Date: Nov 2012
Location: Warsaw
Old 09-15-2013 , 06:31   Re: Spawn particle
Reply With Quote #7

Quote:
Originally Posted by Arkarr View Post
Just a question, Valve don't allow plugin with particle attached to head, right ?
It depends on stuff
Attaching non-unusuals related particle to head won't annoy them
__________________
...

Last edited by Oshizu; 09-15-2013 at 06:43.
Oshizu is offline
Reply



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


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