==================================================
Open Jedi Project Cooperative Gametype Information
==================================================

========================
0000 - Table of Contents
========================

	0000..................Converting ICARUS scripts to work with MP
	0001..................Map Names
	0002..................Cvars



================================================
0000 - Converting ICARUS scripts to work with MP
================================================

Basically, what we're doing here is changing the format for the camera calls so that the MP ICARUS scripting can read it.  Unfortunately, the ability to fix the issue without doing this would require the full engine code, which we are not going to get.

Materials Required:
- JKA SDK (specifically the source ICARUS files and the BehaveED)
- a simple text editor

What To Do:

What we're doing is converting the camera function calls from camera () to set ().  This is very easy.  All you gotta do is copy the first part of a set () onto the first part of a camera ().

For example, this...
camera ( /*@CAMERA_COMMANDS*/ MOVE, $tag( "endcam1", ORIGIN)$, 0 );
Becomes this...
set ( /*@SET_TYPES*/ "MOVE, $tag( "endcam1", ORIGIN)$, 0 );

NOTE:  For you non-programmers out there, the stuff inside /**/ (like /*@CAMERA_COMMANDS*/ or /*@SET_TYPES*/) are just code comments.  They don't matter to the scripting.

The second step is to add quotes to the camera action type (PAN/MOVE/FADE/etc).
set ( /*@SET_TYPES*/ [b]"[/b]MOVE[b]"[/b], $tag( "endcam1", ORIGIN)$, 0 );

The third step is to add quotes around all of the camera settings data.  What this is doing is converting all of it into a single data string to be processed by the game.
set ( /*@SET_TYPES*/ "MOVE", [b]"[/b]$tag( "endcam1", ORIGIN)$, 0[b]"[/b] );

The final step is to remove any internal quotes that are inside your single data string [i]for the camera sets only[/i].  If you don't, you'll have the ICARUS compiler erroring about too many parameters.  In this case, we're removing the quotes about the entity name in the tag.
set ( /*@SET_TYPES*/ "MOVE", "$tag( endcam1, ORIGIN)$, 0" );

NOTE:  Do not alter the tags on sets that aren't camera functions that you converted.  You'll totally break the tag system for everything other than cameras.

NOTE:  ENABLE and DISABLE camera commands do require a value.  I normally just use "1" but it doesn't matter what you use.
set ( /*@SET_TYPES*/ "ENABLE", "1" );

That's all you gotta do in terms of editing.  From there, you need to save the file into .txt format and then use BehavED to compile the script.  If you get compile errors, you screwed something up.  Feel free to post questions if you have troubles but please be sure to include the exact compiler error.


================
0001 - Map Names
================

yavin1b - start level

t1_fatal - bomb mission
t1_danger - Sand Creature mission
t1_inter - intermission cutscene
t1_rail - rail train mission
t1_sour - Chewbacca mission


========================
0001 - Special Code Tags
========================

ROQFILES - Support for playing ROQ files ingame.

============
0002 - Cvars
============

	ojp_skipcutscenes 0
	Multiplayer, OJP, CoOp

	Description:
		Controls how cutscenes in CoOp mode are skipped.

		0 = not at all
		1 = automatically use skip scripts if possible.  Skip scripts exist for most of the major cutscenes.
		2 = automatically use skip scripts and time acceleration
		3 = toggleable use (player's use key) of skip scripts
		4 = toggleable use of skip scripts and time acceleration