Canofbacon Posted May 11, 2013 This may be a dumb question, but I'm trying to add a custom weapon to my map and when I run the map in Doom Builder 2 it shows up and I can pick it up and it shoots and everything works fine. Yet when I try and run the map my dragging the WAD file on top of zdoom.exe, it only shows a yellow exclamation point error. Can someone please tell me how to fix this? 0 Share this post Link to post
jdagenet Posted May 11, 2013 Could you post the DECORATE code for the weapon? Does the weapon spawn if you go into the ZDoom console and type "Summon <Weapon Name>"? 0 Share this post Link to post
Canofbacon Posted May 11, 2013 jdagenet said:Could you post the DECORATE code for the weapon? Does the weapon spawn if you go into the ZDoom console and type "Summon <Weapon Name>"? Here is the DECORATE: actor Colt45 : Weapon 5757 { Weapon.SelectionOrder 1900 Weapon.AmmoUse 1 Weapon.AmmoGive 20 Weapon.AmmoType "Clip" AttackSound "Weapon/COLTFIRE" Weapon.SlotNumber 2 Obituary "%o was Killed by %k's Colt45." +WEAPON.WIMPY_WEAPON Inventory.Pickupmessage "Picked up a Colt45." States { Ready: COLT A 1 A_WeaponReady Loop Deselect: COLT A 1 A_Lower Loop Select: COLT A 1 A_Raise Loop Fire: COLT A 0 COLF A 1 A_FireBullets(5.2,1,1,7.5) COLF A 1 A_Light2 COLF A 1 A_Light1 COLT B 3 A_Light0 COLT CDE 3 COLT B 3 A_ReFire Goto Ready Flash: COLF A 3 Bright A_Light1 COLF A 3 Bright A_Light0 Goto LightDone Spawn: COLP A -1 Stop } } I tried to summon it and it didn't work. 0 Share this post Link to post
scifista42 Posted May 11, 2013 I see nothing special in the code. So the only things that crosses my mind: Are you absolutely sure that the wad you've been editing is the same you are now trying to run in ZDoom? Sorry for being so daringly mistrustful, but I know it can happen and it happened to me that I accidentaly did run old versions of my maps instead of new. Try to change the Actor number. Try to inherit from DoomWeapon instead of Weapon 0 Share this post Link to post
jdagenet Posted May 11, 2013 Also, unless your weapon is in the map wad itself, make sure that you're pasting both the colt45 wad and your map on the ZDoom.exe when you go to play it. 0 Share this post Link to post
Canofbacon Posted May 11, 2013 jdagenet said:Also, unless your weapon is in the map wad itself, make sure that you're pasting both the colt45 wad and your map on the ZDoom.exe when you go to play it. Pasting both of them worked! Thank you. Now can you tell me how to combine both of them into one WAD please? :) 0 Share this post Link to post
jdagenet Posted May 11, 2013 You can use a wad editor such as SLADE 3 and open up both of the wads. Once they're both open, just copy all of the entries from the Colt45 wad and simply paste them in your wad. :) 0 Share this post Link to post
Canofbacon Posted May 11, 2013 jdagenet said:You can use a wad editor such as SLADE 3 and open up both of the wads. Once they're both open, just copy all of the entries from the Colt45 wad and simply paste them in your wad. :) Thanks. 0 Share this post Link to post