IndeedPete 1038 Posted November 19, 2015 Heya! A few days ago I was wondering why my modded multi-crew helis (Ghosthawk and Taru at least) would still have vanilla crewmen. The pilots are the correct ones from my mod, just the crewmen (door gunner / cargo lift operator) are wrong. Working my way through the config I believe I have found the root of all evil. In case of the Ghosthawk, this turret config defines one of the gunners: configfile >> "CfgVehicles" >> "IP_B_Heli_Transport_01_F_EFSnow" >> "Turrets" >> "MainTurret" There's the "gunnerType" property. I've attempted to overwrite it by inheriting the original and just changing that particular property. Here's my first config attempt: class IP_B_Heli_Transport_01_F_EF: B_Heli_Transport_01_F { crew = "IP_B_Helipilot_F_EF"; displayname = "UH-80 Ghost Hawk (EF, Black)"; faction = "IP_EUROFORCE"; hiddenSelectionsTextures[] = {"\IP_EUROFORCE\air\txt\Heli_Transport_01_ext01_COEFBlack.paa","\IP_EUROFORCE\air\txt\Heli_Transport_01_ext02_COEFBlack.paa"}; typicalCargo[] = {"IP_B_Helipilot_F_EF"}; vehicleClass = "IP_Air_EF"; class Turrets; class Turrets: Turrets { class MainTurret; class MainTurret: MainTurret { gunnerType = "IP_B_helicrew_F_EF"; }; }; }; This however does not work. The turret config just stays vanilla and the crewman is still wrong. I've tried to inherit the Turrets and MainTurret classes on the top level as well: class CfgVehicles { class Turrets; class MainTurret; ... }; This only resulted in errors. I'll just paste the first one here, there are tons of them about missing different properties: 23:31:21 Warning Message: No entry 'config.bin/CfgVehicles/Turrets.scope'. Would love if someone could get me out of this. It's late here and I've been working all day so it might just be my mind giving up. Am I missing something? Share this post Link to post Share on other sites
IndeedPete 1038 Posted November 21, 2015 *Softly bumping.* Share this post Link to post Share on other sites
mallinga 4 Posted December 2, 2020 Hello IndeedPete, I know its 5 years...you probably came across a solution? I have the exact same problem right now... :( 1 Share this post Link to post Share on other sites
IndeedPete 1038 Posted December 4, 2020 Apparently, I did. Check sample below. class IP_B_KSK_Heli_Transport_01_Base_F: B_Heli_Transport_01_F { displayName = "KSK Heli Transport 01 Base"; scope = 0; class Turrets; }; class IP_B_KSK_Heli_Transport_01_Base_H: IP_B_KSK_Heli_Transport_01_Base_F { class Turrets: Turrets { class CopilotTurret; class MainTurret; class RightDoorGun; }; }; class IP_B_KSK_Heli_Transport_01_F: IP_B_KSK_Heli_Transport_01_Base_H { crew = "IP_B_KSK_Heli_Pilot_F"; // Yadda, yadda... typicalCargo[] = {"IP_B_KSK_Soldier_F"}; class Turrets: Turrets { class CopilotTurret: CopilotTurret { gunnerType = "IP_B_KSK_Heli_Pilot_F"; }; class MainTurret: MainTurret { gunnerType = "IP_B_KSK_Heli_Pilot_F"; }; class RightDoorGun: RightDoorGun { gunnerType = "IP_B_KSK_Heli_Pilot_F"; }; }; }; 1 Share this post Link to post Share on other sites
mallinga 4 Posted December 6, 2020 I see my problem now. Thank you so much!! Share this post Link to post Share on other sites
mallinga 4 Posted January 22, 2021 Well, there is somehow a problem with the taru version of this. For some reason it cant be loaded with troops anymore. I cant figure out what I did wrong.... Spoiler class O_Heli_Transport_04_bench_F; class CSAT_WINTER_HELI_TRANSPORT_TARU_BENCH_Base_F: O_Heli_Transport_04_bench_F { displayName = "CSAT_WINTER_HELI_TRANSPORT_TARU_BENCH_Base_F"; scope = 0; class Turrets; }; class CSAT_WINTER_HELI_TRANSPORT_TARU_BENCH_Base_H: CSAT_WINTER_HELI_TRANSPORT_TARU_BENCH_Base_F { class Turrets: Turrets { class CopilotTurret; class LoadmasterTurret; }; }; class TARU_BENCH_WINTER_HEX: CSAT_WINTER_HELI_TRANSPORT_TARU_BENCH_Base_H { editorPreview="\CSAT_Winter_Data\EditorPreviews\TARU_BENCH_WINTER_HEX.jpg"; scope=2; scopeCurator=2; crew="HELICOPTER_PILOT_WINTER_HEX"; textureList[]={}; faction="CSAT_Winter"; displayName="Mi-290 Taru (Bench, Hex)"; author="STA|G.DrunkeN"; HiddenSelectionsTextures[]= { "\CSAT_Winter_Helicopters\Data\Taru\Heli_Transport_04_base_01_co.paa", "\CSAT_Winter_Helicopters\Data\Taru\Heli_Transport_04_base_02_co.paa", "\A3\Air_F_Heli\Heli_Transport_04\Data\Heli_Transport_04_bench_CO.paa" }; editorSubcategory="CSAT_Winter_Helicopters_Hex"; typicalCargo[] = {"RIFLEMAN_WINTER_HEX"}; supplyRadius = 2; availableForSupportTypes[] = {"Transport"}; class Turrets: Turrets { class CopilotTurret: CopilotTurret { gunnerType = "HELICOPTER_PILOT_WINTER_HEX"; }; class LoadmasterTurret: LoadmasterTurret { gunnerType = "HELICOPTER_CREW_WINTER_HEX"; }; }; }; I even extracted the configs and compared them.... they are basically identical (except minor stuff like soldier classes and author ect). What am I doing wrong? Share this post Link to post Share on other sites
mallinga 4 Posted January 23, 2021 I figured it out. For a Taru (Bench) (O_Heli_Transport_04_bench_F) You have to declare and inherit the cargo turrets, too. Spoiler class O_Heli_Transport_04_bench_F; // original Taru (Bench) class New_Heli_Base_F: O_Heli_Transport_04_bench_F // new Taru base1 class to declare turret class { displayName = "New_Heli_Base_F"; scope = 0; class Turrets; }; class New_Heli_Base_H: New_Heli_Base_F // new Taru base2 class to declare the turrets to be chaned and the cargo turrets to inherit { class Turrets: Turrets { class CopilotTurret; class LoadmasterTurret; class CargoTurret_01; class CargoTurret_02; class CargoTurret_03; class CargoTurret_04; class CargoTurret_05; class CargoTurret_06; class CargoTurret_07; class CargoTurret_08; }; }; class New_Heli_F: New_Heli_Base_H // your new Taru Bench { // bla bla bla (chaning parameters of your choice here) HiddenSelectionsTextures[]= { "\youreTexturePath", "\youreTexturePath", "\A3\Air_F_Heli\Heli_Transport_04\Data\Heli_Transport_04_bench_CO.paa" }; class Turrets: Turrets { class CopilotTurret: CopilotTurret { gunnerType = "yourGuyHere"; }; class LoadmasterTurret: LoadmasterTurret { gunnerType = "yourGuyHere"; }; class CargoTurret_01: CargoTurret_01 {}; class CargoTurret_02: CargoTurret_02 {}; class CargoTurret_03: CargoTurret_03 {}; class CargoTurret_04: CargoTurret_04 {}; class CargoTurret_05: CargoTurret_05 {}; class CargoTurret_06: CargoTurret_06 {}; class CargoTurret_07: CargoTurret_07 {}; class CargoTurret_08: CargoTurret_08 {}; }; }; Share this post Link to post Share on other sites
CRCError1970 14 Posted February 12, 2023 Hey! Thanks SO much.... This was driving me crazy tonight. I was trying to add the Taru Bench to a new Independent Faction and was pulling my hair out trying to get rid of the CSAT Loadmaster. Share this post Link to post Share on other sites