
define PROJ_WORKSLIKE 1  // see workslike list
define PROJ_SPAWNS 2     // spawn actor on impact
define PROJ_SXREPEAT 3   // x size of actor spawned on impact
define PROJ_SYREPEAT 4   // y size of actor spawned on impact
define PROJ_SOUND 5      // sound proj. makes when fired (impact sound on bullets)
define PROJ_ISOUND 6	 // impact sound for non-bullet projectiles
define PROJ_VEL 7	 // velocity (keep under 1000)
define PROJ_EXTRA 8	 // DAMAGE strength
define PROJ_DECAL 9	 // decal for bullets
define PROJ_TRAIL 10	 // trail for rpg or bullets. only spawns trails for knee on impact
define PROJ_TXREPEAT 11  // x size of trail actor
define PROJ_TYREPEAT 12  // y size of trail actor
define PROJ_TOFFSET 13	 // z axis offset for trail actor
define PROJ_TNUM 14	 // max trails per individual projectile
define PROJ_DROP 15	 // neg values to drop, positive to rise
define PROJ_CSTAT 16	 // duh
define PROJ_CLIPDIST 17  // duh
define PROJ_SHADE 18	 // duh
define PROJ_XREPEAT 19	 // projectiles x size
define PROJ_YREPEAT 20	 // projectiles y size
define PROJ_PAL 21	 // duh
define PROJ_EXTRA_RAND 22  // random damage added to extra
define PROJ_HITRADIUS 23 // blast radius
define PROJ_VEL_MULT 24  // accelerate the projectile by multiplying velocity by vel_mult
define PROJ_OFFSET 25	 // x axis offset for spawn point of bullet trails or rpg projectiles
define PROJ_BOUNCES 26   // number of bounces
define PROJ_BSOUND 27	 // noise on bounce
define PROJ_RANGE 28 	 // time to die, in game counts

/* workslike flags for projectile
1       bullet-type
2       rpg-type
4       bounces off walls
8       bounces off mirrors
16      knee-type
32      spawns water bubbles
64      timed
128     bounces off ALL sprites
256     spit-for on-screen loogies (arc built in)
512	coolexplosion-type...runs through shades
1024	blood flag...only spawns on nearby walls
2048	loses velocity
4096	noaim...doesn't autoaim
8192	randomdecalsize
16384	explode (die) on timer
32768 damage on impact for rpg-type (rather than damage only by hitradius)
65536 RADIUS_PICNUM

PROJ_WORKSLIKE 295054 //  hexademical 4808E=4808E

PROJECTILE_FLAG_HITSCAN                  1
PROJECTILE_FLAG_RPG                      2
PROJECTILE_FLAG_BOUNCESOFFWALLS          4
PROJECTILE_FLAG_BOUNCESOFFMIRRORS        8
PROJECTILE_FLAG_KNEE                    10
PROJECTILE_FLAG_WATERBUBBLES            20
PROJECTILE_FLAG_TIMED                   40
PROJECTILE_FLAG_BOUNCESOFFSPRITES       80
PROJECTILE_FLAG_SPIT                   100
PROJECTILE_FLAG_COOLEXPLOSION1         200
PROJECTILE_FLAG_BLOOD                  400
PROJECTILE_FLAG_LOSESVELOCITY          800
PROJECTILE_FLAG_NOAIM                 1000
PROJECTILE_FLAG_RANDDECALSIZE         2000
PROJECTILE_FLAG_EXPLODEONTIMER        4000
PROJECTILE_FLAG_RPG_IMPACT            8000
PROJECTILE_FLAG_RADIUS_PICNUM        10000
PROJECTILE_FLAG_ACCURATE_AUTOAIM     20000
PROJECTILE_FLAG_FORCEIMPACT          40000
*/

define PROJECTILE_FLAG_BULLET 1 
define PROJECTILE_FLAG_RPG 2 
define PROJECTILE_FLAG_BOUNCESOFFWALLS 4
define PROJECTILE_FLAG_BOUNCESOFFMIRRORS 8 
define PROJECTILE_FLAG_KNEE 16 
define PROJECTILE_FLAG_WATERBUBBLES 32 
define PROJECTILE_FLAG_TIMED 64
define PROJECTILE_FLAG_NOENEMYHITS 128 
define PROJECTILE_FLAG_SPIT 256 
define PROJECTILE_FLAG_COOLEXPLOSION1 512 
define PROJECTILE_FLAG_BLOOD 1024 
define PROJECTILE_FLAG_LOSESVELOCITY 2048 
define PROJECTILE_FLAG_NOAIM 4096 
define PROJECTILE_FLAG_RANDDECALSIZE 8192 
define PROJECTILE_FLAG_EXPLODEONTIMER 16384
define PROJECTILE_FLAG_RPG_IMPACT 32768 

defineprojectile NOVA PROJ_WORKSLIKE 36866
defineprojectile NOVA PROJ_EXTRA 50
defineprojectile NOVA PROJ_SPAWNS NOVABLAST
defineprojectile NOVA PROJ_VEL 768
defineprojectile NOVA PROJ_HITRADIUS 2560
defineprojectile NOVA PROJ_CSTAT 0
defineprojectile NOVA PROJ_XREPEAT 64
defineprojectile NOVA PROJ_YREPEAT 64
defineprojectile NOVA PROJ_TRAIL NOVATRAIL
defineprojectile NOVA PROJ_TOFFSET -1

defineprojectile CHILLBLAST PROJ_WORKSLIKE 53318
defineprojectile CHILLBLAST PROJ_EXTRA 13
defineprojectile CHILLBLAST PROJ_CSTAT 2
defineprojectile CHILLBLAST PROJ_SPAWNS NOTHING
defineprojectile CHILLBLAST PROJ_DROP -25
defineprojectile CHILLBLAST PROJ_HITRADIUS 0
defineprojectile CHILLBLAST PROJ_BOUNCES 2
defineprojectile CHILLBLAST PROJ_BSOUND NULLSOUND
defineprojectile CHILLBLAST PROJ_VEL 320
defineprojectile CHILLBLAST PROJ_ISOUND NULLSOUND
defineprojectile CHILLBLAST PROJ_SOUND NULLSOUND
defineprojectile CHILLBLAST PROJ_RANGE 26

