Cutstuff Forum
Mega Man 8-bit Deathmatch => Help & Editing => Topic started by: Max on December 23, 2010, 06:20:39 PM
-
Trying to make a weapon that fires as soon as you pick it up. Tried WEAPON.AUTOACTIVATE but that only switches to it and not fires it.
If anyone could give me something that works, that'd be appreciated. Searched the ZDoom wiki and found nothing.
EDIT: If it's impossible, just say so.
-
Why do you need to make the Oil Slider a weapon?
How about just a custom inventory item that flings you forwards?
-
Because as a weapon, it can propel you at different speeds and different angles. Much more flexible.
-
How does a Wave Dasher do it?
-
Dunno. Waverunners are coded via ACS not Decorate so I can't quite use the coding.
-
Check the GLOBALACS lump outside of the ACS folder in the MM8BDM.pk3
-
Yeah that's still ACS and not Decorate.
I give up, Oil's fine as it is but an autofire would've just been handy.
-
what, auto fire.
no auto fire in official weapons please.
What was the auto fire supposed to be?
-
So when you pick it up you speeeed off
-
You could make it a pickup like this:
actor weaponattack : CustomInventory
{
...
States
{
Spawn:
BLAH A 1
loop
Pickup:
BLAH A 0 // Do stuff here
stop
}
}
Note that pickup states are ran instantly in Skulltag, so changing how fast the state runs won't change anything.