forked from igorkis-scrts/A3-Antistasi-Plus
-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'unstable' into ProjInf_Arms_Dealer
- Loading branch information
Showing
75 changed files
with
632 additions
and
187 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#define MAJOR 11 | ||
#define MINOR 2 | ||
#define PATCHLVL 0 | ||
#define PATCHLVL 1 | ||
#define BUILD 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
#include "script_component.hpp" | ||
|
||
private _images = (configfile >> "A3AU_Images") call BIS_fnc_getCfgSubClasses; | ||
|
||
private _cfgNameArray = []; | ||
private _pathArray = []; | ||
private _nameArray = []; | ||
|
||
{ | ||
private _cfgName = _x; | ||
private _path = getText (configFile >> "A3AU_Images" >> _x >> "path"); | ||
private _name = getText (configFile >> "A3AU_Images" >> _x >> "name"); | ||
|
||
_cfgNameArray pushBack _cfgName; | ||
_pathArray pushBack _path; | ||
_nameArray pushBack _name; | ||
} forEach _images; // grab each video entry + data for _x | ||
|
||
[ | ||
"menu_framework_image", // Internal setting name, should always contain a tag! This will be the global variable which takes the value of the setting. | ||
"LIST", // setting type | ||
"Main Menu Background", // Pretty name shown inside the ingame settings menu. Can be stringtable entry. | ||
["Antistasi Ultimate", "Main Menu"], // Pretty name of the category where the setting can be found. Can be stringtable entry. | ||
[_pathArray, _nameArray, 0], // [default value], [name for default value], index for default value | ||
false, // "_isGlobal" flag. Set this to true to always have this setting synchronized between all clients in multiplayer | ||
{ | ||
params ["_value"]; | ||
|
||
profileNamespace setVariable ["menu_framework_image", _value]; | ||
|
||
call A3U_fnc_menuImage; | ||
|
||
if !([player] call A3U_fnc_isInMenu) exitWith {}; | ||
} | ||
] call CBA_fnc_addSetting; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,146 @@ | ||
/* | ||
the "path" value expects a string pointing to an .jpg image file. | ||
the "name" value is what gets used in the cba settings. | ||
*/ | ||
|
||
class intro_empty | ||
{ | ||
path = "None"; | ||
name = "None"; | ||
}; | ||
class intro_a3au | ||
{ | ||
path = QPATHTOFOLDER(data\backgrounds\images\a3au_co.jpg); | ||
name = "Antistasi Ultimate"; | ||
}; | ||
class intro_bwa | ||
{ | ||
path = QPATHTOFOLDER(data\backgrounds\images\bwa_co.jpg); | ||
name = "Bundeswehr"; | ||
}; | ||
class intro_androids_vanguard | ||
{ | ||
path = QPATHTOFOLDER(data\backgrounds\images\androids_1_co.jpg); | ||
name = "Androids (Vanguard)"; | ||
}; | ||
class intro_androids_expeditionary | ||
{ | ||
path = QPATHTOFOLDER(data\backgrounds\images\androids_4_co.jpg); | ||
name = "Androids (Expeditionary)"; | ||
}; | ||
class intro_em | ||
{ | ||
path = QPATHTOFOLDER(data\backgrounds\images\em_co.jpg); | ||
name = "Eastern Militia"; | ||
}; | ||
class intro_wm | ||
{ | ||
path = QPATHTOFOLDER(data\backgrounds\images\wm_co.jpg); | ||
name = "Western Militia"; | ||
}; | ||
class intro_unsc | ||
{ | ||
path = QPATHTOFOLDER(data\backgrounds\images\unsc_1_co.jpg); | ||
name = "The Fall of Reach: New Alexandria"; | ||
}; | ||
class intro_star_clone | ||
{ | ||
path = QPATHTOFOLDER(data\backgrounds\images\snowtrooper_clone_co.jpg); | ||
name = "Star Wars Clone"; | ||
}; | ||
class intro_star_empire | ||
{ | ||
path = QPATHTOFOLDER(data\backgrounds\images\snowtrooper_co.jpg); | ||
name = "Star Wars Empire"; | ||
}; | ||
class intro_ffaa | ||
{ | ||
path = QPATHTOFOLDER(data\backgrounds\images\ffaa_co.jpg); | ||
name = "Spain"; | ||
}; | ||
class intro_italy | ||
{ | ||
path = QPATHTOFOLDER(data\backgrounds\images\italy_co.jpg); | ||
name = "Italy"; | ||
}; | ||
class intro_maps | ||
{ | ||
path = QPATHTOFOLDER(data\backgrounds\images\maps_co.jpg); | ||
name = "Maps"; | ||
}; | ||
class intro_modsets | ||
{ | ||
path = QPATHTOFOLDER(data\backgrounds\images\modsets_co.jpg); | ||
name = "Modsets"; | ||
}; | ||
class intro_chase | ||
{ | ||
path = QPATHTOFOLDER(data\backgrounds\images\chase_co.jpg); | ||
name = "Heli Chase"; | ||
}; | ||
class intro_selfie | ||
{ | ||
path = QPATHTOFOLDER(data\backgrounds\images\selfie_co.jpg); | ||
name = "#Selfie!"; | ||
}; | ||
class intro_stealth | ||
{ | ||
path = QPATHTOFOLDER(data\backgrounds\images\stealth_co.jpg); | ||
name = "Stealth"; | ||
}; | ||
class intro_sunset | ||
{ | ||
path = QPATHTOFOLDER(data\backgrounds\images\sunset_co.jpg); | ||
name = "Sunset"; | ||
}; | ||
class intro_sweden | ||
{ | ||
path = QPATHTOFOLDER(data\backgrounds\images\sweden_co.jpg); | ||
name = "Sweden"; | ||
}; | ||
class intro_transport | ||
{ | ||
path = QPATHTOFOLDER(data\backgrounds\images\transport_co.jpg); | ||
name = "Transport"; | ||
}; | ||
class intro_turkey | ||
{ | ||
path = QPATHTOFOLDER(data\backgrounds\images\turkey_co.jpg); | ||
name = "Turkey"; | ||
}; | ||
class intro_us_army | ||
{ | ||
path = QPATHTOFOLDER(data\backgrounds\images\us_army_co.jpg); | ||
name = "US Army"; | ||
}; | ||
class intro_usmc | ||
{ | ||
path = QPATHTOFOLDER(data\backgrounds\images\usmc_co.jpg); | ||
name = "USMC"; | ||
}; | ||
class intro_vietnam | ||
{ | ||
path = QPATHTOFOLDER(data\backgrounds\images\vietnam_co.jpg); | ||
name = "Vietnam"; | ||
}; | ||
class intro_zombies | ||
{ | ||
path = QPATHTOFOLDER(data\backgrounds\images\zombies_co.jpg); | ||
name = "Zombies"; | ||
}; | ||
class intro_hrLoss | ||
{ | ||
path = QPATHTOFOLDER(data\backgrounds\images\hr_loss_co.jpg); | ||
name = "Rebellion Failed"; | ||
}; | ||
class intro_economicLoss | ||
{ | ||
path = QPATHTOFOLDER(data\backgrounds\images\economic_loss_co.jpg); | ||
name = "Economic Ruin"; | ||
}; | ||
class intro_popLoss | ||
{ | ||
path = QPATHTOFOLDER(data\backgrounds\images\pop_loss_co.jpg); | ||
name = "Population Death"; | ||
}; |
Oops, something went wrong.