Group blacklisting

  1. 8 years ago
    Edited 8 years ago by ElectroEsper

    SOLVED! Groups are casesensitive

    Hi,

    I followed the blacklisting tutorial on the Wiki, however I just can't get it to work.
    I added this to my init.sqf :

    if(isServer) then {
     
    	// -------------------------------------------------------------------------------------------------------------
    	// override default data 
    	// see script/staticData.sqf
    	["MISSION INIT - Waiting"] call ALIVE_fnc_dump;
     
    	waitUntil {!isNil "ALiVE_STATIC_DATA_LOADED"};
     
    	["MISSION INIT - Continue"] call ALIVE_fnc_dump;
     
    	// override static data settings
    	call compile (preprocessFileLineNumbers "scripts\staticData.sqf");
     
    	["MISSION INIT - Static data override loaded"] call ALIVE_fnc_dump;
     
     
     
    	// -------------------------------------------------------------------------------------------------------------
     
    };

    Here's the staticData.sqf:

    ALiVE_PLACEMENT_CUSTOM_GROUPBLACKLIST = [
    "RHS_SPGPlatoon_msv_bm21",
    "RHS_SPGSection_msv_bm21",
    "rhs_group_rus_msv_bmp1_chq",
    "rhs_group_rus_msv_bmp1_squad",
    "rhs_group_rus_msv_bmp1_squad_2mg",
    "rhs_group_rus_msv_bmp1_squad_aa",
    "rhs_group_rus_msv_bmp1_squad_mg_sniper",
    "rhs_group_rus_msv_bmp1_squad_sniper",
    "rhs_group_rus_MSV_bmp3m_chq",
    "rhs_group_rus_MSV_bmp3m_squad",
    "rhs_group_rus_msv_bmp3m_squad_2mg",
    "rhs_group_rus_msv_bmp3m_squad_aa",
    "rhs_group_rus_msv_bmp3m_squad_mg_sniper",
    "rhs_group_rus_msv_bmp3m_squad_sniper",
    "rhs_group_rus_MSV_btr70_chq",
    "rhs_group_rus_MSV_btr70_squad",
    "rhs_group_rus_msv_btr70_squad_2mg",
    "rhs_group_rus_msv_btr70_squad_aa",
    "rhs_group_rus_msv_btr70_squad_mg_sniper",
    "rhs_group_rus_msv_btr70_squad_sniper",
    "rhs_group_rus_MSV_btr80_chq",
    "rhs_group_rus_MSV_btr80_squad",
    "rhs_group_rus_msv_btr80_squad_2mg",
    "rhs_group_rus_msv_btr80_squad_aa",
    "rhs_group_rus_msv_btr80_squad_mg_sniper",
    "rhs_group_rus_msv_btr80_squad_sniper",
    "rhs_group_rus_MSV_btr80a_chq",
    "rhs_group_rus_MSV_btr80a_squad",
    "rhs_group_rus_msv_btr80a_squad_2mg",
    "rhs_group_rus_msv_btr80a_squad_aa",
    "rhs_group_rus_msv_btr80a_squad_mg_sniper",
    "rhs_group_rus_msv_btr80a_squad_sniper",
    "rhs_group_rus_msv_infantry_emr_chq",
    "rhs_group_rus_msv_infantry_emr_fireteam",
    "rhs_group_rus_msv_infantry_emr_MANEUVER",
    "rhs_group_rus_msv_infantry_emr_section_AA",
    "rhs_group_rus_msv_infantry_emr_section_AT",
    "rhs_group_rus_msv_infantry_emr_section_marksman",
    "rhs_group_rus_msv_infantry_emr_section_mg",
    "rhs_group_rus_msv_infantry_emr_squad",
    "rhs_group_rus_msv_infantry_emr_squad_2mg",
    "rhs_group_rus_msv_infantry_emr_squad_mg_sniper",
    "rhs_group_rus_msv_infantry_emr_squad_sniper"
    ];
    
    
    ALiVE_PLACEMENT_CUSTOM_VEHICLEBLACKLIST = [
    "rhs_bmp1k_vmf",
    "rhs_bmp1k_vdv",
    "rhs_bmp1k_vv",
    "rhs_bmp1k_tv",
    "rhs_bmp1k_msv",
    "rhs_bmp1p_tv",
    "rhs_bmp1p_vmf",
    "rhs_bmp1p_vdv",
    "rhs_bmp1p_vv",
    "rhs_bmp1p_msv",
    "rhs_bmp3_msv",
    "rhs_bmp3m_msv",
    "rhs_btr60_vmf",
    "rhs_btr60_vdv",
    "rhs_btr60_vv",
    "rhs_btr60_msv",
    "rhs_btr70_vmf",
    "rhs_btr70_vdv",
    "rhs_btr70_vv",
    "rhs_btr70_msv",
    "rhs_btr80_vmf",
    "rhs_btr80_vdv",
    "rhs_btr80_vv",
    "rhs_btr80_msv",
    "rhs_btr80a_vmf",
    "rhs_btr80a_vdv",
    "rhs_btr80a_vv",
    "rhs_btr80a_msv"
    ];

    So here, I'm unsure if it is because I messed-up or if RHS AFRF strikes again.
    I have it also in the init box of the "ALiVE (Required)" module, yet I still got blacklisted unit that spawns.

    Mod used : RHS Escalation 0.3.9.1 + ACE + CBA 3 + AiATP + FSF N'Ziwasogo + ALiVE

    Thanks for your help.

  2. Edited 8 years ago by SpyderBlack723

    Edit: Oh wait I'm dumb, looks like you did blacklist the groups as well

  3. Edited 8 years ago by ElectroEsper

    Well, I blacklisted both groups and vehicles I don't want to see.

    Sorry, I wasn't clear enough, I'm trying to Blacklist vehicles and the groups that use said vehicles.

    Edit: Ok, now something interesting, I made it work by copy/pasting the group names from the @ALiVE staticData.sqf in the main.pbo.

    Could it be that that these are case sensitive?

    That being said, what the heck is wrong with the AI Commander and RHS : AFRF?!
    The moment I try to altern the russians in anyway (this blacklisting included) the AI Commander give me this (the same problem that I posted too many times about) :

    There are are no groups for OPCOM faction(s) ["rhs_faction_msv"]! Please check if you chose the correct faction, and that the faction has groups defined in the ArmA 3 default categories infantry, motorized, mechanized, armored, air, sea!
  4. Friznit

    20 Oct 2015 Administrator

    Yes they're case sensitive.

    RHS is really tricksy because the mod doesn't define groups in the standard BIS way (they refused to when asked by several people). So we've had to map then manually in staticdata. You may have better luck simply unmapping the bits you don't want.

  5. Edited 8 years ago by ElectroEsper

    So, how would I go about unmapping?

    I know how to map, but unmap I don't.

    Note : That still doesn't explain why the US side of RHS can be messed around with in any form and the AI Commander still picks it up perfectly... Or why the AI Commander can't use those alterned AFRF groups even if they are profiled and registered by the profile handler :S

 

or Sign Up to reply!