define MP5CLIP 8832
define CRUIZERSPRITE 8830
define DBSPRITE 3508
define MP5SPRITE 8833
define SHOOTMEALLY 3350
define NEWBLOOD1 3469
define NEWBLOOD2 3470 
define NEWBLOOD3 3471
define NEWBLOOD4 3468
define NEWBLOOD5 3472
define COLACANSTAND 3484
define SCORCH 3457
define COLACANSIDE 3485
define ROCKETHALO 3458
define CRATE1 3498
define CRATE2 3500
define FUSE 3503
define NEWSMOKE 3511
define POISONGASMAKER 3512
define POISONGAS 3513
define LIZARDVOMIT 3526
define NEWSPLASH       6356
define WATERCIRCLE     6368
define SAWBLADEGROUND 8006
define SHOOTME 8005



define LAUNCHSND 500
definesound LAUNCHSND              CDOOR1B.voc          8192   8192   128   0   -4096
define BLASTERSND 501                 
definesound BLASTERSND                BANG1.VOC            2048    2048    128   0   -4096
define SHOTTY2 502
definesound SHOTTY2                  SHOTGUN7.VOC            1560    1560    128   0   -4096
define PISTOL_LOW 503
definesound PISTOL_LOW         pistol.voc      -512     -768   128   0   -4096

