mirror of
https://github.com/projectbraf/braf_factions.git
synced 2026-06-13 13:53:28 +00:00
@@ -28,6 +28,11 @@ class CfgVehicles
|
||||
skipWhenMissingDependencies = 1;
|
||||
|
||||
#include "thug_opfor_units_CUP.hpp"
|
||||
class Item_Base_F;
|
||||
class U_I_C_Soldier_Bandit_4_F: Item_Base_F
|
||||
{
|
||||
modelSides[] = {3,2,1,0};
|
||||
};
|
||||
};
|
||||
#endif
|
||||
|
||||
|
||||
@@ -84,8 +84,9 @@ _currentMagazine = getArray ( configFile >> "CfgWeapons" >> primaryWeapon _unit
|
||||
_definedWeapon = (selectRandom _weapon);
|
||||
_unit addWeaponGlobal _definedWeapon;
|
||||
|
||||
_compatibleMagazines = _compatibleMagazines - magazineBlacklist;
|
||||
|
||||
_compatibleMagazines = compatibleMagazines _definedWeapon;
|
||||
_compatibleMagazines = _compatibleMagazines - magazineBlacklist;
|
||||
|
||||
_magazine = (selectRandom _compatibleMagazines);
|
||||
_unit addMagazines [_magazine, 6];
|
||||
@@ -38,8 +38,9 @@ _currentMagazine = getArray ( configFile >> "CfgWeapons" >> primaryWeapon _unit
|
||||
_definedWeapon = (selectRandom _sniper);
|
||||
_unit addWeaponGlobal _definedWeapon;
|
||||
|
||||
_compatibleMagazines = _compatibleMagazines - magazineBlacklist;
|
||||
|
||||
_compatibleMagazines = compatibleMagazines _definedWeapon;
|
||||
_compatibleMagazines = _compatibleMagazines - magazineBlacklist;
|
||||
|
||||
|
||||
_magazine = (selectRandom _compatibleMagazines);
|
||||
|
||||
@@ -106,4 +106,8 @@ Vests = [
|
||||
"braf_ephod_vest"
|
||||
];
|
||||
|
||||
_unit addVest (selectRandom Vests);
|
||||
_randomVests = selectRandom Vests;
|
||||
if (_randomVests != "") then
|
||||
{
|
||||
_unit addVest _randomVests;
|
||||
}; // IF Statement criado para parar com erros no log
|
||||
@@ -140,6 +140,20 @@ facewears = [
|
||||
"CUP_G_WristWatch",
|
||||
"G_EyeProtectors_F"
|
||||
];
|
||||
_unit forceAddUniform (selectRandom suits);
|
||||
_unit addHeadgear (selectRandom headgears);
|
||||
_unit addGoggles (selectRandom facewears);
|
||||
_randomSuit = selectRandom suits;
|
||||
if (_randomSuit != "") then
|
||||
{
|
||||
_unit forceAddUniform _randomSuit;
|
||||
}; // IF Statement criado por que sim
|
||||
|
||||
_randomHeadgear = selectRandom headgears;
|
||||
if (_randomHeadgear != "") then
|
||||
{
|
||||
_unit addHeadgear _randomHeadgear;
|
||||
}; // IF Statement criado para parar com erros no log
|
||||
|
||||
_randomFacewears = selectRandom facewears;
|
||||
if (_randomFacewears != "") then
|
||||
{
|
||||
_unit addGoggles _randomFacewears;
|
||||
}; // IF Statement criado para parar com erros no log
|
||||
@@ -26,6 +26,10 @@ suits = [
|
||||
];
|
||||
|
||||
headgears = [
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
@@ -101,6 +105,20 @@ facewears = [
|
||||
"CUP_G_WristWatch",
|
||||
"G_EyeProtectors_F"
|
||||
];
|
||||
_unit forceAddUniform (selectRandom suits);
|
||||
_unit addHeadgear (selectRandom headgears);
|
||||
_unit addGoggles (selectRandom facewears);
|
||||
_randomSuit = selectRandom suits;
|
||||
if (_randomSuit != "") then
|
||||
{
|
||||
_unit forceAddUniform _randomSuit;
|
||||
}; // IF Statement criado por que sim
|
||||
|
||||
_randomHeadgear = selectRandom headgears;
|
||||
if (_randomHeadgear != "") then
|
||||
{
|
||||
_unit addHeadgear _randomHeadgear;
|
||||
}; // IF Statement criado para parar com erros no log
|
||||
|
||||
_randomFacewears = selectRandom facewears;
|
||||
if (_randomFacewears != "") then
|
||||
{
|
||||
_unit addGoggles _randomFacewears;
|
||||
}; // IF Statement criado para parar com erros no log
|
||||
2
meta.cpp
2
meta.cpp
@@ -1,4 +1,4 @@
|
||||
protocol = 1;
|
||||
publishedid = 2740442349;
|
||||
publishedid = 2951736528;
|
||||
name = "BRAF Factions";
|
||||
timestamp = 5249571359750490509;
|
||||
|
||||
Reference in New Issue
Block a user