defineprojectile CHILLBLAST2 PROJ_WORKSLIKE 53318
defineprojectile CHILLBLAST2 PROJ_EXTRA 40
defineprojectile CHILLBLAST2 PROJ_CSTAT 2
defineprojectile CHILLBLAST2 PROJ_SPAWNS NOTHING
defineprojectile CHILLBLAST2 PROJ_DROP -25
defineprojectile CHILLBLAST2 PROJ_HITRADIUS 0
defineprojectile CHILLBLAST2 PROJ_BOUNCES 2
defineprojectile CHILLBLAST2 PROJ_BSOUND NULLSOUND
defineprojectile CHILLBLAST2 PROJ_VEL 768
defineprojectile CHILLBLAST2 PROJ_TRAIL CHILLTRAIL
defineprojectile CHILLBLAST2 PROJ_ISOUND NULLSOUND
defineprojectile CHILLBLAST2 PROJ_SOUND NULLSOUND
defineprojectile CHILLBLAST2 PROJ_RANGE 26

defineprojectile APROUND PROJ_WORKSLIKE 1
defineprojectile APROUND PROJ_EXTRA 14
defineprojectile APROUND PROJ_DECAL BULLETHOLE
defineprojectile APROUND PROJ_XREPEAT 5
defineprojectile APROUND PROJ_YREPEAT 5

defineprojectile SLOWBULLET PROJ_WORKSLIKE 32770
defineprojectile SLOWBULLET PROJ_EXTRA 9
defineprojectile SLOWBULLET PROJ_DECAL BULLETHOLE
defineprojectile SLOWBULLET PROJ_XREPEAT 8
defineprojectile SLOWBULLET PROJ_YREPEAT 8
defineprojectile SLOWBULLET PROJ_HITRADIUS 0
defineprojectile SLOWBULLET PROJ_VEL 1024
defineprojectile SLOWBULLET PROJ_SPAWNS FAKEBULSHOOTER

defineprojectile ACIDBULLET PROJ_WORKSLIKE 32770
defineprojectile ACIDBULLET PROJ_EXTRA 7
defineprojectile ACIDBULLET PROJ_XREPEAT 16
defineprojectile ACIDBULLET PROJ_YREPEAT 16
defineprojectile ACIDBULLET PROJ_HITRADIUS 0
defineprojectile ACIDBULLET PROJ_VEL 844
defineprojectile ACIDBULLET PROJ_PAL 6
defineprojectile ACIDBULLET PROJ_SPAWNS ACIDCLOUD

defineprojectile FIREBULLET PROJ_WORKSLIKE 32770
defineprojectile FIREBULLET PROJ_EXTRA 19
defineprojectile FIREBULLET PROJ_XREPEAT 32
defineprojectile FIREBULLET PROJ_YREPEAT 32
defineprojectile FIREBULLET PROJ_HITRADIUS 0
defineprojectile FIREBULLET PROJ_VEL 844
defineprojectile FIREBULLET PROJ_PAL 2
defineprojectile FIREBULLET PROJ_SPAWNS SMALLEXPLOSION
defineprojectile FIREBULLET PROJ_TRAIL SMALLSMOKE
defineprojectile FIREBULLET PROJ_TOFFSET 4
defineprojectile FIREBULLET PROJ_ISOUND BOOM

defineprojectile ALTSHOTGUN PROJ_WORKSLIKE 1
defineprojectile ALTSHOTGUN PROJ_SPAWNS GOOSPLAT
defineprojectile ALTSHOTGUN PROJ_DECAL BULLETHOLE
defineprojectile ALTSHOTGUN PROJ_EXTRA 4
defineprojectile ALTSHOTGUN PROJ_XREPEAT 4
defineprojectile ALTSHOTGUN PROJ_YREPEAT 4
defineprojectile ALTSHOTGUN PROJ_TRAIL SMALLSMOKE
defineprojectile ALTSHOTGUN PROJ_TNUM 64


defineprojectile FAKEBULLET PROJ_WORKSLIKE 1
defineprojectile FAKEBULLET PROJ_EXTRA 0
defineprojectile FAKEBULLET PROJ_DECAL BULLETHOLE
defineprojectile FAKEBULLET PROJ_XREPEAT 5
defineprojectile FAKEBULLET PROJ_YREPEAT 5

defineprojectile APROUND2 PROJ_WORKSLIKE 1
defineprojectile APROUND2 PROJ_EXTRA 19
defineprojectile APROUND2 PROJ_DECAL BULLETHOLE
defineprojectile APROUND2 PROJ_XREPEAT 5
defineprojectile APROUND2 PROJ_YREPEAT 5

defineprojectile EXPLOSIVEBULLET PROJ_WORKSLIKE 1
defineprojectile EXPLOSIVEBULLET PROJ_EXTRA 19
defineprojectile EXPLOSIVEBULLET PROJ_SPAWNS SMALLEXPLOSION
defineprojectile EXPLOSIVEBULLET PROJ_DECAL BULLETHOLE
defineprojectile EXPLOSIVEBULLET PROJ_XREPEAT 5
defineprojectile EXPLOSIVEBULLET PROJ_YREPEAT 5

defineprojectile SUPERKICK PROJ_WORKSLIKE 17
defineprojectile SUPERKICK PROJ_SPAWNS NEWSMOKE
defineprojectile SUPERKICK PROJ_ISOUND KICK_HIT
defineprojectile SUPERKICK PROJ_EXTRA SUPERKICK_WEAPON_STRENGTH
defineprojectile SUPERKICK PROJ_CLIPDIST 10
defineprojectile SUPERKICK PROJ_RANGE 1024

define HOLOPROJ HOLODUKE // use the HOLODUKE sprite for the projectile

defineprojectile HOLOPROJ PROJ_WORKSLIKE 6150
defineprojectile HOLOPROJ PROJ_EXTRA 0
defineprojectile HOLOPROJ PROJ_VEL 200
defineprojectile HOLOPROJ PROJ_BOUNCES 2
defineprojectile HOLOPROJ PROJ_HITRADIUS 512
defineprojectile HOLOPROJ PROJ_DROP -100
defineprojectile HOLOPROJ PROJ_CLIPDIST 24
defineprojectile HOLOPROJ PROJ_SPAWNS HOLOBOT

