Jump to content
  • 0

Why doesn't this Rocket Launcher replacement work?


Szuran

Question

So I made a custom weapon to replace the rocket launcher.

Differences:

- 3 frames of animation instead of 2

- no flash animation

 

I placed the files, named them the right way. The DECORATE code is below. I'll explain the problem afterwards.



 

Quote

 

ACTOR Boomsnap : RocketLauncher 2500
{
 Weapon.AmmoType "RocketAmmo"
 Weapon.AmmoGive 12
 Weapon.AmmoUse 1
 Weapon.SlotNumber 5
  States
  {
  Ready:
    MISG A 1 A_WeaponReady
    Loop
  Deselect:
    MISG A 1 A_Lower
    Loop
  Select:
    MISG A 1 A_Raise
    Loop
  Fire:
    MISG A 4
    MISG B 20
    MISG C 20 A_FireMissile
    Goto Ready
  Spawn:
    LAUN A -1
    Stop
  }
}


 

 

THE PROBLEM:

All it does is replace the 2 frames of Rocket Launcher animation because I have the replacement files. It still shows the flash. It doesn't show the third frame of animation, only the two the rocket launcher has. It doesn't change the speed of animation. It does nothing.

 

Why is that? How should I fix it?

Share this post


Link to post

2 answers to this question

Recommended Posts

  • 1

Type "Replaces RocketLauncher" after your Actor name (or in this case after the name of the actor you're inheriting)

 

ACTOR Boomsnap : RocketLauncher replaces RocketLauncher 2500
{
}

 

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...