I have been having trouble getting a custom weapon added for use in making WADs.
I have gotten custom textures added with no problem (I absolutely adore the DOOM 64 textures)
I have SLADE3 and done gotten the weapon all ready as a pk3 file (converting graphics, adding separate directories for SPRITES SOUNDS etc etc)
I have no problem with the weapon appearing in the 'decorate' folder in THINGS, all the graphics show up just fine I dont even have any messages in "Error and Warnings"
like here
And here
But when I actually boot it up to test it I get this
and this
This is the code for the custom weapon I am trying to add
Spoiler
//Pump-Action Shotgun
actor PumpActionShotgun : Shotgun 15000
{
Weapon.SlotNumber 3
spawnid 27
obituary "%o was blown by %k's shotty."
radius 20
height 16
attacksound "weapons/Xshotgf"
inventory.pickupmessage "You got the pump-action shotgun!"
weapon.selectionorder 1300
weapon.kickback 100
Weapon.AmmoType "Shell"
Weapon.AmmoGive 8
Weapon.AmmoUse 1
Inventory.Icon "XSOTA0"
Decal "BulletChip"
states
{
Ready:
XSTG A 1 A_WeaponReady
loop
Deselect:
XSTG A 1 A_Lower
loop
Select:
XSTG A 1 A_Raise
loop
Fire:
XSTG A 3
XSTG A 0 A_FireBullets (5.6, 5.6, 8, 5, "BulletPuff")
NONE A 7 A_GunFlash
XSTG B 4
XSTG C 3 A_PlaySound("weapons/Xshotgr")
XSTG DE 4
XSTG F 2
XSTG A 6 A_ReFire
Goto Ready
Flash:
XSTF A 4 bright A_Light1
XSTF B 3 bright A_Light2
XSTF B 0 bright A_Light0
stop
Spawn:
XSOT A -1
stop
}
}
I am thinking it is something really simple and dumb I am overlooking from a complete lack of coding experience.
Question
Toilet_Wine_Connoisseur
I have been having trouble getting a custom weapon added for use in making WADs.
I have gotten custom textures added with no problem (I absolutely adore the DOOM 64 textures)
I have SLADE3 and done gotten the weapon all ready as a pk3 file (converting graphics, adding separate directories for SPRITES SOUNDS etc etc)
I have no problem with the weapon appearing in the 'decorate' folder in THINGS, all the graphics show up just fine I dont even have any messages in "Error and Warnings"
like here
And here
But when I actually boot it up to test it I get this
and this
This is the code for the custom weapon I am trying to add
//Pump-Action Shotgun
actor PumpActionShotgun : Shotgun 15000
{
Weapon.SlotNumber 3
spawnid 27
obituary "%o was blown by %k's shotty."
radius 20
height 16
attacksound "weapons/Xshotgf"
inventory.pickupmessage "You got the pump-action shotgun!"
weapon.selectionorder 1300
weapon.kickback 100
Weapon.AmmoType "Shell"
Weapon.AmmoGive 8
Weapon.AmmoUse 1
Inventory.Icon "XSOTA0"
Decal "BulletChip"
states
{
Ready:
XSTG A 1 A_WeaponReady
loop
Deselect:
XSTG A 1 A_Lower
loop
Select:
XSTG A 1 A_Raise
loop
Fire:
XSTG A 3
XSTG A 0 A_FireBullets (5.6, 5.6, 8, 5, "BulletPuff")
NONE A 7 A_GunFlash
XSTG B 4
XSTG C 3 A_PlaySound("weapons/Xshotgr")
XSTG DE 4
XSTG F 2
XSTG A 6 A_ReFire
Goto Ready
Flash:
XSTF A 4 bright A_Light1
XSTF B 3 bright A_Light2
XSTF B 0 bright A_Light0
stop
Spawn:
XSOT A -1
stop
}
}
I am thinking it is something really simple and dumb I am overlooking from a complete lack of coding experience.
Share this post
Link to post
5 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.