Arma 3
Няма достатъчно оценки
[FOX] CFP
   
Награда
Добавяне към любими
В любими
Премахване от любими
Data Type: Mod
Mod Type: Character
Размер на файла
Публикуван на
475.419 KB
18 февр. в 11:39
1 бележка за промяна ( преглед )
Описание


Summary:

Removes CFP randomization completely (units, vehicles).
-
Did only quick testing, if something broke please provide feedback.

Maybe i will fix more CFP bugs via addon.

Technical blah blah blah...
config.cpp / Removed init function.
class Extended_PreInit_EventHandlers { ... class cfp_main { init = ""; }; };

XEH_preInit.sqf / Re-added existing functions via own code and compile them, now the existing function is goooone.
["", "CFP_main_fnc_randomizeUnit"] call CBA_fnc_compileFunction; ["", "CFP_main_fnc_randomizeGear"] call CBA_fnc_compileFunction; ["", "CFP_main_fnc_randomizeWeapon"] call CBA_fnc_compileFunction; ["", "CFP_main_fnc_randomizeVehicle"] call CBA_fnc_compileFunction; ["", "CFP_main_fnc_setSpeakerRemote"] call CBA_fnc_compileFunction;
5 коментара
Dimon UA 21 февр. в 9:56 
The developers of the С
FP specifically left the opportunity for mapmakers to be able to disable this nuance
Dimon UA 21 февр. в 9:54 
This is a global variable that is written once.
Phil  [автор] 21 февр. в 6:43 
@Dimon UA, yeah but for Workshop missions like Dynamic Recon Ops, you need to set the vars everytime via debug console on the server or your gear will be f*cked up.
Dimon UA 21 февр. в 3:27 
It is enough to enter these variables in the mission and the function will stop working
if ( _unit getVariable ["NoRandom",false] || _unit getVariable ["CFP_DisableRandom",false]) exitWith {};
Phil  [автор] 18 февр. в 11:45 
No need for photos, just config patch to disable broken randomization.