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

Why doesn't this Rocket Launcher replacement work?

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×