New Mechanics, Moveable Ammo Resupply Vehicle

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

try it: https://sandbox.enlisted.net/post/lIXaTtfV9x0bZT61/

5 Likes

@ErikaKalkbrenner sounds familiar?

2 Likes

It is not possible to set such a supply point for infantry at the moment, as the supply crates will be auto deleted outside the combat area

1 Like

Actually it reminds me of how sunderer truck works in planetside 2. Now I’m waiting for a repairing aura.

1 Like

wondering if you can use this system on trucks or cars as well.

which btw, incredible findings.

i only wished to be talented as you, and have time to spare to find similar findings and enrich the community with knowledge along side.

btw, i can tell you about a small guide that i’m working on, placeable soldiers with animations that at least i managed to find :wink:

2 Likes

Quite yes,

but you need to set team to 1 or 2 and disable the vehicle_seats__autoDetectRestrictToTeam:b to no, Otherwise, seems that the team will be automatically set to -1 which makes resupply point would be unuseable.

vehicle_seats__autoDetectRestrictToTeam:b=no
1 Like

It’s possible, but glitch a bit or uncomfortable.
You need press same button that sit to vehicle (by default, maybe).



It from ❓ Your questions about the mission editor and launching user missions in the game - #67 by 79498559

2 Likes

I have tried before but seems not works perfectly. When this jeep moves outside the battlearea into the grayzone it will disappear.

Which makes this jeep not being able to be pre-set in an inactive grayzone

I’m not sure if this is still the case

Well… Yeah. In this case here can be some problems.
Anyways we can do it.

Also both supply points have some not big problems. They still can refill ammo if destroyed.

2 Likes

Good job Tommy! :laughing:

1 Like

_template:t="human_hidden_ui_battle_area+base_fortification_build+ammunition_box_base+resource_box_base+undestroyable_building+germ_flak_36_sdkfz_6_2+resupply_for_ground_vehicle_zone"

+human_hidden_ui_battle_area

I found a way to fix this, now we can preset some ammo boxes outside the area

1 Like