Member
Last active 8 years ago
For Insurgents Installations (IED factory , Requirement HQ, Weapon Depot ) are being selected objects like street lamps , barrels and fireplaces . Is there any way to blacklist such objects? When i blew up the nearest building the objective stays active. Need to blew up the lamp for make the objective disappear from the installation markers.. The real problem appear, when the objects is as fireplace or barrel which cant be destroyed. Please help me on this
tf_no_auto_long_range_radio = true;
this is radio_settings.hpp line.
File is located in \Arma 3\userconfig\task_force_radio
Change the line :
tf_no_auto_long_range_radio = 0;
to
tf_no_auto_long_range_radio = 1;
And you do not need to force that anywhere else
If you are trying to set this on server change this on server in the same way.
Hi.
I am trying to find a way to define dominant faction while mission is running.
For now i have this:
fnc_getdominant = { private ["_objectivePosW", "_aliveunitsW", "_entitiesCountW", "_objectivePosE", "_aliveunitsE", "_entitiesCountE", "_w", "_profiledEntCountW", "_profiledVehCountW", "_e", "_profiledEntCountE", "_profiledVehCountE", "_return"]; _objectivePosW = []; _aliveunitsW = []; _entitiesCountW = 0; _objectivePosE = []; _aliveunitsE = []; _entitiesCountE = 0; for "_w" from 0 to count ([OPCOM_instances select 0,"objectives",[]] call ALiVE_fnc_hashGet) -1 do { _objectivePosW pushback (((([OPCOM_instances select 0,"objectives",[]] call ALiVE_fnc_hashGet) select _w ) select 2) select 1); _profiledEntCountW = count ([_objectivePosW select _w, 500, ["WEST","entity"]] call ALIVE_fnc_getNearProfiles); _profiledVehCountW = count ([_objectivePosW select _w, 500, ["WEST","vehicle"]] call ALIVE_fnc_getNearProfiles); _entitiesCountW = _entitiesCountW + (_profiledEntCountW + _profiledVehCountW); }; { if (side _x == West) then { _aliveunitsW pushBack _x; } } forEach allunits; for "_e" from 0 to count ([OPCOM_instances select 1,"objectives",[]] call ALiVE_fnc_hashGet) -1 do { _objectivePosE pushback (((([OPCOM_instances select 1,"objectives",[]] call ALiVE_fnc_hashGet) select _e ) select 2) select 1); _profiledEntCountE = count ([_objectivePosE select _e, 500, ["EAST","entity"]] call ALIVE_fnc_getNearProfiles); _profiledVehCountE = count ([_objectivePosE select _e, 500, ["EAST","vehicle"]] call ALIVE_fnc_getNearProfiles); _entitiesCountE = _entitiesCountE + (_profiledEntCountE + _profiledVehCountE); }; { if (side _x == East) then { _aliveunitsE pushBack _x; } } forEach allunits; _return = [_entitiesCountW + (count _aliveunitsW), _entitiesCountE + (count _aliveunitsE)]; _return };
This is returning count of alive units + profiled for each side in format :
[west, east]
example:
[145,193]
Is that anyway useful to define dominant faction couple times under game play and even end the mission on some big difference between this two indexes?
How to simply count current insurgents installations?
Undefined variable _OPCOM_HANDLER?
Exiting with ALiVE_installationsActive = true where
ALiVE_installationsActive is defined as true already make any sense?
I am asking because i am interested to implement any end mission to alive insurgency
Inside eventhandler code. Put this code inside init field of playable unit. Edit loadout as you wish.
this addEventHandler ["Respawn", { params ["_newP", "_oldP"]; removeAllWeapons _newP; removeAllItems _newP; removeAllAssignedItems _newP; removeUniform _newP; removeVest _newP; removeBackpack _newP; removeHeadgear _newP; removeGoggles _newP; _newP forceAddUniform "U_B_CombatUniform_mcam_vest"; _newP addItemToUniform "NVGoggles"; _newP addItemToUniform "muzzle_snds_338_black"; _newP addVest "V_PlateCarrierGL_rgr"; for "_i" from 1 to 2 do {_newP addItemToVest "HandGrenade";}; _newP addItemToVest "SmokeShell"; _newP addItemToVest "SmokeShellGreen"; _newP addItemToVest "SmokeShellBlue"; _newP addItemToVest "SmokeShellOrange"; _newP addItemToVest "130Rnd_338_Mag"; _newP addBackpack "B_Carryall_mcamo"; for "_i" from 1 to 3 do {_newP addItemToBackpack "130Rnd_338_Mag";}; _newP addHeadgear "H_HelmetB_desert"; _newP addGoggles "G_Combat"; _newP addWeapon "MMG_02_black_F"; _newP addPrimaryWeaponItem "acc_flashlight"; _newP addPrimaryWeaponItem "bipod_01_F_blk"; _newP linkItem "ItemMap"; _newP linkItem "ItemCompass"; _newP linkItem "ItemRadio"; _newP linkItem "ItemGPS"; deleteVehicle _oldP; }];
Do you plan to update ALiVE on BI forums, armaholic and playwithsix?
You can set "respawn" eventhandler for each players with your predefined loadout.
This is happening if faction RHS is used. Change the faction or remove the opcom objective