---------------------
 sequencer tech demo
---------------------

2008-02-15: v0.1

--
DESCRIPTION:
--

This is a small mod with three new map entities:

1) trigger_cmd:  They are treated like standard triggers but, when triggered, the contents of the key "consoleCmd" is executed as if it were typed into the console.

2) func_sequencer: They are also standard triggers but act as a pointer traversing a linked list of trigger_sequence entities.  When triggered, they activate the current node in the linked list and move to the next node.  The key "nextSequence" defines the head of the linked list.  Circular linked lists are supported.

3) trigger_sequence: They are standard trigger entities that fire off their targets when triggered.  The key "nextSequence" points at the next trigger_sequence entity in the sequence.  If "nextSequence" is empty or doesnt excist, then that entity is treated as the tail of the linked list.  Circular linked lists are supported.

The included demo map, demo.bsp, shows how things can be accomplished with trigger_cmd, func_sequencer, and trigger_sequence, including:
1) compound commands,
2) the formatting for commands with slashes,
and
3) execution of external scripts (so you don't have to recompile the map over and over like I did)
4) executing a repeating (circular) sequence.

--
INSTALLATION:
--

Extract this zip file to your ioquake3 or quake3 root directory.

--
EXECUTION:
--

Select "SEQUENCER" from the Mods menu in quake3 or ioquake3.  Bring down the console and (enable "\developer 1" if you want to see debug info) load demo.bsp as follows: "\map demo"


If you have any questions, shoot me an e-mail.  Enjoy!

--
Adnan Zafar
adnan@adnanzafar.com
http://www.adnanzafar.com
http://skew.telefragged.com