Scripting problems. (I thought I was done)

[SOLVED]
Was originally a texture problem thread, but why make a whole new one?
Anyways, weapon scripting problem, Doesn't function at all.

Actor BlasterRifle : Shotgun 21000
{
Weapon.SelectionOrder 350
Inventory.PickupSound "rifle/pu"
Weapon.AmmoGive 12
Weapon.AmmoUse 1 
Weapon.SlotNumber 3
AttackSound "rifle/fire"

States
{
Spawn:
   RIFL C -1
   Loop
Ready:
   RIFL A 1 A_WeaponReady
   Loop
Deselect:
   RIFL A 1 A_Lower
   Loop
Select: 
   RIFL A 1 A_Raise 
   Loop
Fire:
   RIFL A 2
   RIFL B 2 A_FireBullets (9,9,1,5,"BulletPuff",FBF_USEAMMO)
   RIFL B 7 A_GunFlash
   RIFL B 2 A_CheckReload
   RIFL A 2 A_ReFire
   goto Ready

   }
}
To note, I can pick up ONLY one of these, and when I fire, the weapon is put away.

Share this post


Link to post

No, they shouldn't be fine. You need a matching palette/colormap pair, the stock Doom colormap won't work with a completely new palette.

Share this post


Link to post

Select the palette, and then go Palette->Generate colormaps. Save and try again. Should be better.

Share this post


Link to post
Da Werecat said:

No, they shouldn't be fine. You need a matching palette/colormap pair, the stock Doom colormap won't work with a completely new palette.

Understandable. I was just trying anything at that point.

Gez said:

Select the palette, and then go Palette->Generate colormaps. Save and try again. Should be better.

My version of SLADE didn't have that option so I had to go and update, and it worked! Thanks a bunch man.

Share this post


Link to post

Okay, if you reuse a topic, you shouldn't edit out your original post because it makes the following posters look like complete doofus who reply to a question you're not asking. :p

Share this post


Link to post
Gez said:

Okay, if you reuse a topic, you shouldn't edit out your original post because it makes the following posters look like complete doofus who reply to a question you're not asking. :p

That's why I stated that there was a texture problem in the first line.
I was going to just spoiler the orignal post but I remembered these forums don't have the drop down spoilers so I just left it out to conserve space.

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