defineprojectile FREEZENOAIM PROJ_WORKSLIKE 36870
defineprojectile FREEZENOAIM PROJ_HITRADIUS 0
defineprojectile FREEZENOAIM PROJ_XREPEAT 8
defineprojectile FREEZENOAIM PROJ_YREPEAT 8
defineprojectile FREEZENOAIM PROJ_BOUNCES 4
defineprojectile FREEZENOAIM PROJ_EXTRA 20
defineprojectile FREEZENOAIM PROJ_VEL 644
defineprojectile FREEZENOAIM PROJ_SPAWNS TRANSPORTERSTAR
defineprojectile FREEZENOAIM PROJ_SXREPEAT 32
defineprojectile FREEZENOAIM PROJ_SYREPEAT 32
defineprojectile FREEZENOAIM PROJ_BSOUND NULLSOUND
defineprojectile FREEZENOAIM PROJ_ISOUND NULLSOUND

defineprojectile MININUKE PROJ_WORKSLIKE 4098
defineprojectile MININUKE PROJ_EXTRA 300
defineprojectile MININUKE PROJ_VEL 1024
defineprojectile MININUKE PROJ_CLIPDIST 24
defineprojectile MININUKE PROJ_SPAWNS BIGEXPLOSION
defineprojectile MININUKE PROJ_ISOUND NUKE_EXPLODE 
defineprojectile MININUKE PROJ_HITRADIUS 16384 // 32768
defineprojectile MININUKE PROJ_DROP -100

defineprojectile RPGNOAIM PROJ_WORKSLIKE 36866 // RPG WITH NO AUTOAIM
defineprojectile RPGNOAIM PROJ_EXTRA 140
defineprojectile RPGNOAIM PROJ_VEL 644
defineprojectile RPGNOAIM PROJ_CLIPDIST 24
defineprojectile RPGNOAIM PROJ_SPAWNS EXPLOSION2
defineprojectile RPGNOAIM PROJ_ISOUND RPG_EXPLODE
defineprojectile RPGNOAIM PROJ_HITRADIUS 2380
defineprojectile RPGNOAIM PROJ_TRAIL NEWSMOKE
defineprojectile RPGNOAIM PROJ_XREPEAT 10
defineprojectile RPGNOAIM PROJ_YREPEAT 10

defineprojectile HLROCKET PROJ_WORKSLIKE 36866
defineprojectile HLROCKET PROJ_EXTRA 80
defineprojectile HLROCKET PROJ_VEL 644
defineprojectile HLROCKET PROJ_CLIPDIST 24
defineprojectile HLROCKET PROJ_SPAWNS EXPLOSION2
defineprojectile HLROCKET PROJ_ISOUND RPG_EXPLODE
defineprojectile HLROCKET PROJ_HITRADIUS 1536
defineprojectile HLROCKET PROJ_XREPEAT 28
defineprojectile HLROCKET PROJ_YREPEAT 28
defineprojectile HLROCKET PROJ_TOFFSET 10 // 3

defineprojectile CPUDEV PROJ_WORKSLIKE 36866 // RPG WITH NO AUTOAIM
defineprojectile CPUDEV PROJ_EXTRA 23
defineprojectile CPUDEV PROJ_VEL 644
defineprojectile CPUDEV PROJ_CLIPDIST 24
defineprojectile CPUDEV PROJ_SPAWNS SMALLEXPLOSION
defineprojectile CPUDEV PROJ_ISOUND RPG_EXPLODE
defineprojectile CPUDEV PROJ_HITRADIUS 1536
defineprojectile CPUDEV PROJ_TRAIL NEWSMOKE
defineprojectile CPUDEV PROJ_XREPEAT 5
defineprojectile CPUDEV PROJ_YREPEAT 5

defineprojectile BFG PROJ_WORKSLIKE 36866
defineprojectile BFG PROJ_EXTRA 150
defineprojectile BFG PROJ_XREPEAT 12
defineprojectile BFG PROJ_YREPEAT 12
defineprojectile BFG PROJ_VEL 416
defineprojectile BFG PROJ_HITRADIUS 0
defineprojectile BFG PROJ_SPAWNS BFGIMPACT
defineprojectile BFG PROJ_ISOUND NUKE_EXPLODE
defineprojectile BFG PROJ_CLIPDIST 24
defineprojectile BFG PROJ_CSTAT 257
defineprojectile BFG PROJ_TRAIL SMALLEXPLOSION

defineprojectile LIGHTNINGBOLT PROJ_WORKSLIKE 36866
defineprojectile LIGHTNINGBOLT PROJ_VEL 1024
defineprojectile LIGHTNINGBOLT PROJ_VEL_MULT 2
defineprojectile LIGHTNINGBOLT PROJ_EXTRA 9
defineprojectile LIGHTNINGBOLT PROJ_HITRADIUS 0
defineprojectile LIGHTNINGBOLT PROJ_XREPEAT 4
defineprojectile LIGHTNINGBOLT PROJ_YREPEAT 4
defineprojectile LIGHTNINGBOLT PROJ_TRAIL LIGHTNING_TRAIL
defineprojectile LIGHTNINGBOLT PROJ_CLIPDIST 24
defineprojectile LIGHTNINGBOLT PROJ_SPAWNS PLASMA_IMPACT
defineprojectile LIGHTNINGBOLT PROJ_CSTAT 32768
defineprojectile LIGHTNINGBOLT PROJ_TOFFSET 8

defineprojectile FLAK PROJ_WORKSLIKE 34854
defineprojectile FLAK PROJ_EXTRA 8
defineprojectile FLAK PROJ_EXTRA_RAND 4
defineprojectile FLAK PROJ_VEL_MULT 2
defineprojectile FLAK PROJ_VEL  1024
defineprojectile FLAK PROJ_HITRADIUS 0
defineprojectile FLAK PROJ_TRAIL SHOTSPARK1
defineprojectile FLAK PROJ_CLIPDIST  24
defineprojectile FLAK PROJ_XREPEAT 5
defineprojectile FLAK PROJ_YREPEAT 5
defineprojectile FLAK PROJ_SPAWNS NEWSMOKE
defineprojectile FLAK PROJ_DROP -75
defineprojectile FLAK PROJ_BOUNCES 4
defineprojectile FLAK PROJ_BSOUND NULLSOUND

