P

patpowercat

Member

Last active 5 years ago

  1. 8 years ago
    Wed Aug 3 05:12:53 2016
    P patpowercat posted in Blacklist Ignored.

    Ok thanks. Is there any way to do something like that? Blacklist certain units from spawning from certain areas? Just curious

  2. Tue Aug 2 19:01:07 2016
    P patpowercat posted in Blacklist Ignored.

    Negative, 0=execVM "staticdata.sqf" doesn't work, nor does 1=execVM "staticData.sqf"

    Oh well, for now just typing in the blacklist works, just hard to modify/see it in the init block.

    Follow up. If I have a blacklist in a placement module, does it apply to all placement modules or just that one? For example, have a TAOR with blacklisted artillery pieces, but another TAOR where they are not blacklisted?

  3. Tue Aug 2 18:54:41 2016

    Works when executing an .sqf. Thanks!

  4. Fri Jul 29 19:56:15 2016

    Thanks for the suggestion. Will try when I finally get off this week of work.

  5. Tue Jul 26 23:39:35 2016
    P patpowercat posted in 75% Profile speed bug.

    Perfect thanks!

  6. Tue Jul 26 23:39:16 2016
    P patpowercat posted in Blacklist Ignored.

    Spyder is correct. So you're saying trying to run the script from the Alive required module unit field?

  7. Tue Jul 26 03:40:19 2016
    P patpowercat posted in 75% Profile speed bug.

    So this bug is was occurring for me as well. However, not 75% works, but 50% moves it to 25%. Others all work. Just FYI

  8. Mon Jul 25 23:44:50 2016
    P patpowercat started the conversation Blacklist Ignored.

    So I'm having some trouble with my blacklist. I have followed the instructions in the wiki, and I know this has occured for other people in the past. I am using the staticData.sqf method.

    If I put the blacklist into an Alive module init field, it does work. However, the blacklist is a bit long to go into an init field.

    if !(isserver) exitWith {};
    waitUntil {!isnil "ALiVE_STATIC_DATA_LOADED"};
    
    // C2ISTAR Tasks
    
    ALiVE_autoGeneratedTasks = ["MilAssault","CivAssault","Assassination","DestroyInfantry","SabotageBuilding"];
    
    // CUSTOM AIR TRANSPORT FACTION
    
    [ALIVE_factionDefaultAirTransport, "BLU_T_F", ["B_Heli_Transport_03_F"]] call ALIVE_fnc_hashSet;
    
    // CUSTOM BLACKLISTS
    
    ALiVE_PLACEMENT_CUSTOM_GROUPBLACKLIST = [
    // NATO
    "BUS_SPGPlatoon_Scorcher",
    "BUS_SPGSection_Scorcher",
    "BUS_SPGSection_MLRS",
    "BUS_AttackTeam_UAV",
    "BUS_ReconTeam_UAV",
    "BUS_AttackTeam_UGV",
    "BUS_ReconTeam_UGV",
    "BUS_SmallTeam_UAV",
    "BUS_DiverTeam",
    "BUS_DiverTeam_Boat",
    "BUS_DiverTeam_SDV",
    "BUS_InfTeam_AA",
    "BUS_Support_MG",
    "BUS_Support_GMG",
    "BUS_Support_Mort",
    "BUS_MotInf_AA",
    "BUS_MotInf_MGTeam",
    "BUS_MotInf_GMGTeam",
    "BUS_MotInf_MortTeam",
    "BUS_MechInf_AA",
    "BUS_TankPlatoon_AA",
    
    // NATO (PACIFIC)
    "B_T_SPGPlatoon_Scorcher",
    "B_T_SPGSection_Scorcher",
    "B_T_SPGSection_MLRS",
    "B_T_DiverTeam",
    "B_T_DiverTeam_Boat",
    "B_T_DiverTeam_SDV",
    "B_T_SmallTeam_UAV",
    "B_T_ReconTeam_UGV",
    "B_T_AttackTeam_UGV",
    "B_T_ReconTeam_UAV",
    "B_T_AttackTeam_UAV",
    "B_T_InfTeam_AA",
    "B_T_Support_MG",
    "B_T_Support_GMG",
    "B_T_Support_Mort",
    "B_T_MotInf_AA",
    "B_T_MotInf_MGTeam",
    "B_T_MotInf_GMGTeam",
    "B_T_MotInf_MortTeam",
    "B_T_MechInf_AA",
    "B_T_TankPlatoon_AA",
    
    // CSAT
    "OIA_SPGPlatoon_Scorcher",
    "OIA_SPGSection_Scorcher",
    "OIA_TankPlatoon_AA",
    "OIA_MechInf_AA",
    "OIA_MotInf_AA",
    "OIA_MotInf_MGTeam",
    "OIA_MotInf_GMGTeam",
    "OIA_MotInf_MortTeam",
    "OIA_InfTeam_AA",
    "OI_AttackTeam_UAV",
    "OI_ReconTeam_UAV",
    "OI_AttackTeam_UGV",
    "OI_ReconTeam_UGV",
    "OI_SmallTeam_UAV",
    "OI_diverTeam",
    "OI_diverTeam_Boat",
    "OI_diverTeam_SDV",
    
    // CSAT (PACIFIC)
    "O_T_SPGSection_Scorcher",
    "O_T_SPGPlatoon_Scorcher",
    "O_T_TankPlatoon_AA",
    "O_T_MechInf_AA",
    "O_T_MotInf_AA",
    "O_T_MotInf_MGTeam",
    "O_T_MotInf_GMGTeam",
    "O_T_MotInf_MortTeam",
    "O_T_InfTeam_AA",
    "O_T_support_MG",
    "O_T_Support_GMG",
    "O_T_Support_Mort",
    "O_T_diverTeam",
    "O_T_diverTeam_Boat",
    "O_T_diverTeam_SDV",
    "O_T_SmallTeam_UAV",
    "O_T_ReconTeam_UGV",
    "O_T_AttackTeam_UGV",
    "O_T_ReconTeam_UAV",
    "O_T_AttackTeam_UAV",
    
    // AAF
    "HAF_TankPlatoon_AA",
    "HAF_MechInf_AA",
    "HAF_MotInf_AA",
    "HAF_MotInf_MGTeam",
    "HAF_MotInf_GMGTeam",
    "HAF_MotInf_MortTeam",
    "HAF_InfTeam_AA",
    "HAF_AttackTeam_UAV",
    "HAF_ReconTeam_UAV",
    "HAF_AttackTeam_UGV",
    "HAF_ReconTeam_UGV",
    "HAF_SmallTeam_UAV",
    "HAF_DiverTeam",
    "HAF_DiverTeam_Boat",
    "HAF_DiverTeam_SDV"
    ];
     
    ALiVE_PLACEMENT_CUSTOM_VEHICLEBLACKLIST = [
    "B_MBT_01_arty_F",
    "B_MBT_01_mlrs_F",
    "B_MRAP_01_F",
    "B_T_MBT_01_arty_F",
    "B_T_MBT_01_mlrs_F",
    "B_T_MRAP_01_F",
    "B_T_Truck_01_mover_F",
    "B_T_Truck_01_ammo_F",
    "B_T_Truck_01_box_F",
    "B_T_Truck_01_fuel_F",
    "B_T_Truck_01_Medical_F",
    "B_T_Truck_01_Repair_F",
    "B_T_Truck_01_Transport_F",
    "B_T_Truck_01_Covered_F",
    "O_MBT_02_arty_F",
    "O_APC_Tracked_02_AA_F",
    "O_MRAP_02_F",
    "O_T_MBT_02_arty_ghex_F",
    "O_T_APC_Tracked_02_AA_ghex_F",
    "O_T_MRAP_02_ghex_F",
    "O_static_AA_F",
    "I_static_AA_F"
    ];
     
    ALiVE_PLACEMENT_CUSTOM_UNITBLACKLIST = [
    "I_Soldier_AA_F",
    "I_Soldier_AAA_F",
    "O_Soldier_AA_F",
    "O_Soldier_AAA_F",
    "O_soldierU_AA_F",
    "O_soldierU_AAA_F",
    "O_T_soldier_AA_F",
    "O_T_soldier_AAA_F",
    "B_soldier_AA_F",
    "B_soldier_AAA_F",
    "B_T_soldier_AA_F",
    "B_T_soldier_AAA_F"
    ];
     
    ALiVE_MIL_CQB_CUSTOM_UNITBLACKLIST = [
    "B_soldier_AA_F",
    "B_soldier_AAA_F",
    "B_T_soldier_AA_F",
    "B_T_soldier_AAA_F",
    "I_Soldier_AA_F",
    "I_Soldier_AAA_F",
    "O_Soldier_AA_F",
    "O_Soldier_AAA_F",
    "O_soldierU_AA_F",
    "O_soldierU_AAA_F",
    "O_T_soldier_AA_F",
    "O_T_soldier_AAA_F"
    ];

    I know the staticData.sqf is being loaded, because the C2ISTAR tasks are set, and the faction transport helicopter change also works. Is the blacklist just too long? I don't get any errors when loading the mission, and I originally did when I was missing a comma here and there.

  9. Sun Jul 24 16:29:36 2016

    Should just be in the on act of the trigger. Change thisTrigger to your trigger name, and you can change the other variables as well (class name, callsign, etc.)

  10. Sun Jul 24 03:26:16 2016

    Still nothing. Still get the error about local variable in global space when placing _randomGroup and not "_randomGroup".

    Only the original script specifying a specific group works for me. Oh well, thank you so much for the effort!

View more