From f1a0345c57f767df088221c739e260ca60741745 Mon Sep 17 00:00:00 2001 From: Ed the Bat Date: Mon, 9 Dec 2019 07:51:02 -0500 Subject: [PATCH] More compat fixes for Swan Fox maps (#982) * More compat fixes for Swan Fox maps Found some more issues on maps that already have compat fixes in place * Missed a dud line At least I'd commented it out so it was benign, but still... --- wadsrc/static/zscript/level_compatibility.zs | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/wadsrc/static/zscript/level_compatibility.zs b/wadsrc/static/zscript/level_compatibility.zs index f58846f43e..325d9c1786 100644 --- a/wadsrc/static/zscript/level_compatibility.zs +++ b/wadsrc/static/zscript/level_compatibility.zs @@ -1484,15 +1484,25 @@ class LevelCompatibility : LevelPostProcessor SetThingFlags(0, MTF_SINGLE|MTF_COOPERATIVE|MTF_DEATHMATCH); for(int i = 2; i < 452; i++) SetThingFlags(i, MTF_SINGLE|MTF_COOPERATIVE|MTF_DEATHMATCH); + //Awaken monsters with Thing_Hate, since NoiseAlert is unreliable + SetThingID(465, 9); + SetLineSpecial(1648, 177, 9); + for(int i = 1650; i <= 1653; i++) + SetLineSpecial(i, 177, 9); + SetLineSpecial(1655, 177, 9); break; } case 'FDFB3D209CC0F3706AAF3E51646003D5': // swan fox doom v2.4.wad map23 { + //Missing Teleport Destination on Easy/Normal difficulty + SetThingSkills(650, SKILLS_ALL); //Fix the exit portal to allow walking into it instead of shooting it SetLineSpecial(1970, Exit_Normal, 0); SetLineActivation(1970, SPAC_Cross); ClearLineSpecial(2010); + SetWallTexture(1966, Line.back, Side.mid, "TELR1"); + OffsetSectorPlane(170, Sector.floor, -120); break; }