snak Posted March 22, 2012 Posted March 22, 2012 land at. May I ask what it need to consist of. Thanks Paul
Speed Posted March 22, 2012 Posted March 22, 2012 (edited) land at. May I ask what it need to consist of. Thanks Paul The basic FARP can be simply just the static object FARP you can place. Do you need ground service? If so, for which side? Russia or Western? From ./Scripts/World/FARP.lua: local objects_by_type = { [RUSSIAN_FARP] = { groundCrew = { [RESOURCE_AMMO] = { "URAL_4320_B", "SetkaKP" }, [RESOURCE_FUEL] = { "URAL_ATZ-10", "ATZ-10", "ATZ-60", "GSM Rus" }, [RESOURCE_ELEC_POWER] = {"Zil_APA-80", "URAL-APA" }, [RESOURCE_GROUND_SERVICE] = { "UAZ-469", "Ural_4320-31", "Ural_4320_T", "Zil_KUNG", "KAMAZ-TENT", "PalatkaB", --self "URAL_4320_B", "SetkaKP", -- ammo "URAL_ATZ-10", "ATZ-10", "ATZ-60", "GSM Rus", --fuel "Zil_APA-80", "URAL-APA", --elec power "Zil_SKP-11", "KP_UG" -- control point }, }, ATC = { [RESOURCE_ATC] = { "Zil_SKP-11", "KP_UG" } }, FARP = { [RESOURCE_NIGHT_ILLUMINATION] = { "Zil_SKP-11" } } }, [WESTERN_FARP] = { groundCrew = { [RESOURCE_AMMO] = { "M-818" }, [RESOURCE_FUEL] = { "HEMTT", "GSM Rus" }, [RESOURCE_ELEC_POWER] = { "M-818" }, [RESOURCE_GROUND_SERVICE] = { "M-818", "PalatkaB", --self "M-818", --ammo "HEMTT", "GSM Rus", --fuel "M-818", -- elec power "HMMWV_M1025", "KP_UG" --control point } }, ATC = { [RESOURCE_ATC] = { "HMMWV_M1025", "KP_UG" } }, FARP = { [RESOURCE_NIGHT_ILLUMINATION] = { "HMMWV_M1025" } } } } "SetkaKP" is a FARP Ammo Dump (the boxes with the mesh netting over them) "PalatkaB" is a FARP Tent "GSM Rus" is a FARP Fuel Depot and I believe the "KP_UG" is the FARP command post. I believe this is the script that determines which objects do what when set next to FARPs. It's written pretty plainly, so other than some of the odd names for a few ground objects (explained above) I don't think an interpretation is necessary. Interestingly, if this is really the script that I think it is, then it would appear that the FARP ammo dump does nothing for a Western FARP - the only thing that will give a Western FARP rearming ground service would be an M-818. Edited March 22, 2012 by Speed Intelligent discourse can only begin with the honest admission of your own fallibility. Member of the Virtual Tactical Air Group: http://vtacticalairgroup.com/ Lua scripts and mods: MIssion Scripting Tools (Mist): http://forums.eagle.ru/showthread.php?t=98616 Slmod version 7.0 for DCS: World: http://forums.eagle.ru/showthread.php?t=80979 Now includes remote server administration tools for kicking, banning, loading missions, etc.
snak Posted March 22, 2012 Author Posted March 22, 2012 (edited) Blimey speed how did you do that? How did you know what to do? some western utils would be good. How do I put that on the mission map many thanks Paul Edited March 22, 2012 by snak
Speed Posted March 22, 2012 Posted March 22, 2012 (edited) Blimey speed how did you do that? How did you know what to do? Because I've been looking through the game's Lua files for the past 18 months. I remembered that there was what appeared to be a listing of FARP service vehicles inside the file FARP.lua. some western utils would be good. How do I put that on the mission map many thanks Paul FARP command posts, FARP ammo dumps, FARP tents- you can find them under the static objects list too (select "Structures" instead of "Heliports"). Find the necessary vehicles, like M-818, under the lists of units you can place after you place a vehicle group. JUST BE CAREFUL- do NOT get you vehicles from the "Ground vehicles" list of static objects- otherwise, they will be just static objects, not vehicles. Edited March 22, 2012 by Speed Intelligent discourse can only begin with the honest admission of your own fallibility. Member of the Virtual Tactical Air Group: http://vtacticalairgroup.com/ Lua scripts and mods: MIssion Scripting Tools (Mist): http://forums.eagle.ru/showthread.php?t=98616 Slmod version 7.0 for DCS: World: http://forums.eagle.ru/showthread.php?t=80979 Now includes remote server administration tools for kicking, banning, loading missions, etc.
nomdeplume Posted March 23, 2012 Posted March 23, 2012 Pretty sure the required vehicles are listed in the GUI manual, too. One thing I noticed which is slightly unexpected is that the required vehicles are determined by the units' coalition (i.e. BLUE or RED), not the nationality. For example if you have a coop A-10 (US) and Ka-50 (Russian) mission with your team being on BLUE, then your Ka-50s will require the US service vehicles at the FARP, even though their country is set to Russia. On the other hand if your side is set as RED, then everyone will require the Russian service vehicles at their base, even though the A-10s are set to country US. Hopefully that makes sense. So basically in the data Speed posted, RUSSIAN_FARP means "Red" and WESTERN_FARP means "Blue".
snak Posted March 23, 2012 Author Posted March 23, 2012 Thanks guys. Speed do I need to use this script then?
Speed Posted March 23, 2012 Posted March 23, 2012 Thanks guys. Speed do I need to use this script then? No, of course not! Just use the mission editor to place the necessary vehicles and static objects. If you need to learn how to use the mission editor, there are a hundred or two hundred pages devoted to it in the GUI manual. Intelligent discourse can only begin with the honest admission of your own fallibility. Member of the Virtual Tactical Air Group: http://vtacticalairgroup.com/ Lua scripts and mods: MIssion Scripting Tools (Mist): http://forums.eagle.ru/showthread.php?t=98616 Slmod version 7.0 for DCS: World: http://forums.eagle.ru/showthread.php?t=80979 Now includes remote server administration tools for kicking, banning, loading missions, etc.
snak Posted March 24, 2012 Author Posted March 24, 2012 I know Im working my way through it slowly, thanks
Wrecking Crew Posted May 31, 2012 Posted May 31, 2012 [RESOURCE_FUEL] = { "HEMTT", "GSM Rus" }, [RESOURCE_ELEC_POWER] = { "M-818" }, [RESOURCE_GROUND_SERVICE] = { "M-818", "PalatkaB", --self "M-818", --ammo "HEMTT", "GSM Rus", --fuel "M-818", -- elec power "HMMWV_M1025", "KP_UG" --control point } Hi Speed, Do you know - such as for Resource Fuel - do we need both units, HEMTT & GSM Rus, or one or the other? Same question for the Resource Ground Service? I'd like to see it be that all units within the {}s are required... I want to prevent refueling capability until a condition is reached. I don't fly the Black Shark so can't test it... TIA! WC Visit the Hollo Pointe DCS World server -- an open server with a variety of COOP & H2H missions including Combined Arms. All released missions are available for free download, modification and public hosting, from my Wrecking Crew Projects site.
Grimes Posted May 31, 2012 Posted May 31, 2012 You just need one of the units to allow for refueling. With Resource Management on the way, I'm not sure if any of this stuff is going to change or stay the same. I'll run some tests on it to verify. 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
Recommended Posts