Craigs Posted September 21, 2007 I'm making a wad for Skulltag, and I just added a new weapon. The weapon seems to work fine, but there is a bit of a problem. For some reason the pickup sprite doesn't seem to work. You can still pick the gun up and all, but you can't see it. Can someone take a quick look at this and tell me what I did wrong?ACTOR rifle : weapon 25000 { weapon.SelectionOrder 350 inventory.pickupsound "weapons/riflecock" Inventory.PickupMessage "You got the hunting rifle!" Weapon.Ammotype "slugs" Weapon.Ammogive 11 Weapon.AmmoUse 1 AttackSound "weapons/riflefire" States { Spawn: RIFL A -1 LOOP Ready: RFLG A 1 A_WeaponReady LOOP Deselect: RFLG A 1 A_lower LOOP Select: RFLG A 1 A_Raise LOOP Fire: RFLG A 0 A_Jumpifnoammo(1) RFLF A 8 A_FireBullets(2,2,1,100,0,1) RFLF B 8 RFLG B 8 A_PlayWeaponSound("weapons/riflecock") RFLG C 8 RFLG B 8 Goto Ready } } 0 Share this post Link to post
Steeveeo Posted September 21, 2007 check your RIFL sprite, it may be the cause. If the offset is incorrect, the sprite may be underground. It may be corrupt, so if the offset isnt the problem, try reinserting the sprite. Hope that helps. 0 Share this post Link to post
Craigs Posted September 21, 2007 Steeveeo said:check your RIFL sprite, it may be the cause. If the offset is incorrect, the sprite may be underground. It may be corrupt, so if the offset isnt the problem, try reinserting the sprite. Hope that helps. Yep, that fixed it. Thanks man :D 0 Share this post Link to post