Jump to content

What's wrong with this weapon (Hexen)


Recommended Posts

I'm trying to add this mod to hexen but when I try to spawn it it says the actor doesn't exist 

Quote

 

Spoiler

ACTOR WaterWand : MageWeapon
{
  Weapon.AmmoUse1 3
  Weapon.AmmoGive1 30
  Weapon.SelectionOrder 3601
  Weapon.KickBack 0
  Weapon.YAdjust 9
  Tag "$TAG_WATER"
  Weapon.AmmoType1 "Mana1"
  Inventory.PickupMessage "$TXT_WEAPON_M2" // "WATER"
  Obituary "$OB_WaterWand"
  States
  {
  Spawn:
    WSTA E 8 Bright
    Loop
  Select:
    WSTA A 1 A_Raise
    Loop
  Deselect:
    WSTA A 1 A_Lower
    Loop
  Ready:
    WSTA A 1 A_WeaponReady
    WSTA B 1 
    Loop
  Fire:
    WSTA C 3
    WSTA D 3 A_FireProjectile("WaterBall")
    WSTA C 3
    Goto Ready
  }
}

ACTOR WaterBall
{
  Radius 4
  Height 6
  Speed 10
  FastSpeed 20
  Damage 4
  Projectile
  +RANDOMIZE
  SeeSound 
  DeathSound 
  States
  {
  Spawn:
    WBAL A 4 Bright
    Loop
  Death:
    SHEX CD 6 Bright
    Stop
  }
}

 

 

Share this post


Link to post
19 minutes ago, VICE said:

https://zdoom.org/wiki/DECORATE_format_specifications
Read the last section. It looks like your actor might be in its own lump and you didn't #Include it.

Unless you use this, only actors specified in the DECORATE lump are loaded.

 

https://www.doomworld.com/forum/3-doom-editing/

And this is the subforum where you should be posting quetions like this.

Thank you! Everything seems to be alright tho, it's all in the same decorate lump.

I'll ask this question in the right place now tho.

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