Editing .gsc Files

Contents

  1. 1 Introduction
  2. 2 Scripts you can use
    1. 2.1 Go to position walking
    2. 2.2 Go to position running
    3. 2.3 Go to position crawling
    4. 2.4 Walk to position bent over
    5. 2.5 Run to position bent over
    6. 2.6 Go to position and stay there forever
    7. 2.7 Watch through window (vigilating)
    8. 2.8 Teleport enemy to point
    9. 2.9 Make invisible (will not be seen by enemies)
    10. 2.10 Make visible
    11. 2.11 Make enemy invisible
    12. 2.12 Make enemy visible
    13. 2.13 lose control over an ally (You will not be able to control him)
    14. 2.14 Regain control of an ally
    15. 2.15 Launch event (only from individual script)
    16. 2.16 Launch script(s) (only from individual script)
    17. 2.17 Launch event (only when launching group scripts)
    18. 2.18 Wait for event (only when launching group scripts)
    19. 2.19 Follow invasion map (only when launching group scripts)
    20. 2.20 Follow invasion map
    21. 2.21 Change instantly the position to crawling (without lying down animation)
    22. 2.22 Change instantly the position to kneeling (without kneeling animation)
    23. 2.23 Change instantly the position to normal (without standing up animation)
    24. 2.24 Do nothing
    25. 2.25 Turn to degrees
    26. 2.26 Turn to somebody
    27. 2.27 Shoot and kill someone
    28. 2.28 Repeat action
    29. 2.29 Work with hammer
    30. 2.30 Look straight, without looking around
    31. 2.31 Look around (stop staring straight)
    32. 2.32 Smoke on feet
    33. 2.33 Smoke while lying down
    34. 2.34 Stand in cover mode
    35. 2.35 Kneel down
    36. 2.36 Kneel down and drink
    37. 2.37 Kneel down and smoke
    38. 2.38 Lie down
    39. 2.39 Stand up
    40. 2.40 Check the floor
    41. 2.41 Repair
    42. 2.42 Look around variant 1 (around his feet)
    43. 2.43 Look around variant 2 (with suspicion)
    44. 2.44 Talk variant 1
    45. 2.45 Talk variant 2
    46. 2.46 Talk variant 3
    47. 2.47 Talk variant 4
    48. 2.48 Talk variant 5
    49. 2.49 Move arms indicating something
    50. 2.50 Put something on floor while lying down
    51. 2.51 Pick something from floor while lying down
    52. 2.52 Sit down and relax forever
    53. 2.53 Stand up (quit relaxing)
    54. 2.54 Get on a stool (or chair, table, car, etc.)
    55. 2.55 Get off 
    56. 2.56 Clean weapon while sitting
    57. 2.57 Talk while sitting variant 1
    58. 2.58 Talk while sitting variant 2
    59. 2.59 Talk while sitting variant 3
    60. 2.60 Talk while sitting variant 4
    61. 2.61 Talk while sitting variant 5
    62. 2.62 Write while sitting
    63. 2.63 Play cards while sitting
    64. 2.64 Write forever while sitting
    65. 2.65 Relax while sitting
    66. 2.66 Exercise while sitting
    67. 2.67 Sitting at a table
    68. 2.68 Sitting at a table drinking
    69. 2.69 Sitting at a table eating
    70. 2.70 Read news
    71. 2.71 Read news (but not really, simply holding paper in his hands)
    72. 2.72 Count if everything is in place
    73. 2.73 Examine cards
    74. 2.74 Pick up something from floor
    75. 2.75 Throw something away
    76. 2.76 Doing abdominals forever
    77. 2.77 Doing abdominals (but not really) forever
    78. 2.78 Have shoes cleaned forever
    79. 2.79 Clean shoes
    80. 2.80 Clean shoes forever
    81. 2.81 Paint
    82. 2.82 Paint forever
    83. 2.83 Talk on the phone
    84. 2.84 Knock on wall
    85. 2.85 Drink
    86. 2.86 Clean something forever
    87. 2.87 Ready to run variant 1
    88. 2.88 Ready to run variant 2
    89. 2.89 Shout
    90. 2.90 Sitting in toilet forever
    91. 2.91 Sweep floor
    92. 2.92 Stand with hands conserted
    93. 2.93 Back-ache attack
    94. 2.94 Show something with hand
    95. 2.95 Alert the enemy (view goes red)
    96. 2.96 Cut wire fence
    97. 2.97 Kick the floor
    98. 2.98 Untie
    99. 2.99 Beeing untied
    100. 2.100 Fall back variant 1
    101. 2.101 Fall back variant 2 (used for bullets too)
    102. 2.102 Fall back variant 3
    103. 2.103 Fall back variant 4
    104. 2.104 Regain Consciousness
    105. 2.105 Torture variant 1
    106. 2.106 Torture variant 2
    107. 2.107 Take Shower forever
    108. 2.108 Punch variant 1
    109. 2.109 Punch variant 2
    110. 2.110 Don't feel good forever
    111. 2.111 Watch through binoculars
    112. 2.112 Looking Around (moving head only)
    113. 2.113 Sleep while lying down
    114. 2.114 Lean Over
    115. 2.115 Lean Over Relaxed
    116. 2.116 Play a wave file
    117. 2.117 Kneel down and prepare to shoot with rifle
    118. 2.118 Hold Kneel down and prepare to shoot with rifle
    119. 2.119 Shoot with rifle from kneeling position
    120. 2.120 Prepare rifle (take aim)
    121. 2.121 Stand with rifle ready (taking aim)
    122. 2.122 Put rifle away
    123. 2.123 Shoot with rifle aiming up
    124. 2.124 Shoot with rifle aiming straight ahead
    125. 2.125 Shoot with rifle aiming down
    126. 2.126 Aim with rifle from lying position
    127. 2.127 Hold Aim with rifle from lying position 
    128. 2.128 Shoot with rifle from lying position
    129. 2.129 Put rifle away from lying position
    130. 2.130 Shoot with rifle from cover position 
    131. 2.131 Aim with rifle leaving cover position (expose to danger ready to shoot)
    132. 2.132 Hold Aim with rifle leaving cover position (expose to danger ready to shoot)
    133. 2.133 Leave cover position and shoot with rifle
    134. 2.134 Weapon animations for gun and machine gun
    135. 2.135 Die from kneeled position
    136. 2.136 Run
    137. 2.137 Run in curve (left)
    138. 2.138 Run in curve (right)
    139. 2.139 Stop running
    140. 2.140 Have throat cut
    141. 2.141 Fall over dead
    142. 2.142 Hurt by bullet
    143. 2.143 Hurt by bullet while lying
    144. 2.144 Died while lying
    145. 2.145 Beeing moved by Green Beret
    146. 2.146 Beeing moved by the other Commandos
    147. 2.147 Change from standing to standing cover position
    148. 2.148 Change from standing cover to standing position
    149. 2.149 Change from standing cover to lying position
    150. 2.150 Change from lying to standing cover position
    151. 2.151 Change from lying to kneeling position
    152. 2.152 Change from standing cover to kneeling position
    153. 2.153 Change from kneeling to standing cover position
    154. 2.154 Hurt in cover position
    155. 2.155 Killed in cover position
    156. 2.156 Hurt while shooting after leaving cover position
    157. 2.157 Killed while shooting after leaving cover position
    158. 2.158 Hurt while bent over (holding head down)
    159. 2.159 Killed while bent over (holding head down)
    160. 2.160 Knocked down
    161. 2.161 Knocked down from kneeling position
    162. 2.162 Knocked down from lying position
    163. 2.163 Lying on floor unconscious
    164. 2.164 Hurt while knocked down variant 1
    165. 2.165 Hurt while knocked down variant 2
    166. 2.166 Killed while knocked down variant 1
    167. 2.167 Killed while knocked down variant 2
    168. 2.168 Climb up (nice for zombie trick if combined with teleport and/or invisibility)
    169. 2.169 Climb up from lying position
    170. 2.170 Hurt while walking
    171. 2.171 Hurt while running
    172. 2.172 Knocked down (maybe by poison)
    173. 2.173 Knocked down from kneeling position (maybe by poison)
    174. 2.174 Knocked down from lying position (maybe by poison)
    175. 2.175 Throw grenade
    176. 2.176 Throw grenade from crawling position
    177. 2.177 Fall forward (cable trap)
    178. 2.178 Poisoned (or drunk)
    179. 2.179 Poisoned while kneeling
    180. 2.180 Poisoned while lying down

