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

Help A noob.... WEAPONS IN DECORATE (XWE)

Recommended Posts

Ok, so i'm a noob decorate modder, and just to get started i scripted a weapon, the chain shotgun, I keep getting errors with it.
Could some kind person please inform me of where i am failing exactly, thank you.

Actor ChainShotgun { Weapon 31111
{
Weapon.SelectionOrder 500
Inventory.PickupSound "DSHPSHTR"
Inventory.PickupMessage "You got the ChainShotgun, happy blasting!"
Weapon.AmmoType "shells"
Weapon.AmmoGive 20
Weapon.AmmoUse 1
Weapon.SlotNumber 4
AttackSound "DSASHTGN"
States
{
Spawn:
SGN3 A -1
Loop
Ready:
SHT3 A 1 A_WeaponReady
Loop
Deselect:
SHT3 A 1 A_Lower
Loop
Select:
SHT3 A 1 A_Raise
Loop
Fire:
SHT3 A 3
SHT3 A 0 A_FireBullets (6, 6, 4, 15, "CHSGPUFF")
SHT3 A 0 A_PlayWeaponSound "DSASHTGN"
SHT3 C 2
SHT3 D 2
SHT3 A 3
SHT3 B 0 A_PlayWeaponSound "DSHPSHTR"
SHT3 B 3
SHT3 A 3
SHT3 A 1 A_ReFire
Goto Ready
Stop
}
}
All the listed sprites and sounds exist btw

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×