Differences

This shows you the differences between two versions of the page.

Link to this comparison view

playground:playground [2017/02/01 11:54]
Theowningone
playground:playground [2017/11/22 14:57]
Line 1: Line 1:
-<sxh cpp; Title: config.cpp > 
-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!";​ 
- Url = "​http://​www.reddit.com/​r/​clearbackblast/";​ 
- 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; 
- }; 
-}; 
-</​sxh>​ 
- 
-<sxh sqf; Title: init.sqf>​ 
-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 
-</​sxh>​ 
  • Last modified: 7 years ago
  • (external edit)