Revision 824 | Blame | Vergleich mit vorheriger | Letzte Änderung | Log anzeigen | RSS feed
// EF2 Level Script File// Level gbs_zoo// Script by: ltiefland// Geometry by: Flix, ltiefland// Created on: 2004/08/07// Last Updated on: 2005/02/27// Last Updated by: ltiefland#include "maps/global_scripts/global_common.scr"#include "maps/global_scripts/global_playerLoadout.scr"#include "maps/global_scripts/global_debugUtils.scr"#include "maps/global_scripts/global_array.scr"#include "maps/global_scripts/global_spawnWave.scr"#include "maps/global_scripts/global_flyin.scr"#include "maps/global_scripts/global_math.scr"#include "maps/global_scripts/global_acceleratedMovement.scr"#include "maps/global_scripts/global_tricorderBase.scr"#include "maps/global_scripts/global_tricorderRoute.scr"#include "maps/global_scripts/global_archetype.scr"#include "maps/global_scripts/global_cinematicFX.scr"#include "maps/m4/m4l2b_dialog.scr"void main();void main(){//Take away weapons from player!//Only tricorder remains in place!$player.take ( "models/weapons/worldmodel-compressionrifle.tik" );$player.take ( "models/weapons/worldmodel-fieldassaultrifle.tik" );$player.take ( "models/weapons/worldmodel-burstrifle.tik" );$player.take ( "models/weapons/worldmodel-attrex-rifle.tik" );$player.take ( "models/weapons/worldmodel-compressionrifle.tik" );$player.take ( "models/weapons/worldmodel-phaser-STX.tik" );$seven_office.lock();$seven_office_puzzle.nottriggerable();$field.playsound( "sound/ships/borg/borg_forcefield_on.wav", 1, 1, 11111 );$field.loopsound( "sound/ships/enterprise/ent_forcefield.wav", .7, 30 );}void ff_off(){$field.stoploopsound();$field.playsound( "sound/ships/enterprise/ent_forcefield_down.wav", 1, 1, 11111 );$field.hide();$field_clip.notsolid();$seven_office.unlock();}void ff_puzzle(){entity puzzle;puzzle = getcurrententity();globalTricorderRoute_Reset();globalTricorderRoute_SetSource1Row( 9 );globalTricorderRoute_SetDestination1( 3, 9 );//--- begin row definitionsglobalTricorderRoute_BeginDef();globalTricorderRoute_SetNextRow( 32, 32, 32, 32, 32, 32, 32, 32, 32 );globalTricorderRoute_SetNextRow( 32, 32, 32, 32, 32, 32, 11, 11, 11 );globalTricorderRoute_SetNextRow( 32, 32, 32, 32, 32, 19, 7, 10, 7 );globalTricorderRoute_SetNextRow( 32, 32, 4, 9, 16, 4, 2, 7, 1 );globalTricorderRoute_SetNextRow( 11, 32, 9, 11, 32, 32, 32, 25, 11 );globalTricorderRoute_SetNextRow( 9, 22, 4, 9, 3, 2, 22, 21, 32 );globalTricorderRoute_SetNextRow( 17, 17, 17, 2, 10, 4, 11, 32, 32 );globalTricorderRoute_SetNextRow( 2, 23, 3, 22, 0, 32, 32, 32, 32 );globalTricorderRoute_SetNextRow( 8, 4, 2, 9, 8, 32, 32, 32, 32 );globalTricorderRoute_SetNextRow( 32, 0, 8, 11, 32, 32, 32, 32, 32 );globalTricorderRoute_SetNextRow( 32, 18, 6, 11, 32, 32, 32, 32, 32 );//--- run the puzzleglobalTricorderRoute_Run( puzzle, 0 );}void prepare(){}