quake/articles/1996/art-789
Path: mantis!not-for-mail
From: jepler@craie.inetnebr.com (Jeff Epler)
Newsgroups: rec.games.computer.quake.quake-c,rec.games.computer.quake.announce,rec.games.computer.quake.editing
Subject: [new software] QuakeCustom makes combining QuakeC mods easy
Date: 6 Dec 1996 18:35:34 -0000
Organization: Internet Nebraska
Lines: 133
Sender: tony@jobstream.co.uk
Approved: quake@mantis.co.uk
Message-ID:
Reply-To: jepler@inetnebr.com
The QuakeCustom system is intended to make the addition of new items,
player capabilities, and weapons easy. QuakeCustom is a combination of a
modified QuakeC source code base and a script in the Python language. To
add a new weapon, item, or morph, you just place the .qc file in the
QuakeCustom directory and run the qcustom script. Writing QuakeC source
which works with QuakeCustom is also easy, sometimes as easy as adding
a single comment to your existing QuakeC modification.
QuakeCustom 1.0 is available from
http://incolor.inetnebr.com/jepler/quake/qcustom1.zip
other pieces of my Quake work can be seen at
http://incolor.inetnebr.com/jepler/quake/
[From qcustom.doc]
THE QUAKECUSTOM SYSTEM
Version 1.0
Table of contents:
1. Introduction
2. What you need
3. How to use it
4. A short introduction to the console
5. Writing a QuakeCustom modification (May contain technical QuakeC details)
5.1. QuakeCustom hooks
5.2. QuakeCustom directives
5.2.1. exclude
5.2.2. require
5.2.3. file
5.2.4. precache
5.2.5. impulse and impulseN (Where N is a series of digits)
5.2.6. object
5.2.7. flag
5.3. Example code
5.4. Future
6. Available QuakeCustom modifications
6.1. The included modifications
6.2. QuakeCustom modifications available elsewhere
7. About me
1. Introduction
The QuakeCustom system is intended to make the addition of new items,
player capabilities, and weapons easy. QuakeCustom is a combination of a
modified QuakeC source code base and a script in the Python language. To
add a new weapon, item, or morph, you just place the .qc file in the
QuakeCustom directory and run the qcustom script.
[...]
3. How to use it
This is the step that QuakeCustom makes much easier than the other schemes
I've worked with. Drop some QuakeCustom-compatible .qc files in a
subdirectory, and execute the qcustom script:
C:\GAMES\QUAKE\QCUSTOM> python qcustom.py -r
or use the batch file included, which will clean up junk files most versions
of qcc leave around:
C:\GAMES\QUAKE\QCUSTOM> runme
Now, change directories to the main quake directory and run quake with a
special argument:
C:\GAMES\QUAKE\QCUSTOM> cd ..
C:\GAMES\QUAKE\> quake -game qcustom
(q95 for Windows 95 users. Make sure -game is lowercase)
Start a game. You should now enjoy all the neat features of the
QuakeCustom modifications you've installed.
6. Available QuakeCustom modifications
6.1. The included modifications
Included are the ChaseCam, several new weapons and several morphs.
convert/chasecam.qc // ChaseCam 3.3 by Rob Albin
morphs/m-demon.qc // Morph into the Fiend
morphs/m-fish.qc // Morph into the Rotfish
morphs/m-hknigh.qc // Morph into the Hell Knight
morphs/m-human.qc // Morph into the Human
morphs/m-ogre.qc // Morph into the Ogre
morphs/m-shalra.qc // Morph into the Vore
morphs/m-shambl.qc // Morph into the Shambler
morphs/m-wizard.qc // Morph into the Scrag
morphs/m-zombie.qc // Morph into the Zombie
weapons/w-fishgu.qc // Turns a player into a fish
weapons/w-flame.qc // An ugly 'flame' weapon
weapons/w-lbolt.qc // A lightning-bolt weapon, like Hexen
weapons/w-lshiel.qc // An ugly 'lightning shield'
weapons/w-soulsw.qc // Deathmatch-only, exchange souls with
// your opponent (and weapons too)
weapons/w-shotgu.qc // Sample, reimplements the shotguns
weapons/w-spike.qc // Sample, reimplements the nailguns
6.2. QuakeCustom modifications available elsewhere
There are none at this time. Mail me and I'll add things to this list.
7. About me
I'm the author of several QuakeC mods. Currently, the best known seems
to be my 'Morph' mod. [QuakeCustom includes all the goodies of Morph,
plus more] I play and program for quake under Linux on a Pentium 133
with 32 megs memory and about 1 gig of disk. My modem is only 14.4, so I
don't play deathmatch much. I am a second year computer science major
at the University of Nebraska in Lincoln (USA).
You can mail me with any questions about QuakeCustom you have, but I
encourage you to seek out FAQs related to Quake and QuakeC first if you
think your problem might not be QuakeCustom's fault. I especially seek
other mods that are written to work with QuakeCustom, or examples of code
that cannot currently be converted to QuakeCustom because of a capability I
have not included. Unfortunately, I am unlikely to be able to answer
questions where there is a DOS or Windows problem, since I do not use those
operating systems.
Please _do_ mail me success stories, especially windows and dos folks. I
want to make sure that my instructions are usable on those operating systems
even though I haven't been able to test them out myself.
Jeff Epler
jepler@inetnebr.com
December 1, 1996
--
\/ Jeff Epler jepler@{inetnebr.com|cse.unl.edu|herbie.unl.edu} (0|1(01*0)*1)+