Advanced Search

Author Topic: [Bug] Dropping busters on death  (Read 1414 times)

0 Members and 1 Guest are viewing this topic.

January 17, 2016, 08:32:34 PM
Read 1414 times

Offline JaxOf7

  • MM8BDM Extender
  • *****
  • Date Registered: March 23, 2011, 03:56:13 AM

    • View Profile
[Bug] Dropping busters on death
« 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.

January 18, 2016, 12:37:38 AM
Reply #1

Offline Russel

  • MM8BDM Extender

  • Doc Croc
  • **********
  • Date Registered: December 17, 2010, 11:11:25 PM

    • View Profile
Re: [Bug] Dropping busters on death
« Reply #1 on: January 18, 2016, 12:37:38 AM »
I like how this sounds, moved to pending

April 09, 2016, 04:10:26 AM
Reply #2

Offline Russel

  • MM8BDM Extender

  • Doc Croc
  • **********
  • Date Registered: December 17, 2010, 11:11:25 PM

    • View Profile
Re: [Bug] Dropping busters on death
« Reply #2 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.