Jump to content

DMZS and overpoch


sego

Recommended Posts

I added the overpoch loot in to the mission system but i tried in the AI config to add some different skins and guns for the AI but it makes the missions spawn with no AI. Below are the two parts i tried changing

// Array of skin classnames for the AI to use
DZMSBanditSkins = ["Bandit1_DZ","BanditW2_DZ"];
 
 
//////////////////////////////////////////////////////////////
// This is the primary weaponlist that can be assigned to AI
// These are assigned based on AI difficulty level
DZMSWeps0 = [
"M16A2",
"M16A2GL",
"AK_74",
"M4A1_Aim",
"AKS_74_kobra",
"AKS_74_U",
"AK_47_M",
"M24",
"M1014",
"DMR_DZ",
"M4A1",
"M14_EP1",
"Remington870_lamp",
"MP5A5",
"MP5SD",
"M4A3_CCO_EP1"
"RH_hk416saim"
"RH_acrb"
"vil_SV_98"
"vil_AG36KV"
"RH_masb"
];
 
DZMSWeps1 = [
"M16A2",
"M16A2GL",
"M249_DZ",
"AK_74",
"M4A1_Aim",
"AKS_74_kobra",
"AKS_74_U",
"AK_47_M",
"M24",
"SVD_CAMO",
"M1014",
"DMR_DZ",
"M4A1",
"M14_EP1",
"Remington870_lamp",
"M240_DZ",
"M4A1_AIM_SD_camo",
"M16A4_ACG",
"M4A1_HWS_GL_camo",
"Mk_48_DZ",
"M4A3_CCO_EP1",
"Sa58V_RCO_EP1",
"Sa58V_CCO_EP1",
"M40A3",
"Sa58P_EP1",
"Sa58V_EP1"
"RH_hk416saim"
"RH_acrb"
"vil_SV_98"
"vil_AG36KV"
"RH_masb"
];
 
DZMSWeps2 = [
"FN_FAL",
"FN_FAL_ANPVS4",
"Mk_48_DZ",
"M249_DZ",
"BAF_L85A2_RIS_Holo",
"G36C",
"G36C_camo",
"G36A_camo",
"G36K_camo",
"AK_47_M",
"AKS_74_U",
"M14_EP1",
"bizon_silenced",
"DMR_DZ",
"RPK_74"
"RH_hk416saim"
"RH_acrb"
"vil_SV_98"
"vil_AG36KV"
"RH_masb"
];
 
DZMSWeps3 = [
"FN_FAL",
"FN_FAL_ANPVS4",
"Mk_48_DZ",
"M249_DZ",
"BAF_L85A2_RIS_Holo",
"G36C",
"G36C_camo",
"G36A_camo",
"G36K_camo",
"AK_47_M",
"AKS_74_U",
"M14_EP1",
"bizon_silenced",
"DMR_DZ",
"RPK_74"
"RH_hk416saim"
"RH_acrb"
"vil_SV_98"
"vil_AG36KV"
"RH_masb"
];
Link to comment
Share on other sites

1) For non-Epoch skins, add them to:

AllPlayers = [....]

in variables.sqf. Otherwise, AI won't spawn.

 

2) Weapons:

 

You're missing a bunch of commas in your weapon arrays:

...
"Sa58V_EP1"
"RH_hk416saim"
"RH_acrb"
"vil_SV_98"
"vil_AG36KV"
"RH_masb"
Link to comment
Share on other sites

I need to add them to this CFGMagazine i think where is that
 
_okSkin = isClass (configFile >> "CfgMagazines" >> _itemNew);
 
if(_okSkin) then {
player playActionNow "Medic";
sleep 3;
_clothesTaken = _body getVariable["clothesTaken",false];
if(!_clothesTaken) then {
_itemNewName = getText (configFile >> "CfgMagazines" >> _itemNew >> "displayName");
_result = [player,_itemNew] call BIS_fnc_invAdd;
        if (_result) then {
_body setVariable["clothesTaken",true,true];
cutText [format["One %1 has been added to your inventory!",_itemNewName], "PLAIN DOWN"];
} else {
cutText [format["You didn't have enough room to store a %1 :(",_itemNewName], "PLAIN DOWN"];
        };
} else {
cutText ["This Skin has already been taken!", "PLAIN DOWN"];
};
} else {
cutText [format["Currently %1 is not supported by the steal skin script.",_skin], "PLAIN DOWN"];
};
Link to comment
Share on other sites

 

I need to add them to this CFGMagazine i think where is that
 
_okSkin = isClass (configFile >> "CfgMagazines" >> _itemNew);
 
if(_okSkin) then {
player playActionNow "Medic";
sleep 3;
_clothesTaken = _body getVariable["clothesTaken",false];
if(!_clothesTaken) then {
_itemNewName = getText (configFile >> "CfgMagazines" >> _itemNew >> "displayName");
_result = [player,_itemNew] call BIS_fnc_invAdd;
        if (_result) then {
_body setVariable["clothesTaken",true,true];
cutText [format["One %1 has been added to your inventory!",_itemNewName], "PLAIN DOWN"];
} else {
cutText [format["You didn't have enough room to store a %1 :(",_itemNewName], "PLAIN DOWN"];
        };
} else {
cutText ["This Skin has already been taken!", "PLAIN DOWN"];
};
} else {
cutText [format["Currently %1 is not supported by the steal skin script.",_skin], "PLAIN DOWN"];
};

 

 

The should already be in a CfgMagazine entry or else you wouldn't be able to get them in game.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...