Jump to content

custom weapon not showing up in ipk3


Recommended Posts

hey i made a custom weapon in a wad and it works fine however when i try and merge it into my ipk3 it for some reason won't work any help? 

heres my weapon code:

Actor plasmapistol : Weapon 12000
{
 Inventory.PickupMessage "you found a basic blaster"
 Inventory.PickupSound "misc/pk_up"
 Weapon.AmmoUse 1
 Weapon.AmmoGive 10
 Weapon.AmmoType "AAbatteries"
 Weapon.SlotNumber 1
 Weapon.SelectionOrder 2500
 Tag "plasmapistol"
 +NOALERT
 +WEAPON.WIMPY_WEAPON
 
  States
   {
   Spawn:
     BRUH A -1
      Loop
   Ready:
      POOP  A 1 A_WeaponReady
      Loop
   Deselect:
      POOP  A 1 A_Lower
      Loop
   Select:
      POOP  A 1 A_Raise
      Loop
   Fire:
      POOP  A 1 A_Light1
      POOP  B 1 A_PlayWeaponSound("PEW")
      POOP  B 1 Bright A_FireCustomMissile("laser")
      POOP  C 1 A_Recoil(0.5)
      POOP  D 1
      POOP  C 1
      POOP  A 1 A_ReFire
      Goto Ready
      }
      }
      
Actor laser
{
+nogravity
+DROPOFF
Projectile
Speed 20
Damage 20
States
{
 Spawn:
       PROJ A -1
       LOOP
       }
       }
       
Actor AAbatteries: Ammo
{
 Inventory.MaxAmount 100
 Inventory.Amount 10
 Inventory.Icon "SAMOA0"
 Inventory.PickupSound "misc/pk_up"
 Inventory.PickupMessage "You got some batteries"
 States
 {
  Spawn:
      SAMO A -1
      Loop
      }
}

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