Cutstuff Forum

Mega Man 8-bit Deathmatch => Bugs/Suggestions => MM8BDM Discussion => Closed => Topic started by: JaxOf7 on January 17, 2016, 08:32:34 PM

Title: [Bug] Dropping busters on death
Post by: JaxOf7 on January 17, 2016, 08:32:34 PM
Sv_weapondrop 1
Have someone use a buster upgrade and have that buster selected.
Have someone who doesn't have that upgrade kill them while walking into them from behind.
"Spawn:
WEA3 P 0
stop"
does not resolve.
+INVENTORY.UNDROPPABLE is for co-op drop, not drop weapon on death.
This problem is fixed with dropitem "".

How I would fix this problem is make a "MM8BDMWep" actor for busters and weapons to inherit from so dropitem "" can be given to megabuster and busters while keeping everything else droppable.
And while we're at it, since MM8BDMWep has
inventory.pickupsound "weapon/weaponup"
+WEAPON.AMMO_OPTIONAL
Scale 2.0
instant select/deselect states
Those can be removed from everything else.
Title: Re: [Bug] Dropping busters on death
Post by: Russel on January 18, 2016, 12:37:38 AM
I like how this sounds, moved to pending
Title: Re: [Bug] Dropping busters on death
Post by: Russel on April 09, 2016, 04:10:26 AM
Spent about a day on this.
The new base weapon is called BaseMM8BDMWep, which inherits from Weapon, sets the flags AMMO_OPTIONAL and DONTBOB. Additionally, it sets the properties Scale to 2.0 and pickupsound to "weapon/weaponup."

As a result of this new base, all the weapons in the game were updated to use it and all redundant use of actor properties were removed.
This did present a bug with TimeSlowWep, as it previously used the select state from the MegaBuster. Needless to say, this was fixed as part of the overall update.


Moved to closed.