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

why can't i pick up my weapon?

Recommended Posts

i've created a flamethrower with DECORATE script, but when i run over it i can't pick it up. here's the code.
actor dbflamethrower : DoomWeapon replaces grenadelauncher 3080
{
Game Doom
Weapon.SlotNumber 5
+Weapon.dontbob
Weapon.SlotPriority 2
spawnid 255
Weapon.selectionorder 500
Weapon.AmmoUse1 2
Weapon.AmmoUse2 3
Weapon.ammotype1 "gascanister"
Weapon.ammotype2 "gascanister"
Weapon.AmmoGive 50
Obituary"flamed"
+WEAPON.NOAUTOAIM

states
{
Spawn:
FLTR B -1
stop
Ready:
FLTR A 1 A_WeaponReady
loop
Deselect:
FLTR A 1 A_Lower
loop
Select:
FLTR A 1 A_Raise
loop


Fire:

FLTR a 3 A_FireCustomMissile("burningnapalm",0,true,10,10,0)
//FLTR a 1 A_FireCustomMissile("fakenapalm",0,false,10,10,0)
//FLTR a 1 A_FireCustomMissile("fakenapalm",0,false,10,10,0)

FLTR A 0 a_refire
goto Ready
AltFire:

FLTR A 3 A_FireCustomMissile("napalmball",0,true,10,10,0)

FLTR A 0 a_refire
Goto Ready

}

}

what's wrong here!

thanks!

Share this post


Link to post

Nobody got a solution for this?

Hey deepthought, what port are you using? Zdoom?

Try putting selection order at around 700.

Share this post


Link to post

Does FLTRB0 exist in your wad file? Do you already have the weapon in your inventory? Is your "Gascanister" ammo type already full?

Share this post


Link to post
deepthought said:

i am such a dipshit. i was using noclip to get to an outside area to spawn the weapon for debugging, and forgot to take it off.


We all make mistakes but you don't have to call yourself that.

Share this post


Link to post
deepthought said:

i am such a dipshit. i was using noclip to get to an outside area to spawn the weapon for debugging, and forgot to take it off.


OH....MY...GOD


That's awesome :)

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
×