deepthought Posted February 15, 2011 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! 0 Share this post Link to post
Alphawolf Posted February 16, 2011 Nobody got a solution for this? Hey deepthought, what port are you using? Zdoom? Try putting selection order at around 700. 0 Share this post Link to post
wildweasel Posted February 16, 2011 Does FLTRB0 exist in your wad file? Do you already have the weapon in your inventory? Is your "Gascanister" ammo type already full? 0 Share this post Link to post
deepthought Posted February 16, 2011 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. 0 Share this post Link to post
skib Posted February 28, 2011 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. 0 Share this post Link to post
Alphawolf Posted February 28, 2011 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 :) 0 Share this post Link to post