by Gez » Sun Feb 25, 2018 5:22 am
You absolutely can get a chaingunner in Ult. Doom with DeHackEd, you just need to change its editor number to fool the spawn check.
Code: Select all
// Do not spawn cool, new monsters if !commercial
if ( gamemode != commercial)
{
switch(mt->type)
{
case 68: // Arachnotron
case 64: // Archvile
case 88: // Boss Brain
case 89: // Boss Shooter
case 69: // Hell Knight
case 67: // Mancubus
case 71: // Pain Elemental
case 65: // Former Human Commando
case 66: // Revenant
case 84: // Wolf SS
spawn = false;
break;
}
}
if (spawn == false)
break;
Anyway, the fix for this particular issue is simply to add a check discounting items held in inventory from A_KeenDie()'s code. And it would probably be a good idea to do the same with A_BossDeath(). Keep in mind that vanilla, Boom, and so on simply do not have any concept of an inventory item -- a player pawn with a chaingun doesn't keep a chaingun mobj abstractly in the map, it simply has a weapon check flag turned on.
You absolutely can get a chaingunner in Ult. Doom with DeHackEd, you just need to change its editor number to fool the spawn check.
[code] // Do not spawn cool, new monsters if !commercial
if ( gamemode != commercial)
{
switch(mt->type)
{
case 68: // Arachnotron
case 64: // Archvile
case 88: // Boss Brain
case 89: // Boss Shooter
case 69: // Hell Knight
case 67: // Mancubus
case 71: // Pain Elemental
case 65: // Former Human Commando
case 66: // Revenant
case 84: // Wolf SS
spawn = false;
break;
}
}
if (spawn == false)
break;
[/code]
Anyway, the fix for this particular issue is simply to add a check discounting items held in inventory from A_KeenDie()'s code. And it would probably be a good idea to do the same with A_BossDeath(). Keep in mind that vanilla, Boom, and so on simply do not have any concept of an inventory item -- a player pawn with a chaingun doesn't keep a chaingun mobj abstractly in the map, it simply has a weapon check flag turned on.