Raised This Month: $ Target: $400
 0% 

Blood effect/beam ... [UNANSWERED]


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 02-20-2007 , 19:36   Re: Blood effect/beam ... [URGENT]
Reply With Quote #1

Try this out.

Code:
 new beamSpr;  public plugin_precache()  {     beamSpr = precache_model("sprites/lgtning.spr");  }  public make_blood_beam(from,to)  {     message_begin(MSG_ALL,SVC_TEMPENTITY);     write_byte(TE_BEAMENTS);     write_short(from); // start entity     write_short(to); // end entity     write_short(beamSpr); // sprite index     write_byte(0); // start frame     write_byte(30); // frame rate in 0.1's     write_byte(20); // life in 0.1's     write_byte(25); // line width in 0.1's     write_byte(50); // noise amplititude in 0.01's     write_byte(200); // red     write_byte(10); // green     write_byte(10); // blue     write_byte(100); // brightness     write_byte(50); // scroll speed in 0.1's     message_end();  }
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS
XxAvalanchexX is offline
Davidos
Senior Member
Join Date: Feb 2005
Old 02-21-2007 , 05:28   Re: Blood effect/beam ... [URGENT]
Reply With Quote #2

Quote:
Originally Posted by XxAvalanchexX View Post
Try this out.

Code:
 new beamSpr;  public plugin_precache()  {     beamSpr = precache_model("sprites/lgtning.spr");  }  public make_blood_beam(from,to)  {     message_begin(MSG_ALL,SVC_TEMPENTITY);     write_byte(TE_BEAMENTS);     write_short(from); // start entity     write_short(to); // end entity     write_short(beamSpr); // sprite index     write_byte(0); // start frame     write_byte(30); // frame rate in 0.1's     write_byte(20); // life in 0.1's     write_byte(25); // line width in 0.1's     write_byte(50); // noise amplititude in 0.01's     write_byte(200); // red     write_byte(10); // green     write_byte(10); // blue     write_byte(100); // brightness     write_byte(50); // scroll speed in 0.1's     message_end();  }
Now it's asking what code beaments is -_-

I put it on 8... that's right, right?

Anyway now the lightning is shooting up XD`

Edit: I just addded 106 <Piss code>

Code:
No model 25610!
Host_Error: UserMsg: Not Present on Client 19
No go...



EDIT!

BOOYAH! I got it to go, only one problem... the beam starts at the... lower... parts...

And, there is really... no way to make this work with blood stream huh... <101>

Last edited by Davidos; 02-21-2007 at 11:50.
Davidos 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 00:44.


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