Raised This Month: $ Target: $400
 0% 

lighting tracers


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Shurik3n
Member
Join Date: Feb 2006
Old 07-09-2006 , 07:27   Re: lighting tracers
Reply With Quote #1

Code:
#define TE_BEAMPOINTS 0     // beam effect between two points new origin[3],originhit[3] get_user_origin(id,origin) get_user_origin(id,origin,3) //Mode 3 gets where the bullet will hit. message_begin(MSG_ ,SVC_TEMPENTITY) write_byte(TE_BEAMPOINTS) write_coord(origin[0])  // start position write_coord(origin[1]) write_coord(origin[2]) write_coord(originhit[0])   // end position write_coord(originhit[1]) write_coord(originhit[2]) //You can fill in the rest write_short()   // sprite index write_byte()    // starting frame write_byte()    // frame rate in 0.1's write_byte()    // life in 0.1's write_byte()    // line width in 0.1's write_byte()    // noise amplitude in 0.01's write_byte()    // Red write_byte()    // Green write_byte()    // Blue write_byte()    // brightness write_byte()    // scroll speed in 0.1's message_end()
Shurik3n 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 08:01.


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