Cutstuff Forum

Mega Man 8-bit Deathmatch => Bugs/Suggestions => MM8BDM Discussion => Closed => Topic started by: Xhatahx on September 25, 2016, 04:09:44 PM

Title: MM2QUI block monster lines
Post by: Xhatahx on September 25, 2016, 04:09:44 PM
Sometimes, the bots just DERP and run into a force beam. This is how to fix it:
Code: [Select]
Script 1 OPEN
{
Delay(35*7);
//Laser 1 turn on
ChangeFloor(1,"QARROW");
ChangeFloor(8,"QARROW");
Delay(35*2);
Line_SetBlocking(1,BLOCKF_MONSTERS,0); //NEW
SetActorState(1,"Fire",0);
SetActorState(9,"Fire",0);
ThingSound(3, "misc/quicktrap",127);
ThingSound(10, "misc/quicktrap",127);
delay(35*4);
//Laser 1 turn off
ChangeFloor(1,"BLACK");
ChangeFloor(8,"BLACK");
SetActorState(1,"Spawn",0);
SetActorState(9,"Spawn",0);
Line_SetBlocking(1,0,BLOCKF_MONSTERS); //NEW
delay(35*7);
//Laser 2 turn on
ChangeFloor(2,"QARROW");
ChangeFloor(8,"QARROW");
Delay(35*2);
Line_SetBlocking(2,BLOCKF_MONSTERS,0); //NEW
SetActorState(2,"Fire",0);
SetActorState(9,"Fire",0);
ThingSound(4, "misc/quicktrap",127);
ThingSound(10, "misc/quicktrap",127);
delay(35*4);
//Laser 2 turn off
ChangeFloor(2,"BLACK");
ChangeFloor(8,"BLACK");
SetActorState(2,"Spawn",0);
SetActorState(9,"Spawn",0);
Line_SetBlocking(2,0,BLOCKF_MONSTERS); //NEW
restart;
}
Just add linedefs with tags 1 and 2.
Title: Re: MM2QUI block monster lines
Post by: CutmanMike on September 25, 2016, 04:19:12 PM
Fixed, but I just added basic block likes for all the lanes. Bots will still get caught in them and lose frags.