defineprojectile BOMBDART PROJ_WORKSLIKE 32770
defineprojectile BOMBDART PROJ_EXTRA 1
defineprojectile BOMBDART PROJ_VEL 768
defineprojectile BOMBDART PROJ_VEL_MULT 2
defineprojectile BOMBDART PROJ_HITRADIUS 0
defineprojectile BOMBDART PROJ_CLIPDIST 24
defineprojectile BOMBDART PROJ_XREPEAT 4
defineprojectile BOMBDART PROJ_YREPEAT 4
defineprojectile BOMBDART PROJ_SPAWNS RINGTHING
defineprojectile BOMBDART PROJ_DROP -75
defineprojectile BOMBDART PROJ_ISOUND PISTOL_BODYHIT

defineprojectile RAILSLUG PROJ_WORKSLIKE 1
defineprojectile RAILSLUG PROJ_DECAL 952
defineprojectile RAILSLUG PROJ_SOUND PISTOL_BODYHIT
defineprojectile RAILSLUG PROJ_SPAWNS RAILHIT
defineprojectile RAILSLUG PROJ_EXTRA 120
defineprojectile RAILSLUG PROJ_TNUM 50
defineprojectile RAILSLUG PROJ_TRAIL RAILTRAIL2

defineprojectile RAILSLUG_WEAK PROJ_WORKSLIKE 1
defineprojectile RAILSLUG_WEAK PROJ_DECAL 952
defineprojectile RAILSLUG_WEAK PROJ_SOUND PISTOL_BODYHIT
defineprojectile RAILSLUG_WEAK PROJ_SPAWNS RAILHIT
defineprojectile RAILSLUG_WEAK PROJ_EXTRA 60
defineprojectile RAILSLUG_WEAK PROJ_TNUM 50
defineprojectile RAILSLUG_WEAK PROJ_TRAIL RAILTRAIL

defineprojectile FIRELASER2 PROJ_WORKSLIKE  32770
defineprojectile FIRELASER2 PROJ_EXTRA 20
defineprojectile FIRELASER2 PROJ_SPAWNS LASER3IMPACT
defineprojectile FIRELASER2 PROJ_HITRADIUS 0
defineprojectile FIRELASER2 PROJ_VEL 512
defineprojectile FIRELASER2 PROJ_XREPEAT 8
defineprojectile FIRELASER2 PROJ_YREPEAT 8
defineprojectile FIRELASER2 PROJ_ISOUND EXPANDERSHOOT
defineprojectile FIRELASER2 PROJ_CSTAT 2

defineprojectile HEALBOLT PROJ_WORKSLIKE  36866
defineprojectile HEALBOLT PROJ_EXTRA 10
defineprojectile HEALBOLT PROJ_SPAWNS LASER3IMPACT
defineprojectile HEALBOLT PROJ_HITRADIUS 0
defineprojectile HEALBOLT PROJ_VEL 768
defineprojectile HEALBOLT PROJ_XREPEAT 24
defineprojectile HEALBOLT PROJ_YREPEAT 24
defineprojectile HEALBOLT PROJ_ISOUND NULLSOUND
defineprojectile HEALBOLT PROJ_CSTAT 2
defineprojectile HEALBOLT PROJ_PAL 4

defineprojectile FIRELASER3 PROJ_WORKSLIKE 32770
defineprojectile FIRELASER3 PROJ_EXTRA 20
defineprojectile FIRELASER3 PROJ_SPAWNS LASER3IMPACT
defineprojectile FIRELASER3 PROJ_HITRADIUS 0
defineprojectile FIRELASER3 PROJ_VEL 512
defineprojectile FIRELASER3 PROJ_XREPEAT 12
defineprojectile FIRELASER3 PROJ_YREPEAT 10
defineprojectile FIRELASER3 PROJ_TRAIL LASER3TRAIL
defineprojectile FIRELASER3 PROJ_CSTAT 0
defineprojectile FIRELASER3 PROJ_CLIPDIST 24
defineprojectile FIRELASER3 PROJ_ISOUND LASER3IMPACTSND

defineprojectile BLASTER PROJ_WORKSLIKE 36866
defineprojectile BLASTER PROJ_EXTRA 33
defineprojectile BLASTER PROJ_SPAWNS LASER3IMPACT
defineprojectile BLASTER PROJ_HITRADIUS 0
defineprojectile BLASTER PROJ_VEL 644
defineprojectile BLASTER PROJ_XREPEAT 16
defineprojectile BLASTER PROJ_YREPEAT 14
defineprojectile BLASTER PROJ_TRAIL BLASTRAIL
defineprojectile BLASTER PROJ_CLIPDIST 24
defineprojectile BLASTER PROJ_ISOUND LASER3IMPACTSND
defineprojectile BLASTER PROJ_CSTAT 0
defineprojectile BLASTER PROJ_OFFSET -128

defineprojectile BLASTER2 PROJ_WORKSLIKE 36866
defineprojectile BLASTER2 PROJ_EXTRA 33
defineprojectile BLASTER2 PROJ_SPAWNS LASER3IMPACT
defineprojectile BLASTER2 PROJ_HITRADIUS 0
defineprojectile BLASTER2 PROJ_VEL 644
defineprojectile BLASTER2 PROJ_XREPEAT 16
defineprojectile BLASTER2 PROJ_YREPEAT 14
defineprojectile BLASTER2 PROJ_TRAIL BLASTRAIL
defineprojectile BLASTER2 PROJ_CLIPDIST 24
defineprojectile BLASTER2 PROJ_ISOUND LASER3IMPACTSND
defineprojectile BLASTER2 PROJ_CSTAT 0
defineprojectile BLASTER2 PROJ_OFFSET 96

