Magnum Express Posted January 24, 2011 I was wondering how to modify the damage done by hitscan weapons. Is it through a DECORATE lump? 0 Share this post Link to post
wildweasel Posted January 24, 2011 Yes; specifically, it's one of the arguments for the A_FireBullets function - more information can be found on the ZDoom Wiki. 0 Share this post Link to post
skib Posted February 1, 2011 Find What A_FireShotgun is and delete 2 lines down from it, itself included and add A_FireShotgun code (from ZD wiki) and change what you want, if it doesn't work, let me know! This is what the code should look like: actor Shotgun : DoomWeapon 2001 { Game Doom SpawnID 27 Weapon.SelectionOrder 1300 Weapon.AmmoUse 1 Weapon.AmmoGive 50 Weapon.AmmoType "Clip" Inventory.PickupMessage "$You got the shotgun!" Obituary "$%o chewed on %k's BoomStick!" States { Ready: SHTG A 1 A_WeaponReady Loop Deselect: SHTG A 1 A_Lower Loop Select: SHTG A 1 A_Raise Loop Fire: SHTG A 3 SHTG A 0 A_FireBullets (5.6, 0, 7, 5, "BulletPuff") SHTG A 0 A_PlaySound ("weapons/shotgf", CHAN_WEAPON) SHTG A 7 A_GunFlash SHTG CB 5 SHTG A 3 SHTG A 7 A_ReFire Goto Ready Flash: SHTF A 4 Bright A_Light1 SHTF B 3 Bright A_Light2 Goto LightDone Spawn: SHOT A -1 Stop } } 0 Share this post Link to post