IntroMaker v1.0 --------------- by NiKoDeMoS midctf@quakemania.com http://www.quakemania.com/midctf/ IntroMaker is a "processor" of macro directives for generating intro messages in QuakeC. Currently, IntroMaker expects a configuration file called "intro.cfg" to design the intros. This file is sort of a "command file" which instructs the compiler to generate the intro code. There are several functions currently available, and will be many more the final release. IntroMaker currently outputs the file "intro.qc". To invoke the intro, simply link "intro.qc" in "progs.src" before "client.qc" then add a call to Intro() in PutClientInServer(). To get an example intro.qc, simply type "intro" at the command line. IntroMaker takes two command line parameters: -config specifies an alternate config file name. Any extensions must be included. -outfile specifies an alternate file to output to. Any extensions must be included. Example: To use demo.cfg as the input file and generate server.qc, type intro -config demo.cfg -outfile server.qc IntroMaker has very basic error checking. It does not expand the entire line, gathering only the information that it needs. Be careful when designing statements. A sample .cfg file is included. IntroMaker was designed using gnu-win32. Therefore, the DOS and Linux based executables are from the same, exact, unmodified source. All numbers must be in the form xx.xx. At least one leading zero is required, so .1 should be 0.1. All text must be enclosed in quotes. Special characters are supported, so "type \"help\" for help" is a valid text string. Any lines that don't begin with $ are ignored. Any text after a command's parm list is exhausted will be ignored. The following commands are recognized. [optional] $start [showfor] [delay] This sets up the start of the intro. Every file must have one of these. [showfor] sets how long the first message will be displayed [delay] sets how long before the first message is displayed Defaults are 3.0 for show time and 0.1 for delay. $showfor sets the amount of time for the next message to be displayed. This does not apply to the next $showtext but rather allows the next $showtext to set up for the subsequent $showtext or $end. $delay sets the delay between the next $showtext and the subsequent $showtext and/or $end. $settext "" sets the next message to be displayed $showtext [showfor] [delay] This command will display the current text. It also sets up the amount of time and pause between the next message to be displayed. You can optionally set these values. Please note that the [showfor] time pertains to the next message, not the current one! [showfor] sets the amount of time the next message will be displayed [delay] sets the delay between this and the next message $pan