defineprojectile BLASTER3 PROJ_WORKSLIKE 32770
defineprojectile BLASTER3 PROJ_EXTRA 38
defineprojectile BLASTER3 PROJ_SPAWNS LASER3IMPACT
defineprojectile BLASTER3 PROJ_HITRADIUS 1024
defineprojectile BLASTER3 PROJ_VEL 416
defineprojectile BLASTER3 PROJ_XREPEAT 16
defineprojectile BLASTER3 PROJ_YREPEAT 14
defineprojectile BLASTER3 PROJ_TRAIL BLASTRAIL
defineprojectile BLASTER3 PROJ_CLIPDIST 24
defineprojectile BLASTER3 PROJ_ISOUND LASER3IMPACTSND
defineprojectile BLASTER3 PROJ_CSTAT 128

defineprojectile BLASTER4 PROJ_WORKSLIKE 36866
defineprojectile BLASTER4 PROJ_EXTRA 68
defineprojectile BLASTER4 PROJ_SPAWNS SMALLEXPLOSION
defineprojectile BLASTER4 PROJ_HITRADIUS 1536
defineprojectile BLASTER4 PROJ_VEL 768
defineprojectile BLASTER4 PROJ_XREPEAT 6
defineprojectile BLASTER4 PROJ_YREPEAT 6
defineprojectile BLASTER4 PROJ_TRAIL BLASTRAIL
defineprojectile BLASTER4 PROJ_CLIPDIST 24
defineprojectile BLASTER4 PROJ_ISOUND GRENADE_BOOM
defineprojectile BLASTER4 PROJ_CSTAT 32768
defineprojectile BLASTER4 PROJ_OFFSET -128
defineprojectile BLASTER4 PROJ_PAL 0

defineprojectile FLAMETHROWER PROJ_WORKSLIKE 53346
defineprojectile FLAMETHROWER PROJ_EXTRA 6
defineprojectile FLAMETHROWER PROJ_CSTAT 2
defineprojectile FLAMETHROWER PROJ_SPAWNS BURNING
defineprojectile FLAMETHROWER PROJ_DROP -25
defineprojectile FLAMETHROWER PROJ_HITRADIUS 768
defineprojectile FLAMETHROWER PROJ_VEL 384
defineprojectile FLAMETHROWER PROJ_ISOUND FIRE_CRACKLE
defineprojectile FLAMETHROWER PROJ_SOUND FIRE_CRACKLE
defineprojectile FLAMETHROWER PROJ_RANGE 32
defineprojectile FLAMETHROWER PROJ_OFFSET -64

// defineprojectile SMOKEBOMB
// morter, bounces a few times and blows up spawning SMOKER
// new pigcop findnearsprite SMOKER 16384 and fires the SMOKEBOMB only if none is found

defineprojectile SMOKEBOMB PROJ_WORKSLIKE 6150
defineprojectile SMOKEBOMB PROJ_PAL 12
defineprojectile SMOKEBOMB PROJ_EXTRA 0
defineprojectile SMOKEBOMB PROJ_HITRADIUS 0
defineprojectile SMOKEBOMB PROJ_VEL 480
defineprojectile SMOKEBOMB PROJ_BOUNCES 3
defineprojectile SMOKEBOMB PROJ_DROP -150
defineprojectile SMOKEBOMB PROJ_CLIPDIST 24
defineprojectile SMOKEBOMB PROJ_SPAWNS SMOKER

defineprojectile POKEBALL PROJ_WORKSLIKE 2054
//defineprojectile POKEBALL PROJ_PAL 8
defineprojectile POKEBALL PROJ_EXTRA 0
defineprojectile POKEBALL PROJ_HITRADIUS 0
defineprojectile POKEBALL PROJ_VEL 644
defineprojectile POKEBALL PROJ_BOUNCES 2
defineprojectile POKEBALL PROJ_DROP -150
defineprojectile POKEBALL PROJ_CLIPDIST 48
defineprojectile POKEBALL PROJ_SPAWNS POKEBALLG
defineprojectile POKEBALL PROJ_XREPEAT 96
defineprojectile POKEBALL PROJ_YREPEAT 96

defineprojectile SMOKESHOT PROJ_WORKSLIKE 20546
defineprojectile SMOKESHOT PROJ_EXTRA 0
defineprojectile SMOKESHOT PROJ_SPAWNS NEWSMOKE
defineprojectile SMOKESHOT PROJ_DROP -25
defineprojectile SMOKESHOT PROJ_HITRADIUS 0
defineprojectile SMOKESHOT PROJ_VEL 384
defineprojectile SMOKESHOT PROJ_ISOUND NULLSOUND
defineprojectile SMOKESHOT PROJ_SOUND NULLSOUND
defineprojectile SMOKESHOT PROJ_RANGE 32

defineprojectile MAGMA PROJ_WORKSLIKE 32806
defineprojectile MAGMA PROJ_EXTRA 60
defineprojectile MAGMA PROJ_HITRADIUS 1536
defineprojectile MAGMA PROJ_XREPEAT 12
defineprojectile MAGMA PROJ_YREPEAT 12
defineprojectile MAGMA PROJ_VEL 384
defineprojectile MAGMA PROJ_ISOUND PIPEBOMB_EXPLODE
defineprojectile MAGMA PROJ_BOUNCES 10
defineprojectile MAGMA PROJ_SPAWNS EXPLOSION2
defineprojectile MAGMA PROJ_DROP -175
defineprojectile MAGMA PROJ_BSOUND NULLSOUND

defineprojectile CANNONBALLPROJ PROJ_WORKSLIKE 38918 //34854
defineprojectile CANNONBALLPROJ PROJ_EXTRA 200
defineprojectile CANNONBALLPROJ PROJ_VEL_MULT 2
defineprojectile CANNONBALLPROJ PROJ_VEL  896
defineprojectile CANNONBALLPROJ PROJ_HITRADIUS 1792
defineprojectile CANNONBALLPROJ PROJ_CLIPDIST  64
defineprojectile CANNONBALLPROJ PROJ_XREPEAT 32
defineprojectile CANNONBALLPROJ PROJ_YREPEAT 32
defineprojectile CANNONBALLPROJ PROJ_SPAWNS EXPLOSION2
defineprojectile CANNONBALLPROJ PROJ_DROP -75
defineprojectile CANNONBALLPROJ PROJ_BOUNCES 4
defineprojectile CANNONBALLPROJ PROJ_ISOUND PIPEBOMB_EXPLODE



