Freakin' Noob Posted November 1, 2006 Is there a way to add a new weapon slot? i want to include an unmaker/railgun type weapon to my wads, and i dont want to replace anything else... can this be done? 0 Share this post Link to post
Scientist Posted November 1, 2006 If you're using Zdoom as a source port you could use Decorate to add a slot: Open your wad in XWE and create two new entries. One named DECORATE and the second named KEYCONF in DECORATE write something like:// RAILGUN ACTOR Railgunx : Weapon 1234 { Weapon.AmmoType1 "Cell" Weapon.AmmoUse 1 Weapon.AmmoGive 40 Inventory.PickupSound "misc/w_pkup" Inventory.PickupMessage "Picked up a Railgun!" Obituary "%o got derailed." States { Spawn: PLAS A 1 Loop Ready: PLSG A 8 Bright A_WeaponReady Loop Deselect: PLSG A 1 A_Lower Loop Select: PLSG A 1 A_Raise Loop Fire: PLSF A 0 A_Light1 PLSF B 1 Bright PLSF A 1 Bright A_RailAttack(18,0,1,"FF FF FF","FF FF FF",10) PLSF B 1 Bright PLSG A 0 A_Light0 PLSG B 40 A_ReFire goto Ready } }and in KEYCONF write:weaponsection rail setslot 9 RailgunxNow when you play your wad and press "9" you've got a railgun (that looks just like a plasma riffle). You can edit the DECORATE entry to change the characteristics of your railgun. 0 Share this post Link to post
Freakin' Noob Posted November 2, 2006 Nice. I used the Doom64 railgun with that, looks great. Is there a delay command for the DECORATE lump (like the one in ACS)? 0 Share this post Link to post
TheDarkArchon Posted November 2, 2006 Just have a frame with no attached action. For example: BLAH E 7 creates a 7 tic delay where nothing happens. 0 Share this post Link to post
Freakin' Noob Posted November 17, 2006 One more question. how do i boost the power of the A_RailAttack? 0 Share this post Link to post