Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Sign in to follow this  
Craigs

Decorate problem

Recommended Posts

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

Share this post


Link to post

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.

Share this post


Link to post
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

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
Sign in to follow this  
×