ORBAT RHS Turrets

  1. 6 years ago

    Hi everyone,

    I have the following Problem: I created a faction based on RHS units with the ORBAT tool. Infantry works great. But the vehicles spawn with only the driver. All other seats are left free.

    Anyone knows how to fix this?

    Example config:

    class CfgVehicles {

    class LOP_TKA_T72BA;
    class LOP_TKA_T72BA_OCimport_01 : LOP_TKA_T72BA { scope = 0; class EventHandlers; class Turrets; };
    class LOP_TKA_T72BA_OCimport_02 : LOP_TKA_T72BA_OCimport_01 {
    class EventHandlers;
    class Turrets : Turrets {
    class MainTurret;
    };
    };

    class O_NDFTFFaction_T72B_obr_1984g_01 : LOP_TKA_T72BA_OCimport_02 {
    author = "HptFw. MoaB";
    scope = 2;
    scopeCurator = 2;
    displayName = "T-72B (obr. 1984g.)";
    side = 0;
    faction = "NDF_TF_Faction";
    crew = "O_NDFTFFaction_Crewman_01";

    class Turrets : Turrets {
    class MainTurret : MainTurret { gunnerType = "O_NDFTFFaction_Crewman_01"; };
    };

    class EventHandlers : EventHandlers {
    class CBA_Extended_EventHandlers : CBA_Extended_EventHandlers_base {};

    class ALiVE_orbatCreator {
    };

    };

    // custom attributes (do not delete)
    ALiVE_orbatCreator_owned = 1;
    ALiVE_orbatCreator_texture = "standard";

    };
    };

  2. In addition to this the unoccupied turrets seem to be locked....I can't get in the according slots after I placed a vehicle with crew in the editor.

  3. You need to edit the vehicle and assign units to each seat.

  4. class MainTurret : MainTurret { gunnerType = "O_NDFTFFaction_Crewman_01"; }; <--- that is precisely what this line does.

    Anyway, I think i fiugured out what was wrong: The vehicles that caused those problems where based on classes from Project OPFOR. Somewhere in the Project OPFOR configs the inheritance of turrets seems to be messed up. When I inherit the configs of RHS vehicles directly everything works perfectly.

 

or Sign Up to reply!