FANDOM


BARCA

If you add an inflatable raft to a mission, you can decide whether the raft is placed somewhere on the map so the diver must pick it up before he can use it (Case 1), or the diver already has it in his inventory when the mission starts (Case 2).


Case 1 - here is the script for the raft that must be picked up first:

.ELEMENTOS [
  [
    .CLASS BICHOALIADO
    .TOKEN LANCHERO
    .ACCIONES [
      [ acUsaHab [ .CARISMA 300 .HABILIDAD BALSA ] ]
      [ auUsarVehiculo [ .CARISMA 200 .VEHICULOS BALSA ] ]
      [
        auManejaBalsa
        [
          .CARISMA 200
          .OTOK INFLATABLE_RAFT
          .ITTOK IT_BALSA
          .BICHOSOLTAR LANZABARCA
        ]
      ]
    ]
  ]
  [
    .CLASS MACRO
    .TOKEN INFLATABLE_RAFT
    .MACRO ZODIAC
    .XYZ [ 968 1339 0 ]
    .Angulo 135
    .VolumenAgua BASE
    .ColorBurbujas [ 0 63 63 ]
    .Bando NEUTRAL
  ]
]
                                                                            #




ability to use the raft
ability to use the raft as a vehicle (the cursor changes)

ability to deploy/pick up the raft


must be the raft's name (see below)
inventory token
animation for deploying the raft (see LANCHIST.ANM)





use .MAC script (there are three ZODIAC macros)
name of the raft
ZODIAC (default raft), ZODIAC5 (no paddling sound), ZODIAC17 (very slow raft)
position on map
direction
if the name is not BASE, then there is no trail behind the raft
color of the raft's trail in RGB-format
belonging: NEUTRAL, ALIADO (allied), ALEMAN (German)

                                                                            #


Case 2 - the script for the raft in the inventory is very similar, but this time the raft is located inside the diver's .ELEMENTOS block:

.ELEMENTOS [
  [
    .CLASS BICHOALIADO
    .TOKEN LANCHERO
    .ACCIONES [
      [ acUsaHab [ .CARISMA 300 .HABILIDAD BALSA ] ]
      [ auUsarVehiculo [ .CARISMA 200 .VEHICULOS BALSA ] ]
      [
        auManejaBalsa
        [
          .CARISMA 200
          .OTOK INFLATABLE_RAFT
          .ITTOK IT_BALSA
          .BICHOSOLTAR LANZABARCA
        ]
      ]
    ]
    .ELEMENTOS [
      [
        .CLASS MACRO
        .TOKEN INFLATABLE_RAFT
        .MACRO ZODIAC
        .XYZ [ 0 0 0 ]
        .Angulo 0
        .VolumenAgua BASE
        .ColorBurbujas [ 0 63 63 ]
        .Bando ALIADO # the enemy will fire at the empty raft
      ]
    ]
  ]
]


In both cases it is necessary to add the following lines to the .INTERFACE block:

.INTERFACE [
  .SUBINTERFACES [
    [
      SUBINTERFACEMULTIPLE
      [
        .TOKEN MULTIPLE
        .ELEMUSABLES [
          INFLATABLE_RAFT
        ]
      ]
    ]
    [
      SUBINTERFACEALIADO
      [
        .TOKEN LANCHERO
        .ITEMS [
          [ .TOKEN IT_BALSA .DISPONIBLE NO ]
          [ .TOKEN IT_BALSA ]
        ]
      ]
    ]
  ]
]
                                                                  #






enable the possibility to enter the raft with multiple men selected







  only use one of the following lines:
raft must be picked up first (Case 1)
raft is already in the inventory (Case 2)




                                                                  #