This is an old revision of the document!


Service Password
Dropbox <decrypt>U2FsdGVkX19Qq916unzuYO1JMWgSlLYEcfCaCuZGm+w=</decrypt>
Google <decrypt>U2FsdGVkX19/2BGOMe/KUdJ0OEMl3r+stCl13hOKGdA=</decrypt>
Arma <decrypt>U2FsdGVkX1+hA+LFAZvLnG1eX6ihtcLxSD+SzYbc9oc=</decrypt>

config.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
class CfgPatches
{
    class cbb_compat_sma3
    {
        name = "CBB Compatibility Iaksky SMA3";
        units[] = {};
        weapons[] = {};
        requiredVersion = 0.1;
        requiredAddons[] = {"cbb_a3_core","iansky_opt"};
        author = "Clear Backblast!";
        addonRootClass = "A3_Characters_F";
    };
};
 
 
class ItemCore;
class CfgWeapons {
    class iansky_nfbeast : ItemCore {
        ACE_ScopeAdjust_Horizontal[] = {-6,6};
        ACE_ScopeAdjust_HorizontalIncrement = 0.1;
        ACE_ScopeAdjust_Vertical[] = {-4,30};
        ACE_ScopeAdjust_VerticalIncrement = 0.1;
    };
};

init.sqf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
params['_vic','_unit','_args'];
_args params['_weaponClass','_weaponName','_weaponPath'];
 
private _actions = [];
private _magazines = _weaponClass call cbb_vehiclereloading_fnc_getWeaponMagazines;
 
{
    _x params['_class','_name'];
    private _action = [
        _class,
        _name,
        "",
        {},
        {true},
        {
            _this call cbb_vehiclereloading_fnc_actions_getLoadActions;
        },
        [_weaponClass,_weaponPath,_class]
    ] call ace_interact_menu_fnc_createAction;
 
    _actions pushBack [_action,[],_vic];
} foreach _magazines;
_actions

  • Last modified: 7 years ago
  • (external edit)