Raised This Month: $ Target: $400
 0% 

about create_blast


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Jacob
Senior Member
Join Date: Oct 2010
Old 11-20-2010 , 10:26   about create_blast
Reply With Quote #1

PHP Code:
static Float:originF[3]
 
pev(entpev_originoriginF)
 
create_blast(originF)
//------------------
create_blast(const Float:originF[3])
{
 
// Smallest ring
 
engfunc(EngFunc_MessageBeginMSG_PVSSVC_TEMPENTITYoriginF0)
 
write_byte(TE_BEAMCYLINDER// TE id
 
engfunc(EngFunc_WriteCoordoriginF[0]) // x
 
engfunc(EngFunc_WriteCoordoriginF[1]) // y
 
engfunc(EngFunc_WriteCoordoriginF[2]) // z
 
engfunc(EngFunc_WriteCoordoriginF[0]) // x axis
 
engfunc(EngFunc_WriteCoordoriginF[1]) // y axis
 
engfunc(EngFunc_WriteCoordoriginF[2]+385.0// z axis
 
write_short(g_exploSpr// sprite
 
write_byte(0// startframe
 
write_byte(0// framerate
 
write_byte(4// life
 
write_byte(60// width
 
write_byte(0// noise
 
write_byte(0// red
 
write_byte(200// green
 
write_byte(0// blue
 
write_byte(200// brightness
 
write_byte(0// speed
 
message_end()

sometimes the blast appers in the sky,how to make the blast spread only on the ground ?(ThX in advance)
Jacob 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 11:28.


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