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

[Help] Gravity of snowflakes


Post New Thread Reply   
 
Thread Tools Display Modes
The Professional
Member
Join Date: Nov 2015
Location: İstanbul
Old 12-19-2016 , 14:39   Re: [Help] Gravity of snowflakes
Reply With Quote #11

Quote:
Originally Posted by safetymoose View Post
You cant because TE_SPRITETRAIL is a hardcoded message and you cant change how the effect works. Either try a different message or make your own effect.
These codes maybe work?

PHP Code:
#define TE_SPRITETRAIL              15       // Line of moving glow sprites with gravity, fadeout, and collisions
// write_byte(TE_SPRITETRAIL)
// write_coord(startposition.x)
// write_coord(startposition.y)
// write_coord(startposition.z)
// write_coord(endposition.x)
// write_coord(endposition.y)
// write_coord(endposition.z)
// write_short(sprite index)
// write_byte(count)
// write_byte(life in 0.1's) 
// write_byte(scale in 0.1's) 
// write_byte(velocity along vector in 10's)
// write_byte(randomness of velocity in 10's) 
__________________

Last edited by The Professional; 12-19-2016 at 14:39.
The Professional is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 12-19-2016 , 15:06   Re: [Help] Gravity of snowflakes
Reply With Quote #12

You see any "gravity" amount there? Probably not.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
The Professional
Member
Join Date: Nov 2015
Location: İstanbul
Old 12-19-2016 , 15:16   Re: [Help] Gravity of snowflakes
Reply With Quote #13

Quote:
Originally Posted by OciXCrom View Post
You see any "gravity" amount there? Probably not.
Yes, I'm a little clumsy

I was actually thinking... Is possible a sv_gravity command that does not affect the players?

Because, when I set sv_gravity as "100", snowflakes falling slow... So, snowflakes depends on sv_gravity command.
__________________

Last edited by The Professional; 12-19-2016 at 15:19.
The Professional is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 12-19-2016 , 15:51   Re: [Help] Gravity of snowflakes
Reply With Quote #14

Snowflakes and players aren't the only things that depends on sv_gravity. And please stop using both threads. Delete one.
__________________

Last edited by OciXCrom; 12-19-2016 at 15:51.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
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 06:09.


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