define NULLSOUND 504
definesound NULLSOUND DUKEPLUS_RESOURCES/SOUNDS/NULLSOUND.wav 0 0 0 0 0
define JIBLAND 505
definesound JIBLAND DUKEPLUS_RESOURCES/SOUNDS/organic1.voc -64 64 64 0 0
define JIBLAND2 506
definesound JIBLAND2 DUKEPLUS_RESOURCES/SOUNDS/organic2.voc -64 64 64 0 0
define SHELLFALL1 507
definesound SHELLFALL1 DUKEPLUS_RESOURCES/SOUNDS/shell1.wav 0 0 32 0 0
define SHELLFALL2 508
definesound SHELLFALL2 DUKEPLUS_RESOURCES/SOUNDS/shell2.wav 0 0 32 0 0
define SHELLFALL3 509
definesound SHELLFALL3 DUKEPLUS_RESOURCES/SOUNDS/sshell2.wav 0 0 32 0 0
define SHELLFALL4 510
definesound SHELLFALL4 DUKEPLUS_RESOURCES/SOUNDS/sshell3.wav 0 0 32 0 0
define STEP1 511
definesound STEP1       DUKEPLUS_RESOURCES/SOUNDS/STEP1.voc      50 -50 100 0 8000
define STEP2 512
definesound STEP2       DUKEPLUS_RESOURCES/SOUNDS/STEP2.voc      50 -50 100 0 8000
define STEP3 513
definesound STEP3       DUKEPLUS_RESOURCES/SOUNDS/STEP3.voc      50 -50 100 0 8000
define STEP4 514
definesound STEP4       DUKEPLUS_RESOURCES/SOUNDS/STEP4.voc      50 -50 100 0 8000
define WOOD1 515
definesound WOOD1       DUKEPLUS_RESOURCES/SOUNDS/WOOD1.voc      50 -50 100 0 8000
define WOOD2 516
definesound WOOD2       DUKEPLUS_RESOURCES/SOUNDS/WOOD2.voc      50 -50 100 0 8000
define WOOD3 517
definesound WOOD3       DUKEPLUS_RESOURCES/SOUNDS/WOOD3.voc      50 -50 100 0 8000
define WOOD4 518
definesound WOOD4       DUKEPLUS_RESOURCES/SOUNDS/WOOD4.voc      50 -50 100 0 8000
define TIN1 519
definesound TIN1        DUKEPLUS_RESOURCES/SOUNDS/pl_metal1.wav      50 -50 100 0 8000
define TIN2 520
definesound TIN2        DUKEPLUS_RESOURCES/SOUNDS/pl_metal2.wav     50 -50 100 0 8000
define TIN3 521
definesound TIN3        DUKEPLUS_RESOURCES/SOUNDS/pl_metal3.wav      50 -50 100 0 8000
define TIN4 522
definesound TIN4        DUKEPLUS_RESOURCES/SOUNDS/pl_metal4.wav      50 -50 100 0 8000
define GRATES1 523
definesound GRATES1     DUKEPLUS_RESOURCES/SOUNDS/GRATE1.voc    50 -50 100 0 8000
define GRATE2 524
definesound GRATE2      DUKEPLUS_RESOURCES/SOUNDS/GRATE2.voc    50 -50 100 0 8000
define GRATE3 525
definesound GRATE3      DUKEPLUS_RESOURCES/SOUNDS/GRATE3.voc    50 -50 100 0 8000
define GRATE4 526
definesound GRATE4      DUKEPLUS_RESOURCES/SOUNDS/GRATE4.voc    50 -50 100 0 8000
define GRASS1 527
definesound GRASS1      DUKEPLUS_RESOURCES/SOUNDS/GRASS1.wav    50 -50 100 0 8000
define GRASS2 528
definesound GRASS2      DUKEPLUS_RESOURCES/SOUNDS/GRASS2.wav    50 -50 100 0 8000
define GRASS3 529
definesound GRASS3      DUKEPLUS_RESOURCES/SOUNDS/GRASS3.wav    50 -50 100 0 8000
define GRASS4 530
definesound GRASS4      DUKEPLUS_RESOURCES/SOUNDS/GRASS4.wav    50 -50 100 0 8000
define TILE1 531
definesound TILE1       DUKEPLUS_RESOURCES/SOUNDS/TILE1.voc    50 -50 100 0 8000
define TILE2 533
definesound TILE2       DUKEPLUS_RESOURCES/SOUNDS/TILE2.voc    50 -50 100 0 8000
define TILE3 534
definesound TILE3       DUKEPLUS_RESOURCES/SOUNDS/TILE3.voc    50 -50 100 0 8000
define TILE4 535
definesound TILE4       DUKEPLUS_RESOURCES/SOUNDS/TILE4.voc    50 -50 100 0 8000
define CARPET1 536
definesound CARPET1     DUKEPLUS_RESOURCES/SOUNDS/CARPET1.voc    50 -50 100 0 8000
define CARPET2 537
definesound CARPET2     DUKEPLUS_RESOURCES/SOUNDS/CARPET2.voc    50 -50 100 0 8000
define CARPET3 538
definesound CARPET3     DUKEPLUS_RESOURCES/SOUNDS/CARPET3.voc    50 -50 100 0 8000
define CARPET4 539
definesound CARPET4     DUKEPLUS_RESOURCES/SOUNDS/CARPET4.voc   50 -50 100 0 8000
define SNOW1 540
definesound SNOW1       DUKEPLUS_RESOURCES/SOUNDS/SNOW1.wav    50 -50 100 0 8000
define SNOW2 541
definesound SNOW2       DUKEPLUS_RESOURCES/SOUNDS/SNOW2.wav    50 -50 100 0 8000
define SNOW3 542
definesound SNOW3       DUKEPLUS_RESOURCES/SOUNDS/SNOW3.wav    50 -50 100 0 8000
define SNOW4 543
definesound SNOW4       DUKEPLUS_RESOURCES/SOUNDS/SNOW4.wav    50 -50 100 0 8000
define LANDDIRT 544
definesound LANDDIRT    DUKEPLUS_RESOURCES/SOUNDS/LDIRT.wav    50 75 5 0 0
define LANDMETAL 545
definesound LANDMETAL   DUKEPLUS_RESOURCES/SOUNDS/LMETL.wav    -50 -50 5 0 0
define LANDWOOD 546
definesound LANDWOOD    DUKEPLUS_RESOURCES/SOUNDS/LWOOD.wav    0 -50 5 0 0
define LANDWATER 547
definesound LANDWATER   DUKEPLUS_RESOURCES/SOUNDS/LWTR.wav     0 -50 5 0 0
define LANDNORMAL 548
definesound LANDNORMAL  land02.voc   50 -50 5 0 0
define LANDSNOW 549
definesound LANDSNOW    DUKEPLUS_RESOURCES/SOUNDS/LSNOW.wav    0 -50 5 0 0
// define SUBMERGE 550
// definesound SUBMERGE    DUKEPLUS_RESOURCES/SOUNDS/SUBMERG.wav  0 -50 5 16 0
define WHOOSH 551
definesound WHOOSH 		DUKEPLUS_RESOURCES/SOUNDS/flyby1.wav 0 0 130 0 0
define COINSLOT 552
definesound COINSLOT	DUKEPLUS_RESOURCES/SOUNDS/coinslot1.wav 0 0 32 0 0
define DISPENSE_CAN 553
definesound DISPENSE_CAN	DUKEPLUS_RESOURCES/SOUNDS/dispense_can.wav 0 0 0 0 0
define SODA_OPEN 554
definesound SODA_OPEN	DUKEPLUS_RESOURCES/SOUNDS/soda_open.wav 0 0 64 0 0
define CRUSHCAN 555
definesound CRUSHCAN	DUKEPLUS_RESOURCES/SOUNDS/crushcan.wav 0 0 64 0 0
define MOSSPUMP 556
definesound MOSSPUMP             DUKEPLUS_RESOURCES/SOUNDS/mosspump.wav 0 0 128 0 0
define MOSSINSERTSHELL 557
definesound MOSSINSERTSHELL      DUKEPLUS_RESOURCES/SOUNDS/mossinsertshell.wav 0 0 128 0 0
define MOSSFIRE 558
definesound MOSSFIRE             DUKEPLUS_RESOURCES/SOUNDS/mossfire.wav -128 128 254 0 -4096
define MP5FIRE 559
definesound MP5FIRE              DUKEPLUS_RESOURCES/SOUNDS/mp5fire2.wav 0 128 254 0 -2048
define MP5CLIPIN 560
definesound MP5CLIPIN            DUKEPLUS_RESOURCES/SOUNDS/mp5clipin.wav 0 0 64 0 0
define MP5CLIPOUT 561
definesound MP5CLIPOUT           DUKEPLUS_RESOURCES/SOUNDS/mp5clipout.wav 0 0 64 0 0
define HITSTONE 562
definesound HITSTONE              DUKEPLUS_RESOURCES/SOUNDS/BulletConcrete1.wav   0 -50 5 0 0
define HITSTONE2 563
definesound HITSTONE2             DUKEPLUS_RESOURCES/SOUNDS/ricochet4.wav 0 0 5 0 0
define HITSTONE3 564
definesound HITSTONE3             DUKEPLUS_RESOURCES/SOUNDS/ricochet5.wav 0 0 5 0 0
define HITSTONE4 565
definesound HITSTONE4             DUKEPLUS_RESOURCES/SOUNDS/BulletConcrete3.wav 0 0 5 0 0
define HITSTONE5 566
definesound HITSTONE5             DUKEPLUS_RESOURCES/SOUNDS/BulletConcrete4.wav 0 0 5 0 0
define HITWOOD 567
definesound HITWOOD               DUKEPLUS_RESOURCES/SOUNDS/BulletWood1.wav   0 -50 5 0 0
define HITWOOD2 568
definesound HITWOOD2              DUKEPLUS_RESOURCES/SOUNDS/WoodHit2.wav   0 0 5 0 0
define HITWOOD3 569
definesound HITWOOD3              DUKEPLUS_RESOURCES/SOUNDS/BulletWood1.wav   0 0 5 0 0
define HITWOOD4 570
definesound HITWOOD4              DUKEPLUS_RESOURCES/SOUNDS/WoodHit3.wav   0 0 5 0 0
define HITWOOD5 571
definesound HITWOOD5              DUKEPLUS_RESOURCES/SOUNDS/WoodHit4.wav   0 0 5 0 0
define HITMETAL 572
definesound HITMETAL              DUKEPLUS_RESOURCES/SOUNDS/HMETAL.wav   0 -50 5 0 0
define HITMETAL2 573
definesound HITMETAL2             DUKEPLUS_RESOURCES/SOUNDS/MetalHit2.wav 0 0 5 0 0
define HITMETAL3 574
definesound HITMETAL3             DUKEPLUS_RESOURCES/SOUNDS/MetalHit3.wav 0 0 5 0 0
define HITMETAL4 575
definesound HITMETAL4             DUKEPLUS_RESOURCES/SOUNDS/BulletMetal2.wav 0 0 5 0 0
define HITMETAL5 576
definesound HITMETAL5             DUKEPLUS_RESOURCES/SOUNDS/BulletMetal4.wav 0 0 5 0 0
define HITWATER 577
definesound HITWATER              DUKEPLUS_RESOURCES/SOUNDS/HWATER.wav   0 -50 5 0 0
define HITWATER2 578
definesound HITWATER2             DUKEPLUS_RESOURCES/SOUNDS/BulletWater4.wav   0 0 5 0 0
define HITWATER3 579
definesound HITWATER3             DUKEPLUS_RESOURCES/SOUNDS/BulletWater1.wav   0 0 5 0 0
define HITDIRT 580
definesound HITDIRT               DUKEPLUS_RESOURCES/SOUNDS/HDIRT.wav    0 -50 5 0 0
define HITDIRT2 581
definesound HITDIRT2              DUKEPLUS_RESOURCES/SOUNDS/BulletDirt1.wav    0 0 5 0 0
define HITDIRT3 582
definesound HITDIRT3              DUKEPLUS_RESOURCES/SOUNDS/BulletDirt4.wav    0 0 5 0 0
define HITFLESH 583
definesound HITFLESH              DUKEPLUS_RESOURCES/SOUNDS/HFLESH.wav   0 -50 12 0 -3072
define RPGLOAD 584
definesound RPGLOAD              DUKEPLUS_RESOURCES/SOUNDS/rpgload.wav -512 -512 64 0 0
define RPGCLOSE 585
definesound RPGCLOSE             DUKEPLUS_RESOURCES/SOUNDS/rpgclose.wav 0 0 64 0 0
define RPGOPEN 586
definesound RPGOPEN              DUKEPLUS_RESOURCES/SOUNDS/rpgopen.wav -128 -128 64 0 0
define PRED_ATTACK2 587
definesound PRED_ATTACK2   DUKEPLUS_RESOURCES/SOUNDS/newfirelaser.wav    0  128  3  0   0
define METALTHUD 588
definesound METALTHUD            DUKEPLUS_RESOURCES/SOUNDS/metal_thud.wav 0 256 64 0 -2048
define GRAVPULL 589
definesound GRAVPULL			 DUKEPLUS_RESOURCES/SOUNDS/gravpull.wav 0 0 64 5 0
define GRAVSHOOT 590
definesound GRAVSHOOT			 DUKEPLUS_RESOURCES/SOUNDS/Grenade.wav 0 0 64 0 -4096
define GENERICBOUNCE 591
definesound GENERICBOUNCE      pbombbnc.voc      -1024     -512     2   0 0
define GLASSCRACKSND 592
definesound GLASSCRACKSND         DUKEPLUS_RESOURCES/SOUNDS/GlassTink.wav 0 0 64 0 -8192
define SODACANLAND 593
definesound SODACANLAND         DUKEPLUS_RESOURCES/SOUNDS/can_hit.wav 0 0 64 0 -4096
define BOUNCEMETALSND 594
definesound BOUNCEMETALSND         DUKEPLUS_RESOURCES/SOUNDS/bouncemetal.wav 0 0 64 0 -4096
define SOFTBOUNCE 595
definesound SOFTBOUNCE         DUKEPLUS_RESOURCES/SOUNDS/softbounce.wav 0 0 64 0 -4096
define FOODLAND 596
definesound FOODLAND         DUKEPLUS_RESOURCES/SOUNDS/foodland.wav -512 -512 64 0 -4096
define THROWSMACK 597
definesound THROWSMACK         DUKEPLUS_RESOURCES/SOUNDS/throwsmack.wav -128 128 128 0 -16384
define SPARKING1 598
definesound SPARKING1         DUKEPLUS_RESOURCES/SOUNDS/spark1.wav -128 128 48 0 8192
define SPARKING2 599
definesound SPARKING2         DUKEPLUS_RESOURCES/SOUNDS/spark5.wav -128 128 48 0 8192
define GRAVSHOOTSND 600                 
definesound GRAVSHOOTSND                BANG1.VOC            4096    4096    254   0   -4096
define BLADEBOUNCESND 601
definesound BLADEBOUNCESND 	DUKEPLUS_RESOURCES/SOUNDS/bladebounce.wav 0 512 160 0 -8192
define AYIAIAY 602
definesound AYIAIAY         DSCREM38.voc       0   0   0   0   0
define DBOPEN 603
definesound DBOPEN               DUKEPLUS_RESOURCES/SOUNDS/dbopen.wav 0 0 128 0 0
define DBCLOSE 604
definesound DBCLOSE              DUKEPLUS_RESOURCES/SOUNDS/dbclose.wav 0 0 128 0 0
define DBLOAD 605
definesound DBLOAD               DUKEPLUS_RESOURCES/SOUNDS/dbload.wav 0 0 128 0 0
define DBFIRE 606
definesound DBFIRE               DUKEPLUS_RESOURCES/SOUNDS/dbfire.wav 0 0 254 0 0
define DPPISTOLFIRE 607
definesound DPPISTOLFIRE         DUKEPLUS_RESOURCES/SOUNDS/deagle.wav 0 0 254 0 0
define DPCHAINGUNFIRE 608
definesound DPCHAINGUNFIRE       DUKEPLUS_RESOURCES/SOUNDS/dpchaingun.wav 0 0 254 0 0
define WEAPEMPTY 609
definesound WEAPEMPTY            DUKEPLUS_RESOURCES/SOUNDS/weapempty.wav 0 0 128 0 0
define WEEDWACKER 610
definesound WEEDWACKER			 DUKEPLUS_RESOURCES/SOUNDS/SSTAUNT8.wav 0 0 32 4 0
define RAINWINDOW 611
definesound RAINWINDOW			 DUKEPLUS_RESOURCES/SOUNDS/rainwindow.wav 0 0 31 0 0
define WHACK 612
definesound WHACK DUKEPLUS_RESOURCES/SOUNDS/cgwhack.wav -128 128 255 0 -8192
define KICKOUT 613
definesound KICKOUT DUKEPLUS_RESOURCES/SOUNDS/kickout.wav -128 128 250 0 -4096
define NEW_EXPLODE 614
definesound NEW_EXPLODE    DUKEPLUS_RESOURCES/SOUNDS/explode3.wav  -512      0     128 0   -4096
define PIPEBOMB_EXPLODE2 615
definesound PIPEBOMB_EXPLODE2   bombexpl.voc  -512      0     128 0   0
define RPG_EXPLODE2 616
definesound RPG_EXPLODE2         bombexpl.voc      -1024 1024  128 0   0
define NEW_EXPLODE2 617
definesound NEW_EXPLODE2    DUKEPLUS_RESOURCES/SOUNDS/explode5.wav  -512      0     128 0   -4096
define FIRELASER_IMPACT1 618
definesound FIRELASER_IMPACT1	DUKEPLUS_RESOURCES/SOUNDS/firelaser_hit1.wav   0 0   128  0    0
define FIRELASER_IMPACT2 619
definesound FIRELASER_IMPACT2	DUKEPLUS_RESOURCES/SOUNDS/firelaser_hit2.wav   0 0   128  0    0
define FIRELASER_IMPACT3 620
definesound FIRELASER_IMPACT3	DUKEPLUS_RESOURCES/SOUNDS/firelaser_hit3.wav   0 0   128  0    0
define SKYCAR_COLLIDE 621
definesound SKYCAR_COLLIDE         DUKEPLUS_RESOURCES/SOUNDS/skycar_collision.wav -64 256 5 0 -8192
define SKYCAR_JET1 622
definesound SKYCAR_JET1                 DUKEPLUS_RESOURCES/SOUNDS/skycar_jet.wav 0 0 5 1 -2048
define SKYCAR_JET2 623
definesound SKYCAR_JET2                 DUKEPLUS_RESOURCES/SOUNDS/skycar_jet.wav 128 128 5 1 -2048
define SKYCAR_JET3 624
definesound SKYCAR_JET3                 DUKEPLUS_RESOURCES/SOUNDS/skycar_jet.wav 256 256 5 1 -2048
define SKYCAR_JET4 625
definesound SKYCAR_JET4                 DUKEPLUS_RESOURCES/SOUNDS/skycar_jet.wav 448 448 5 1 -2048
define SKYCAR_JET5 626
definesound SKYCAR_JET5                DUKEPLUS_RESOURCES/SOUNDS/skycar_jet.wav 640 640 5 1 -2048
define SKYCAR_COLLIDE2 627
definesound SKYCAR_COLLIDE2				DUKEPLUS_RESOURCES/SOUNDS/skycar_collision02.wav -64 256 5 0 -8192
define SKYCAR_JET6 628
definesound SKYCAR_JET6					DUKEPLUS_RESOURCES/SOUNDS/skycar_jet.wav 832 832 5 1 -2048
define SKYCAR_JET7 629
definesound SKYCAR_JET7					DUKEPLUS_RESOURCES/SOUNDS/skycar_jet.wav 1024 1024 5 1 -2048
define RINGSOUND 630
definesound RINGSOUND DUKEPLUS_RESOURCES/SOUNDS/skill.wav 0 0 254 0 0
define PULLPLAYER 631
definesound PULLPLAYER			 DUKEPLUS_RESOURCES/SOUNDS/gravpull.wav -512 -512 200 0 -4096
define ALTMELEESND 632
definesound ALTMELEESND DUKEPLUS_RESOURCES/SOUNDS/kickout.wav -256 -128 250 0 -4096

