Raised This Month: $ Target: $400
 0% 

TF2 Particles via TempEnts


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
blodia
Veteran Member
Join Date: Sep 2009
Location: UK
Old 12-26-2010 , 13:31   Re: TF2 Particles via TempEnts
Reply With Quote #1

since css was updated to the orange box it now supports info_particle_system

PHP Code:
"error"
"muzzle_pistols"
"muzzle_smgs"
"muzzle_machinegun"
"muzzle_rifles"
"muzzle_shotguns"
"muzzle_autorifles"
"blood_impact_red_01"
"blood_impact_green_01"
"blood_impact_yellow_01"
"burning_character"
"bomb_explosion_huge"
"achieved"
"slime_splash_01"
"slime_splash_02"
"slime_splash_03"
"env_fire_tiny_smoke"
"env_fire_small_smoke"
"env_fire_medium_smoke"
"env_fire_large_smoke" 
i used this http://forums.alliedmods.net/showthread.php?t=71857 to find them.
blodia is offline
DiscoBBQ
Veteran Member
Join Date: Jan 2005
Location: Clemson, South Carolina
Old 08-06-2008 , 22:44   Re: TF2 Particles via TempEnts
Reply With Quote #2

L.Duke, if you ever need someone to birth your kids, im your man.

This works perfectly for me, I'm able to do a TF2 GoreMod now, yahoo!

__________________
"Every man is guilty of all the good he did not do"

Last edited by DiscoBBQ; 08-06-2008 at 23:01.
DiscoBBQ is offline
KickBack
Junior Member
Join Date: Aug 2008
Old 08-14-2008 , 19:15   Re: TF2 Particles via TempEnts
Reply With Quote #3

Thanks a lot ! This is of great use !

There is just one slight bug with timers (ShowParticle) : when a round ends (waiting for players, team win, etc), one should take care to reset timers because on round reset/restart, particle systems are automatically destroyed by the server and when the timer tries to destroy them, it shows a warning saying it couldn't destroy an entity which has nothing to do with our particle. While this is not critical, I advise anyone using this snippet to hook whenever a round restart/resets (I'm using both words because I can't remember the actual event) and delete the active timers if that happens.

Other than that, this is great stuff !!
Thanks
KickBack is offline
Greyscale
SourceMod Plugin Approver
Join Date: Dec 2007
Location: strYoMommasHouse[you];
Old 08-26-2008 , 20:48   Re: TF2 Particles via TempEnts
Reply With Quote #4

Quote:
Originally Posted by Pinkfairie View Post
L.Duke, if you ever need someone to birth your kids, im your man.

This works perfectly for me, I'm able to do a TF2 GoreMod now, yahoo!

<bloody pyro>
LOL that's pretty insane.
__________________
Greyscale is offline
r5053
SourceMod Donor
Join Date: May 2007
Location: Germany
Old 08-23-2008 , 09:49   Re: TF2 Particles via TempEnts
Reply With Quote #5

can someone post a full axample plugin ?
__________________
Visit HLPortal.de (this is not my Page)


r5053 is offline
Send a message via ICQ to r5053 Send a message via Skype™ to r5053
chundo
Senior Member
Join Date: May 2008
Old 08-26-2008 , 20:01   Re: TF2 Particles via TempEnts
Reply With Quote #6

Damn, thanks! I've been trying to figure out how to display the achievement trophy on and off for months now.
__________________
chundo is offline
chundo
Senior Member
Join Date: May 2008
Old 08-27-2008 , 14:42   Re: TF2 Particles via TempEnts
Reply With Quote #7

When I spawn the "nemesis" particle, DeleteParticles() only removes the animated border and detaches the particle from the player - the star-with-fists icon stays hanging in the air forever. Any idea how to remove that?
__________________

Last edited by chundo; 08-27-2008 at 14:59.
chundo is offline
chundo
Senior Member
Join Date: May 2008
Old 08-27-2008 , 14:58   Re: TF2 Particles via TempEnts
Reply With Quote #8

Also, is there any way to attach a particle to a player, but hide it from the player's view? For example, I can attach a "nemesis" icon using the particle system, but it obscures the player's view if they look up. Likewise, I could use a tempent and specify which players to send it too, but then it isn't attached to the player and can't be destroyed.

Can you clarify what the "entindex", "m_iAttachType" and "m_iAttachmentPointIndex" properties of a tempent do? I couldn't find any documentation for them online.
__________________
chundo is offline
L. Duke
Veteran Member
Join Date: Apr 2005
Location: Walla Walla
Old 08-27-2008 , 15:47   Re: TF2 Particles via TempEnts
Reply With Quote #9

Some icons like the nemesis icon do seem to remain. I don't know why.

I believe the tempents version "entindex" is the entity to attach to (player, prop_physics, etc.). I don't know about the attachement type, but I assume the attachment point index is the index of the attachment point on the entity. TF2 players have several including the party hat and eye attachments.
__________________
"Good grammar is essential, Robin."
- Batman
L. Duke is offline
CrimsonGT
Veteran Member
Join Date: Oct 2007
Location: Gainesville, FL
Old 10-08-2008 , 09:03   Re: TF2 Particles via TempEnts
Reply With Quote #10

If you want a quick way to view the entities in game, heres a quick plugin I wrote. Just type "particle <particlename>" in console and it will parent it to the player for 5 seconds so you can check it out. I did this and made a list of all of the ones I want to use
Attached Files
File Type: smx particles.smx (2.5 KB, 399 views)
File Type: sp Get Plugin or Get Source (particles.sp - 1235 views - 1.8 KB)
__________________
CrimsonGT 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 18:11.


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