Tesculpture wrote:-To have the Double Whips spawn before/alongside boomerangs from Chainsaws/Gauntlets in Doom/Heretic. The way it is now, obtaining Double Whips in Doom requires you to obtain nine boomerangs, then enter a Chainsaw containing level. Since not all Doom levels contain a Chainsaw, and those that do usually only have one, you can have completed most of a megawad before you get the whips - if you're playing a nine level episode in Heretic or a megawad that reverts you to a pistol start halfway through, it's all but impossible.
I'm not sure how long it'll be before Term revisits this mod, but for those impatient, you can go into zactors/weapons/wep1-boomerang.zsc and change lines 47-53 from this
Code: Select all
if (CountInv("DoubleWhips",AAPTR_PLAYER1) == 1 && CountInv("IsNetplay",AAPTR_PLAYER1) == 0 && GetCvar("el_pistolstart") == 0)
{
if (CountInv("BasicArmor",AAPTR_PLAYER1) < 150) { return ResolveState("ArmorSpawn"); }
else { return ResolveState("ArmorSpawn2"); }
}
if (CountInv("BoomerangTotal",AAPTR_PLAYER1) == 9 && CountInv("IsNetplay",AAPTR_PLAYER1) == 0 && GetCvar("el_pistolstart") == 0)
{ return ResolveState("WhipSpawn"); }
to this
Code: Select all
if (CountInv("DoubleWhips",AAPTR_PLAYER1) < 1 && CountInv("IsNetplay",AAPTR_PLAYER1) == 0 && GetCvar("el_pistolstart") == 0 && Random(0,1))
{ return ResolveState("WhipSpawn"); }
if (CountInv("BoomerangTotal",AAPTR_PLAYER1) == 9 && CountInv("IsNetplay",AAPTR_PLAYER1) == 0 && GetCvar("el_pistolstart") == 0)
{
if (CountInv("BasicArmor",AAPTR_PLAYER1) < 150) { return ResolveState("ArmorSpawn"); }
else { return ResolveState("ArmorSpawn2"); }
}
And that will give you a chance at getting whips before getting a full set of boomerangs (or additionally get rid of Random(0,1) to get whips before boomerangs every time).