*This is a file for clientside modders*

DCMoD Optional Client Components
***********************************************

As you may have heard, the DCMod supports optional client components.
If you would like to make a clientside mod that uses these, you can very well do so.
Here's how it's done.

See, the game has events to communicate and play the right effects.
Since JK2 is based on the Quake 3 source, there's A LOT of material left that the game doesn't use.

Some of these are events.

If you open cg_events.c, you'll notice that it does stuff for specific events.

You can code your own stuff here, I will tell you what EV_'s my mod uses for OCC.
You will have to figure out what to put in there yourself. I did some special effects.

	EV_TAUNT_YES		= Shift in (for a secret command)             
	EV_TAUNT_NO		= Shift out (for a secret command)
	EV_TAUNT_FOLLOWME	= Occurs once a second on someone frozen.
	EV_TAUNT_GETFLAG	= Occurs once a second on someone sleeping.

The game also uses the following:

	EV_PLAYER_TELEPORT_IN		= Teleport in
	EV_PLAYER_TELEPORT_OUT	= Teleport out

Unfortunatly, these are also used by the native game for spawning and disconnecting.
So replacing these would also replace those effects.


There might be added more for other releases.
Feel free to make suggestions to what command should have an OCC to it.


Over and out, Janos Oudrin.