defineprojectile FLESH1 PROJ_WORKSLIKE 6278 // contains 128
defineprojectile FLESH1 PROJ_EXTRA 0
defineprojectile FLESH1 PROJ_HITRADIUS 0
defineprojectile FLESH1 PROJ_XREPEAT 20
defineprojectile FLESH1 PROJ_YREPEAT 20
defineprojectile FLESH1 PROJ_VEL 544
defineprojectile FLESH1 PROJ_BOUNCES 4
defineprojectile FLESH1 PROJ_SPAWNS NOTHING
defineprojectile FLESH1 PROJ_DROP -175
defineprojectile FLESH1 PROJ_BSOUND NULLSOUND
defineprojectile FLESH1 PROJ_CLIPDIST 16

defineprojectile FLESH2 PROJ_WORKSLIKE 6278 // contains 128
defineprojectile FLESH2 PROJ_EXTRA 0
defineprojectile FLESH2 PROJ_HITRADIUS 0
defineprojectile FLESH2 PROJ_XREPEAT 20
defineprojectile FLESH2 PROJ_YREPEAT 20
defineprojectile FLESH2 PROJ_VEL 480
defineprojectile FLESH2 PROJ_BOUNCES 4
defineprojectile FLESH2 PROJ_SPAWNS NOTHING
defineprojectile FLESH2 PROJ_DROP -175
defineprojectile FLESH2 PROJ_BSOUND NULLSOUND
defineprojectile FLESH2 PROJ_CLIPDIST 16

defineprojectile FLESH3 PROJ_WORKSLIKE 6278 // contains 128
defineprojectile FLESH3 PROJ_EXTRA 0
defineprojectile FLESH3 PROJ_HITRADIUS 0
defineprojectile FLESH3 PROJ_XREPEAT 20
defineprojectile FLESH3 PROJ_YREPEAT 20
defineprojectile FLESH3 PROJ_VEL 480
defineprojectile FLESH3 PROJ_BOUNCES 4
defineprojectile FLESH3 PROJ_SPAWNS NOTHING
defineprojectile FLESH3 PROJ_DROP -175
defineprojectile FLESH3 PROJ_BSOUND NULLSOUND
defineprojectile FLESH3 PROJ_CLIPDIST 16

defineprojectile BRAIN PROJ_WORKSLIKE 6278 // contains 128
defineprojectile BRAIN PROJ_EXTRA 0
defineprojectile BRAIN PROJ_HITRADIUS 0
defineprojectile BRAIN PROJ_XREPEAT 16
defineprojectile BRAIN PROJ_YREPEAT 16
defineprojectile BRAIN PROJ_VEL 416
defineprojectile BRAIN PROJ_BOUNCES 4
defineprojectile BRAIN PROJ_SPAWNS NOTHING
defineprojectile BRAIN PROJ_DROP -175
defineprojectile BRAIN PROJ_BSOUND NULLSOUND
defineprojectile BRAIN PROJ_CLIPDIST 16

defineprojectile SPINE PROJ_WORKSLIKE 6278 // contains 128
defineprojectile SPINE PROJ_EXTRA 0
defineprojectile SPINE PROJ_HITRADIUS 0
defineprojectile SPINE PROJ_XREPEAT 20
defineprojectile SPINE PROJ_YREPEAT 20
defineprojectile SPINE PROJ_VEL 320
defineprojectile SPINE PROJ_BOUNCES 4
defineprojectile SPINE PROJ_SPAWNS NOTHING
defineprojectile SPINE PROJ_DROP -175
defineprojectile SPINE PROJ_BSOUND NULLSOUND
defineprojectile SPINE PROJ_CLIPDIST 16

defineprojectile TROOPHEAD PROJ_WORKSLIKE 6278 // contains 128
defineprojectile TROOPHEAD PROJ_EXTRA 0
defineprojectile TROOPHEAD PROJ_HITRADIUS 0
defineprojectile TROOPHEAD PROJ_XREPEAT 20
defineprojectile TROOPHEAD PROJ_YREPEAT 20
defineprojectile TROOPHEAD PROJ_VEL 384
defineprojectile TROOPHEAD PROJ_BOUNCES 4
defineprojectile TROOPHEAD PROJ_SPAWNS NOTHING
defineprojectile TROOPHEAD PROJ_DROP -175
defineprojectile TROOPHEAD PROJ_BSOUND NULLSOUND
defineprojectile TROOPHEAD PROJ_CLIPDIST 16

defineprojectile TROOPARM PROJ_WORKSLIKE 6278 // contains 128
defineprojectile TROOPARM PROJ_EXTRA 0
defineprojectile TROOPARM PROJ_HITRADIUS 0
defineprojectile TROOPARM PROJ_XREPEAT 20
defineprojectile TROOPARM PROJ_YREPEAT 20
defineprojectile TROOPARM PROJ_VEL 320
defineprojectile TROOPARM PROJ_BOUNCES 4
defineprojectile TROOPARM PROJ_SPAWNS NOTHING
defineprojectile TROOPARM PROJ_DROP -175
defineprojectile TROOPARM PROJ_BSOUND NULLSOUND
defineprojectile TROOPARM PROJ_CLIPDIST 16

defineprojectile TROOPLEG PROJ_WORKSLIKE 6278 // contains 128
defineprojectile TROOPLEG PROJ_EXTRA 0
defineprojectile TROOPLEG PROJ_HITRADIUS 0
defineprojectile TROOPLEG PROJ_XREPEAT 20
defineprojectile TROOPLEG PROJ_YREPEAT 20
defineprojectile TROOPLEG PROJ_VEL 320
defineprojectile TROOPLEG PROJ_BOUNCES 4
defineprojectile TROOPLEG PROJ_SPAWNS NOTHING
defineprojectile TROOPLEG PROJ_DROP -175
defineprojectile TROOPLEG PROJ_BSOUND NULLSOUND
defineprojectile TROOPLEG PROJ_CLIPDIST 16

