jack333 Posted March 2, 2024 Posted March 2, 2024 Hi everyone, I would like all Spanish FA-18C pilots to wear the normal helmet without JHMCS since in reality they do not wear it, it is possible to make some modification in the lua file so as not to have to do it in the mission editor. Thank you
Chervo Posted March 3, 2024 Posted March 3, 2024 Add these lines at the bottom of your description.lua custom_args = { [509] = 0.5, --Helmet Change }
jack333 Posted March 4, 2024 Author Posted March 4, 2024 Hi thanks, it works in the planner, but in the game it appears again with the JHMCS helmet
Chervo Posted March 4, 2024 Posted March 4, 2024 It works for me also in game, below you find the end of my test description.lua file. } name = "- USN VFA-106 Gladiators - (c.2016 AD-301 - NAS Oceana - XO)" countries = {"USA"} custom_args = { [27] = 1.0, -- Tail change of type of board number (0.0 -default USA, 0.1-) [31] = 1.0, -- Tail First Digit [32] = 1.0, -- Tail Second Digit [442] = 1.0, -- Tail Third Digit [1000] = 1.0, -- Flaps [1001] = 1.0, -- Nose [1002] = 1.0, -- Kuwait Squadron [1003] = 0.0, -- Australian Squadron [1004] = 1.0, -- Finland Squadron [1005] = 1.0, -- Switzerland Squadron [1006] = 1.0, -- Blue Angels Jet Team [509] = 0.5, --Helmet Change }
Mistermann Posted March 5, 2024 Posted March 5, 2024 (edited) 16 hours ago, Chervo said: It works for me also in game, below you find the end of my test description.lua file. } name = "- USN VFA-106 Gladiators - (c.2016 AD-301 - NAS Oceana - XO)" countries = {"USA"} custom_args = { [27] = 1.0, -- Tail change of type of board number (0.0 -default USA, 0.1-) [31] = 1.0, -- Tail First Digit [32] = 1.0, -- Tail Second Digit [442] = 1.0, -- Tail Third Digit [1000] = 1.0, -- Flaps [1001] = 1.0, -- Nose [1002] = 1.0, -- Kuwait Squadron [1003] = 0.0, -- Australian Squadron [1004] = 1.0, -- Finland Squadron [1005] = 1.0, -- Switzerland Squadron [1006] = 1.0, -- Blue Angels Jet Team [509] = 0.5, --Helmet Change } Is there a list somewhere of all the custom args and what values do what? These args < 1000 are new to me. Thanks! Edited March 5, 2024 by Mistermann Autocorrect System Specs: Spoiler Callsign:Kandy Processor:13th Gen Intel(R) Core(TM) i9-13900K - RAM: 64GB - Video Card: NVIDIA RTX 4090 - Display: Pimax 8kx VR Headset - Accessories: VKB Gunfighter III MCG Ultimate, VKB STECS Standard, Thrustmaster TPR Pedals, Simshaker JetPad, Predator HOTAS Mounts, 3D Printed Flight Button Box Video Capture Software: Open Broadcaster Software (OBS), Video Editing Software: PowerDirector 365 Into The Jungle Apache Campaign - Griffins Kiowa Campaign - Assassins Thrustmaster TWCS Mod
Spartan111sqn Posted March 5, 2024 Posted March 5, 2024 On 3/2/2024 at 5:17 PM, jack333 said: Hi everyone, I would like all Spanish FA-18C pilots to wear the normal helmet without JHMCS since in reality they do not wear it, it is possible to make some modification in the lua file so as not to have to do it in the mission editor. Thank you They have the Scorpion one
Chervo Posted March 6, 2024 Posted March 6, 2024 @Jack333, can you upload your Description.lua may I can help then.
Stratos Posted March 6, 2024 Posted March 6, 2024 Only works on the F/A-18? Would be amazing to get proper helmet for the F-5E. I don't understand anything in russian except Davai Davai!
jack333 Posted March 8, 2024 Author Posted March 8, 2024 En 6/3/2024 a las 16:52, Chervo dijo: @Jack333, can you upload your Description.lua may I can help then. livery = { {"f18c1", 0 ,"F18C_1_DIFF_1_Spain",false}; {"f18c1", 1 ,"F18C_1_DIFF_nm",false}; {"f18c1", ROUGHNESS_METALLIC ,"F18C_1_DIF_RoughMet",false}; {"f18c2", 0 ,"F18C_1_DIFF_2_Spain",false}; {"f18c2", 1 ,"F18C_2_DIFF_nm",false}; {"f18c2", ROUGHNESS_METALLIC ,"F18C_2_DIF_RoughMet",false}; {"FPU_8A", 0 ,"FPU_8A",false}; {"FPU_8A", ROUGHNESS_METALLIC ,"FPU_8A_Diff_RoughMet",false}; --Stay / Covers {"f18c_stay", 0, "F18C_1_DIFF_STAY_ala 12", false}; --Cockpit {"pilot_F18_patch", 0 ,"pilot_F18_patch_ALA12",false}; {"pilot_F18_patch", 1 ,"Pilot_F18_Patch_NORM",false}; {"pilot_F18_patch", 13 ,"Pilot_F18_Patch_RoughMet",false}; {"f18c_wheel_101", 0, "f18c_wheel", false}; {"f18c_wheel_102", 0, "f18c_wheel", false}; {"f18c_wheel_103", 0, "f18c_wheel", false}; {"f18c2_kil_left" , DECAL , "empty", true}; {"f18c2_kil_right" , DECAL , "empty", true}; --helmet {"pilot_F18_helmet_hmd", 0, "pilot_f18_helmet_hmd",false}; {"pilot_F18_helmet_hmd", 1, "pilot_f18_helmet_hmd_nm",false}; {"pilot_F18_helmet_hmd", ROUGHNESS_METALLIC, "pilot_f18_helmet_hmd_roughmet",false}; {"pilot_F18_helmet", DIFFUSE, "pilot_f18_helmet", false}; {"pilot_F18_helmet", NORMAL_MAP, "pilot_f18_helmet_nm", false}; {"pilot_F18_helmet", ROUGHNESS_METALLIC, "pilot_f18_helmet_roughmet", false}; } name = "ALA 12-gatos-lider-clean" custom_args = { [27] = 1.0, -- Tail change of type of board number (0.0 -default USA, 0.1- ) [1000] = 1.0, -- Flaps [1001] = 1.0, -- Nose [1002] = 1.0, -- Kuwait Squadron [1003] = 0.0, -- Australian Squadron [1004] = 1.0, -- Finland Squadron [1005] = 1.0, -- Switzerland Squadron [1006] = 1.0, -- Blue Angels Jet Team [509] = 0.5, --Helmet Change }
Chervo Posted March 10, 2024 Posted March 10, 2024 Tested your description.LUA and it works fine on my system, the pilot helmet is shown without JHMCS. For testing I start a mission and change then the livery by command to the ground crew.
jack333 Posted March 13, 2024 Author Posted March 13, 2024 Hi, you are right but that applies only to my pilot, not to my wingman.
Recommended Posts