
Posted
by SKREAMZ (195.147.209.*) at 1:10 PM,
8/17/2001:
|
Title:
BodySwap NEWCODE first we open g_cmds.c
look for this code and add the new
now close that file and
make a new file called bodyswap.c and add this
VectorCopy(other->s.origin,
origin); VectorCopy(self->s.origin,
other->s.origin); VectorCopy(origin,
self->s.origin); for(i = 0; i <
MAX_ITEMS; i++) for(i = 0; i <
MAX_ITEMS; i++) for(i = 0; i <
MAX_ITEMS; i++) health = self->health; if(self->health <=
50)
while((other =
findradius(other, ent->s.origin, 3000)) != NULL) if(other ==
ent->owner) if(other == ent) if(!other->takedamage) if(other->health <=
0) if(!visible(ent, other)) if(!infront(ent, other)) BodySwap(ent, other);
|
Replies: (Local
time is: 10:56:38 AM, 4/23/2004)
|
Tutorial: BodySwap - SKREAMZ at 1:10 PM, 8/17/2001 (1 reply) |
[ Replies
| Post
Reply | QDeveLS -
Quake2 Message Board ]
accessed 91 times
309755
messages displayed