defineprojectile LIZHEAD PROJ_WORKSLIKE 6278 // contains 128
defineprojectile LIZHEAD PROJ_EXTRA 0
defineprojectile LIZHEAD PROJ_HITRADIUS 0
defineprojectile LIZHEAD PROJ_XREPEAT 20
defineprojectile LIZHEAD PROJ_YREPEAT 20
defineprojectile LIZHEAD PROJ_VEL 384
defineprojectile LIZHEAD PROJ_BOUNCES 4
defineprojectile LIZHEAD PROJ_SPAWNS NOTHING
defineprojectile LIZHEAD PROJ_DROP -175
defineprojectile LIZHEAD PROJ_BSOUND NULLSOUND
defineprojectile LIZHEAD PROJ_CLIPDIST 16

defineprojectile LIZARM PROJ_WORKSLIKE 6278 // contains 128
defineprojectile LIZARM PROJ_EXTRA 0
defineprojectile LIZARM PROJ_HITRADIUS 0
defineprojectile LIZARM PROJ_XREPEAT 20
defineprojectile LIZARM PROJ_YREPEAT 20
defineprojectile LIZARM PROJ_VEL 320
defineprojectile LIZARM PROJ_BOUNCES 4
defineprojectile LIZARM PROJ_SPAWNS NOTHING
defineprojectile LIZARM PROJ_DROP -175
defineprojectile LIZARM PROJ_BSOUND NULLSOUND
defineprojectile LIZARM PROJ_CLIPDIST 16

defineprojectile LIZLEG PROJ_WORKSLIKE 6278 // contains 128
defineprojectile LIZLEG PROJ_EXTRA 0
defineprojectile LIZLEG PROJ_HITRADIUS 0
defineprojectile LIZLEG PROJ_XREPEAT 20
defineprojectile LIZLEG PROJ_YREPEAT 20
defineprojectile LIZLEG PROJ_VEL 320
defineprojectile LIZLEG PROJ_BOUNCES 4
defineprojectile LIZLEG PROJ_SPAWNS NOTHING
defineprojectile LIZLEG PROJ_DROP -175
defineprojectile LIZLEG PROJ_BSOUND NULLSOUND
defineprojectile LIZLEG PROJ_CLIPDIST 16

defineprojectile PIGHEAD PROJ_WORKSLIKE 6278 // contains 128
defineprojectile PIGHEAD PROJ_EXTRA 0
defineprojectile PIGHEAD PROJ_HITRADIUS 0
defineprojectile PIGHEAD PROJ_XREPEAT 20
defineprojectile PIGHEAD PROJ_YREPEAT 20
defineprojectile PIGHEAD PROJ_VEL 384
defineprojectile PIGHEAD PROJ_BOUNCES 4
defineprojectile PIGHEAD PROJ_SPAWNS NOTHING
defineprojectile PIGHEAD PROJ_DROP -175
defineprojectile PIGHEAD PROJ_BSOUND NULLSOUND
defineprojectile PIGHEAD PROJ_CLIPDIST 16

defineprojectile PIGLOWER PROJ_WORKSLIKE 6278 // contains 128
defineprojectile PIGLOWER PROJ_EXTRA 0
defineprojectile PIGLOWER PROJ_HITRADIUS 0
defineprojectile PIGLOWER PROJ_XREPEAT 20
defineprojectile PIGLOWER PROJ_YREPEAT 20
defineprojectile PIGLOWER PROJ_VEL 320
defineprojectile PIGLOWER PROJ_BOUNCES 4
defineprojectile PIGLOWER PROJ_SPAWNS NOTHING
defineprojectile PIGLOWER PROJ_DROP -175
defineprojectile PIGLOWER PROJ_BSOUND NULLSOUND
defineprojectile PIGLOWER PROJ_CLIPDIST 16

defineprojectile PIGUPPER PROJ_WORKSLIKE 6278 // contains 128
defineprojectile PIGUPPER PROJ_EXTRA 0
defineprojectile PIGUPPER PROJ_HITRADIUS 0
defineprojectile PIGUPPER PROJ_XREPEAT 20
defineprojectile PIGUPPER PROJ_YREPEAT 20
defineprojectile PIGUPPER PROJ_VEL 320
defineprojectile PIGUPPER PROJ_BOUNCES 4
defineprojectile PIGUPPER PROJ_SPAWNS NOTHING
defineprojectile PIGUPPER PROJ_DROP -175
defineprojectile PIGUPPER PROJ_BSOUND NULLSOUND
defineprojectile PIGUPPER PROJ_CLIPDIST 16

defineprojectile PIGUPPER2 PROJ_WORKSLIKE 6278 // contains 128
defineprojectile PIGUPPER2 PROJ_EXTRA 0
defineprojectile PIGUPPER2 PROJ_HITRADIUS 0
defineprojectile PIGUPPER2 PROJ_XREPEAT 20
defineprojectile PIGUPPER2 PROJ_YREPEAT 20
defineprojectile PIGUPPER2 PROJ_VEL 320
defineprojectile PIGUPPER2 PROJ_BOUNCES 4
defineprojectile PIGUPPER2 PROJ_SPAWNS NOTHING
defineprojectile PIGUPPER2 PROJ_DROP -175
defineprojectile PIGUPPER2 PROJ_BSOUND NULLSOUND
defineprojectile PIGUPPER2 PROJ_CLIPDIST 16

defineprojectile PIGLOWER2 PROJ_WORKSLIKE 6278 // contains 128
defineprojectile PIGLOWER2 PROJ_EXTRA 0
defineprojectile PIGLOWER2 PROJ_HITRADIUS 0
defineprojectile PIGLOWER2 PROJ_XREPEAT 20
defineprojectile PIGLOWER2 PROJ_YREPEAT 20
defineprojectile PIGLOWER2 PROJ_VEL 320
defineprojectile PIGLOWER2 PROJ_BOUNCES 4
defineprojectile PIGLOWER2 PROJ_SPAWNS NOTHING
defineprojectile PIGLOWER2 PROJ_DROP -175
defineprojectile PIGLOWER2 PROJ_BSOUND NULLSOUND
defineprojectile PIGLOWER2 PROJ_CLIPDIST 16

define NEWSCRAP6       8140 // light gray
define NEWSCRAP6G      8141
define NEWSCRAP1       8142 // dark gray (metal bits)
define NEWSCRAP1G      8143
define NEWSCRAP2       8144 // dark gray
define NEWSCRAP2G      8145
define NEWSCRAP3       8146  // light gray (concrete bits)
define NEWSCRAP3G      8147
define NEWSCRAP4       8148
define NEWSCRAP4G      8149
define NEWSCRAP5       8150
define NEWSCRAP5G      8151

