Raised This Month: $ Target: $400
 0% 

Creating smaller tracer


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
darktemplar
Member
Join Date: Sep 2009
Old 09-10-2012 , 22:13   Creating smaller tracer
Reply With Quote #1

Hi everyone,

Could anyone answer my question about the TE_TRACER . I use TE_TRACER message to create a trace line but you know, that line is big, ugly and doesnt allow me to change it color. Can anyone help me to create a small tracer and that tracer allow me to change its color and witdth

Thank you,
darktemplar is offline
micapat
Veteran Member
Join Date: Feb 2010
Location: Nyuu, nyuu (France).
Old 09-11-2012 , 07:15   Re: Creating smaller tracer
Reply With Quote #2

Quote:
#define TE_USERTRACER 127 // Larger message than the standard tracer, but allows some customization.
// write_byte(TE_USERTRACER)
// write_coord(origin.x)
// write_coord(origin.y)
// write_coord(origin.z)
// write_coord(velocity.x)
// write_coord(velocity.y)
// write_coord(velocity.z)
// write_byte(life * 10)
// write_byte(color) this is an index into an array of color vectors in the engine. (0 - )
// write_byte(length * 10)
__________________
micapat is offline
darktemplar
Member
Join Date: Sep 2009
Old 09-11-2012 , 22:42   Re: Creating smaller tracer
Reply With Quote #3

But it doesnt allow me to change the tracer's size
darktemplar is offline
darktemplar
Member
Join Date: Sep 2009
Old 09-12-2012 , 03:22   Re: Creating smaller tracer
Reply With Quote #4

I think about TE_LINE, but can anyone tell me how to make it look like a tracer please ?
darktemplar is offline
Reply


Thread Tools
Display Modes

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:13.


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