FANDOM


SummaryEdit

Briefing records are stored in .BRI files. They contain information about a missions intro as well as its cutscene sequences.

Briefing scriptEdit

SummaryEdit

Field name Value type Description
.EVENTO_AL_FINALIZAR string Event that will fired when the briefing ends.
.LINEAS list List of briefing commands to execute, in order, during briefing.

End-briefing event (EVENTO_AL_FINALIZAR)Edit

Event that will fired when the briefing ends. See Commandos 2/Event.

Briefing timeline (LINEAS)Edit

List of briefing commands to execute, in order, during briefing. Each command is itself a list consisting of a commandtype, and an optional parameters object.

CommandsEdit

Command Description
(inherited) These options can be used for all following command types.
Property Type Description
.TIMER number How many ticks (1/25 second) to wait, before running next command.
RUNJUEGO_ON Unpauses the game world. If this is not called, the game world will be frozen during briefing.
RUNJUEGO_OFF Pauses the game world (not the briefing itself). Zooming and panning still works.
DRAWJUEGO_ON Activates drawing of the game world to the screen.The game world will not be visible during briefing before this is called.
DRAWJUEGO_OFF Disables drawing of game world.
SETFORMATOESCRITORIO_LIBRE Defines cutscene "letterbox".
Property Type Description
.RECTVENTANA (x y w h) number list List of x, y, width and height. Rectangle position and dimensions.
WAIT Waits an amount of time before executing next command.
SETESCENARIO Sets display parameters:
Property Type Description
.ESCENARIO area name EXTERIOR for outside, or an area-name.
.POS (x y z) number list Position to center camera at (x y z). Last two coordinates are basically just added together.
.CAMERA direction number Camera rotation. 0, 1, 2 or 3.
.INCLINACION i number Camera inclination?
.GIRO i number no clue.
.ZOOM level number Zoom level. Numbers between 0.0 and 3.0
STARTGOTO Pans camera to new location.
Property Type Description
.POS (x y z) number list Position to pan camera to (x y z). Last two coordinates are basically just added together.
.VELOCIDAD speed name Panning velocity. Possible values are (slowest to fastest):
  • ULTRA_LENTO
  • LENTO
  • NORMAL
  • RAPIDO
WAITGOTO Waits for camera to fully pan, before continuing briefing.
STARTWAVE
Property Type Description
.FILE filename name wavefilename
.ANIM_CARA character name Animation character (e.g. CARAARTIFICIERO). Possible values:
  • CARACOMANDO: Green Beret
  • CARAFRANCOTIRADOR: Sniper
  • CARALANCHERO: Marine
  • CARAARTIFICIERO: Sapper
  • CARACONDUCTOR: Driver
  • CARAESPIA: Spy
  • CARANATACHA: Natasha
  • CARARATERO: Lupin
.ANIM_SEC animation name Animation sequence. Possible values:
  • HABLAR: Talk
  • AFIRMACION: Nodding
  • ESFUERZO: Strained
  • NEGACION: Saying No
  • HERIDO: Hurt
  • QUIETO: Thinking
  • INQUIETO: Slightly Nervous (knows something's not right)
WAITWAVE Waits for (all or previous?) briefing audiofile(s) to finish.
SETZOOM Sets zoom level.
Property Type Description
.ZOOM level number Level to zoom to. Value range from 0.0 to 3.0.
STARTSIGUEBICHO Makes camera follow a game entity.
Property Type Description
.BICHO entity name Entity to follow
LANZAEVENTOINTENDENCIA Instantly fires an event.
Property Type Description
.EVENTO event name Event that should be fired.
STARTGIRACAMARA Makes the camera rotate 360 degrees. Only works inside.
Property Type Description
.TICKS i number  ?
.INC_GIRO i number  ?
WAITGIRACAMARA Wait for camera to finish rotating.
WAITMENSAJETEXTO Wait for message?

ExamplesEdit

Tutorial Mission 1Edit

[
    # Fire BRFI event when briefing is over
    .EVENTO_AL_FINALIZAR BRFI
    .LINEAS 
    (
        (   # Run game
            RUNJUEGO_ON
        )
        (   # Draw game
            DRAWJUEGO_ON
        )
        (   # Set display area
            SETFORMATOESCRITORIO_LIBRE 
            [
                .TIMER  1.0 
                .RECTVENTANA 
                (
                    0 120.0 640.0 240.0 
                )
            ]
        )
        (   # Play Sapper speech audio and animation
            STARTWAVE 
            [
                .FILE TUT01_AR_01 
                .ANIM_CARA CARAARTIFICIERO 
                .ANIM_SEC HABLAR 
            ]
        )
        (   # Position camera
            SETESCENARIO 
            [
                .TIMER 15.0 
                .ESCENARIO EXTERIOR 
                .POS 
                (
                    0 0 0 
                )
                .CAMARA 0 
                .ZOOM  1.0 
            ]
        )
        (   # Wait for audio to finish
            WAITWAVE 
        )
        #...
        (   # Zoom in
            SETZOOM 
            [
                .TIMER  1.0 
                .ZOOM  1.4 
            ]
        )
        #...
        (   # Pan camera
            STARTGOTO 
            [
                .TIMER 100.0 
                .VELOCIDAD LENTO 
                .POS 
                (
                    350.0 245.0 0 
                )
            ]
        )
        (   # Wait for camera pan to finish
            WAITGOTO 
        )
        #...
    )
]
# end
Games
Icon bel


Icon 2mc Icon 3db