Jump to content

Trying to give the Baron of Hell his own fireball, but i am not sure how to do it


E4io

Recommended Posts

So basically, in Doom, both the Hell Knight & the Baron of Hell use the same fire ball's, & i am trying to give the Baron of Hell his own fire ball.

I want it to be the exact same as his fire ball in Doom, same damage, stats, all that, the only thing i am wanting to change is the sprite for his fire ball.

 

I already have the graphics ready, along with the decorate lump ready too, i just don't know what i would need to put in the decorate so only the Baron of Hell uses the fire ball with the new sprites.

 

This is the wad containing the fire ball i am trying to have only the Baron of Hell shoot Baronball.rar

 

Any help or advice would be very appreciated.

Share this post


Link to post
53 minutes ago, E4io said:

i just don't know what i would need to put in the decorate so only the Baron of Hell uses the fire ball with the new sprites.

You'll have to replace the Baron (or the Knight, but let's go with the Baron).

Actor CustomBaronBall : BaronBall
{
  States
  {
  Spawn:
    BBAL AB 4 Bright
    Loop
  Death:
    BBAL CDE 6 Bright
    Stop
  }
}

Actor CustomBaronOfHell : BaronOfHell replaces BaronOfHell
{
  States
  {
  Missile:
    BOSS EF 8 A_FaceTarget
    BOSS G 8 A_CustomComboAttack("CustomBaronBall", 32, 10 * random(1, 8), "baron/melee")
    Goto See
  }
}

In this example I gave BBAL as the sprite name for the custom baron balls. So place your sprites with that name.

Share this post


Link to post

Thank you, your lump example got my sprite working for me, i'm going to save that as an example if i ever want to edit any other enemy attacks

Share this post


Link to post

For some odd reason, the Barons of Hell for me will randomely shoot the regular Doom Baron ball (While it is random when they shoot the default Baron Ball & my graphics edit Baron Ball, i noticed that the Barons will usually shoot the default Doom Baron ball first, then they will go back to shooting my graphics edit Baron Ball).

Share this post


Link to post

I also noticed that when the Baron sometimes shoots my graphics edit Baron ball, the Ball sometimes does a sort of flickering in the air as it comes at me, as if at certain points its not using a graphic, it just disappears very briefly

Share this post


Link to post

So i managed to get my Baron ball graphics edit to only show, & i got the "flickering" to stop to.

 

Basically my problem was that i did not have the line "Melee:" above the Missile part so my Decorate should of looked like this:

 

  Melee:
  Missile:
    BOSS EF 8 A_FaceTarget
    BOSS G 8 A_CustomComboAttack("EB", 32, 10 * random(1, 8), "baron/melee")
    Goto See

 

But yeah that was how i managed to get the graphics edit to only show & to get the "flickering" to stop.

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
Reply to this topic...

×   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...