explosions

New Member
Joined
Aug 22, 2005
Messages
105
Best answers
0
hello

im trying to make an explosion appear on a random spot
but how do i make an explosion (with sprite) appear?

btw it should be such a ki ball explosion, does anyone know how to make such one?

example: ki ball that explode on the floor or wall => explosion
 

MC

New Member
💻 Oldtimer
Joined
May 24, 2003
Messages
3,989
Best answers
0
Can you please elaborate what you are trying to ask? I do not understand what you mean.

A Ki ball that explodes on the floor or wall? Explosion?
 
New Member
💻 Oldtimer
Joined
Apr 14, 2005
Messages
4,022
Best answers
0
I think he wants to code a plugin or something that creates a random explosion the size of a ki-blast at a random spot, and he needs help coding it.
 
New Member
Joined
Mar 18, 2005
Messages
14
Best answers
0
Message is Explosion( 92 )
Paramters are.
3 coords: origin
1 long: radius
1 byte: explosion type.

Code:
MESSAGE_BEGIN( MSG_BROADCAST, 92 );
WRITE_COORD( pev->origin.x );
WRITE_COORD( pev->origin.y );
WRITE_COORD( pev->origin.z );
WRITE_LONG( 256 );
WRITE_BYTE( 1 );
MESSAGE_END( );
 
New Member
Joined
Aug 22, 2005
Messages
105
Best answers
0
ty, that was the message i couldnt find

btw the pev-> must it be there when i code (nvm, its an origin)
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Top