Revision 9 | Blame | Vergleich mit vorheriger | Letzte Änderung | Log anzeigen | RSS feed
//Generated by BehavEdrem ( "FIXME: throw in a sound if you like" );if ( $get( FLOAT, "SET_OBJECTIVE_FIREFLIES")=0.000000$ ){set ( /*@SET_TYPES*/ "SET_CON_COMMAND", "g_speed 0" );affect ( "openbox", /*@AFFECT_TYPE*/ FLUSH ){sound ( /*@CHANNELS*/ CHAN_AUTO, "sound/items/jetpuffmed.wav" );set ( /*@SET_TYPES*/ "SET_USESCRIPT", "NULL" );task ( "open" ){set ( /*@SET_TYPES*/ "SET_ENDFRAME", 30 );}set ( /*@SET_TYPES*/ "SET_STARTFRAME", 0 );dowait ( "open" );}rem ( "kirk gets a tricorder" );wait ( 2000.000 );if ( $get( FLOAT, "SET_OBJECTIVEODELL")=1.000000$ ){rem ( "this means that the box with tricorders has already been opened once" );set ( /*@SET_TYPES*/ "SET_OBJECTIVE_SUCCEEDED", /*@OBJECTIVES*/ "OBJ_FIREFLIES" );camera ( /*@CAMERA_COMMANDS*/ ENABLE );camera ( /*@CAMERA_COMMANDS*/ MOVE, $tag( "tri_cam1", ORIGIN)$, 0 );camera ( /*@CAMERA_COMMANDS*/ PAN, < 0.000 225.000 0.000 >, < 0.000 0.000 0.000 >, 0 );camera ( /*@CAMERA_COMMANDS*/ FADE, < 0.000 0.000 0.000 >, 1.000, < 0.000 0.000 0.000 >, 0.000, 1000 );affect ( "openbox", /*@AFFECT_TYPE*/ FLUSH ){set ( /*@SET_TYPES*/ "SET_USESCRIPT", "ent2/closebox" );affect ( "kirkcin", /*@AFFECT_TYPE*/ FLUSH ){set ( /*@SET_TYPES*/ "SET_BOLTON_ON", "tos_mini_tricorder_hip" );}affect ( "grabcom_kirk", /*@AFFECT_TYPE*/ FLUSH ){set ( /*@SET_TYPES*/ "SET_BOLTON_ON", "tos_mini_tricorder_hip" );}affect ( "tri_kirk1", /*@AFFECT_TYPE*/ FLUSH ){remove ( "cin_tricorder" );set ( /*@SET_TYPES*/ "SET_INVISIBLE", /*@BOOL_TYPES*/ "false" );set ( /*@SET_TYPES*/ "SET_WEAPON", "tricorder" );set ( /*@SET_TYPES*/ "SET_ANIM_LOWER", /*@ANIM_NAMES*/ "BOTH_STAND1" );set ( /*@SET_TYPES*/ "SET_ANIM_UPPER", /*@ANIM_NAMES*/ "TORSO_PADD1" );set ( /*@SET_TYPES*/ "SET_ANIM_HOLDTIME_BOTH", 70000 );task ( "tricorder" ){sound ( /*@CHANNELS*/ CHAN_VOICE, "sound/voice/ent2/Kirk/tricorder.mp3" );}dowait ( "tricorder" );task ( "tricorder2" ){sound ( /*@CHANNELS*/ CHAN_VOICE, "sound/voice/ent2/Kirk/tricorder2.mp3" );}dowait ( "tricorder2" );set ( /*@SET_TYPES*/ "SET_ANIM_LOWER", /*@ANIM_NAMES*/ "BOTH_STAND1" );set ( /*@SET_TYPES*/ "SET_ANIM_UPPER", /*@ANIM_NAMES*/ "BOTH_ACTIVATEBELT1" );set ( /*@SET_TYPES*/ "SET_ANIM_HOLDTIME_BOTH", 10000 );set ( /*@SET_TYPES*/ "SET_WEAPON", "WP_NONE" );wait ( 1000.000 );set ( /*@SET_TYPES*/ "SET_BOLTON_ON", "tos_mini_tricorder_hip" );set ( /*@SET_TYPES*/ "SET_ANIM_LOWER", /*@ANIM_NAMES*/ "BOTH_STAND1" );set ( /*@SET_TYPES*/ "SET_ANIM_UPPER", /*@ANIM_NAMES*/ "BOTH_STAND1" );set ( /*@SET_TYPES*/ "SET_ANIM_HOLDTIME_BOTH", 10000 );set ( /*@SET_TYPES*/ "SET_CON_COMMAND", "CG_DrawGun 0" );set ( /*@SET_TYPES*/ "SET_CON_COMMAND", "stvoy_cheats 1" );set ( /*@SET_TYPES*/ "SET_CON_COMMAND", "please_give tricorder" );set ( /*@SET_TYPES*/ "SET_CON_COMMAND", "stvoy_cheats 0" );affect ( "munro", /*@AFFECT_TYPE*/ FLUSH ){set ( /*@SET_TYPES*/ "SET_WEAPON", "WP_NONE" );}wait ( 2000.000 );set ( /*@SET_TYPES*/ "SET_CON_COMMAND", "weapon 0" );wait ( 2000.000 );set ( /*@SET_TYPES*/ "SET_INVISIBLE", /*@BOOL_TYPES*/ "true" );camera ( /*@CAMERA_COMMANDS*/ DISABLE );rem ( "SK: for some reason this was foster?" );set ( /*@SET_TYPES*/ "SET_OBJECTIVE_SUCCEEDED", /*@OBJECTIVES*/ "OBJ_FOSTERLIVES" );set ( /*@SET_TYPES*/ "SET_CON_COMMAND", "g_speed 250" );wait ( 2000.000 );set ( /*@SET_TYPES*/ "SET_CON_COMMAND", "CG_DrawGun 1" );}task ( "close" ){set ( /*@SET_TYPES*/ "SET_ENDFRAME", 0 );}set ( /*@SET_TYPES*/ "SET_STARTFRAME", 30 );dowait ( "close" );}}else ( ){camera ( /*@CAMERA_COMMANDS*/ ENABLE );camera ( /*@CAMERA_COMMANDS*/ MOVE, $tag( "tri_cam1", ORIGIN)$, 0 );camera ( /*@CAMERA_COMMANDS*/ PAN, < 0.000 225.000 0.000 >, < 0.000 0.000 0.000 >, 0 );camera ( /*@CAMERA_COMMANDS*/ FADE, < 0.000 0.000 0.000 >, 1.000, < 0.000 0.000 0.000 >, 0.000, 1000 );affect ( "openbox", /*@AFFECT_TYPE*/ FLUSH ){set ( /*@SET_TYPES*/ "SET_USESCRIPT", "ent2/closebox" );affect ( "tri_swim", /*@AFFECT_TYPE*/ FLUSH ){set ( /*@SET_TYPES*/ "SET_INVISIBLE", /*@BOOL_TYPES*/ "false" );set ( /*@SET_TYPES*/ "SET_WEAPON", "tricorder" );set ( /*@SET_TYPES*/ "SET_ANIM_LOWER", /*@ANIM_NAMES*/ "BOTH_STAND1" );set ( /*@SET_TYPES*/ "SET_ANIM_UPPER", /*@ANIM_NAMES*/ "TORSO_PADD1" );set ( /*@SET_TYPES*/ "SET_ANIM_HOLDTIME_BOTH", 70000 );task ( "tricorder" ){sound ( /*@CHANNELS*/ CHAN_VOICE, "sound/voice/ent2/Kirk/tricorder.mp3" );}dowait ( "tricorder" );task ( "tricorder3" ){sound ( /*@CHANNELS*/ CHAN_VOICE, "sound/voice/ent2/Kirk/tricorder3.mp3" );}do ( "tricorder3" );wait ( 7000.000 );set ( /*@SET_TYPES*/ "SET_INVISIBLE", /*@BOOL_TYPES*/ "true" );camera ( /*@CAMERA_COMMANDS*/ DISABLE );set ( /*@SET_TYPES*/ "SET_CON_COMMAND", "g_speed 250" );affect ( "openbox", /*@AFFECT_TYPE*/ FLUSH ){task ( "close" ){set ( /*@SET_TYPES*/ "SET_ENDFRAME", 0 );}set ( /*@SET_TYPES*/ "SET_STARTFRAME", 30 );dowait ( "close" );}}}}}