If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.
Announcement
Collapse
No announcement yet.
How do I fix the glitch where the rotfish counts as 2 enemies?
if (self.target)
{
self.goalentity = self.movetarget = find(world, targetname, self.target);
if (!self.movetarget)
{
dprint ("Monster can't find target at ");
dprint (vtos(self.origin));
dprint ("\n");
}
// this used to be an objerror
self.ideal_yaw = vectoyaw(self.goalentity.origin - self.origin);
self.th_walk ();
}
else
{
self.pausetime = 99999999;
self.th_stand ();
}
// spread think times so they don't all happen at same time
self.nextthink = self.nextthink + random()*0.5;
};
void() swimmonster_start =
{
// spread think times so they don't all happen at same time
self.nextthink = self.nextthink + random()*0.5;
self.think = swimmonster_start_go; total_monsters = total_monsters + 1;
};
See the two lines that are bold? id Software forgot to remove one of these, making the fish get counted twice. Realistically, any swimming monster would get counted twice, except that the fish just happens to be the only swimming monster in vanilla Quake.
So to fix, you'll need to obtain the q1 source files and a compiler, open up monsters.qc in notepad or something, remove one of the two lines, and compile. This could kind of be considered a mod, just an incredibly small one lol.
A lot of mods made will address this issue, since its simply a screw up on id's behalf that went unnoticed.
If there's a way of fixing it non-code, I don't know about it.
EDIT: Just remembered you're running a mac. Better make sure you can track down a mac friendly code compiler if you're going that route.
If you think that this was the only "vanilla Quake" bug, then think again
Fortunately a lot of people build up an extreme detailed list of all existing Quake related bugs and issues, together with fixes, workarounds and solutions.
This is Quake C progs 1.06 with the following two changes:
-fish count bug is fixed
-dead fish become nonsolid on the first frame (not blocking
shots and movement)
For convenience, the updated progs.dat comes in a PAK file
which can be placed in the ID1\ directory to work out of
the box.
Place it in the ID1 directory within your DarkPlaces main directory and start the game. That should be it.
Comment