๐Ÿ—๏ธStructure of Configurations (Schema)

๐Ÿšช Door Structure

Tisy Base.yaml
locationName: Tisy Base # any name
buildingName: Land_Mil_Barracks2 # name of building.
buildingPos: 1647.3851318359375 453.15576171875 14335.37890625
buildingDir: 59.459930419921875 0 0
doorIndex: 0 # this is automatically generated by the converter tool. indicates the door index of the building
openFor: 300 # Door be open for 300 seconds.
openDelay: 5 # 5 seconds delay before door is opened.
closeOnRestart: true # should door be force closed in event of a server crash/restart.
onOpenNotificationMessage: A KeyCard Door has been opened! # notification to be shown to players when someone opens the door. leave '' if you do not need a notification. 
keyCards: # an array of items that can be used to open the door.
  - Banana
  - RedemptionKeyCard_01
cjLootChestLocationNames:  # link the CJLootChest location you want to link to the door.
  - Tisy Headquarter 1st Floor 
  - Tisy Headquarter 2nd Floor
  - Tisy Headquarter Bunker
crates:
  - crateName: Paragon_MiliCrate_Grey # This can be any container.
    cratePos: 1652.728515625 453.234130859375 14330.2646484375
    crateDir: 59.459930419921875 0 0
    lootPool:
      - Snipers # Name of the loot pool you want this crate to be connected to.
      - Weapons
  - crateName: RedemptionMilitaryCrate# This can be any container.
    cratePos: 1654.6863546 453.65756 14337.647457
    crateDir: 59.459930419921875 0 0
    lootPool:
      - Armor
      - Clothing
      - Food

๐Ÿ“ฆ Loot Pool Structure

Tier1.yaml
lootPoolName: Tier1
inventory:
  - min: 1 
    max: 5
    inventory: # since min and max is set, random items will be selected from the list.
      - item: M4A1
        chance: 500 # higher the chance, higher it is likely to spawn.
        inventory: # items to be added as attachments/cargo.
          - item: ACOGOptic
            inventory: 
              - item: Battery9V
          - item: Mag_STANAG_30Rnd
      - item: Paragon_SRS
        chance: 500
        inventory:
          - item: Paragon_SRS_10Rnd

  # no min/max set, so all items will be added.
  - inventory:
    - item: M4A1
      inventory:
        - item: ACOGOptic
          inventory: 
            - item: Battery9V
        - item: Mag_STANAG_30Rnd
    - item: Paragon_SRS
      inventory:
        - item: Paragon_SRS_10Rnd
    
          

โš™๏ธGlobal Config

alarm: #opening alarm.
  alarmName: RaulexKeyCard_DoorAlarm # any sound from CfgSounds
  alarmRange: 200 # how far the alarm can be heard from.
  alarmDuration: 30 # how long in sec(s) should the alarm be played for.
closingAlarm: # closing alarm
  alarmName: RaulexKeyCard_DoorClosingAlarm # any sound from CfgSounds
  alarmRange: 150
  alarmDuration: 30
numUses: 1 # number of times a keycard item can be used on door.

Last updated