// CUSTOM PROJECTILE CODE
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
*/

defineprojectile LIZARDVOMIT PROJ_WORKSLIKE 33026
defineprojectile LIZARDVOMIT PROJ_EXTRA 12
defineprojectile LIZARDVOMIT PROJ_EXTRA_RAND 5
defineprojectile LIZARDVOMIT PROJ_HITRADIUS 0
defineprojectile LIZARDVOMIT PROJ_VEL 512
defineprojectile LIZARDVOMIT PROJ_SPAWNS BLOODPOOL
defineprojectile LIZARDVOMIT PROJ_DROP -175
defineprojectile LIZARDVOMIT PROJ_PAL 6
defineprojectile LIZARDVOMIT PROJ_ISOUND SQUISHED
defineprojectile LIZARDVOMIT PROJ_TRAIL NEWSMOKE

define RPGNOAIM 2611
defineprojectile RPGNOAIM PROJ_WORKSLIKE 36866 // RPG WITH NO AUTOAIM
defineprojectile RPGNOAIM PROJ_EXTRA RPG_WEAPON_STRENGTH
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 RPGBLASTRADIUS
defineprojectile RPGNOAIM PROJ_TRAIL SMALLSMOKE
defineprojectile RPGNOAIM PROJ_XREPEAT 14
defineprojectile RPGNOAIM PROJ_YREPEAT 14

