By combining a movable vehicle with a supply zone, we can make a function similar to a mobile supply truck.
This mechanism will help to form some fun and cooperation and cooperation with teammates in battles on huge maps. You can drive supply trucks, to supply ammunition to teammates’ heavy artillery which only has small amount of ammo.
The current problem is that when the vehicle is destroyed, the mobile supply point is not automatically eliminated.
Looking forward to some kind of mechanism for automatic removal of vehicle debris, which may effectively solve the problem
entity{
_template:t="germ_flak_36_sdkfz_6_2+resupply_for_ground_vehicle_zone"
transform:m=[[-0.596454, 0.00931413, -0.802594] [0.015548, 0.999879, 4.9049e-05] [0.802497, -0.0124494, -0.596526] [-1652.97, 0.695873, -889.011]]
team:i=2
resupply_zone__team:i=2
vehicle_seats__autoDetectRestrictToTeam:b=no
vehicle_seats__restrictToTeam:i=2
sphere_zone__radius:r=12
vehicle__mapIcon:t="map_icon_car"
user_point__icon:t="map_icon_car"
"turret_control__turretInfo:shared:array"{
"turret_control__turretInfo:object"{
salt:i=1
gun:t="as_42_metropolitana_turret_01_20mm_breda_20_65_m35+base_37mm_flak36+turret_with_several_types_of_shells+main_turret"
barrelDm:t="gun_barrel"
breechDm:t="cannon_breech"
turretName:t="turret_01"
verDriveDm:t="drive_turret_v"
horDriveDm:t="drive_turret_h"
}
}
"vehicle_seats__seats:shared:array"{
"vehicle_seats__seats:object"{
receiveDamageFromDMPart:t="driver"
attachTm:m=[[1, 0, 0] [0, 1, 0] [0, 0, 1] [-0.25, -0.25, 0]]
name:t="driver"
seatComponent:t="isDriver"
cameraNodeName:t="bone_camera_driver"
attachNode:t="driver"
seatOwnsEntityControl:b=yes
nextSeat:t="main_gunner"
locName:t="vehicle_seats/driver"
ignoreAttachNodeRotation:b=yes
shouldHideOwner:b=no
}
"vehicle_seats__seats:object"{
receiveDamageFromDMPart:t="gunner"
attachTm:m=[[1, 0, 0] [0, 1, 0] [0, 0, 1] [-0.25, -0.5, 0]]
cameraOffset:p3=-2.2, 0.6, 0
name:t="main_gunner"
seatComponent:t="isGunner"
cameraNodeName:t="bone_camera_gunner"
cameraType:t="machinegunner_cockpit"
attachNode:t="gunner"
nextSeat:t="driver"
locName:t="vehicle_seats/gunner"
ignoreAttachNodeRotation:b=yes
shouldHideOwner:b=no
"turretNames:array"{
turretNames:t="turret_01"
}
}
"vehicle_seats__seats:object"{
receiveDamageFromDMPart:t="commander"
attachTm:m=[[1, 0, 0] [0, 1, 0] [0, 0, 1] [-0, 0.1, 0.1]]
cameraOffset:p3=-5, 0.29, 0
name:t="commander"
seatComponent:t="isDriver"
cameraType:t="machinegunner_cockpit"
attachNode:t="commander"
locName:t="vehicle_seats/commander"
ignoreAttachNodeRotation:b=yes
maxPosWithOpenHatch:r=0.4
shouldHideOwner:b=no
}
"vehicle_seats__seats:object"{
receiveDamageFromDMPart:t="loader"
attachTm:m=[[1, 0, 0] [0, 1, 0] [0, 0, 1] [-0, -0, 0]]
seatComponent:t="isPassenger"
cameraNodeName:t="bone_camera_driver"
attachNode:t="loader"
locName:t="vehicle_seats/loader"
ignoreAttachNodeRotation:b=yes
shouldHideOwner:b=no
"loaderTurretNames:array"{
loaderTurretNames:t="turret_01"
}
}
}
}
This feature has been added for all German SWS halftracks in Big Action Mod