Introduction

The .gsc Files contain the scripts that allow to give the game the variety in 
behaviour of the people and animals present in the missions.
To modify each one of them, first of all, localize their names in the .mis files, after that, go into the corresponding .gsc file and search for this string:

    .LISTA_GRUPOS 
    (

which should be at the beginning of every .gsc file, if not it will be somewhere around, just look for it.
Inside, paste this code, this one supposes we want the Sapper and Lupin to start in crawling mode:

        [
            .NOMBRE COMANDOS 
            .MIEMBROS 
            (
                RATERO ARTIFICIERO 
            )
            .SCRIPTS 
            (
                
                [
                    .NOMBRE RATERO 
                    .CRISELBI 
                    (
                        BICHO RATERO 
                    )
                    .SIMPLE  1.0 
                    .ORDENES
                    (
                        
                        ! SET_ESTADO_LOGICO AGACHADO 
                    )
                ]
                [
                    .NOMBRE ARTIFICIERO 
                    .CRISELBI 
                    (
                        BICHO ARTIFICIERO 
                    )
                    .SIMPLE  1.0 
                    .ORDENES 
                    (
                        
                        ! SET_ESTADO_LOGICO AGACHADO 
                    )
                ]
            )
            .SCRIPT_DE_GRUPO 
            [
                .ORDENES 
                (
                    
                    ! LANZAR_SCRIPT RATERO 
                    ! LANZAR_SCRIPT ARTIFICIERO 
                )
            ]
        ]

Now lets analyze this code:

            .SCRIPTS 
            (
                
                [
                    .NOMBRE RATERO 
                    .CRISELBI 
                    (
                        BICHO RATERO 
                    )
                    .SIMPLE  1.0 
                    .ORDENES
                    (
                        
                        ! SET_ESTADO_LOGICO AGACHADO 
                    )
                ]
            )

In .CRISELBI you must put the name of the character you want to modify. In this case our guy is Lupin. In .ORDENES you must put the thing he must do, in our case, start in lying position. Later I'll illustrate all the possible actions that can be told to accomplish.

NOTE: by putting the CUALQUIERA CANT TODOS code instead of the name of one person:

                    .CRISELBI 
                    (
                        CUALQUIERA CANT TODOS 
                    )

you will tell the program that all the people in that group of scripts are considered; useful if you have alot of people to make do the same thing without having to write the script to each person.

Next is:

            .SCRIPT_DE_GRUPO 
            [
                .ORDENES 
                (
                    ! LANZAR_SCRIPT  .DIR  

This part of code tells the game to launch Lupins orders, ! LANZAR_SCRIPT RATERO.
NOTE: RATERO refers to the orders name and not to the Person (which, in this case, is also called RATERO).

The program searches for the script name, which is the one that goes after .NOMBRE:

                [
                    .NOMBRE RATERO 
                    .CRISELBI 

NOTE: The name of the script that needs to be launched must always be the same one of the person considered, if you need to make that person do two different actions, then you can use another name for his second script.
So in clear words: always use the persons name for his script, and if you want him to do different things upon events, you have two options:
  1. Create two group scripts giving them different names (of course) but naming the individual scripts with the same names;
  2. Using only one group name, name the first individual script with the name of the person, and the 2nd with a different name.
You can also add pauses between launching scripts:

                    ! LANZAR_SCRIPT RATERO
                    ! ESPERAR_TIEMPO  100.0 
                    ! LANZAR_SCRIPT ARTIFICIERO

Useful if you want to create invasion scripts.

This was an example of code for the Commandos, now here is one for the enemies:

        [
            .NOMBRE CABO_01 
            .MIEMBROS 
            (
                CABO_01 
            )
            .SCRIPTS 
            (
                
                [
                    .NOMBRE CABO_01 
                    .CRISELBI 
                    (
                        BICHO CABO_01 
                    )
                    .FLAGS_REACTIVIDAD 
                    (
                        REACTIVO_VER_ENEMIGOS REACTIVO_OIR_SONIDOS SALIR_DEL_SITIO ATENDER_CADAVERES 
                    )
                    .SIMPLE  1.0 
                    .ORDENES 
                    (
                        
                        ! : LOOP 
                        ! IRAPOS 
                        (
                            -231.0 -371.0 0 EXTERIOR 
                        )NORMAL ANDANDO SLOW 
                        ! SET_ANGULO 331.0 
                        ! PON_ANIMSECUENCIA FUMAR_PRINCIPIO 
                        ! PON_ANIM_COSTUMBRISTA 500.0 FUMAR_MITAD 
                        ! PON_ANIMSECUENCIA FUMAR_FINAL 
                        ! ESPERAR_TIEMPO 300.0 
                        ! GOTO LOOP 
                    )
                ]
            )
            .SCRIPT_DE_GRUPO
            [
                .ORDENES 
                (
                    
                    ! LANZAR_SCRIPT CABO_01 
                )
            ]
        ]

As you can see, the difference in the two codes, apart from the new orders, is the .FLAGS_REACTIVIDAD code, which indicates that the enemy will hear, see and attack or defend in case of need.

Here's how they work:
REACTIVO_OIR_SONIDOS the enemy will not get alerted by sounds if you delete it;
REACTIVO_VER_ENEMIGOS the enemy will not touch you even if he sees you if you delete it;
ATENDER_CADAVERES         the enemy will not care if he sees cadaveres if you delete it;
SALIR_DEL_SITIO          the enemy will not get off the chair;

NOTE: sometimes if the enemy is subjected to many alternatives (hears, sees an enemy) all in one time, it might react as it would normally.

CAUTION! The name of the .gsc file must be EXACTLY the same as in the .mis file, meaning it is case sensitive, otherwise the game will become unstable. This means that COMANDO and Comando will create an error, be careful!

Here is a basic code that you can take and use for yourself, all you need to do is replace the bold code parts with the names of your characters:

        [
            .NOMBRE namehere 
            .MIEMBROS 
            (
                namehere 
            )
            .SCRIPTS 
            (
                
                [
                    .NOMBRE namehere 
                    .CRISELBI 
                    (
                        BICHO namehere 
                    )
                    .FLAGS_REACTIVIDAD 
                    (
                        REACTIVO_VER_ENEMIGOS REACTIVO_OIR_SONIDOS SALIR_DEL_SITIO ATENDER_CADAVERES 
                    )
                    .SIMPLE  1.0 
                    .ORDENES 
                    (
                          #ordershere
                    )
                ]
            )
            .SCRIPT_DE_GRUPO
            [
                .ORDENES 
                (
                    
                    ! LANZAR_SCRIPT namehere 
                )
            ]
        ]

Scripts you can use

Go to position walking

                        ! IRAPOS 
                        (
                            0.0 0.0 0 EXTERIOR 
                        )NORMAL ANDANDO SLOW 

NOTE: by adding SLOW at the end, the walk will be done with no hurry, calmly; same goes if you add it to all the other possible movements.

Go to position running

                        ! IRAPOS 
                        (
                            0.0 0.0 0 EXTERIOR 
                        )NORMAL CORRIENDO

Go to position crawling

                        ! IRAPOS 
                        (
                            0.0 0.0 0 EXTERIOR 
                        )AGACHADO

Walk to position bent over

                        ! IRAPOS 
                        (
                            0.0 0.0 0 EXTERIOR 
                        )MEDIA_ALTURA ANDANDO

Run to position bent over

                        ! IRAPOS 
                        (
                            0.0 0.0 0 EXTERIOR 
                        )MEDIA_ALTURA CORRIENDO

Go to position and stay there forever

you can make an enemy go to a point and vigilate it forever, it can be done through the .mis files if you find it more handy, it works like this:

in the .gsc file, under the orders, write this instruction:

                        ! IRAPOSP pos1 
                        ! ESPERAR_INFINITO

you can also add ! IRAPOSP pos1 NORMAL CORRIENDO and the enemy will go there running or ! IRAPOSP pos1 AGACHADO and the enemy will go there crawling. Now go into the corresponding .mis file and in the code (if it's not there, add it):

        .BANCOPOSICIONES 
        (

        )

Add the position where you want the enemy to go. For example:

            [
                .NOMBRE pos1 
                .POS 
                [
                    .XYZ 
                    (
                        0.0 0.0 0.0 
                    )
                    .ESC EXTERIOR 
                ]
                .ANGULO 0.0
                .ESTADO_LOGICO ARRODILLADO 
            ]

In our case the enemy will go to the xyz point, he will then turn to 0 degrees and kneel down. You can also put NORMAL and he will remain standing, AGACHADO and he will lie down.

Watch through window (vigilating)

                        ! IRAPOSP positionname 
                        ! : LOOP 
                        ! ASOMA_POR_TRANSFER
                        ! ESPERAR_TIEMPO 100.0 
                        ! DEJA_DE_ASOMARTE 
                        ! ESPERAR_TIEMPO 200.0 
                        ! GOTO LOOP 

This is a bit more complex, so I will explain how to make it work correctly:
IRAPOSP positionname makes the program search for a position (which must be declared in BANCOPOSICIONES in the .mis file) called positionname,it should be like this:

            [
                .NOMBRE positionname 
                .TRANSFER windownamehere 
                .ANGULO 90.0 
                .ESTADO_LOGICO VENTANA_ABAJO 
            ]

By putting these two codes together, you will have an enemy which will go to the window windownamehere, will watch outside for 100.0 ticks (25 ticks=1 second circa) at 90 degrees (beware that the degrees refer to the inside and not to the outside), then will turn inside for 200.0 ticks and then again will repeat all over.
NOTE: By putting this code in .gsc:

                        ! IRAPOSP positionname NORMAL ANDANDO SLOW 
                        ! PON_ANIM_COSTUMBRISTA -1.0 BUSCAR_VENTANA 
                        ! ESPERAR_INFINITO 

and this one in the corresponding .mis file:

            [
                .NOMBRE positionname 
                .TRANSFER windownamehere 
                .ANGULO 0.0 
                .ESTADO_LOGICO VIGILANDO_VENTANA 
            ]

The enemy will watch through the window relaxed.

Teleport enemy to point

                        ! TELEPORT 
                        (
                            0.0 0.0 0 EXTERIOR
                        )

NOTE: Does not work on allies.

Make invisible (will not be seen by enemies)

                        ! SET_INVISIBLE TRUE

Make visible

                        ! SET_INVISIBLE FALSE

Make enemy invisible

                        ! SE_FANTASMA

NOTE: Does not work on allies.

Make enemy visible

                        ! NOSEAS_FANTASMA 

NOTE: Does not work on allies.

The difference between the two codes is that with ! SET_INVISIBLE the enemy (or ally) will be visible to you but not to his enemy, while with ! SE_FANTASMA he will not be visible nor by you (literally invisible), nor by his enemies.

lose control over an ally (You will not be able to control him)

                        ! SET_NO_CONTROLABLE 

Regain control of an ally

                        ! SET_CONTROLABLE

Launch event (only from individual script)

                   ! LANZA_EVENTO eventname

Launch script(s) (only from individual script)

                        ! LANZAR_SCRIPT_NOMBRE script1 script2 script3 etc.

NOTE: scripts' name can be found looking at the .NOMBRE, they must be inserted (if multiple scripts) separated by at least one space.

Launch event (only when launching group scripts)

                        ! LANZAR_EVENTO eventname

Wait for event (only when launching group scripts)

                   ! ESPERAR_CONDICION ( EVENTO eventname )

Follow invasion map (only when launching group scripts)

                        ! LANZAR_SCRIPT SEGUIR_MAPA_INVASION 
                        (
                           BICHO nameofenemytofollowmap
                        )

NOTE: the invasion map needs to be declared in the individual script first.

Follow invasion map

                        ! SEGUIR_MAPA_INVASION MAPA_PEPE nameoffirstnodetofollow

Change instantly the position to crawling (without lying down animation)

                        ! SET_INSTANTANEO_ESTADO_LOGICO AGACHADO

Change instantly the position to kneeling (without kneeling animation)

                        ! SET_INSTANTANEO_ESTADO_LOGICO ARRODILLADO

Change instantly the position to normal (without standing up animation)

                        ! SET_INSTANTANEO_ESTADO_LOGICO NORMAL

Do nothing

                        ! ESPERAR_TIEMPO 300.0

NOTE: if you put  ! ESPERAR_INFINITO the enemy will do nothing forever.

Turn to degrees

                        ! SET_ANGULO 0.0 

Turn to somebody

                        ! SET_ANGULO 0.0 nameofpersontoturnto

NOTE: It doesn't matter the degrees you put, since he will turn anyway in the direction of that person.

Shoot and kill someone

                        ! DISPARA_MATA nameofpersontokill

NOTE: By putting the same name of the person who is shooting, he will committ suicide, but it will seem that he has been killed by someone else.

Repeat action

                        ! : LOOP
                        
                            #actions
                                     
                        ! GOTO LOOP

NOTE: for the order to work, you must put ! : LOOP right before the actions that you want to repeat, for example:

                        ! : LOOP 
                        ! IRAPOS 
                        (
                            0.0 0.0 0 EXTERIOR 
                        )NORMAL ANDANDO SLOW 
                        ! SET_ANGULO 0.0 
                        ! ESPERAR_TIEMPO 300.0 
                        ! IRAPOS 
                        (
                            0.0 0.0 0 EXTERIOR 
                        )NORMAL ANDANDO SLOW 
                        ! SET_ANGULO 0.0 
                        ! ESPERAR_TIEMPO 300.0
                        ! GOTO LOOP

This makes the enemy patrol those two places forever.
NOTE: you can change the ! : LOOP to anything you want, for ex. ! : REPEAT or any other word you want to. Mind though, that you have to change it to both opening and closing tag.

Work with hammer

                        ! PON_ANIMSECUENCIA EN_PIE_A_MARTILLO 
                        ! PON_ANIMSECUENCIA MARTILLO_A_CICLICA 
                        ! PON_ANIMSECUENCIA MARTILLO_B_CICLICA 
                        ! PON_ANIMSECUENCIA MARTILLO_A_CICLICA 
                        ! PON_ANIMSECUENCIA MARTILLO_B_CICLICA 
                        ! PON_ANIMSECUENCIA MARTILLO_A_CICLICA
                        ! PON_ANIMSECUENCIA MARTILLO_B_CICLICA 
                        ! PON_ANIMSECUENCIA MARTILLO_A_CICLICA
                        ! PON_ANIMSECUENCIA MARTILLO_B_CICLICA 
                        ! PON_ANIMSECUENCIA MARTILLO_A_CICLICA
                        ! PON_ANIMSECUENCIA MARTILLO_B_CICLICA 
                        ! PON_ANIMSECUENCIA MARTILLO_A_CICLICA
                        ! PON_ANIMSECUENCIA MARTILLO_A_EN_PIE

Look straight, without looking around

                        ! DEJA_DE_ESCANEAR

Look around (stop staring straight)

                        ! PONTE_A_ESCANEAR

Smoke on feet

                        ! PON_ANIMSECUENCIA FUMAR_PRINCIPIO 
                        ! PON_ANIM_COSTUMBRISTA 500.0 FUMAR_MITAD 
                        ! PON_ANIMSECUENCIA FUMAR_FINAL 

NOTE: 500 is the time the enemy will do an action in ticks (25 ticks = 1 sec), in this case, smoke.

Smoke while lying down

                        ! SET_ESTADO_LOGICO TUMBADO
                        ! PON_ANIMSECUENCIA FUMAR_PRINCIPIO_TUMB
                        ! PON_ANIM_COSTUMBRISTA 300.0 FUMAR_MITAD_TUMB 
                        ! PON_ANIMSECUENCIA FUMAR_FINAL_TUMB

Stand in cover mode

                        ! SET_ESTADO_LOGICO PARAPETADO_ABAJO 

Kneel down

                        ! SET_ESTADO_LOGICO ARRODILLADO 

Kneel down and drink

                        ! SET_ESTADO_LOGICO ARRODILLADO
                        ! DEJA_DE_ESCANEAR
                        ! PON_ANIM_COSTUMBRISTA 300.0 BEBER_BOTELLA_ARROD
                        ! PONTE_A_ESCANEAR 

Kneel down and smoke

                        ! SET_ESTADO_LOGICO ARRODILLADO
                        ! PON_ANIMSECUENCIA FUMAR_PRINCIPIO_ARROD
                        ! PON_ANIM_COSTUMBRISTA 300.0 FUMAR_MITAD_ARROD
                        ! PON_ANIMSECUENCIA FUMAR_FINAL_ARROD

Lie down

                        ! SET_ESTADO_LOGICO AGACHADO

Stand up

                        ! SET_ESTADO_LOGICO NORMAL

Check the floor

                        ! PON_ANIMSECUENCIA MIRAR_MUERTO

Repair

                        ! PON_ANIM_COSTUMBRISTA 200.0 REPARAR_COCHE

Look around variant 1 (around his feet)

                        ! PON_ANIMSECUENCIA BUSCAR

Look around variant 2 (with suspicion)

                        ! PON_ANIMSECUENCIA INQUIETO

Talk variant 1

                        ! PON_ANIMSECUENCIA HABLAR_1

Talk variant 2

                        ! PON_ANIMSECUENCIA HABLAR_2

Talk variant 3

                        ! PON_ANIMSECUENCIA HABLAR_3

Talk variant 4

                        ! PON_ANIMSECUENCIA HABLAR_4

Talk variant 5

                        ! PON_ANIMSECUENCIA HABLAR_5

Move arms indicating something

                        ! PON_ANIMSECUENCIA ECHAR_CHARLA

Put something on floor while lying down

                        ! PON_ANIMSECUENCIA SOLTAR_EN_TIERRA

Pick something from floor while lying down

                        ! PON_ANIMSECUENCIA COGER_EN_TIERRA

Sit down and relax forever

                        ! PON_ANIMSECUENCIA AUTODETENERSE 
                        ! : LOOP 
                        ! PON_ANIM_COSTUMBRISTA -1.0 AUTODETENIDO
                        ! GOTO LOOP

Stand up (quit relaxing)

                       ! PON_ANIMSECUENCIA LEVANTARSE_DE_AUTODETENIDO 

Get on a stool (or chair, table, car, etc.)

                        ! ENTRA_EN_HABITACULO nameofobjecthere

Get off 

                        ! SAL_DEL_HABITACULO 

Clean weapon while sitting

                        ! PON_ANIMSECUENCIA LIMPIAR_ARMA_A_CICLICA 
                        ! PON_ANIMSECUENCIA LIMPIAR_ARMA_B_CICLICA

Talk while sitting variant 1

                        ! PON_ANIMSECUENCIA SENTADO_REU_1_CICLICA 

Talk while sitting variant 2

                        ! PON_ANIMSECUENCIA SENTADO_REU_2_CICLICA 

Talk while sitting variant 3

                        ! PON_ANIMSECUENCIA SENTADO_REU_3_CICLICA 

Talk while sitting variant 4

                        ! PON_ANIMSECUENCIA SENTADO_REU_4_CICLICA 

Talk while sitting variant 5

                        ! PON_ANIMSECUENCIA SENTADO_REU_5_CICLICA 

Write while sitting

                        ! PON_ANIMSECUENCIA ESCRIBIR_CICLICA
                        ! PON_ANIMSECUENCIA ESCRIBIR_INQUIETO

Play cards while sitting

                        ! PON_ANIMSECUENCIA CARTAS_CICLICA 
                        ! PON_ANIMSECUENCIA CARTAS_INQUIETO

Write forever while sitting

                        ! PON_ANIM_COSTUMBRISTA -1.0 ESCRIBIR_CICLICA

Relax while sitting

                        ! PON_ANIMSECUENCIA SENTADO_EN_SILLA_MESA
                        ! PON_ANIMSECUENCIA SENTADO_EN_SILLA_MESA

Exercise while sitting

                        ! PON_ANIMSECUENCIA PESAS_A_CICLICA 
                        ! PON_ANIMSECUENCIA PESAS_B_CICLICA

Sitting at a table

                        ! PON_ANIMSECUENCIA COMENSAL_QUIETO

Sitting at a table drinking

                        ! PON_ANIMSECUENCIA COMENSAL_BEBER_CICLICA

Sitting at a table eating

                        ! PON_ANIMSECUENCIA COMENSAL_COMER_CICLICA

Read news

                        ! PON_ANIM_COSTUMBRISTA 100.0 PERIODICO_A_CICLICA

Read news (but not really, simply holding paper in his hands)

                        ! PON_ANIM_COSTUMBRISTA 100.0 PERIODICO_B_CICLICA 

Count if everything is in place

                        ! PON_ANIMSECUENCIA EN_PIE_A_INVENTARIO
                        ! PON_ANIM_COSTUMBRISTA 200.0 INVENTARIO_A_CICLICA
                        ! PON_ANIM_COSTUMBRISTA 200.0 INVENTARIO_B_CICLICA
                        ! PON_ANIMSECUENCIA INVENTARIO_A_EN_PIE

Examine cards

                        ! PON_ANIMSECUENCIA EN_PIE_A_CORREO 
                        ! PON_ANIM_COSTUMBRISTA 200.0 CORREO_A_CICLICA 
                        ! PON_ANIMSECUENCIA CORREO_B_CICLICA 
                        ! PON_ANIMSECUENCIA CORREO_A_EN_PIE

Pick up something from floor

                        ! PON_ANIMSECUENCIA COGER 

Throw something away

                        ! PON_ANIMSECUENCIA LANZAR_OBJETO

Doing abdominals forever

                        ! PON_ANIM_COSTUMBRISTA -1.0 ABDOMINALES_A_CICLICA

Doing abdominals (but not really) forever

                        ! PON_ANIM_COSTUMBRISTA -1.0 ABDOMINALES_B_CICLICA

Have shoes cleaned forever

                        ! PON_ANIM_COSTUMBRISTA -1.0 BOTAS_LIMPIAS_CICLICA

Clean shoes

                        ! PON_ANIMSECUENCIA LIMPIAR_BOTAS_CICLICA

Clean shoes forever

                        ! PON_ANIM_COSTUMBRISTA -1.0 LIMPIAR_BOTAS_CICLICA

Paint

                        ! PON_ANIMSECUENCIA PINTANDO_INQUIETO
                        ! PON_ANIMSECUENCIA PINTANDO_CICLICA 
                        ! PON_ANIMSECUENCIA PINTANDO_CICLICA
                        ! PON_ANIMSECUENCIA PINTANDO_CICLICA
                        ! PON_ANIMSECUENCIA PINTANDO_CICLICA
                        ! PON_ANIMSECUENCIA PINTANDO_CICLICA 
                        ! PON_ANIMSECUENCIA PINTANDO_CICLICA
                        ! PON_ANIMSECUENCIA PINTANDO_CICLICA
                        ! PON_ANIMSECUENCIA PINTANDO_CICLICA
                        ! PON_ANIMSECUENCIA PINTANDO_CICLICA
                        ! PON_ANIMSECUENCIA PINTANDO_INQUIETO 
                        ! PON_ANIMSECUENCIA PINTANDO_CICLICA
                        ! PON_ANIMSECUENCIA PINTANDO_CICLICA
                        ! PON_ANIMSECUENCIA PINTANDO_CICLICA
                        ! PON_ANIMSECUENCIA PINTANDO_CICLICA
                        ! PON_ANIMSECUENCIA PINTANDO_CICLICA 
                        ! PON_ANIMSECUENCIA PINTANDO_CICLICA
                        ! PON_ANIMSECUENCIA PINTANDO_CICLICA
                        ! PON_ANIMSECUENCIA PINTANDO_CICLICA
                        ! PON_ANIMSECUENCIA PINTANDO_CICLICA

Paint forever

                        ! PON_ANIMSECUENCIA PINTANDO_INQUIETO
                        ! PON_ANIM_COSTUMBRISTA -1.0 PINTANDO_CICLICA

Talk on the phone

                        ! PON_ANIMSECUENCIA DESCOLGAR_TELEFONO 
                        ! PON_ANIM_COSTUMBRISTA  1.0 HABLAR_POR_TELEFONO
                        ! PON_ANIMSECUENCIA COLGAR_TELEFONO 

Knock on wall

                        ! PON_ANIMSECUENCIA GOLPEAR_PARED

Drink

                        ! DEJA_DE_ESCANEAR
                        ! PON_ANIMSECUENCIA BEBER_BOTELLA
                        ! PONTE_A_ESCANEAR

Clean something forever

                        ! PON_ANIM_COSTUMBRISTA -1.0 LIMPIAR_COCHE

Ready to run variant 1

                        ! PON_ANIMSECUENCIA PULSO_A_CICLICA
                        ! PON_ANIM_COSTUMBRISTA 240.0 PULSO_A_CICLICA 

Ready to run variant 2

                        ! PON_ANIMSECUENCIA PULSO_B_CICLICA
                        ! PON_ANIM_COSTUMBRISTA 240.0 PULSO_B_CICLICA 

Shout

                        ! PON_ANIMSECUENCIA GRITAR_ALARMA 

Sitting in toilet forever

                        ! PON_ANIM_COSTUMBRISTA -1.0 COMENSAL_QUIETO

Sweep floor

                        ! PON_ANIM_COSTUMBRISTA 300.0 BARRER_CICLICA_A
                        ! PON_ANIMSECUENCIA BARRER_CICLICA_A_A_CICLICA_B

Stand with hands conserted

                        ! PON_ANIMSECUENCIA BARRER_CICLICA_B_A_CICLICA_A
                        ! PON_ANIM_COSTUMBRISTA 100.0 BARRER_CICLICA_B

Back-ache attack

                        ! PON_ANIMSECUENCIA BARRER_INQUIETO

Show something with hand

                        ! PON_ANIMSECUENCIA SENALAR

Alert the enemy (view goes red)

                        ! SET_PERCEPCION_INVASION

Cut wire fence

                        ! CORTA_ALAMBRADA fencenamehere

Kick the floor

                        ! PON_ANIMSECUENCIA PATADA

Untie

                        ! PON_ANIMSECUENCIA LIBERAR

Beeing untied

                        ! PON_ANIMSECUENCIA SER_LIBERADO

Fall back variant 1

                        ! PON_ANIMSECUENCIA EXPLOSION_0
                        ! PON_ANIM_COSTUMBRISTA -1 EXPLOSION_0_QUIETO

Fall back variant 2 (used for bullets too)

                        ! PON_ANIMSECUENCIA EXPLOSION_1
                        ! PON_ANIM_COSTUMBRISTA -1 EXPLOSION_1_QUIETO

Fall back variant 3

                        ! PON_ANIMSECUENCIA EXPLOSION_2
                        ! PON_ANIM_COSTUMBRISTA -1 EXPLOSION_2_QUIETO

Fall back variant 4

                        ! PON_ANIMSECUENCIA EXPLOSION_3
                        ! PON_ANIM_COSTUMBRISTA -1 EXPLOSION_3_QUIETO

Regain Consciousness

                        ! PON_ANIMSECUENCIA DESPERTAR_DE_ATONTADO

Torture variant 1

                        ! PON_ANIMSECUENCIA TORTURAR_1

Torture variant 2

                        ! PON_ANIMSECUENCIA TORTURAR_2

Take Shower forever

                        ! PON_ANIM_COSTUMBRISTA -1.0 DUCHARSE_CICLICA  3.0  5.0 DUCHARSE_INQUIETO  1.0  2.0

Punch variant 1

                        ! PON_ANIMSECUENCIA GOLPEAR 

Punch variant 2

                        ! PON_ANIMSECUENCIA GOLPEAR_2

Don't feel good forever

                        ! PON_ANIM_COSTUMBRISTA -1.0 MORIBUNDO_INQUIETO  1.0  2.0 MORIBUNDO_QUIETO  2.0  4.0

Watch through binoculars

                        ! PON_ANIMSECUENCIA SACAR_PRISMATICOS 
                        ! PON_ANIM_COSTUMBRISTA 250.0 MIRAR_PRISMATICOS 
                        ! PON_ANIMSECUENCIA GUARDAR_PRISMATICOS 

Looking Around (moving head only)

                        ! PON_ANIMSECUENCIA QUIETO_DE_PIE

Sleep while lying down

                        ! DEJA_DE_ESCANEAR
                        ! PON_ANIM_COSTUMBRISTA -1.0 ESTAR_ATADO

Lean Over

                        ! PON_ANIM_COSTUMBRISTA -1.0 BUSCAR_VENTANA

Lean Over Relaxed

                        ! PON_ANIM_COSTUMBRISTA -1.0 VIGILAR_VENTANA

Play a wave file

                        ! LANZA_WAV_STREAM wavfilename.WAV VOL_BRIEFING

NOTE: the wave file will be heard from everywhere.

Kneel down and prepare to shoot with rifle

                        ! PON_ANIMSECUENCIA ARROD_APUNTAR_FUSIL

Hold Kneel down and prepare to shoot with rifle

                        ! ESPERAR_TIEMPO 5000.0 ARROD_APUNTAR_FUSIL

Shoot with rifle from kneeling position

                        ! PON_ANIMSECUENCIA ARROD_DISPARAR_FUSIL

Prepare rifle (take aim)

                        ! PON_ANIMSECUENCIA DESENFUNDAR_FUSIL

Stand with rifle ready (taking aim)

                        ! ESPERAR_TIEMPO 5000.0 DESENFUNDAR_FUSIL

Put rifle away

                        ! PON_ANIMSECUENCIA ENFUNDAR_FUSIL

Shoot with rifle aiming up

                        ! PON_ANIMSECUENCIA DISPARAR_FUSIL_ARRIBA

Shoot with rifle aiming straight ahead

                        ! PON_ANIMSECUENCIA DISPARAR_FUSIL

Shoot with rifle aiming down

                        ! PON_ANIMSECUENCIA DISPARAR_FUSIL_ABAJO

Aim with rifle from lying position

                        ! PON_ANIMSECUENCIA TUMBADO_APUNTAR_FUSIL

Hold Aim with rifle from lying position 

                        ! ESPERAR_TIEMPO 5000.0 TUMBADO_APUNTAR_FUSIL

Shoot with rifle from lying position

                        ! PON_ANIMSECUENCIA TUMBADO_DISPARAR_FUSIL

Put rifle away from lying position

                        ! PON_ANIMSECUENCIA TUMBADO_ENFUNDAR_FUSIL

Shoot with rifle from cover position 

                        ! PON_ANIMSECUENCIA PA_DISPARAR_FUSIL

Aim with rifle leaving cover position (expose to danger ready to shoot)

                        ! PON_ANIMSECUENCIA APO_ALT_APUNTAR_FUSIL

Hold Aim with rifle leaving cover position (expose to danger ready to shoot)

                        ! ESPERAR_TIEMPO 5000.0 APO_ALT_APUNTAR_FUSIL

Leave cover position and shoot with rifle

                        ! PON_ANIMSECUENCIA APO_ALT_DISPARAR_FUSIL

Weapon animations for gun and machine gun

NOTE: These weapon animations can be also used for the gun and for the machine gun by substituing FUSIL with PISTOLA for the gun and Z for the machine gun.

Die from kneeled position

                        ! PON_ANIMSECUENCIA ARROD_MORIR
                        ! PON_ANIM_COSTUMBRISTA -1.0 ARROD_MORIR_QUIETO

Run

                        ! PON_ANIMSECUENCIA CORRER

Run in curve (left)

                        ! PON_ANIMSECUENCIA CORRER_GIRO_IZQ

Run in curve (right)

                        ! PON_ANIMSECUENCIA CORRER_GIRO_DRH

Stop running

                        ! PON_ANIMSECUENCIA CORRER_FRENADA

Have throat cut

                        ! PON_ANIMSECUENCIA MORIR_CUCHILLO_CUELLO
                        ! PON_ANIM_COSTUMBRISTA -1.0 MORIR_CUCHILLO_CUELLO_QUIETO

Fall over dead

                        ! PON_ANIMSECUENCIA MUERTO
                        ! PON_ANIM_COSTUMBRISTA -1.0 MUERTO_QUIETO

Hurt by bullet

                        ! PON_ANIMSECUENCIA HERIDO

Hurt by bullet while lying

                        ! PON_ANIMSECUENCIA TUMBADO_HERIDO

Died while lying

                        ! PON_ANIMSECUENCIA TUMBADO_MORIR
                        ! PON_ANIM_COSTUMBRISTA -1.0 TUMBADO_MORIR_QUIETO

Beeing moved by Green Beret

                        ! PON_ANIMSECUENCIA LLEV_POR_COMANDO_QUIETO

Beeing moved by the other Commandos

                        ! PON_ANIMSECUENCIA ARR_POR_COMANDO

Change from standing to standing cover position

                        ! PON_ANIMSECUENCIA DE_PIE_A_APO_ALT

Change from standing cover to standing position

                        ! PON_ANIMSECUENCIA APO_ALT_A_DE_PIE

Change from standing cover to lying position

                        ! PON_ANIMSECUENCIA APO_ALT_A_EN_TIERRA

Change from lying to standing cover position

                        ! PON_ANIMSECUENCIA EN_TIERRA_A_APO_ALT

Change from lying to kneeling position

                        ! PON_ANIMSECUENCIA EN_TIERRA_A_ARROD

Change from standing cover to kneeling position

                        ! PON_ANIMSECUENCIA APO_ALT_A_ARROD

Change from kneeling to standing cover position

                        ! PON_ANIMSECUENCIA ARROD_A_APO_ALT

Hurt in cover position

                        ! PON_ANIMSECUENCIA PA_HERIDO

Killed in cover position

                        ! PON_ANIMSECUENCIA PA_MUERTO
                        ! PON_ANIM_COSTUMBRISTA -1.0 PA_MUERTO_QUIETO

Hurt while shooting after leaving cover position

                        ! PON_ANIMSECUENCIA APO_ALT_HERIDO

Killed while shooting after leaving cover position

                        ! PON_ANIMSECUENCIA APO_ALT_MUERTO
                        ! PON_ANIM_COSTUMBRISTA -1.0 APO_ALT_MUERTO_QUIETO

Hurt while bent over (holding head down)

                        ! PON_ANIMSECUENCIA MA_HERIDO

Killed while bent over (holding head down)

                        ! PON_ANIMSECUENCIA MA_MUERTO
                        ! PON_ANIM_COSTUMBRISTA -1.0 MA_MUERTO_QUIETO

Knocked down

                        ! PON_ANIMSECUENCIA CAER_ATONTADO

Knocked down from kneeling position

                        ! PON_ANIMSECUENCIA CAER_ATONTADO_ARROD

Knocked down from lying position

                        ! PON_ANIMSECUENCIA CAER_ATONTADO_TUMB

Lying on floor unconscious

                        ! PON_ANIM_COSTUMBRISTA 100.0 ESTAR_ATONTADO

Hurt while knocked down variant 1

                        ! PON_ANIMSECUENCIA ATONTADO_HERIDO

Hurt while knocked down variant 2

                        ! PON_ANIMSECUENCIA ATADO_HERIDO

Killed while knocked down variant 1

                        ! PON_ANIMSECUENCIA ATONTADO_MORIR
                        ! PON_ANIM_COSTUMBRISTA -1.0 ATONTADO_MORIR_QUIETO

Killed while knocked down variant 2

                        ! PON_ANIMSECUENCIA ATADO_MORIR
                        ! PON_ANIM_COSTUMBRISTA -1.0 ATADO_MORIR_QUIETO

Climb up (nice for zombie trick if combined with teleport and/or invisibility)

                        ! PON_ANIMSECUENCIA ENCARAMARSE

Climb up from lying position

                        ! PON_ANIMSECUENCIA ENCARAMARSE_EN_TIERRA

Hurt while walking

                        ! PON_ANIMSECUENCIA ANDAR_HERIDO

Hurt while running

                        ! PON_ANIMSECUENCIA CORRER_HERIDO

Knocked down (maybe by poison)

                        ! PON_ANIMSECUENCIA SER_EMPUJADO

Knocked down from kneeling position (maybe by poison)

                        ! PON_ANIMSECUENCIA SER_EMPUJADO_ARROD

Knocked down from lying position (maybe by poison)

                        ! PON_ANIMSECUENCIA SER_EMPUJADO_TUMB

Throw grenade

                        ! PON_ANIMSECUENCIA LANZA_GRANADA

Throw grenade from crawling position

                        ! PON_ANIMSECUENCIA LANZA_GRANADA_EN_TIERRA

Fall forward (cable trap)

                        ! PON_ANIMSECUENCIA CAER_TROPEZADO_CABLE

Poisoned (or drunk)

                        ! PON_ANIMSECUENCIA TAMBALEO_BORRACHO

Poisoned while kneeling

                        ! PON_ANIMSECUENCIA TAMBALEO_BORRACHO_ARROD

Poisoned while lying down

                        ! PON_ANIMSECUENCIA TAMBALEO_BORRACHO_TUMB
Comments