Advertisement
FloatyBoi

config file

Sep 24th, 2023
266
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SQF 1.58 KB | None | 0 0
  1.  
  2. class CfgPatches
  3. {
  4.     class MyAddon
  5.     {
  6.         // Meta information for editor
  7.         name = "my_fps";
  8.         author = "FloatyBoi";
  9.         url = "http://xkcd.com";
  10.  
  11.         // Minimum compatible version. When the game's version is lower, pop-up warning will appear when launching the game. Note: was disabled on purpose some time late into Arma 2: OA.
  12.         requiredVersion = 1.60;
  13.         // Required addons, used for setting load order. (CfgPatches classname NOT PBO filename!)
  14.         // When any of the addons are missing, a pop-up warning will appear when launching the game.
  15.         requiredAddons[] = { "A3_Functions_F" , "DNI_ZeusFPSMonitor" };
  16.         // List of objects (CfgVehicles classes) contained in the addon. Important also for Zeus content (units and groups) unlocking.
  17.         units[] = {};
  18.         // List of weapons (CfgWeapons classes) contained in the addon.
  19.         weapons[] = {};
  20.  
  21.    
  22.     };
  23. };
  24.  
  25. class CfgFunctions //Script converted to function to be run at the beginning of missions.
  26. {
  27.     class FPS //Prefix or tag to keep things tidy. Register it on http://www.ofpec.com/tags/ to aid in compatibility with other addons/mods. See this for a better explanation http://www.ofpec.com/faq/index.php?action=read&cat=202&id=56
  28.     {
  29.         tag = "FPS";
  30.         class startup //Define for postInit below. It looks for files with this format fn_thisClassName.sqf (fn_clientFPSinit.sqf)
  31.         {
  32.             file = "\My_Addon\functions";// Location of the .sqf function within the .pbo file.
  33.             class spawnScript{postInit = 1;};
  34.         }; //Call the function at the beginning of every mission. https://community.bistudio.com/wiki/Functions_Library_(Arma_3)#Pre_and_Post_Init
  35.     };
  36. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement