Subversion-Projekte sthq.colony7

Revision

Blame | Letzte Änderung | Log anzeigen | RSS feed

//Generated by BehavEd

rem ( "comment" );
use ( "activate_trigger" );

affect ( "norton", /*@AFFECT_TYPE*/ FLUSH )
{
        set ( /*@SET_TYPES*/ "SET_HEALTH", 200 );
        set ( /*@SET_TYPES*/ "SET_INVISIBLE", /*@BOOL_TYPES*/ "false" );
        set ( /*@SET_TYPES*/ "SET_INVINCIBLE", /*@BOOL_TYPES*/ "true" );
        set ( /*@SET_TYPES*/ "SET_CAMERA_GROUP", "fight" );
}


affect ( "klingon", /*@AFFECT_TYPE*/ FLUSH )
{
        set ( /*@SET_TYPES*/ "SET_HEALTH", 200 );
        set ( /*@SET_TYPES*/ "SET_SOLID", /*@BOOL_TYPES*/ "true" );
        set ( /*@SET_TYPES*/ "SET_INVISIBLE", /*@BOOL_TYPES*/ "false" );
        set ( /*@SET_TYPES*/ "SET_CAMERA_GROUP", "fight" );
}


affect ( "klingon1", /*@AFFECT_TYPE*/ FLUSH )
{
        set ( /*@SET_TYPES*/ "SET_HEALTH", 200 );
        set ( /*@SET_TYPES*/ "SET_SOLID", /*@BOOL_TYPES*/ "true" );
        set ( /*@SET_TYPES*/ "SET_INVISIBLE", /*@BOOL_TYPES*/ "false" );
}


affect ( "klingon2", /*@AFFECT_TYPE*/ FLUSH )
{
        set ( /*@SET_TYPES*/ "SET_HEALTH", 200 );
        set ( /*@SET_TYPES*/ "SET_SOLID", /*@BOOL_TYPES*/ "true" );
        set ( /*@SET_TYPES*/ "SET_INVISIBLE", /*@BOOL_TYPES*/ "false" );
}


affect ( "bot1", /*@AFFECT_TYPE*/ FLUSH )
{
        set ( /*@SET_TYPES*/ "SET_SOLID", /*@BOOL_TYPES*/ "true" );
        set ( /*@SET_TYPES*/ "SET_INVISIBLE", /*@BOOL_TYPES*/ "false" );
}


affect ( "bot2", /*@AFFECT_TYPE*/ FLUSH )
{
        set ( /*@SET_TYPES*/ "SET_SOLID", /*@BOOL_TYPES*/ "true" );
        set ( /*@SET_TYPES*/ "SET_INVISIBLE", /*@BOOL_TYPES*/ "false" );
}


affect ( "bot3", /*@AFFECT_TYPE*/ FLUSH )
{
        set ( /*@SET_TYPES*/ "SET_SOLID", /*@BOOL_TYPES*/ "true" );
        set ( /*@SET_TYPES*/ "SET_INVISIBLE", /*@BOOL_TYPES*/ "false" );
}


affect ( "munro_cin1", /*@AFFECT_TYPE*/ FLUSH )
{
        set ( /*@SET_TYPES*/ "SET_CAMERA_GROUP", "munro_cin1" );
        set ( /*@SET_TYPES*/ "SET_INVISIBLE", /*@BOOL_TYPES*/ "false" );
        camera ( /*@CAMERA_COMMANDS*/ ENABLE );
        camera ( /*@CAMERA_COMMANDS*/ TRACK, "track", 6.000, 0 );
        camera ( /*@CAMERA_COMMANDS*/ FOLLOW, "munro_cin1", 0.000, 0 );

        task ( "walk" )
        {
//$"walkTo"@2
                set ( "BSTATE", "BS_WALK" );
                set ( "NAVGOAL", "witness_nav1" );
        }

        dowait ( "walk" );

        task ( "Illia0" )
        {
                sound ( /*@CHANNELS*/ CHAN_VOICE, "sound/voice/c7-3_8/Illia/goingon.wav" );
        }

        dowait ( "Illia0" );
        //(BHVDREM)  wait ( 3000.000 );
        camera ( /*@CAMERA_COMMANDS*/ MOVE, $tag( "track_cam2", ORIGIN)$, 0 );
        camera ( /*@CAMERA_COMMANDS*/ PAN, < 10.000 15.000 0.000 >, < 0.000 0.000 0.000 >, 2000 );
        wait ( 3000.000 );
        camera ( /*@CAMERA_COMMANDS*/ MOVE, $tag( "fight_cam1", ORIGIN)$, 0 );
        camera ( /*@CAMERA_COMMANDS*/ FOLLOW, "fight", 0.000, 0 );
        wait ( 1000.000 );

        affect ( "Klingon", /*@AFFECT_TYPE*/ FLUSH )
        {

                task ( "Klingon1" )
                {
                        sound ( /*@CHANNELS*/ CHAN_VOICE, "sound/voice/c7-3_8/Klingon/send.wav" );
                }

                dowait ( "Klingon1" );

                task ( "Klingon2" )
                {
                        sound ( /*@CHANNELS*/ CHAN_VOICE, "sound/voice/c7-3_8/Klingon/bring.wav" );
                }

                dowait ( "Klingon2" );

                affect ( "Norton", /*@AFFECT_TYPE*/ FLUSH )
                {

                        task ( "Norton3" )
                        {
                                sound ( /*@CHANNELS*/ CHAN_VOICE, "sound/voice/c7-3_8/Norton/hours.wav" );
                        }

                        dowait ( "Norton3" );

                        affect ( "Klingon", /*@AFFECT_TYPE*/ FLUSH )
                        {

                                task ( "Klingon4" )
                                {
                                        sound ( /*@CHANNELS*/ CHAN_VOICE, "sound/voice/c7-3_8/Klingon/delays.wav" );
                                }

                                dowait ( "Klingon4" );

                                affect ( "Norton", /*@AFFECT_TYPE*/ FLUSH )
                                {

                                        task ( "Norton5" )
                                        {
                                                sound ( /*@CHANNELS*/ CHAN_VOICE, "sound/voice/c7-3_8/Norton/choice.wav" );
                                        }

                                        dowait ( "Norton5" );

                                        task ( "Norton6" )
                                        {
                                                sound ( /*@CHANNELS*/ CHAN_VOICE, "sound/voice/c7-3_8/Norton/secondary.wav" );
                                        }

                                        dowait ( "Norton6" );

                                        affect ( "bot1", /*@AFFECT_TYPE*/ FLUSH )
                                        {
                                                set ( /*@SET_TYPES*/ "SET_BEHAVIOR_STATE", /*@BSTATE_STRINGS*/ "BS_HUNT_AND_KILL" );
                                                set ( /*@SET_TYPES*/ "SET_ENEMY", "klingon" );
                                        }

                                        wait ( 200.000 );

                                        affect ( "bot2", /*@AFFECT_TYPE*/ FLUSH )
                                        {
                                                set ( /*@SET_TYPES*/ "SET_BEHAVIOR_STATE", /*@BSTATE_STRINGS*/ "BS_HUNT_AND_KILL" );
                                                set ( /*@SET_TYPES*/ "SET_ENEMY", "klingon1" );
                                        }

                                        wait ( 200.000 );

                                        affect ( "bot3", /*@AFFECT_TYPE*/ FLUSH )
                                        {
                                                set ( /*@SET_TYPES*/ "SET_BEHAVIOR_STATE", /*@BSTATE_STRINGS*/ "BS_HUNT_AND_KILL" );
                                                set ( /*@SET_TYPES*/ "SET_ENEMY", "klingon2" );
                                        }

                                        wait ( 500.000 );
                                        set ( /*@SET_TYPES*/ "SET_WEAPON", /*@WEAPON_NAMES*/ "WP_PHASER" );
                                        set ( /*@SET_TYPES*/ "SET_BEHAVIOR_STATE", /*@BSTATE_STRINGS*/ "BS_HUNT_AND_KILL" );
                                        set ( /*@SET_TYPES*/ "SET_ENEMY", "klingon2" );
                                        wait ( 500.000 );

                                        affect ( "klingon", /*@AFFECT_TYPE*/ FLUSH )
                                        {
                                                set ( /*@SET_TYPES*/ "SET_BEHAVIOR_STATE", /*@BSTATE_STRINGS*/ "BS_HUNT_AND_KILL" );
                                                set ( /*@SET_TYPES*/ "SET_ENEMY", "bot1" );
                                        }


                                        affect ( "klingon1", /*@AFFECT_TYPE*/ FLUSH )
                                        {
                                                set ( /*@SET_TYPES*/ "SET_BEHAVIOR_STATE", /*@BSTATE_STRINGS*/ "BS_HUNT_AND_KILL" );
                                                set ( /*@SET_TYPES*/ "SET_ENEMY", "bot2" );
                                        }


                                        affect ( "klingon2", /*@AFFECT_TYPE*/ FLUSH )
                                        {
                                                set ( /*@SET_TYPES*/ "SET_BEHAVIOR_STATE", /*@BSTATE_STRINGS*/ "BS_HUNT_AND_KILL" );
                                                set ( /*@SET_TYPES*/ "SET_ENEMY", "bot3" );
                                        }

                                        wait ( 4000.000 );
                                        camera ( /*@CAMERA_COMMANDS*/ FADE, < 0.000 0.000 0.000 >, 0.000, < 0.000 0.000 0.000 >, 1.000, 500 );
                                        wait ( 500.000 );

                                        affect ( "munro_cin1", /*@AFFECT_TYPE*/ FLUSH )
                                        {
                                                set ( /*@SET_TYPES*/ "SET_INVISIBLE", /*@BOOL_TYPES*/ "true" );

                                                affect ( "munro", /*@AFFECT_TYPE*/ FLUSH )
                                                {
                                                        set ( /*@SET_TYPES*/ "SET_ORIGIN", $tag( "player_dest", ORIGIN)$ );
                                                }

                                                camera ( /*@CAMERA_COMMANDS*/ FADE, < 0.000 0.000 0.000 >, 1.000, < 0.000 0.000 0.000 >, 0.000, 500 );
                                                camera ( /*@CAMERA_COMMANDS*/ DISABLE );
                                        }

                                }

                        }

                }

        }

}