Raised This Month: $ Target: $400
 0% 

Way to make....around a bounding box?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 01-30-2007 , 00:27   Re: Way to make....around a bounding box?
Reply With Quote #3

Code:
new Float:mins[3], Float:maxs[3]; pev(ent,pev_absmin,mins); pev(ent,pev_absmax,maxs); message_begin(MSG_BROADCAST,SVC_TEMPENTITY); write_byte(31); // TE_BOX write_coord(floatround(mins[0])); // boxmins write_coord(floatround(mins[1])); write_coord(floatround(mins[2])); write_coord(floatround(maxs[0])); // boxmaxs write_coord(floatround(maxs[1])); write_coord(floatround(maxs[2])); write_short(100); // life in 0.1 s write_byte(255); // r write_byte(0); // g write_byte(0); // b message_end();

If you display a lot of these, all of the dots might not actually appear. To allocate more dots, add this to your game launch parameters: "-particles 65000"
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS

Last edited by XxAvalanchexX; 01-30-2007 at 00:33.
XxAvalanchexX is offline
 



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 00:35.


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