Mission {

	missionName = BioMech Outpost;

	bsp = data/bsp/caves2.bsp;
	
	music = music/Dragon Cave.xm;
	
	fogColor = 0.0 0.0 0.0;
	fogMin = 1000;
	fogMax = 1500;
	fogDensity = 0.35;
	
	skySphere = textures/game/overcast.png;
	
	supplyCrateList = WEP_UZI|WEP_SHOTGUN;
	
	enemySpawnList = NME_PISTOL_BLOB|NME_MACHINEGUN_BLOB|NME_SHOTGUN_BLOB|NME_PISTOL_DROID|NME_MACHINEGUN_DROID|NME_GRENADE_BLOB;
	spawnSize = 3;
	minSpawnTime = 4000;
	maxSpawnTime = 4500;
	
	ambientEffects = sound/ambience/caves/lava1.ogg|sound/ambience/caves/lava2.ogg|sound/ambience/caves/lava3.ogg|sound/ambience/caves/lava4.ogg;
	
	exitToMission = AUTO;
	
};

Objective {

	id = 1;
	priority = OBJ_PRIORITY_PRIMARY;
	description = Get in to main outpost;
	status = OBJ_INCOMPLETE;
	active = 1;

};

Objective {

	id = 2;
	priority = OBJ_PRIORITY_PRIMARY;
	description = Rescue Teeka;
	status = OBJ_INCOMPLETE;
	active = 0;
	completionTrigger = Protect Teeka;

};

Objective {

	id = 3;
	priority = OBJ_PRIORITY_PRIMARY;
	description = Find a way through the outpost;
	status = OBJ_INCOMPLETE;
	active = 1;

};

// =============== Output Entrance ==============

Trigger {

	active = 1;

	type = TRIGGER_TYPE_LOCATION;
	
	action = TRIGGER_ACTION_UPDATE_OBJECTIVE;
	name = mainOutpostEntrance;
	objectiveId = 1;

};

// =============== Teeka ========================

Trigger {

	active = 1;

	type = TRIGGER_TYPE_LOCATION;
	
	action = TRIGGER_ACTION_ENABLE_OBJECTIVE;
	name = teekaCheckpoint;
	objectiveId = 2;

};

Trigger {

	active = 1;

	type = TRIGGER_TYPE_NONE;
	
	action = TRIGGER_ACTION_UPDATE_OBJECTIVE;
	name = prisonSwitch;
	objectiveId = 2;

};

Trigger {

	active = 1;

	type = TRIGGER_TYPE_NONE;
	
	action = TRIGGER_ACTION_ENABLE_FEATURE;
	name = prisonSwitch;
	targetName = teekaTeleporter;

};

// =================== Exit ======================

Trigger {

	active = 1;

	type = TRIGGER_TYPE_NONE;
	
	action = TRIGGER_ACTION_UPDATE_OBJECTIVE;
	name = exitDoor;
	objectiveId = 3;

};

@END@