action RPGFRAME -6 1 7 1 1
useractor notenemy RPGNOAIM RPG_WEAPON_STRENGTH RPGFRAME enda



define NOTHING 8004
define FIREBALLPROJ 1669
defineprojectile FIREBALLPROJ PROJ_WORKSLIKE 32774
defineprojectile FIREBALLPROJ PROJ_EXTRA 32
defineprojectile FIREBALLPROJ PROJ_SPAWNS EXPLOSION2
defineprojectile FIREBALLPROJ PROJ_HITRADIUS 844
defineprojectile FIREBALLPROJ PROJ_VEL -384
defineprojectile FIREBALLPROJ PROJ_XREPEAT 16
defineprojectile FIREBALLPROJ PROJ_YREPEAT 16
// defineprojectile FIREBALLPROJ PROJ_TRAIL SMALLSMOKE
defineprojectile FIREBALLPROJ PROJ_ISOUND PIPEBOMB_EXPLODE
defineprojectile FIREBALLPROJ PROJ_CSTAT 256
defineprojectile FIREBALLPROJ PROJ_BOUNCES 1

action FIREBALLFRAME -4 1 5 1 1
useractor notenemy FIREBALLPROJ 38 FIREBALLFRAME enda


define ELECTROPROJ 1387
define ELECTROSPAWN 1399
defineprojectile ELECTROPROJ PROJ_WORKSLIKE 32770
defineprojectile ELECTROPROJ PROJ_EXTRA 10 // most of the damage is caused after impact
defineprojectile ELECTROPROJ PROJ_SPAWNS ELECTROSPAWN
defineprojectile ELECTROPROJ PROJ_HITRADIUS 0
defineprojectile ELECTROPROJ PROJ_VEL 768
defineprojectile ELECTROPROJ PROJ_XREPEAT 32
defineprojectile ELECTROPROJ PROJ_YREPEAT 32
defineprojectile ELECTROPROJ PROJ_PAL 12
defineprojectile ELECTROPROJ PROJ_SHADE -127
defineprojectile ELECTROPROJ PROJ_ISOUND SHORT_CIRCUIT



define SPARKER 2950
define FIREBULLET 2328
defineprojectile FIREBULLET PROJ_WORKSLIKE 32774 
defineprojectile FIREBULLET PROJ_EXTRA 9
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 EXPLOSION2BOT
defineprojectile FIREBULLET PROJ_TRAIL SMALLSMOKE
defineprojectile FIREBULLET PROJ_TOFFSET 4
// defineprojectile FIREBULLET PROJ_ISOUND
defineprojectile FIREBULLET PROJ_BOUNCES 2
defineprojectile FIREBULLET PROJ_BSOUND -1

define RAILSLUG_WEAK 8000
define RAILSLUG 8001
define RAILHIT 8002
define RAILTRAIL 8003
defineprojectile RAILSLUG_WEAK PROJ_WORKSLIKE 32770 // 1
defineprojectile RAILSLUG_WEAK PROJ_HITRADIUS 0
defineprojectile RAILSLUG_WEAK PROJ_VEL 844
//defineprojectile RAILSLUG_WEAK PROJ_DECAL 952
defineprojectile RAILSLUG_WEAK PROJ_SOUND PISTOL_BODYHIT
defineprojectile RAILSLUG_WEAK PROJ_SPAWNS RAILHIT
defineprojectile RAILSLUG_WEAK PROJ_EXTRA 15
//defineprojectile RAILSLUG_WEAK PROJ_TNUM 50
defineprojectile RAILSLUG_WEAK PROJ_TRAIL RAILTRAIL



move INIT
move STOPPED
define STARPROJ 1660
define SHRAPNELSPAWNER 2430
defineprojectile STARPROJ PROJ_WORKSLIKE 34818
defineprojectile STARPROJ PROJ_EXTRA 8
defineprojectile STARPROJ PROJ_XREPEAT 8
defineprojectile STARPROJ PROJ_YREPEAT 8
defineprojectile STARPROJ PROJ_HITRADIUS 0
defineprojectile STARPROJ PROJ_VEL -768
defineprojectile STARPROJ PROJ_DROP -50
defineprojectile STARPROJ PROJ_SPAWNS SHRAPNELSPAWNER
defineprojectile STARPROJ PROJ_TRAIL SHOTSPARK1
defineprojectile STARPROJ PROJ_ISOUND PISTOL_RICOCHET

action STARFRAME 0 1 5 1 1
useractor notenemy STARPROJ 14 STARFRAME enda

define SHRAPNEL 2419

defineprojectile SHRAPNEL PROJ_WORKSLIKE 53318
defineprojectile SHRAPNEL PROJ_EXTRA 3
defineprojectile SHRAPNEL PROJ_XREPEAT 4
defineprojectile SHRAPNEL PROJ_YREPEAT 4
defineprojectile SHRAPNEL PROJ_HITRADIUS 0
defineprojectile SHRAPNEL PROJ_VEL 256
defineprojectile SHRAPNEL PROJ_DROP -75
defineprojectile SHRAPNEL PROJ_SPAWNS SMALLSMOKE
defineprojectile SHRAPNEL PROJ_ISOUND -1
defineprojectile SHRAPNEL PROJ_BOUNCES 3
defineprojectile SHRAPNEL PROJ_BSOUND -1
defineprojectile SHRAPNEL PROJ_RANGE 32

action SHRAPNELFRAME -759 1 5 1 1
useractor notenemy SHRAPNEL 3 SHRAPNELFRAME enda

define SAWBLADEPROJ 8007
spritenoshade SAWBLADEPROJ
defineprojectile SAWBLADEPROJ PROJ_WORKSLIKE 36870
defineprojectile SAWBLADEPROJ PROJ_HITRADIUS 0
defineprojectile SAWBLADEPROJ PROJ_XREPEAT 40
defineprojectile SAWBLADEPROJ PROJ_YREPEAT 40
defineprojectile SAWBLADEPROJ PROJ_BOUNCES 6
defineprojectile SAWBLADEPROJ PROJ_EXTRA 120
defineprojectile SAWBLADEPROJ PROJ_VEL 768
defineprojectile SAWBLADEPROJ PROJ_VEL_MULT 2
defineprojectile SAWBLADEPROJ PROJ_SPAWNS -1
defineprojectile SAWBLADEPROJ PROJ_BSOUND BLADEBOUNCESND
defineprojectile SAWBLADEPROJ PROJ_ISOUND -1
defineprojectile SAWBLADEPROJ PROJ_CLIPDIST 16


define FREEZENOAIM 1410
defineprojectile FREEZENOAIM PROJ_WORKSLIKE 36870
defineprojectile FREEZENOAIM PROJ_HITRADIUS 0
defineprojectile FREEZENOAIM PROJ_XREPEAT 8
defineprojectile FREEZENOAIM PROJ_YREPEAT 8
defineprojectile FREEZENOAIM PROJ_BOUNCES NUMFREEZEBOUNCES
defineprojectile FREEZENOAIM PROJ_EXTRA FREEZETHROWER_WEAPON_STRENGTH
defineprojectile FREEZENOAIM PROJ_VEL 644
defineprojectile FREEZENOAIM PROJ_SPAWNS TRANSPORTERSTAR
defineprojectile FREEZENOAIM PROJ_SXREPEAT 32
defineprojectile FREEZENOAIM PROJ_SYREPEAT 32
defineprojectile FREEZENOAIM PROJ_BSOUND -1
defineprojectile FREEZENOAIM PROJ_ISOUND -1
defineprojectile FREEZENOAIM PROJ_CLIPDIST 4

define MP5BULLET 8834
defineprojectile MP5BULLET PROJ_WORKSLIKE 4097
defineprojectile MP5BULLET PROJ_SPAWNS SMALLSMOKE
defineprojectile MP5BULLET PROJ_DECAL BULLETHOLE
defineprojectile MP5BULLET PROJ_EXTRA 12
defineprojectile MP5BULLET PROJ_EXTRA_RAND 8
defineprojectile MP5BULLET PROJ_XREPEAT 6
defineprojectile MP5BULLET PROJ_YREPEAT 6

define NEWSCRAP6       3475 // 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       3491  // light gray (concrete bits)
define NEWSCRAP3G      3492
define NEWSCRAP4       3487
define NEWSCRAP4G      3488
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 3459
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
defineprojectile SPARKPROJ PROJ_XREPEAT 3
defineprojectile SPARKPROJ PROJ_YREPEAT 3

define SPARKPROJ2 3461
spritenoshade SPARKPROJ2
defineprojectile SPARKPROJ2 PROJ_WORKSLIKE 20674
defineprojectile SPARKPROJ2 PROJ_EXTRA 0
defineprojectile SPARKPROJ2 PROJ_CLIPDIST 24
defineprojectile SPARKPROJ2 PROJ_VEL 192
defineprojectile SPARKPROJ2 PROJ_HITRADIUS 0
defineprojectile SPARKPROJ2 PROJ_CLIPDIST  12
defineprojectile SPARKPROJ2 PROJ_SPAWNS -1
defineprojectile SPARKPROJ2 PROJ_BSOUND -1
defineprojectile SPARKPROJ2 PROJ_RANGE 78
defineprojectile SPARKPROJ2 PROJ_CSTAT 2
defineprojectile SPARKPROJ2 PROJ_DROP -256

define GRAVPROJ 3495
defineprojectile GRAVPROJ PROJ_WORKSLIKE 1
defineprojectile GRAVPROJ PROJ_SPAWNS SMALLSMOKE
defineprojectile GRAVPROJ PROJ_DECAL BULLETHOLE
defineprojectile GRAVPROJ PROJ_EXTRA 0
defineprojectile GRAVPROJ PROJ_XREPEAT 4
defineprojectile GRAVPROJ PROJ_YREPEAT 4
defineprojectile GRAVPROJ PROJ_TRAIL SPARKPROJ
defineprojectile GRAVPROJ PROJ_TNUM 8

define GRAVPROJ2 3496
defineprojectile GRAVPROJ2 PROJ_WORKSLIKE 1
defineprojectile GRAVPROJ2 PROJ_SPAWNS SPARKER
defineprojectile GRAVPROJ2 PROJ_DECAL BULLETHOLE
defineprojectile GRAVPROJ2 PROJ_EXTRA 18
defineprojectile GRAVPROJ2 PROJ_XREPEAT 4
defineprojectile GRAVPROJ2 PROJ_YREPEAT 4
defineprojectile GRAVPROJ2 PROJ_TRAIL SPARKPROJ
defineprojectile GRAVPROJ2 PROJ_TNUM 128

