KillahPotatoes / KP-Liberation

The work on GreuhZbugs Liberation Mission for Arma 3 continues...
MIT License
266 stars 302 forks source link

Array for group names in Blufor preset #805

Open tiwaz1994 opened 4 years ago

tiwaz1994 commented 4 years ago

Suggestion/Feature request

Array for group names in preset for more customization

Is your feature request related to a problem? Please describe:

Custom names and adjusted amount of groups would be very usefull when making different kind of scenarios. AA Squads for example make no sense in WW2 scenario. And with some mods you have a lot of flavour with different divisions and branches (Cavalry,Pioneer,Special Forces,Diver...)

Describe the solution you'd like:

In the preset it could look somewhat like this:

/*
["Group 1 name",["unit1","unit2"],"Group 2 name",["unit1","unit2"]];
*/
KP_liberation_blufor_squads = [
    ["Light Squad",[
        "CUP_B_BAF_Soldier_TeamLeader_DPM",
        "CUP_B_BAF_Soldier_Rifleman_DPM",
        "CUP_B_BAF_Soldier_Rifleman_DPM",
        "CUP_B_BAF_Soldier_RiflemanLAT_DPM",
        "CUP_B_BAF_Soldier_Grenadier_DPM",
        "CUP_B_BAF_Soldier_AutoRifleman_DPM",
        "CUP_B_BAF_Soldier_AutoRifleman_DPM",
        "CUP_B_BAF_Soldier_Marksman_DPM",
        "CUP_B_BAF_Soldier_Medic_DPM",
        "CUP_B_BAF_Soldier_Engineer_DPM"
        ],
    ],
    ["AT Squad",[
        "CUP_B_BAF_Soldier_TeamLeader_DPM",
        "CUP_B_BAF_Soldier_Rifleman_DPM",
        "CUP_B_BAF_Soldier_Rifleman_DPM",
        "CUP_B_BAF_Soldier_AT_DPM",
        "CUP_B_BAF_Soldier_AT_DPM",
        "CUP_B_BAF_Soldier_AT_DPM",
        "CUP_B_BAF_Soldier_Medic_DPM",
        "CUP_B_BAF_Soldier_Rifleman_DPM"
        ]
    ]
];
tiwaz1994 commented 4 years ago

Forgot the enhancement label, somehow...