Compat for NRFTL MAP08 (exit cheese).
Compat for Micro Slaughter Community Project MAP13 (excessive number of cell packs).
This commit is contained in:
parent
308b17702c
commit
8f1846191c
4 changed files with 38 additions and 2 deletions
BIN
acs/swwmcomp.o
BIN
acs/swwmcomp.o
Binary file not shown.
|
|
@ -1,3 +1,3 @@
|
|||
[default]
|
||||
SWWM_MODVER="\chSWWM \czGZ\c- \cw0.9.11b-pre r259 \cu(Wed 10 Feb 01:10:30 CET 2021)\c-";
|
||||
SWWM_SHORTVER="\cw0.9.11b-pre r259 \cu(2021-02-10 01:10:30)\c-";
|
||||
SWWM_MODVER="\chSWWM \czGZ\c- \cw0.9.11b-pre r260 \cu(Wed 10 Feb 10:40:54 CET 2021)\c-";
|
||||
SWWM_SHORTVER="\cw0.9.11b-pre r260 \cu(2021-02-10 10:40:54)\c-";
|
||||
|
|
|
|||
|
|
@ -34,6 +34,12 @@ SCRIPT "HHR_BRAINWALL" ( void )
|
|||
ClearLineSpecial();
|
||||
}
|
||||
|
||||
SCRIPT "NERVE_EXITOPEN" ( void )
|
||||
{
|
||||
Stairs_BuildUpDoomCrush(14,32,16,0,0);
|
||||
Ceiling_RaiseByValue(24,8,80);
|
||||
}
|
||||
|
||||
// this one is for forcing episodes to continue seamlessly
|
||||
// will be used eventually
|
||||
SCRIPT "EPISODIC_CONTD" ( void )
|
||||
|
|
|
|||
|
|
@ -41,6 +41,36 @@ Class SWWMLevelCompatibility : LevelPostProcessor
|
|||
SetThingID(50183,666);
|
||||
SetLineSpecial(21964,ACS_Execute,-Int('HHR_BRAINWALL'));
|
||||
break;
|
||||
// NRFTL MAP08
|
||||
case '7EB864A03948C3F918F9223B2D1F8911':
|
||||
// prevent easy cheesing of the exit teleporter
|
||||
AddSectorTag(155,24);
|
||||
OffsetSectorPlane(155,1,-80.);
|
||||
SetLineSpecial(652,ACS_Execute,-Int('NERVE_EXITOPEN'));
|
||||
break;
|
||||
// Micro Slaughter Community Project MAP13
|
||||
case 'E45AA3BE411845AA0DEE7CA5DAAB65FE':
|
||||
// reduce OBSCENELY EXCESSIVE number of cell packs in voodoo doll conveyors (400), which will cause immense lag when replaced with mod ammo
|
||||
// unsurprisingly, this actually makes the map go from completely unplayable to having perfectly smooth performance (gee, I wonder why)
|
||||
int ncellsa = 0, ncellsb = 0;
|
||||
for ( int i=0; i<GetThingCount(); i++ )
|
||||
{
|
||||
int tn = GetThingEdNum(i);
|
||||
if ( tn != 17 ) continue;
|
||||
Vector3 pos = GetThingPos(i);
|
||||
if ( pos.y != 480. ) continue;
|
||||
if ( pos.x == -5472. )
|
||||
{
|
||||
ncellsa++;
|
||||
if ( ncellsa > 20 ) SetThingEdNum(i,0);
|
||||
}
|
||||
else if ( pos.x == -5344. )
|
||||
{
|
||||
ncellsb++;
|
||||
if ( ncellsb > 20 ) SetThingEdNum(i,0);
|
||||
}
|
||||
}
|
||||
break;
|
||||
// Kinsie's Test Map (HERETIC)
|
||||
case '0EADB2F82732A968B8513E4DC6138439':
|
||||
numcol = 7;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue