home *** CD-ROM | disk | FTP | other *** search
/ Quake 'em / QUAKEEM.BIN / quake / programs / byomv10 / byom.qc next >
Encoding:
Text File  |  1996-08-13  |  4.1 KB  |  117 lines

  1. /* BYOM (Be Your Own Monster) v1.0
  2.  
  3.         Be Your Own Monster is the patch that allows you to take on the
  4.         role of the heroic do-gooding marine, the fiendish fiend, the
  5.         shambling shambler, or the wizardly scrag
  6.  
  7.         Teams -- Teams are formed by race, instead of by skin color.
  8.                  Marines vs Fiends, Fiends vs Scrags!
  9.  
  10.         Impulse 101 -- Change to Marine at next oppurtunity
  11.         Impulse 102 -- Change to Fiend at next oppurtunity
  12.         Impulse 103 -- Change to Shambler at next oppurtunity
  13.         Impulse 104 -- Change to Scrag at next oppurtunity
  14.  
  15.         next oppurtunity means death or level change.
  16.  
  17.         I've made changes to:
  18.             WEAPONS.QC
  19.             CLIENT.QC
  20.             PLAYER.QC
  21.             WORLD.QC
  22.             ITEMS.QC
  23.             COMBAT.QC
  24.  
  25.         Email me at aexia@u.washington.edu
  26.  
  27.         Email me if:
  28.             1. You know how to implement Scrag flying like swimming
  29.             2. What are good numbers for the view offsets for each
  30.                monster
  31.             3. You know how to change the bounding box on the shambler so
  32.                that he really is huge
  33.             4. you find a bug
  34.  
  35.         Thanks to:
  36.             iD Software for creating Quake
  37.             John & Josh Spickes for writing the Fiend's Pentagram
  38.                 patch. I borrowed some code from their patch. That patch
  39.                 also cleared up a great many things about QuakeC
  40.             My parents for paying the phone bill
  41.             Queen Maeve, creator of the universe. Where would I be without
  42.                 Her Warm Furry Bellyness sitting on my papers and keyboard?
  43. */
  44. float IMP_MARINE        = 101;
  45. float IMP_FIEND         = 102;
  46. float IMP_SHAMBLER      = 103;
  47. float IMP_WIZARD        = 104;
  48.  
  49. float CL_MARINE         = 0;
  50. /*      Class: Marine
  51.         Armor: Normal
  52.         Weapons: Axe, Shotgun, Super shotgun, Nailgun, Super Nailgun,
  53.                   Grenade Launcher, Rocket Launcher, Lightning Gun
  54.                  (Starts with Axe and Shotgun)
  55.         Medkits: Normal
  56.         Notes: Default deathmatch player. You undoubtedly know him already.
  57. */
  58. float CL_FIEND          = 1;
  59. /*      Class: Fiend
  60.         Armor: Can't use it
  61.         Weapons: Close Range Melee, Ramming Jump Attack
  62.         Medkits: 1/3 as useful
  63.         Special: Long range jumping, 300% max health
  64.         Notes: Works just like the Fiend's Pentagram patch. Will have to claw
  65.                its way out of water sometimes.
  66. */
  67. float CL_SHAMBLER       = 2;
  68. /*      Class: Shambler
  69.         Armor: Can't use it
  70.         Weapons: Close Range Meelee, Lightning Attack
  71.         Medkits: 1/6 as useful
  72.         Special: No items are useful, Lightning Ammo regenerates naturally,
  73.                  600% max health, regenerates health slowly, takes only
  74.                  half damage from rockets, lightning firing rate is slow
  75.         Notes: Shamlber will look funny in some places since he's so huge.
  76.                I haven't figured out how to change the bounding box to
  77.                match his size yet...
  78.  
  79. */
  80. float CL_WIZARD         = 3;
  81. /*      Class: Scrag
  82.         Armor: Can't use it
  83.         Weapons: Energy Spikes
  84.         Medkits: 25% more useful
  85.         Special: No items are useful, flying, Energy Ammo regenerates
  86.         Notes: Flying is buggy when you start out and coming out of a
  87.                teleporter. Just run into a wall, use up or down, and go
  88.                forward to get rid of the "acceleterated slide" effect. In
  89.                the future, I plan to make flying like swimming if possible.
  90. */
  91.  
  92. // now a part of entity
  93. .float class;
  94. .float nextclass;
  95.  
  96. float NEW_WEAPON_BOLT       = 256;
  97. float NEW_WEAPON_SPIKE      = 512;
  98. float NEW_WEAPON_MELEE      = 1024;
  99.  
  100. // Function prototypes
  101. void() player_demon_melee;
  102. void() player_shambler_melee;
  103. void() player_shambler_bolt;
  104. void() player_wizard_shot;
  105. void() player_demon_jump;
  106.  
  107. void() player_wizard_pain;
  108. void() player_demon_pain;
  109. void() player_shambler_pain;
  110.  
  111. void() player_wizard_die;
  112. void() player_demon_die;
  113. void() player_shambler_die;
  114.  
  115. void() Player_Demon_JumpTouch;
  116. void(float side) Player_Demon_Attack;
  117.