Code: Select all
error: Q505: ranzombie.qc:19:Unknown value "demon1_stand1"[
Code: Select all
// Fiend
if (r == 0)
{
self.classname = "monster_demon1";
self.solid = SOLID_SLIDEBOX;
self.movetype = MOVETYPE_STEP;
setmodel (self, "progs/demon.mdl");
setsize (self, VEC_HULL2_MIN, VEC_HULL2_MAX);
self.health = 300;
self.th_stand = demon1_stand1;
self.th_walk = demon1_walk1;
self.th_run = demon1_run1;
self.th_die = demon_die;
self.th_melee = Demon_MeleeAttack; // one of two attacks
self.th_missile = demon1_jump1; // jump attack
self.th_pain = demon1_pain;
}
// Rottweiler
if (r == 1)
{
self.classname = "monster_dog";
self.solid = SOLID_SLIDEBOX;
self.movetype = MOVETYPE_STEP;
setmodel (self, "progs/dog.mdl");
setsize (self, '-32 -32 -24', '32 32 40');
self.health = 25;
self.th_stand = dog_stand1;
self.th_walk = dog_walk1;
self.th_run = dog_run1;
self.th_pain = dog_pain;
self.th_die = dog_die;
self.th_melee = dog_atta1;
self.th_missile = dog_leap1;
}
I think I know what's goin' on but i don't know how to fix it. BTW I know ranzombie is the wrong file name, I dont thin that's the problem.
Also I want to use gyro to make all the items i the game (health packe, weapons, amo, powerups, and gibs) physics objects but i cant figure it out. Could someone tell me how to make a few of them work and i will figute the rst out on my own.
Thanks