Vehicle Zone Spawn

by CurseVXZ
Vehicle Zone Spawn

Summary

Vehicle Spawn Zone with radius tracking, timer-based waves, and optional map marker support. Spawns vehicles when zone becomes empty after configurable interval.

Description

• What it does
•  Spawns vehicles at safe ground positions inside a radius around a GenericEntity.
•  Tracks only the vehicles it spawned ("owned"). While any owned vehicle remains inside the radius, the timer is paused.
•  When the last owned vehicle leaves the radius or is destroyed, a timer starts; after it elapses, a new wave is spawned (up to N vehicles, respecting spacing and a global max-alive limit).
•  Optional map marker can be shown at the zone center via a separate .et prefab that references your .edds icon.
•  Debug radius rendering is disabled by default to keep the map clean.

• How to use (setup in World Editor)
  1) Place a GenericEntity at the desired zone center.
  2) Add the component: BDCM_VehicleSpawnZoneComponent.
  3) Open the component and configure:
•  Vehicle Prefab1–4: select .et prefabs of vehicles to spawn (at least one).
•  Spawn Interval (seconds): delay before a wave after the zone becomes empty. Can be adjusted to any value you want—15 minutes (900 seconds), 1 hour (3600 seconds), or more.
•  Vehicles Per Wave: how many vehicles to spawn per timer tick.
•  Radius (meters): spawn/search radius around the center.
•  Max Alive: maximum number of owned vehicles existing at once.
•  Min Vehicle Spacing (meters): minimum distance between spawned vehicles.
•  Map Marker Prefab (optional): select your map-marker .et. To use a custom icon, create a GenericEntity-based marker prefab that points to your .edds (e.g., red-circle) and select it here. Adjust visibility/size in that prefab if needed.
  4) Run the scenario. The component executes on the server; clients will only see the results (and the marker if configured).

• Notes
•  Vehicles are placed on terrain height and checked against spacing both against already-owned vehicles and positions chosen within the same wave.
•  If no safe position is found within a limited number of attempts, that particular vehicle in the wave is skipped.
•  A vehicle that once leaves the radius is "released" and no longer blocks respawn logic.
•  Marker visibility/size can be tuned inside the marker prefab (e.g., VisibleFrom/VisibleTo, icon size, world size).
•  All parameters are fully customizable—set spawn intervals to 15 minutes, 1 hour, or whatever fits your scenario.

• Typical configuration example
•  Radius: 15 m; Min Spacing: 6 m; Interval: 60 s; Vehicles per wave: 1; Max Alive: 16; Map Marker Prefab: your custom marker .et.

License

Arma Public License (APL)

Version
1.0.1
Game Version
1.6.0.95
Version size
35.83 KB
Downloads
554
Created
20.11.2025
Last Modified
02.01.2026
ID
66E873D8AE1E4DF3