View Single Post
Making a blowtorch. Drawing the flame?
Old
  (#1)
Lazer
Guest
 
Status:
Posts: n/a
Default Making a blowtorch. Drawing the flame? - 21-02-2004

I'm trying to make a blowtorch similar to the Condition-Zero one. Basically it draws a few sprites coming off of what I think might be an attachment point on the model. I dunno how to make it draw the sprites though.

gEngfuncs.pEfxAPI->R_TempSprite( vecSrc, origin, 0.1, m_iBalls, kRenderGlow, kRenderFxNoDissipation, 255.0, 1.0, FTENT_FADEOUT );

I use that to create one of the sprites, but it creates it right at my origin and I don't know how to create it at the attachment point.

Any idea how to make this work?
  
Reply With Quote