logos, begin to acify, enable debug console

This commit is contained in:
commy2 2017-12-22 10:19:30 +01:00
parent 1c2ebd0452
commit 0a4c464af8
8 changed files with 42 additions and 32 deletions

View File

@ -17,12 +17,12 @@ class RscDisplayMain: RscStandardDisplay {
tooltip = CSTRING(Mission_tooltip); tooltip = CSTRING(Mission_tooltip);
y = "(3 * 1.5) * (pixelH * pixelGrid * 2) + (pixelH)"; y = "(3 * 1.5) * (pixelH * pixelGrid * 2) + (pixelH)";
onbuttonclick = QUOTE(playMission [ARR_2('','PATHTOF(missions\Arsenal.VR)')]); onbuttonclick = QUOTE(playMission [ARR_2('','PATHTOF(missions\Arsenal.VR)')]);
animTextureNormal = "\a3\Ui_f\data\GUI\Rsc\RscDisplayMain\buttonMenu_ca.paa"; //@todo custom icons animTextureNormal = QPATHTOF(data\buttonMissionMainMenu_ca.paa)
animTextureDisabled = "\a3\Ui_f\data\GUI\Rsc\RscDisplayMain\buttonMenu_ca.paa"; animTextureDisabled = QPATHTOF(data\buttonMissionMainMenu_ca.paa)
animTextureOver = "\a3\Ui_f\data\GUI\Rsc\RscDisplayMain\buttonMenuHover_ca.paa"; animTextureOver = QPATHTOF(data\buttonMissionMainMenuHover_ca.paa)
animTextureFocused = "\a3\Ui_f\data\GUI\Rsc\RscDisplayMain\buttonMenuHover_ca.paa"; animTextureFocused = QPATHTOF(data\buttonMissionMainMenuHover_ca.paa)
animTexturePressed = "\a3\Ui_f\data\GUI\Rsc\RscDisplayMain\buttonMenu_ca.paa"; animTexturePressed = QPATHTOF(data\buttonMissionMainMenu_ca.paa)
animTextureDefault = "\a3\Ui_f\data\GUI\Rsc\RscDisplayMain\buttonMenu_ca.paa"; animTextureDefault = QPATHTOF(data\buttonMissionMainMenu_ca.paa)
}; };
class FieldManual: Bootcamp { class FieldManual: Bootcamp {
y = "(4 * 1.5) * (pixelH * pixelGrid * 2) + (pixelH)"; y = "(4 * 1.5) * (pixelH * pixelGrid * 2) + (pixelH)";

Binary file not shown.

Binary file not shown.

View File

@ -1,26 +1,26 @@
dev = "Karel"; #include "script_component.hpp"
author = $STR_A3_Bohemia_Interactive;
onLoadName = $STR_A3_Arsenal; dev = "commy2";
overviewText = $STR_A3_Arsenal_overviewText; author = ECSTRING(common,ACETeam);
overviewPicture = "\A3\Ui_f\data\Logos\arsenal_1024_ca.paa";
onLoadName = CSTRING(Mission);
overviewText = CSTRING(Mission_overview);
overviewPicture = "logo.paa";
briefing = 0; briefing = 0;
debriefing = 0; debriefing = 0;
enableDebugConsole = 2;
doneKeys[] = {"BIS_Arsenal.Map_VR_done"}; doneKeys[] = {"BIS_Arsenal.Map_VR_done"};
onPauseScript[] = {"arsenal_fnc_onPauseScript"}; onPauseScript[] = {"arsenal_fnc_onPauseScript"};
class CfgFunctions class CfgFunctions {
{ class Arsenal {
class Arsenal class Misc {
{ class createTarget {file = "fn_createTarget.sqf";};
class Misc class onPauseScript {file = "fn_onPauseScript.sqf";};
{ class opened {file = "fn_opened.sqf";};
class createTarget {file = "fn_createTarget.sqf";}; class closed {file = "fn_closed.sqf";};
class onPauseScript {file = "fn_onPauseScript.sqf";}; };
class opened {file = "fn_opened.sqf";}; };
class closed {file = "fn_closed.sqf";}; };
};
};
};

View File

@ -1,11 +1,16 @@
disableserialization; #include "script_component.hpp"
_display = _this select 0;
_ctrlButtonAbort = _display displayctrl 104; params ["_display"];
_ctrlButtonAbort ctrlsettext localize (["STR_A3_Arsenal","STR_A3_Garage"] select (missionnamespace getvariable ["bis_typeLast",0]));
_ctrlButtonAbort ctrlseteventhandler [ private _ctrlButtonAbort = _display displayCtrl 104;
"buttonclick", _ctrlButtonAbort ctrlSetText localize LSTRING(Mission);
"(ctrlparent (_this select 0)) closedisplay 2; ['Open',true] spawn (uinamespace getvariable (['bis_fnc_arsenal','bis_fnc_garage'] select bis_typeLast)); true" _ctrlButtonAbort ctrlSetEventHandler [
"ButtonClick", {
params ["_control"];
ctrlParent _control closeDisplay 2;
["Open", true] spawn (uiNamespace getVariable "bis_fnc_arsenal"); //@todo
true
} call EFUNC(common,codeToString)
]; ];
true true

Binary file not shown.

View File

@ -0,0 +1 @@
#include "\z\ace\addons\arsenal\script_component.hpp"

View File

@ -441,5 +441,9 @@
<English>View and try out different weapons, equipment and vehicles.</English> <English>View and try out different weapons, equipment and vehicles.</English>
<German>Sieh dir verschiedene Waffen, Ausrüstung und Fahrzeuge an und probiere sie aus.</German> <German>Sieh dir verschiedene Waffen, Ausrüstung und Fahrzeuge an und probiere sie aus.</German>
</Key> </Key>
<Key ID="STR_ACE_Arsenal_Mission_overview">
<English>View and try out different weapons, equipment and vehicles.</English>
<German>Sieh dir verschiedene Waffen, Ausrüstung und Fahrzeuge an und probiere sie aus.</German>
</Key>
</Package> </Package>
</Project> </Project>