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

Spectre01

Members
  • Content count

    2391
  • Joined

  • Last visited

About Spectre01

  • Rank
    was rileymartin

Recent Profile Visitors

2690 profile views

Single Status Update

See all updates by Spectre01

  1. What's the deal with Mancubus fireballs flying through walls in PRBoom+? I got hit no less than 3 times today while behind cover.

    1. Show previous comments  15 more
    2. Da Werecat

      Da Werecat

      I changed next frame to 115 and rockets turn into BFG balls now. A second -1 down the line stops the animation. Looks like it's just the first frame that can't be static.

    3. Doomkid

      Doomkid

      That's totally bizarre

    4. scifista42

      scifista42

      Frame 115 is a BFG ball frame, Da Werecat just tested whether next frame will work in that case, and it worked as it should have, that part is not bizarre.

       

      I think I found the issue in the source code. When a projectile gets spawned, the following function is called:

      void P_CheckMissileSpawn (mobj_t* th)
      {
          th->tics -= P_Random()&3;
          if (th->tics < 1)
      	th->tics = 1;

      The last 3 lines are supposed to randomize the projectile's animation, but if the duration of the first frame is -1, this code will change it to 1. As a result, the projectile will animate even though it's not supposed to. And since the duration is only 1 and the next frame is set to 0, the projectile will disappear as soon as it tries to animate.

×