mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-22 12:41:21 +00:00
Map fixes for old and newly discovered bugs + removed code hacks
This commit is contained in:
parent
4fd0369f47
commit
23f55b72c7
9 changed files with 45451 additions and 51 deletions
|
@ -584,10 +584,6 @@ SpawnEntities(const char *mapname, char *entities, const char *spawnpoint)
|
|||
const char *com_token;
|
||||
int i;
|
||||
float skill_level;
|
||||
static qboolean monster_count_city2 = false;
|
||||
static qboolean monster_count_city3 = false;
|
||||
static qboolean monster_count_cool1 = false;
|
||||
static qboolean monster_count_lab = false;
|
||||
|
||||
if (!mapname || !entities || !spawnpoint)
|
||||
{
|
||||
|
@ -665,53 +661,6 @@ SpawnEntities(const char *mapname, char *entities, const char *spawnpoint)
|
|||
ent->spawnflags &= ~SPAWNFLAG_NOT_HARD;
|
||||
}
|
||||
|
||||
/*
|
||||
* The 'monsters' count in city3.bsp is wrong.
|
||||
* There're two monsters triggered in a hidden
|
||||
* and unreachable room next to the security
|
||||
* pass.
|
||||
*
|
||||
* We need to make sure that this hack is only
|
||||
* applied once!
|
||||
*/
|
||||
if (!Q_stricmp(level.mapname, "city3") && !monster_count_city3)
|
||||
{
|
||||
level.total_monsters = level.total_monsters - 2;
|
||||
monster_count_city3 = true;
|
||||
}
|
||||
|
||||
/* A slightly other problem in city2.bsp. There's a floater
|
||||
* with missing trigger on the right gallery above the data
|
||||
* spinner console, right before the door to the staircase.
|
||||
*/
|
||||
if ((skill->value > 0) && !Q_stricmp(level.mapname, "city2") && !monster_count_city2)
|
||||
{
|
||||
level.total_monsters = level.total_monsters - 1;
|
||||
monster_count_city2 = true;
|
||||
}
|
||||
|
||||
/*
|
||||
* Nearly the same problem exists in cool1.bsp.
|
||||
* On medium skill a gladiator is spawned in a
|
||||
* crate that's never triggered.
|
||||
*/
|
||||
if ((skill->value == 1) && !Q_stricmp(level.mapname, "cool1") && !monster_count_cool1)
|
||||
{
|
||||
level.total_monsters = level.total_monsters - 1;
|
||||
monster_count_cool1 = true;
|
||||
}
|
||||
|
||||
/*
|
||||
* Nearly the same problem exists in lab.bsp.
|
||||
* On medium skill two parasites are spawned
|
||||
* in a hidden place that never triggers.
|
||||
*/
|
||||
if ((skill->value == 1) && !Q_stricmp(level.mapname, "lab") && !monster_count_lab)
|
||||
{
|
||||
level.total_monsters = level.total_monsters - 2;
|
||||
monster_count_lab = true;
|
||||
}
|
||||
|
||||
/* remove things (except the world) from
|
||||
different skill levels or deathmatch */
|
||||
if (ent != g_edicts)
|
||||
|
|
3708
stuff/mapfixes/baseq2/base2.ent
Normal file
3708
stuff/mapfixes/baseq2/base2.ent
Normal file
File diff suppressed because it is too large
Load diff
2760
stuff/mapfixes/baseq2/biggun.ent
Normal file
2760
stuff/mapfixes/baseq2/biggun.ent
Normal file
File diff suppressed because it is too large
Load diff
6759
stuff/mapfixes/baseq2/city1.ent
Normal file
6759
stuff/mapfixes/baseq2/city1.ent
Normal file
File diff suppressed because it is too large
Load diff
6737
stuff/mapfixes/baseq2/city2.ent
Normal file
6737
stuff/mapfixes/baseq2/city2.ent
Normal file
File diff suppressed because it is too large
Load diff
7243
stuff/mapfixes/baseq2/city3.ent
Normal file
7243
stuff/mapfixes/baseq2/city3.ent
Normal file
File diff suppressed because it is too large
Load diff
4751
stuff/mapfixes/baseq2/cool1.ent
Normal file
4751
stuff/mapfixes/baseq2/cool1.ent
Normal file
File diff suppressed because it is too large
Load diff
9324
stuff/mapfixes/baseq2/lab.ent
Normal file
9324
stuff/mapfixes/baseq2/lab.ent
Normal file
File diff suppressed because it is too large
Load diff
4169
stuff/mapfixes/juggernaut/jug19.ent
Normal file
4169
stuff/mapfixes/juggernaut/jug19.ent
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue