Updating zombie filepaths

yes
This commit is contained in:
Tyler Young 2022-12-27 21:50:52 -05:00
parent 3802fadefa
commit 8cb75597b5
4 changed files with 21 additions and 21 deletions

View file

@ -517,7 +517,7 @@ void(float dist) Window_Hop =
self.enemy = find_new_enemy(self);
//self.th_die();
self.th_walk();
LinkZombiesHitbox();
//LinkZombiesHitbox();
//bprint (PRINT_HIGH, "Linked hitboxes");
}
}

View file

@ -244,20 +244,20 @@ void(entity who) makeCrawler =
//who.th_grabledge = zombie_grabledge1;
//who.th_diewunder = die_wunder1;
setmodel(who,"models/ai/zcbod.mdl");
setmodel(who,"models/ai/zbc#.mdl");
if(who.head.deadflag)
{
setmodel(who.head,"models/ai/zchead.mdl");
setmodel(who.head,"models/ai/zhc^.mdl");
//updateLimb (who, 0, world);
}
if(who.larm.deadflag)
{
setmodel(who.larm,"models/ai/zclarm.mdl");
setmodel(who.larm,"models/ai/zalc(.mdl");
//updateLimb (who, 1, world);
}
if(who.rarm.deadflag)
{
setmodel(who.rarm,"models/ai/zcrarm.mdl");
setmodel(who.rarm,"models/ai/zarc(.mdl");
//updateLimb (who, 2, world);
}
who.crawling = 1;

View file

@ -1380,7 +1380,7 @@ void() zombieRise =
self.frame ++;
self.think = zombieRise;
self.nextthink = time + 0.1;
LinkZombiesHitbox();
//LinkZombiesHitbox();
//bprint (PRINT_HIGH, "Linked hitboxes");
};
void() spawn_zombie =
@ -1635,9 +1635,9 @@ void(entity where) spawn_a_zombieB =
szombie.larm.deadflag = 1;
szombie.rarm.deadflag = 1;
setmodel(szombie.head, "models/ai/zhead.mdl");
setmodel(szombie.rarm, "models/ai/zrarm.mdl");
setmodel(szombie.larm, "models/ai/zlarm.mdl");
setmodel(szombie.head, "models/ai/zh^.mdl");
setmodel(szombie.rarm, "models/ai/zar(.mdl");
setmodel(szombie.larm, "models/ai/zal(.mdl");
#ifndef PC
updateLimb (szombie, 0, szombie.head);
updateLimb (szombie, 1, szombie.larm);
@ -1647,7 +1647,7 @@ void(entity where) spawn_a_zombieB =
szombie.solid = szombie.head.solid = SOLID_CORPSE;
szombie.movetype = MOVETYPE_WALK;
setmodel(szombie, "models/ai/zbod.mdl");
setmodel(szombie, "models/ai/zb#.mdl");
szombie.hop_step = 0;
szombie.gravity = 1.0;
@ -1730,7 +1730,7 @@ void(entity where) spawn_a_zombieB =
self.th_walk();
self = old_self;
LinkZombiesHitbox();
//LinkZombiesHitbox();
#ifndef PC
//

View file

@ -155,17 +155,17 @@ void() precaches =
// zombie
precache_model ("models/ai/zfull.mdl");
precache_model ("models/ai/zlarm.mdl");
precache_model ("models/ai/zrarm.mdl");
precache_model ("models/ai/zbod.mdl");
precache_model ("models/ai/zhead.mdl");
precache_model ("models/ai/zal(.mdl");
precache_model ("models/ai/zar(.mdl");
precache_model ("models/ai/zb#.mdl");
precache_model ("models/ai/zh^.mdl");
// zombie crawler
precache_model ("models/ai/zcfull.mdl");
precache_model ("models/ai/zcbod.mdl");
precache_model ("models/ai/zclarm.mdl");
precache_model ("models/ai/zcrarm.mdl");
precache_model ("models/ai/zchead.mdl");
precache_model ("models/ai/zcb#.mdl");
precache_model ("models/ai/zalc(.mdl");
precache_model ("models/ai/zarc(.mdl");
precache_model ("models/ai/zch^.mdl");
// powerups
precache_model ("models/sprites/explosion.spr");
@ -396,7 +396,7 @@ void() RelinkZombies =
//if(OnlyOrigin)
// continue;
/*
min = ent2.bbmins + (v_right * ent2.view_ofs_x) + (v_forward * ent2.view_ofs_y) + (v_up * ent2.view_ofs_z);
max = ent2.bbmaxs + (v_right * ent2.view_ofs_x) + (v_forward * ent2.view_ofs_y) + (v_up * ent2.view_ofs_z);
@ -405,7 +405,7 @@ void() RelinkZombies =
if(min_z > max_z) { min_z += max_z; max_z = min_z - max_z; min_z -= max_z; }
setsize(ent2,min,max);
*/
}
}