Skip to content
Nick Olenz edited this page Nov 6, 2020 · 1 revision

TNH_SupplyPoint

Gamemode Minimum Instances Maximum Instances
Sandbox
Take and Hold

Description

TNH_SupplyPoint describes a supply point in Take and Hold.

Field Breakdown

  • Bounds: A DISABLED GameObject using a mesh with no collider that encompasses the entire Supply Point.
  • CoverPoints: Parent container for cover points. All children should be AICoverPoint.
  • SpawnPoint_PlayerSpawn: If the player spawns on this Supply Point, they will spawn here, facing Forward (+Z).
  • SpawnPoints_Sosigs_Defense: Parent container for Sosigs spawned to defend this supply point. All children should be empty GameObjects.
  • SpawnPoints_Turrets: Unused?
  • SpawnPoints_Panels: Parent container for shop panels. All children should be empty GameObjects. Most Supply Points have 3-5, so I'd say at least 3. Place them on the ground with +Z facing where the player would stand to use the shop.
  • SpawnPoints_Boxes: Parent container for boxes. All children should be empty GameObjects. Breakable white boxes will spawn at this object's children positions.
  • SpawnPoint_Tables: Parent container for tables. All children should be empty GameObjects. Usually two tables.
  • SpawnPoint_CaseLarge: Large case position for when player spawns here. Place it about 0.8 units above the table for it to sit properly.
  • SpawnPoint_CaseSmall: Small case position for when player spawns here. Place it about 0.8 units above the table for it to sit properly.
  • SpawnPoint_Melee: Melee weapon position for when player spawns here. Place it about 1.1 units above the table.
  • SpawnPoints_SmallItem: Parent container for small item spawns. All children should be empty GameObjects.
  • SpawnPoint_Shield: Shield position for when player spawns here.

Usage

These are annoying to set up manually. You are heavily encouraged to simply modify the included supply point prefab to meet your needs.