define PIGHEAD 6400
define PIGHEADG 6401
define PIGLOWER 6402
define PIGLOWERG 6403
define PIGUPPER 6404
define PIGUPPERG 6405
define PIGUPPER2 6406
define PIGUPPER2G 6407
define PIGLOWER2 6408
define PIGLOWER2G 6409

define SKYCAR_CRASHED 6410
define SKYCAR_FLY 6412
define CAR_BLOCKER 6414
define BIGBOMB 6415
define ICEBLOCK 6416
define EXPLOSIVEBULLET 6417
define BIGFLASH 6418
define BONUSRING 6419

defineprojectile EXPLOSIVEBULLET PROJ_WORKSLIKE 1
defineprojectile EXPLOSIVEBULLET PROJ_EXTRA 19
defineprojectile EXPLOSIVEBULLET PROJ_SPAWNS EXPLOSION2
defineprojectile EXPLOSIVEBULLET PROJ_DECAL SCORCH
defineprojectile EXPLOSIVEBULLET PROJ_XREPEAT 5
defineprojectile EXPLOSIVEBULLET PROJ_YREPEAT 5



defineprojectile PIGHEAD PROJ_WORKSLIKE 6278 // contains 128
defineprojectile PIGHEAD PROJ_EXTRA 0
defineprojectile PIGHEAD PROJ_HITRADIUS 0
defineprojectile PIGHEAD PROJ_XREPEAT 16
defineprojectile PIGHEAD PROJ_YREPEAT 16
defineprojectile PIGHEAD PROJ_VEL 160
defineprojectile PIGHEAD PROJ_BOUNCES 3
defineprojectile PIGHEAD PROJ_SPAWNS -1
defineprojectile PIGHEAD PROJ_DROP -175
defineprojectile PIGHEAD PROJ_BSOUND -1
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 16
defineprojectile PIGLOWER PROJ_YREPEAT 16
defineprojectile PIGLOWER PROJ_VEL 128
defineprojectile PIGLOWER PROJ_BOUNCES 3
defineprojectile PIGLOWER PROJ_SPAWNS -1
defineprojectile PIGLOWER PROJ_DROP -175
defineprojectile PIGLOWER PROJ_BSOUND -1
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 16
defineprojectile PIGUPPER PROJ_YREPEAT 16
defineprojectile PIGUPPER PROJ_VEL 128
defineprojectile PIGUPPER PROJ_BOUNCES 3
defineprojectile PIGUPPER PROJ_SPAWNS -1
defineprojectile PIGUPPER PROJ_DROP -175
defineprojectile PIGUPPER PROJ_BSOUND -1
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 16
defineprojectile PIGUPPER2 PROJ_YREPEAT 16
defineprojectile PIGUPPER2 PROJ_VEL 128
defineprojectile PIGUPPER2 PROJ_BOUNCES 3
defineprojectile PIGUPPER2 PROJ_SPAWNS -1
defineprojectile PIGUPPER2 PROJ_DROP -175
defineprojectile PIGUPPER2 PROJ_BSOUND -1
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 16
defineprojectile PIGLOWER2 PROJ_YREPEAT 16
defineprojectile PIGLOWER2 PROJ_VEL 128
defineprojectile PIGLOWER2 PROJ_BOUNCES 4
defineprojectile PIGLOWER2 PROJ_SPAWNS -1
defineprojectile PIGLOWER2 PROJ_DROP -175
defineprojectile PIGLOWER2 PROJ_BSOUND -1
defineprojectile PIGLOWER2 PROJ_CLIPDIST 16


define LIGHTSOURCEPROJ 8124
define LIGHTSOURCE 8121

spritenoshade LIGHTSOURCEPROJ
action LTSRCPROJFRAME -3240 1 1 1 1
defineprojectile LIGHTSOURCEPROJ PROJ_WORKSLIKE 6286
defineprojectile LIGHTSOURCEPROJ PROJ_EXTRA 0
defineprojectile LIGHTSOURCEPROJ PROJ_CLIPDIST 24
defineprojectile LIGHTSOURCEPROJ PROJ_VEL 448
defineprojectile LIGHTSOURCEPROJ PROJ_HITRADIUS 0
defineprojectile LIGHTSOURCEPROJ PROJ_CLIPDIST  64
defineprojectile LIGHTSOURCEPROJ PROJ_BOUNCES 2
// defineprojectile LIGHTSOURCEPROJ PROJ_BSOUND -1
defineprojectile LIGHTSOURCEPROJ PROJ_SPAWNS LIGHTSOURCE
// defineprojectile LIGHTSOURCEPROJ PROJ_CSTAT 128
defineprojectile LIGHTSOURCEPROJ PROJ_DROP -160
defineprojectile LIGHTSOURCEPROJ PROJ_XREPEAT 32
defineprojectile LIGHTSOURCEPROJ PROJ_YREPEAT 32
defineprojectile LIGHTSOURCEPROJ PROJ_CSTAT 257
//defineprojectile LIGHTSOURCEPROJ PROJ_PAL LIGHT_COLOR