Raised This Month: $ Target: $400
 0% 

How to make effect like this


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
zhulo
Senior Member
Join Date: Jun 2010
Location: Slovakia
Old 08-08-2011 , 17:02   How to make effect like this
Reply With Quote #1

How to make effect with white falling dots like in this video?

http://www.youtube.com/watch?v=6bvY13FV3E0
zhulo is offline
Send a message via ICQ to zhulo Send a message via Skype™ to zhulo
Hunter-Digital
Veteran Member
Join Date: Aug 2006
Location: In the Game [ro]
Old 08-08-2011 , 17:13   Re: How to make effect like this
Reply With Quote #2

It may be one from many, you should search the plugin if you want that exact effect... but from that I see, the following messages *could* be used, from messages_const.inc:

Code:
#define TE_SPRITE_SPRAY             110      // Spray of alpha sprites
// write_byte(TE_SPRITE_SPRAY)
// write_coord(position.x)
// write_coord(position.y)
// write_coord(position.z)
// write_coord(velocity.x)
// write_coord(velocity.y)
// write_coord(velocity.z)
// write_short(sprite index)
// write_byte(count)
// write_byte(speed)
// write_byte(noise)

#define TE_SPRAY                    120      // Throws a shower of sprites or models
// write_byte(TE_SPRAY)
// write_coord(position.x)
// write_coord(position.y)
// write_coord(position.z)
// write_coord(direction.x)
// write_coord(direction.y)
// write_coord(direction.z)
// write_short(modelindex)
// write_byte(count)
// write_byte(speed)
// write_byte(noise)
// write_byte(rendermode)

#define TE_PLAYERSPRITES            121      // Sprites emit from a player's bounding box (ONLY use for players!)
// write_byte(TE_PLAYERSPRITES)
// write_short(playernum)
// write_short(sprite modelindex)
// write_byte(count)
// write_byte(variance) (0 = no variance in size) (10 = 10% variance in size)
And there could be more that can do the same effect or the exact effect by default.

These values are used in messages with SVC_TEMPENTITY, the contents of the message is described in the comments.
__________________
Hunter-Digital is offline
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 08-08-2011 , 18:53   Re: How to make effect like this
Reply With Quote #3

I think it is TE_SPRITETRAIL
__________________
xPaw is offline
zhulo
Senior Member
Join Date: Jun 2010
Location: Slovakia
Old 08-08-2011 , 19:24   Re: How to make effect like this
Reply With Quote #4

Quote:
Originally Posted by xPaw View Post
I think it is TE_SPRITETRAIL
YES! It is!
zhulo is offline
Send a message via ICQ to zhulo Send a message via Skype™ to zhulo
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 03:25.


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