Quote:
Originally Posted by [ --<-@ ] Black Rose
TE_BEAMPOINTS with another sprite and get users origin and add some height.
|
... uh, how do you expect me to know how to do that... *sniff*
I don't have the slightest idea how to code, the only thing I'm good at coding is just learning from other scripts. So unless you have an example to back it up that's pretty much a useless post for me -_-;
Lemme try to explain.
Beampoints
Code:
/* Temp entity message types for message_begin() */
#define TE_BEAMPOINTS 0 // Beam effect between two points
// write_byte(TE_BEAMPOINTS)
// write_coord(startposition.x)
// write_coord(startposition.y)
// write_coord(startposition.z)
// write_coord(endposition.x)
// write_coord(endposition.y)
// write_coord(endposition.z)
// write_short(sprite index)
// write_byte(starting frame)
// write_byte(frame rate in 0.1's)
// write_byte(life in 0.1's)
// write_byte(line width in 0.1's)
// write_byte(noise amplitude in 0.01's)
// write_byte(red)
// write_byte(green)
// write_byte(blue)
// write_byte(brightness)
// write_byte(scroll speed in 0.1's)
Bloodstream 101
Code:
#define TE_BLOODSTREAM 101 // Particle spray
// write_byte(TE_BLOODSTREAM)
// write_coord(position.x)
// write_coord(position.y)
// write_coord(position.z)
// write_coord(vector.x)
// write_coord(vector.y)
// write_coord(vector.z)
// write_byte(color)
// write_byte(speed)
HOW do I bind these to a player and it's target... <And I mean a diffrent player as in target...>
Because I have tried id[] and target[]
with id[3] and target[3] from id[0/2] and target[0/2] and that didn't do anything...