defineprojectile NEWSCRAP1 PROJ_WORKSLIKE 6278 // contains 128
defineprojectile NEWSCRAP1 PROJ_EXTRA 0
defineprojectile NEWSCRAP1 PROJ_HITRADIUS 0
defineprojectile NEWSCRAP1 PROJ_VEL 128
defineprojectile NEWSCRAP1 PROJ_BOUNCES 3
defineprojectile NEWSCRAP1 PROJ_SPAWNS NOTHING
defineprojectile NEWSCRAP1 PROJ_DROP -175
defineprojectile NEWSCRAP1 PROJ_BSOUND -1
defineprojectile NEWSCRAP1 PROJ_CLIPDIST 16
defineprojectile NEWSCRAP1 PROJ_XREPEAT 40
defineprojectile NEWSCRAP1 PROJ_YREPEAT 26

defineprojectile NEWSCRAP2 PROJ_WORKSLIKE 6278 // contains 128
defineprojectile NEWSCRAP2 PROJ_EXTRA 0
defineprojectile NEWSCRAP2 PROJ_HITRADIUS 0
defineprojectile NEWSCRAP2 PROJ_VEL 128
defineprojectile NEWSCRAP2 PROJ_BOUNCES 3
defineprojectile NEWSCRAP2 PROJ_SPAWNS NOTHING
defineprojectile NEWSCRAP2 PROJ_DROP -175
defineprojectile NEWSCRAP2 PROJ_BSOUND -1
defineprojectile NEWSCRAP2 PROJ_CLIPDIST 16
defineprojectile NEWSCRAP2 PROJ_XREPEAT 40
defineprojectile NEWSCRAP2 PROJ_YREPEAT 26

defineprojectile NEWSCRAP3 PROJ_WORKSLIKE 6278 // contains 128
defineprojectile NEWSCRAP3 PROJ_EXTRA 0
defineprojectile NEWSCRAP3 PROJ_HITRADIUS 0
defineprojectile NEWSCRAP3 PROJ_VEL 128
defineprojectile NEWSCRAP3 PROJ_BOUNCES 3
defineprojectile NEWSCRAP3 PROJ_SPAWNS NOTHING
defineprojectile NEWSCRAP3 PROJ_DROP -175
defineprojectile NEWSCRAP3 PROJ_BSOUND -1
defineprojectile NEWSCRAP3 PROJ_CLIPDIST 16
defineprojectile NEWSCRAP3 PROJ_XREPEAT 40
defineprojectile NEWSCRAP3 PROJ_YREPEAT 26

defineprojectile NEWSCRAP4 PROJ_WORKSLIKE 6278 // contains 128
defineprojectile NEWSCRAP4 PROJ_EXTRA 0
defineprojectile NEWSCRAP4 PROJ_HITRADIUS 0
defineprojectile NEWSCRAP4 PROJ_VEL 128
defineprojectile NEWSCRAP4 PROJ_BOUNCES 3
defineprojectile NEWSCRAP4 PROJ_SPAWNS NOTHING
defineprojectile NEWSCRAP4 PROJ_DROP -175
defineprojectile NEWSCRAP4 PROJ_BSOUND -1
defineprojectile NEWSCRAP4 PROJ_CLIPDIST 16
defineprojectile NEWSCRAP4 PROJ_XREPEAT 40
defineprojectile NEWSCRAP4 PROJ_YREPEAT 26

defineprojectile NEWSCRAP5 PROJ_WORKSLIKE 6278 // contains 128
defineprojectile NEWSCRAP5 PROJ_EXTRA 0
defineprojectile NEWSCRAP5 PROJ_HITRADIUS 0
defineprojectile NEWSCRAP5 PROJ_VEL 128
defineprojectile NEWSCRAP5 PROJ_BOUNCES 3
defineprojectile NEWSCRAP5 PROJ_SPAWNS NOTHING
defineprojectile NEWSCRAP5 PROJ_DROP -175
defineprojectile NEWSCRAP5 PROJ_BSOUND -1
defineprojectile NEWSCRAP5 PROJ_CLIPDIST 16
defineprojectile NEWSCRAP5 PROJ_XREPEAT 40
defineprojectile NEWSCRAP5 PROJ_YREPEAT 26

defineprojectile NEWSCRAP6 PROJ_WORKSLIKE 6278 // contains 128
defineprojectile NEWSCRAP6 PROJ_EXTRA 0
defineprojectile NEWSCRAP6 PROJ_HITRADIUS 0
defineprojectile NEWSCRAP6 PROJ_VEL 128
defineprojectile NEWSCRAP6 PROJ_BOUNCES 3
defineprojectile NEWSCRAP6 PROJ_SPAWNS NOTHING
defineprojectile NEWSCRAP6 PROJ_DROP -175
defineprojectile NEWSCRAP6 PROJ_BSOUND -1
defineprojectile NEWSCRAP6 PROJ_CLIPDIST 16
defineprojectile NEWSCRAP6 PROJ_XREPEAT 40
defineprojectile NEWSCRAP6 PROJ_YREPEAT 26

define SPARKPROJ 8020
spritenoshade SPARKPROJ
defineprojectile SPARKPROJ PROJ_WORKSLIKE 20678
//defineprojectile SPARKPROJ PROJ_WORKSLIKE 2
defineprojectile SPARKPROJ PROJ_EXTRA 0
defineprojectile SPARKPROJ PROJ_CLIPDIST 24
defineprojectile SPARKPROJ PROJ_VEL 192
defineprojectile SPARKPROJ PROJ_HITRADIUS 0
defineprojectile SPARKPROJ PROJ_CLIPDIST  12
defineprojectile SPARKPROJ PROJ_SPAWNS NOTHING
defineprojectile SPARKPROJ PROJ_BOUNCES 2
defineprojectile SPARKPROJ PROJ_BSOUND -1
defineprojectile SPARKPROJ PROJ_RANGE 13
defineprojectile SPARKPROJ PROJ_CSTAT 128
defineprojectile SPARKPROJ PROJ_DROP -128