home *** CD-ROM | disk | FTP | other *** search
/ Qu-ake / Qu-ake.iso / qu_ke / faq / MSQCNFO.TXT < prev    next >
Encoding:
Text File  |  1996-12-03  |  5.1 KB  |  102 lines

  1. This is a text document I wrote to answer some questions people were 
  2. asking me about Quake-C and modified progs.dat files.
  3.  
  4. NOTE: you cannot run Quake with more than one patch, so you will
  5. have to combine patches into one progs.dat file to use more than
  6. one, but that is beyond the scope of this text...sorry.
  7.  
  8.  
  9. 1) Multi-Skin setup:
  10. Actually, the read-me file which comes with the .ZIP file was 
  11. pretty straight-forward about this.
  12.     a) create a directory in your Quake directory and call it 
  13.         something like multi_11.
  14.     b) unzip the .ZIP file into the new directory.
  15.     c) create a directory in the new directory called 'progs' 
  16.         (without the quote marks).
  17.     d) move the file 'player.mdl' into this new directory in your 
  18.         multi_11 directory.
  19.     e) be sure to start Quake with the '-game multi_11' (without the 
  20.         quotes) parameter.
  21.  
  22. This will start Quake and tell Quake to use the player.mdl in the
  23. progs directory in the multi_11 directory.  (Actually, technically it 
  24. tells Quake to replace files that it needs with the ones found in the 
  25. multi_11 directory and to not use the ones that came with Quake 
  26. unless Quake is run without the '-game multi_11' parameter.)
  27.  
  28. Have I lost anyone with this explanation?  I hope not.  If so, please 
  29. email underhill@netpass.com for help and a better explanation.
  30.  
  31. 2) All functions available to Quake under DOS are available under 
  32. Win95 as well, since in actuality you are running Quake in a DOS 
  33. session under Win95.  Win95 tricks Quake into thinking it is running 
  34. under just DOS and so it is happy. :)  Therefore, you can use F12 to 
  35. take screenshots while playing under DOS or Windows.
  36.  
  37. I myself haven't had any luck in getting Quake to run outside of 
  38. Win95, but I haven't exactly put much time into trying to get it 
  39. to...
  40.  
  41. Oh well.
  42.  
  43. 3) Quake-C files, patches and Quake mods - If you already know about 
  44. these things than you can skip this.  OK, the simple explanation 
  45. first.  A Quake-C file (or a .QC file) is source code for the Quake-C 
  46. compiler (qcc.exe or qccdos.exe) to use to create a progs.dat file.  
  47. Quake uses the progs.dat file to control just about everything in 
  48. the game.  The monsters, the weapons, the ammo, the power-ups, all 
  49. can be modified within the source code.  The modified source code 
  50. compiled into a new progs.dat file.  And Quake run with the new 
  51. progs.dat file (in which case it will not use the origunal.)
  52.  
  53. Steps to use a new progs.dat file:
  54.    1) Create a new directory in your Quake directory.  Call it 
  55.        whatever you want
  56.  
  57.    2) Place the new progs.dat file into this new directory.
  58.  
  59.    3) Run Quake with the '-game <directory>' parameter (replace 
  60.        <directory> with the name of the directory holding progs.dat).
  61.  
  62. Steps to creating a progs.dat file:
  63. (NOTE: These steps will vary depending on what files are included 
  64. with the patch.  You see, you can get a patch which has the source 
  65. code and the progs.dat file, and you can modify the code and make a 
  66. new progs.dat file to replace the one which came with the code.)
  67.    1) Make a new directory in your Quake directory.  Call it whatever 
  68.        you like.
  69.    2) Make a directory in the new one called temp or source or 
  70.        whatever.
  71.    3) You need to have a copy of the original Quake-C source code 
  72.        (which can be found on ftp.cdrom.com as progs106.zip).  Copy all of 
  73.        the .QC files (and the progs.src file) into the temp or src directory 
  74.        you created.
  75.    4) Copy the modified source code to the temp or src directory 
  76.        allowing it to replace the original code.  THIS IS IMPORTANT.  If you 
  77.        modify the weapons.qc file and you want to make a new progs.dat file, 
  78.        you need to replace the original weapons.qc with the modified one.
  79.    5) Now you will need the Quake-C compiler (also available from 
  80.        ftp.cdrom.com, but I am not sure of the file name there).  Place the 
  81.        file qccdos.exe into the temp or src directory.  If you are in a DOS 
  82.        session under Win95, you can just type qccdos now and let it do its 
  83.        work.  But if you are in DOS, you will probably need to copy the file 
  84.        cwsdpmi.exe from your Quake directory into the temp or src directory 
  85.        as well, before running qccdos.
  86.    6) After qccdos runs, if all went well and there were no errors, 
  87.        it will have made a progs.dat file and moved it into the parent 
  88.        directory (the one in which the temp or src directory is located).  
  89.        Now you understand why you made a temp directory.  You can delete it 
  90.        now if there were no errors.  Do not delete the first directory you 
  91.        made as that is where progs.dat is.
  92.    7) Now, run Quake with this command line:  'quake -game <directory>'
  93.        where <directory> is the name of the first directory you made.
  94.  
  95. If you need any more help with this, please email me at 
  96. underhill@netpass.com and I will be happy to answer your questions.  
  97. I will not, however, answer questions about programming Quake-C as 
  98. that is something I myself am still learning.  Sorry.
  99.  
  100. -=CT=-KALWeb
  101.  
  102. (Under authority of -=CT=-UsaDan)