Bearfoot Posted December 10, 2017 Posted December 10, 2017 My understanding is that ground units continuously rearm every 60 seconds as long as a suitable source (e.g. Ural 375 or M 818) is within 100 m. I want to know how to simulate air dropped resupply otherwise. E.g., when a helo lands in a trigger zone, automatically restore ground units in that zone to 100% capacity. Using MOOSE or other means. Can anyone help?
Grimes Posted December 10, 2017 Posted December 10, 2017 Well the units will go through the resupply process with different munitions take a different amount of time to rearm. A resupply unit must be within the range to start that process, and once started it can't be interrupted. So your options is 1. to spawn a resupply unit and start that process. 2. Just respawn the group. To spawn a unit its pretty straight forward. Use coalition.addGroup getting coordinates from the helicopter. Though I'd offset it 20 meters or so. Also changing it to an rearming vehicle. To respawn the group its a little more tricky. If the group is stationary you can use mist.teleportGroup which respawns the group in its current state. Dead units won't be respawned. The right man in the wrong place makes all the difference in the world. Current Projects: Grayflag Server, Scripting Wiki Useful Links: Mission Scripting Tools MIST-(GitHub) MIST-(Thread) SLMOD, Wiki wishlist, Mission Editing Wiki!, Mission Building Forum
Bearfoot Posted December 10, 2017 Author Posted December 10, 2017 Well the units will go through the resupply process with different munitions take a different amount of time to rearm. A resupply unit must be within the range to start that process, and once started it can't be interrupted. So your options is 1. to spawn a resupply unit and start that process. 2. Just respawn the group. To spawn a unit its pretty straight forward. Use coalition.addGroup getting coordinates from the helicopter. Though I'd offset it 20 meters or so. Also changing it to an rearming vehicle. To respawn the group its a little more tricky. If the group is stationary you can use mist.teleportGroup which respawns the group in its current state. Dead units won't be respawned. Got it, thanks! So one way to simulate air resupply is to spawn a resupply unit -- a truck or something --- in the vicinity of the helo after it has landed? I guess then it should be automatically destroyed/deactivated after some time to prevent infinite resupply? Also, I assume this will result in trucks popping into and out of existence ... makes for immersion breaking, but there's no way around that for the functionality that we need, I suppose. Additional question, do you know where can I look up re-arm/re-load times for units, such as infantry etc.
Grimes Posted December 11, 2017 Posted December 11, 2017 Its not immersion breaking if you aren't looking at it. :) I have a partial table for rearm times as a google drive document, but it really only covers sam sites and most artillery pieces. Unfortunately getting that information must be done manually and with Combined Arms. I've asked for scripting functions to get data on rearming units and what not, but it hasn't been implemented. Rearming can be summarized by the following rearming methods: 1. complete ammo replenishment (automatic gun belts) 2. ammunition items added one by one (missile launchers and AP/HE rounds) 3. several items added simultaneously (SA-15 Gauntlet, 4 missiles pack) Vast majority use method 2. Thus the rearm time scales linearly with what needs rearmed. 1 The right man in the wrong place makes all the difference in the world. Current Projects: Grayflag Server, Scripting Wiki Useful Links: Mission Scripting Tools MIST-(GitHub) MIST-(Thread) SLMOD, Wiki wishlist, Mission Editing Wiki!, Mission Building Forum
ESAc_matador Posted December 11, 2017 Posted December 11, 2017 Would be great if the cargo boxes could resupply too.
Bearfoot Posted December 11, 2017 Author Posted December 11, 2017 Its not immersion breaking if you aren't looking at it. :) I have a partial table for rearm times as a google drive document, but it really only covers sam sites and most artillery pieces. Unfortunately getting that information must be done manually and with Combined Arms. I've asked for scripting functions to get data on rearming units and what not, but it hasn't been implemented. Rearming can be summarized by the following rearming methods: 1. complete ammo replenishment (automatic gun belts) 2. ammunition items added one by one (missile launchers and AP/HE rounds) 3. several items added simultaneously (SA-15 Gauntlet, 4 missiles pack) Vast majority use method 2. Thus the rearm time scales linearly with what needs rearmed. Thanks! Would be great if the cargo boxes could resupply too. +1
Pikey Posted February 25, 2019 Posted February 25, 2019 Yes, it REALLY would! Would be great if the cargo boxes could resupply too. ___________________________________________________________________________ SIMPLE SCENERY SAVING * SIMPLE GROUP SAVING * SIMPLE STATIC SAVING *
IlludiumQ36 Posted February 25, 2019 Posted February 25, 2019 Skewing a touch off the topic here - I've read posts articulating a lot of different values for the range from supply vehicle to ground unit, any where up to 220m. Is there a definitive max distance? And also, can the supply vehicle be a static object?
Recommended Posts