Rusted Warfare Mod Workshop
All coursesCreative tools中文

Separate mounted equipment from passengers

Carry a radio and escorts while keeping position, capacity and unloading responsibilities clear

Choose the relationship by purpose

The radio should remain at a fixed roof position and expose its own action, so it uses an attachment, escorts should enter a hold and later disembark, so they use transport, keep their responsibilities separate

Restrict passengers with tags

Each escort has v07cargo and uses one slot, the carrier accepts tagged land units with a capacity of two, tags determine eligibility and slot cost determines capacity usage

[core]
maxTransportingUnits: 2
transportUnitsRequireTag: v07cargo
transportUnitsRequireMovementType: LAND
transportUnitsEachUnitAlwaysUsesSingleSlot: true
transportUnitsAddUnloadOption: true
transportUnitsUnloadDelayBetweenEachUnit: 1s

# 护卫的 core 段 / In the escort core section
# tags: v07cargo
# transportSlotsNeeded: 1

Inspect mounting and capacity separately

The radio slot x and y place the pod relative to the hull while core manages hold capacity, first turn the carrier to inspect the pod and then load escorts to inspect passenger count

[attachment_radio]
x: 0
y: -3
height: 1
lockRotation: true
setDrawLayerOnTop: true
onCreateSpawnUnitOf: rwa07Radio
showAllActionsFrom: true

[action_report]
text: 查看乘员 / Passenger count
buildSpeed: 0
showMessageToPlayer: Passengers=%{self.transportingCount}

Leave room for unloading

Begin loading and unloading on open land before trying obstacles, death, team changes and conversion also affect passengers, write down the intended behavior before choosing those options

Try it yourself

Add a vehicle without v07cargo and compare its loading behavior with the escort

Open interactive lesson and download the companion mod