'Ground Zero' for Yamagi Quake II
Find a file
Yamagi Burmeister 501ed1e71a Try to fix monsters getting stuck by waiting forever for their enemy.
44472722e added some sanity checks to the AI code. The checks in
ai_run() are likely wrong because the enemy entity might be already
NULL if we arrive their. By aborting early the code is unable to
determine a new enemy or return the monster to idle state, so the
monster will wait forever for an enemy that'll never come.

This happens only in monster vs. monster fights. Never in monster vs.
player, that game ends if the player dies.

In theory this change should be harmless, because if the enemy entity is
gone it won't generate sound targets now be visible. If the game crashes
by self->enemy being NULL we've got a problem elsewere.

This was reported by @BjossiAlfreds in #483. He also suggested the fix
2019-08-31 11:11:04 +02:00
src Try to fix monsters getting stuck by waiting forever for their enemy. 2019-08-31 11:11:04 +02:00
.gitignore Fix bug with high velocities in vents in 32bit builds, fix MingW build 2015-05-17 18:40:49 +02:00
CHANGELOG Update the CHANGELOG for 2.05. 2019-02-04 14:44:41 +01:00
CMakeLists.txt Added parenesis for REGEX REPLACE command to fix this error: 2018-12-15 17:01:39 -05:00
LICENSE Readme und Lizenz fuer die Addons 2009-06-08 16:04:34 +00:00
Makefile Link with -lm. 2019-05-13 17:05:54 +02:00
README README: Always put quotes around "Ground Zero" 2018-08-14 21:09:26 +02:00

This is a bugfixed version of id Software's Quake II missionpack
"Ground Zero", developed by Rogue Software. Hundreds of bugs were
fixed, this version should run much more stable than the old
SDK version. While compatible with any Quake II client that uses
the original unaltered mod API, the "Yamagi Quake II Client" is
highly recommended to play the addon. For more information visit
http://www.yamagi.org/quake2. 

Installation for FreeBSD, Linux and OpenBSD:
--------------------------------------------
1. Type "make" or "gmake" to compile the game.so.
2. Create a subdirectory rogue/ in your quake2 directory.
3. Copy pak0.pak and videos/ from the "Ground Zero" CD to
   the newly created directory rogue/.
4. Copy release/game.so to rogue/.
5. Start the game with "./quake2 +set game rogue"

Installation for OS X:
----------------------
1. Create a subdirectory rogue/ in your quake2 directory.
2. Copy pak0.pak and videos/ from the "Ground Zero" CD to
   the newly created directory rogue/.
3. Copy game.dynlib from the zip-archive to rogue/.
4. Start the game with "quake2 +set game rogue"

If you want to compile 'rogue' for OS X from source, please take a
look at the "Installation" section of the README of the Yamagi Quake II
client. In the same file the integration into an app-bundle is
explained.
 
Installation for Windows:
-------------------------
1. Create a subdirectory rogue\ in your quake2 directory.
2. Copy pak0.pak and videos\ from the "Ground Zero" CD to
   the newly created directory rogue\.
3. Copy game.dll from the zip-archive to rogue/.
4. Start the game with "quake2.exe +set game rogue"

If you want to compile 'rogue' for Windows from source, please take a
look at the "Installation" section of the README of the Yamagi Quake II
client. There's descripted how to setup the build environment.