home *** CD-ROM | disk | FTP | other *** search
/ Quake 'em / QUAKEEM.BIN / quake / programs / xtrawp19 / xtraweps.txt < prev    next >
Encoding:
Text File  |  1996-08-10  |  5.0 KB  |  156 lines

  1.           XTRAWEAPONS 1.9
  2.  
  3. INSTALLATION:
  4.   make a directory for the XtraWeapons patch and create a progs subdir
  5.   unzip distribution files into progs, run qccdos
  6.   unzip w/ -d
  7.   or move *.qc and progs.src into progs
  8.  
  9.   OR:
  10.   
  11.   use the progs.dat supplied (drop in XtraWeapons dir
  12.       
  13.   FOR ALL GUNS: hit impulse to change to it, hit attack button to shoot
  14.  
  15. Its real late right now, so there may be some leftovers from the camera 
  16. patch and multiskin. I extract all the xtraweps code from TheZone Server 
  17. code, and those are in it. It'll be up for d/l after this weekend i hope.
  18. If anyone wants to run it, tell me.
  19.  
  20. Cluster Bombs
  21.   fire a grenade, 1.5 secs later it explodes and tosses out 7 others.
  22.   my first patch. Fun.
  23.  
  24.   default impulse: 70.
  25.  
  26. Bouncing Betty's for QUAKE
  27.  
  28. seen Blown Away? Yes? yo know what these are
  29. No?
  30. These work a little differently. You toss'em out and they go into wait mode.
  31. they just sit there innocently until some freak comes near'em, then they
  32. pop up and give the area a shrapnel spray at crotch level.
  33. To quote Dark Helmet: "Say goodbye to your two best friends, and I don't
  34. mean your pals in the Winnebago"
  35.  
  36. default impulse: 71.
  37.  
  38. Nail Rockets:
  39.  
  40. Here's one that piggybacks on the rocket launcher. It fires, then after
  41. the fuse is up, it explodes and releases a shotgun like shrapnel spray
  42. in the direction it was moving in.
  43.  
  44. default Impulse: 72
  45.  
  46. Laser:
  47.  
  48. This is a simple one that uses the shotgun model. It fires a laser that is
  49. identical to the enforcer's, except its a little faster.
  50.  
  51. default Impulse: 73
  52.  
  53.  
  54. Homing Rockets
  55.  
  56. I stole the HomeFindTarget code VHOLD made (who didn't?) and added a sonar 
  57. ping. Nearby explosions will kill the rocket as well, giving a way to stop 
  58. it, nails might work, i dont think bullets will. The sonar ping pings faster 
  59. the closer the rocket gets. Used the bounce.wav. I may allow it to change 
  60. targets in flight, just to make Chicken tournaments interesting, as well 
  61. as allowing it to target its owner after a time limit (ever seen Hunt for 
  62. Red October?)
  63.  
  64. default Impulse: 74
  65.  
  66. Lightning Rockets
  67.  
  68. These crawl through the air, (1/4 the speed of a normal rocket) and zap 
  69. nearby people. It makes a BIG damage explosion if it hits water, and if 
  70. it zaps someone in water its a sure gib (400 dmg if target is in water)
  71.  
  72. bug: right now it only zaps one entity at a time
  73.  
  74. default Impulse: 75
  75.  
  76. Phosphorus Grenades
  77.  
  78. These pop after 2 seconds and leave a flame at the spot, it hurts to get 
  79. close. The flame weakens in 10 seconds, and dies 10 seconds after that.
  80.  
  81. default Impulse: 76
  82.  
  83. Napalm Rockets and Grenades
  84.  
  85. Rockets & Grenades, if i do this, it'll use a frag grenade type thing with 
  86. nails that stick, and then if they are hurt by an explosion, they light up 
  87. and roast whatever they're stuck to. Water will get rid of them.
  88.  
  89. bug: they dont stick to monsters/players because they dont light up on them
  90.  
  91. default Impulse: 77 ( grenades ), 78 (rockets)
  92.  
  93. OK, this is gonna take explaining. At the risk of making combining of weapon
  94. patches possibly EXTREMELY troublesome, I screwed around a bit with the 
  95. stuff in WEAPONS.QC and ITEMS.QC.
  96.         
  97. SHRAPNEL.QC has the touch func used by the Bouncers and the FragRockets as
  98.             well as the min func used in SetCurrentAmmo();
  99.  
  100. cluster.qc has the main Cluster Bomb code
  101. bouncer.qc has the main Bouncing Betty code
  102. fragrock.qc has the main fragrocket code
  103. ADD shrapnel.qc to your progs.src BEFORE you add fragrock.qc and bouncer.qc
  104. fragrock.qc, bouncer.qc, and cluster.qc need to be before ITEMS.QC and 
  105. WEAPONS.QC
  106.  
  107. ex:
  108. progs.src:
  109. ..\progs.dat
  110.  
  111. defs.qc
  112. ...
  113. shrapnel.qc
  114. cluster.qc
  115. bouncer.qc
  116. fragrock.qc
  117. ...
  118. items.qc
  119. weapons.qc
  120. ...
  121. EOF
  122.  
  123. For the internal changes, i added two entity fields, .weapons1 and .ef
  124. these are to get around the fact that Quake only had 23 useable bits 
  125. in .items, and all but 2 were used. unfortunately, i wanted 3 or more
  126. new weapons. therefore the changes.
  127.  
  128. .ef only has one recognized value right now: EXTRA_1. This tells 
  129. W_Attack to use the alternate weapon. Boolean fields for them are in
  130. .weapons1. 
  131. ergo: 
  132.   for the shotgun: .weapon=IT_SHOTGUN;ef=0;
  133.   for the Cluster Bombs: .weapon=WP_CLUSTER;ef=EXTRA_1;
  134.  
  135. if all bits of .weapons1 get used, just add .weapons2 and EXTRA_2=2.
  136. then add to the relavent portions of items.qc and weapons.qc.
  137. this allows ALL weapons to act the same to the user, hit the button to
  138. choose, hit fire to shoot; as well as allowing for unlimited weapons.
  139. right now, 3 bits are used in .weapons1: 
  140.   WP_CLUSTER = 1;
  141.   WP_BOUNCER = 2;
  142.   WP_FRAGROCK = 4;
  143. i ought to be using more soon.
  144.  
  145. History:
  146.   1.0:  Clusters, Bouncers, FragRockets, and Laser
  147.   1.8:  short lived, adds Napalm guns (not finished), Homers, 
  148.         LightningRockets, and Phosphor Grenades, as well as a couple changes 
  149.         to the others (made some more stuff constant)
  150.   1.9:  Fixes bug in homer.qc (same .weapons1 bitfield as the fragrockets,
  151.         disabled homers)
  152.  
  153. John Allensworth
  154. tarquin@texas.net
  155. ReaperMan on the QuakeServers
  156.