2015-01-15 21:50:48 +00:00
|
|
|
#include "script_component.hpp"
|
|
|
|
|
2015-01-11 16:42:31 +00:00
|
|
|
class CfgPatches {
|
2015-03-14 19:58:05 +00:00
|
|
|
class ADDON {
|
|
|
|
units[] = {};
|
|
|
|
weapons[] = {};
|
|
|
|
requiredVersion = REQUIRED_VERSION;
|
2015-04-09 11:23:29 +00:00
|
|
|
requiredAddons[] = {"ace_interaction"};
|
2015-03-24 04:18:00 +00:00
|
|
|
author[] = {"KoffeinFlummi","Rocko","esteldunedain"};
|
2015-03-14 19:58:05 +00:00
|
|
|
authorUrl = "https://github.com/KoffeinFlummi/";
|
|
|
|
VERSION_CONFIG;
|
|
|
|
};
|
2015-01-11 16:42:31 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
class RscControlsGroup;
|
|
|
|
class RscActiveText;
|
|
|
|
class RscPicture;
|
|
|
|
class RscText;
|
|
|
|
class RscObject;
|
|
|
|
class RscButton;
|
|
|
|
class RscButtonMenuOK;
|
|
|
|
class RscButtonMenuCancel;
|
|
|
|
class RscButtonMenu;
|
|
|
|
class RscEdit;
|
|
|
|
|
2015-01-30 22:06:25 +00:00
|
|
|
class ACE_Settings {
|
|
|
|
class GVAR(BFT_Interval) {
|
|
|
|
value = 1.0;
|
|
|
|
typeName = "SCALAR";
|
|
|
|
};
|
|
|
|
class GVAR(BFT_Enabled) {
|
|
|
|
value = 0;
|
|
|
|
typeName = "BOOL";
|
|
|
|
};
|
|
|
|
class GVAR(BFT_HideAiGroups) {
|
|
|
|
value = 0;
|
|
|
|
typeName = "BOOL";
|
|
|
|
};
|
2015-03-14 19:58:05 +00:00
|
|
|
class GVAR(mapIllumination) {
|
|
|
|
value = 1;
|
|
|
|
typeName = "BOOL";
|
|
|
|
};
|
|
|
|
class GVAR(mapShake) {
|
|
|
|
value = 1;
|
|
|
|
typeName = "BOOL";
|
|
|
|
};
|
|
|
|
class GVAR(mapLimitZoom) {
|
|
|
|
value = 0;
|
|
|
|
typeName = "BOOL";
|
|
|
|
};
|
2015-04-08 04:49:56 +00:00
|
|
|
class GVAR(mapShowCursorCoordinates) {
|
|
|
|
value = 0;
|
|
|
|
typeName = "BOOL";
|
|
|
|
};
|
2015-01-15 09:51:18 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#include "CfgEventHandlers.hpp"
|
|
|
|
#include "CfgMarkers.hpp"
|
|
|
|
#include "CfgVehicles.hpp"
|
|
|
|
|
2015-01-11 16:42:31 +00:00
|
|
|
class RscMapControl {
|
2015-03-14 20:20:25 +00:00
|
|
|
maxSatelliteAlpha = 0.5;
|
2015-03-13 22:34:56 +00:00
|
|
|
|
2015-03-14 20:20:25 +00:00
|
|
|
// From Arma 2
|
2015-04-09 04:28:36 +00:00
|
|
|
colorTracks[] = {0.2,0.13,0,1};
|
|
|
|
colorTracksFill[] = {1,0.88,0.65,0.3};
|
|
|
|
colorRoads[] = {0.2,0.13,0,1};
|
|
|
|
colorRoadsFill[] = {1,0.88,0.65,1};
|
2015-03-14 20:20:25 +00:00
|
|
|
colorMainRoads[] = {0.0,0.0,0.0,1};
|
2015-04-09 04:28:36 +00:00
|
|
|
colorMainRoadsFill[] = {0.94,0.69,0.2,1};
|
2015-03-14 20:20:25 +00:00
|
|
|
colorRailWay[] = {0.8,0.2,0,1};
|
2015-04-09 04:28:36 +00:00
|
|
|
colorGrid[] = {0.05,0.1,0,0.6};
|
|
|
|
colorGridMap[] = {0.05,0.1,0,0.4};
|
2015-03-13 22:34:56 +00:00
|
|
|
|
2015-03-14 20:20:25 +00:00
|
|
|
// From ACE2
|
|
|
|
colorBackground[] = {0.929412, 0.929412, 0.929412, 1.0};
|
|
|
|
colorOutside[] = {0.929412, 0.929412, 0.929412, 1.0};
|
|
|
|
colorCountlines[] = {0.647059, 0.533333, 0.286275, 1};
|
|
|
|
colorMainCountlines[] = {0.858824, 0, 0,1};
|
|
|
|
colorForest[] = {0.6, 0.8, 0.2, 0.25};
|
|
|
|
colorLevels[] = {0.0, 0.0, 0.0, 1.0};
|
|
|
|
colorRocks[] = {0.50, 0.50, 0.50, 0.50};
|
2015-03-13 22:34:56 +00:00
|
|
|
|
2015-03-14 20:20:25 +00:00
|
|
|
sizeExLevel = 0.03;
|
|
|
|
showCountourInterval = 1; // refs #13673
|
2015-03-13 22:34:56 +00:00
|
|
|
|
2015-03-14 19:58:05 +00:00
|
|
|
sizeExGrid = 0.032;
|
2015-01-11 16:42:31 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
// REGULAR MAP
|
|
|
|
class RscDisplayMainMap {
|
2015-03-14 20:20:25 +00:00
|
|
|
// Tweak map styling
|
|
|
|
class controlsBackground {
|
2015-04-08 08:45:57 +00:00
|
|
|
class CA_Map: RscMapControl {
|
|
|
|
onDraw = QUOTE([ctrlParent (_this select 0)] call DFUNC(onDrawMap));
|
2015-03-14 20:20:25 +00:00
|
|
|
#include "MapTweaks.hpp"
|
|
|
|
};
|
|
|
|
};
|
2015-03-14 19:58:05 +00:00
|
|
|
// get rid of the "center to player position" - button (as it works even on elite)
|
|
|
|
class controls {
|
|
|
|
class TopRight: RscControlsGroup {
|
|
|
|
#include "MapControls.hpp"
|
|
|
|
};
|
|
|
|
};
|
|
|
|
// scale up the compass
|
|
|
|
class objects {
|
|
|
|
class Compass: RscObject {
|
|
|
|
scale = 0.7;
|
|
|
|
zoomDuration = 0;
|
|
|
|
};
|
|
|
|
};
|
2015-01-11 16:42:31 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
// DIARY
|
|
|
|
class RscDisplayDiary {
|
2015-03-14 19:58:05 +00:00
|
|
|
// get rid of the "center to player position" - button (as it works even on elite)
|
|
|
|
class controls {
|
|
|
|
class TopRight: RscControlsGroup {
|
|
|
|
class controls {
|
|
|
|
class ButtonPlayer: RscActiveText {
|
|
|
|
text = "";
|
|
|
|
w = 0;
|
|
|
|
h = 0;
|
|
|
|
sizeEx = 0;
|
|
|
|
onButtonClick = "";
|
|
|
|
};
|
|
|
|
class CA_PlayerName: RscText {
|
|
|
|
x = "2 * ( ((safezoneW / safezoneH) min 1.2) / 40)";
|
|
|
|
};
|
|
|
|
class ProfilePicture: RscPicture {
|
|
|
|
x = "13.5 * ( ((safezoneW / safezoneH) min 1.2) / 40)";
|
|
|
|
};
|
|
|
|
class ProfileBackground: RscText {
|
|
|
|
x = "13.3 * ( ((safezoneW / safezoneH) min 1.2) / 40)";
|
|
|
|
};
|
|
|
|
class Separator1: RscPicture {
|
|
|
|
x = "14.5 * ( ((safezoneW / safezoneH) min 1.2) / 40)";
|
|
|
|
};
|
|
|
|
};
|
2015-01-11 16:42:31 +00:00
|
|
|
};
|
|
|
|
};
|
2015-03-14 19:58:05 +00:00
|
|
|
// scale up the compass
|
|
|
|
class objects {
|
|
|
|
class Compass: RscObject {
|
|
|
|
scale = 0.7;
|
|
|
|
zoomDuration = 0;
|
|
|
|
};
|
2015-01-11 16:42:31 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
// BRIEFING SCREEN
|
|
|
|
class RscDisplayGetReady: RscDisplayMainMap {
|
2015-04-08 08:45:57 +00:00
|
|
|
// Tweak map styling
|
|
|
|
class controlsBackground {
|
|
|
|
class CA_Map: RscMapControl {
|
|
|
|
onDraw = QUOTE([ctrlParent (_this select 0)] call DFUNC(onDrawMap));
|
2015-05-05 04:50:03 +00:00
|
|
|
#include "MapTweaks.hpp"
|
2015-04-08 08:45:57 +00:00
|
|
|
};
|
|
|
|
};
|
2015-03-14 19:58:05 +00:00
|
|
|
// get rid of the "center to player position" - button (as it works even on elite)
|
|
|
|
class controls {
|
|
|
|
class TopRight: RscControlsGroup {
|
|
|
|
#include "MapControls.hpp"
|
|
|
|
};
|
|
|
|
};
|
|
|
|
// scale up the compass
|
|
|
|
class objects {
|
|
|
|
class Compass: RscObject {
|
|
|
|
scale = 0.7;
|
|
|
|
zoomDuration = 0;
|
|
|
|
};
|
|
|
|
};
|
2015-01-11 16:42:31 +00:00
|
|
|
};
|
|
|
|
class RscDisplayClientGetReady: RscDisplayGetReady {
|
2015-03-14 19:58:05 +00:00
|
|
|
// get rid of the "center to player position" - button (as it works even on elite)
|
|
|
|
class controls {
|
|
|
|
class TopRight: RscControlsGroup {
|
|
|
|
#include "MapControls.hpp"
|
|
|
|
};
|
|
|
|
};
|
|
|
|
// scale up the compass
|
|
|
|
class objects {
|
|
|
|
class Compass: RscObject {
|
|
|
|
scale = 0.7;
|
|
|
|
zoomDuration = 0;
|
|
|
|
};
|
|
|
|
};
|
2015-01-11 16:42:31 +00:00
|
|
|
};
|
|
|
|
class RscDisplayServerGetReady: RscDisplayGetReady {
|
2015-03-14 19:58:05 +00:00
|
|
|
// get rid of the "center to player position" - button (as it works even on elite)
|
|
|
|
class controls {
|
|
|
|
class TopRight: RscControlsGroup {
|
|
|
|
#include "MapControls.hpp"
|
|
|
|
};
|
|
|
|
};
|
|
|
|
// scale up the compass
|
|
|
|
class objects {
|
|
|
|
class Compass: RscObject {
|
|
|
|
scale = 0.7;
|
|
|
|
zoomDuration = 0;
|
|
|
|
};
|
|
|
|
};
|
2015-01-11 16:42:31 +00:00
|
|
|
};
|