Arma 3
Not enough ratings
[FOX] CFP
   
Award
Favorite
Favorited
Unfavorite
Data Type: Mod
Mod Type: Character
File Size
Posted
475.419 KB
18 Feb @ 11:39am
1 Change Note ( view )

Subscribe to download
[FOX] CFP

Description


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 Comments
Dimon UA 21 Feb @ 9:56am 
The developers of the С
FP specifically left the opportunity for mapmakers to be able to disable this nuance
Dimon UA 21 Feb @ 9:54am 
This is a global variable that is written once.
Phil  [author] 21 Feb @ 6:43am 
@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 Feb @ 3:27am 
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  [author] 18 Feb @ 11:45am 
No need for photos, just config patch to disable broken randomization.