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

Hitscan Weapons

Recommended Posts

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
}
}

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
×