Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
trooper077

Trouble with sounds and pickup on weapon

Recommended Posts

I'm having a bit of trouble with the custom sound I put for the guns fire noise and the Spawn state of the gun(Pickup sprite not showing up)

Here is the DECORATE code
ACTOR Reaper : Weapon 6021
{
Inventory.PickupMessage "You got the Reaper"
Weapon.SelectionOrder 1900
Inventory.Amount 8
Inventory.MaxAmount 200
Weapon.AmmoUse1 1
Weapon.Kickback 2
weapon.ammotype "Clip"
+Weapon.NoAutoFire
+Weapon.NoAlert
obituary "%o Didn't hear %k's Bullets coming."
AttackSound "SCOLTFIR"
States
{
Spawn:
KOLT A -1
stop
Ready:
COLT A 1 A_WeaponReady
LOOP
Deselect:
COLT A 1 A_Lower
Loop
Select:
COLT A 1 A_Raise
LOOP
Fire:
COLT A 2
COLT B 2 A_FireBullets(2,2,-1,7,"BulletPuff",1)
COLT C 1
COLT A 0
COLT B 0 A_WeaponReady
Goto Ready
}
}

Share this post


Link to post

you need to place all sprites inside two markers called SS_START and SS_END.

you also need to provide the soundclips in a lump called SNDINFO.

just make a quick text like this in a new lump called SNDINFO:

SCOLTFIRE SCOLTFIRE

Share this post


Link to post

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×