Okay, here are the two files.
Satellite:
// description.ext of Strategic Commando Force
// see http://home.arcor.de/vektorboson for news
// or email vektorboson@gmx.de
// original from BIS, modified by vektorboson
// thanks to KTottE for some hints
// Control types
#define CT_STATIC 0
#define CT_BUTTON 1
#define CT_EDIT 2
#define CT_SLIDER 3
#define CT_COMBO 4
#define CT_LISTBOX 5
#define CT_TOOLBOX 6
#define CT_CHECKBOXES 7
#define CT_PROGRESS 8
#define CT_HTML 9
#define CT_STATIC_SKEW 10
#define CT_ACTIVETEXT 11
#define CT_TREE 12
#define CT_3DSTATIC 20
#define CT_3DACTIVETEXT 21
#define CT_3DLISTBOX 22
#define CT_3DHTML 23
#define CT_3DSLIDER 24
#define CT_3DEDIT 25
#define CT_OBJECT 80
#define CT_OBJECT_ZOOM 81
#define CT_OBJECT_CONTAINER 82
#define CT_OBJECT_CONT_ANIM 83
#define CT_USER 99
// Static styles
#define ST_HPOS 0x0F
#define ST_LEFT 0
#define ST_RIGHT 1
#define ST_CENTER 2
#define ST_UP 3
#define ST_DOWN 4
#define ST_VCENTER 5
#define ST_TYPE 0xF0
#define ST_SINGLE 0
#define ST_MULTI 16
#define ST_TITLE_BAR 32
#define ST_PICTURE 48
#define ST_FRAME 64
#define ST_BACKGROUND 80
#define ST_GROUP_BOX 96
#define ST_GROUP_BOX2 112
#define ST_HUD_BACKGROUND 128
#define ST_TILE_PICTURE 144
#define ST_WITH_RECT 160
#define ST_LINE 176
#define ST_SHADOW 256
#define ST_NO_RECT 512
#define ST_TITLE ST_TITLE_BAR + ST_CENTER
// Predefined controls
#define IDC_OK 1
#define IDC_CANCEL 2
// Fonts
#define FontS "tahomaB24"
#define FontM "tahomaB36"
#define FontHTML "courierNewB64"
#define FontHTMLBold "courierNewB64"
#define FontMAP "courierNewB64"
#define FontMAIN "SteelfishB64"
#define FontMAINCZ "SteelfishB64CE"
#define FontTITLE "SteelfishB128"
#define FontTITLEHalf "SteelfishB64"
#define FontBOOK "garamond64"
#define FontNOTES "AudreysHandI48"
// Vektorboson Colors
#define VB_LB_TXC 0.2, 0.2, 0.2, 1
#define VB_LB_STXC 0.4, 0.4, 0.4, 1
#define VB_T_LC 1, 1, 1, 0.75
#define VB_FR_BGC 0.4, 0.4, 0.4, 0.75
class RscText
{
type = CT_STATIC;
idc = -1;
style = ST_LEFT;
h = 0.04;
colorBackground[] = {0, 0, 0, 0};
colorText[] = {VB_T_LC};
font = FontS;
sizeEx = 0.02;
};
class RscPicture : RscText
{
style = ST_PICTURE;
};
// from here added by vektorboson
class RscFrame
{
type = CT_STATIC;
idc = -1;
style = ST_FRAME;
colorBackground[] = {VB_LB_STXC};
colorText[] = {VB_LB_TXC};
font = FontHTML;
sizeEx = 0.02;
}
class RscButton
{
type = CT_BUTTON;
idc = -1;
style = ST_CENTER;
colorText[] = {0, 0, 0, 1};
sizeEx = 0.025;
font = FontHTML;
soundPush[] = { , 0.2, 1};
soundClick[] = {"ui\ui_ok", 0.2, 1};
soundEscape[] = {"ui\ui_cc", 0.2, 1};
};
// from here BIS
class RscActiveText
{
type = CT_ACTIVETEXT;
style = ST_LEFT;
color[] = {0, 0, 0, 1};
colorActive[] = {1, 1, 1, 1};
font = FontMAIN;
sizeEx = 0.05;
soundEnter[] = {"ui\ui_over", 0.2, 1};
soundPush[] = {, 0.2, 1};
soundClick[] = {"ui\ui_ok", 0.2, 1};
soundEscape[] = {"ui\ui_cc", 0.2, 1};
default = false;
};
class RscActiveMenu : RscActiveText
{
color[] = {1, 1, 1, 1};
colorActive[] = {1, 1, 0, 1};
font = FontTITLEHalf;
sizeEx = 0.05;
default = false;
};
class RscSliderH
{
type = CT_SLIDER;
style = ST_HPOS;
color[] = {0.2, 0.2, 0.2, 1};
idc = -1;
sizeEx = 0.025;
};
class DlgSatellite
{
idd = -1;
movingEnable = true;
controlsBackground[]=
{ SAT_CAM_BG1, SAT_CAM_BG2, SAT_CAM_BG3, SAT_CAM_BG4, SAT_CAM_DOT, SAT_CAM_MARKER, SAT_CAM_NOISE,
SAT_CAM_MONITOR, SAT_CAM_TRACKING };
class SAT_CAM_TRACKING : RscText
{
idc = 224;
text = $STR_UI_TRACKING;
x = 0.12; y = 0.12; w = 0.1; h = 0.032;
};
class SAT_CAM_BG1 : RscText
{
x = 0.0; y = 0.0; w = 1; h = 0.1;
text = ;
colorBackground[] = {VB_LB_TXC};
};
class SAT_CAM_BG2 : RscText
{
x = 0; y = 0; w = 0.1; h = 1;
text = ;
colorBackground[] = {VB_LB_TXC};
};
class SAT_CAM_BG3 : RscText
{
x = 0.9; y = 0; w = 0.1; h = 1;
text = ;
colorBackground[] = {VB_LB_TXC};
};
class SAT_CAM_BG4 : RscText
{
x = 0; y = 0.9; w = 1; h = 0.1;
text = ;
colorBackground[] = {VB_LB_TXC};
};
class SAT_CAM_DOT : RscPicture
{
idc = 200;
x = 0.865; y = 0.865; w = 0.015; h = 0.02;
text = "images\dot3.paa";
};
class SAT_CAM_MARKER : RscPicture
{
x = 0.45; y = 0.45; w = 0.1;h = 0.133;
text = "images\target.paa";
};
class SAT_CAM_NOISE : RscPicture
{
idc = 225;
x = 0.1; y = 0.1;w = 0.8; h = 0.8;
text = "";
};
class SAT_CAM_MONITOR : RscPicture
{
x = 0.1; y = 0.1;w = 0.8; h = 0.8;
text = "images\zeilen2.paa";
};
objects[]= {};
controls[]=
{
SAT_CAM_ZOOM_SLIDER, SAT_CAM_ZOOM_LBL,SAT_CAM_PUSHLEFT,SAT_CAM_PUSHRIGHT,
SAT_CAM_PUSHUP,SAT_CAM_PUSHDOWN,SAT_CAM_SHUTDOWN,SAT_CAM_TRACK,
SAT_CAM_END_TRACK,SAT_CAM_ZOOM
};
class SAT_CAM_ZOOMIN : RscActiveMenu
{
idc = 206;
text = $STR_UI_ZOOMIN;
x = 0.08; y = 0.02; w = 0.1; h = 0.032; sizeEx = 0.032;
action = "[6] exec ""satellite\adjustCamera.sqs""";
};
class SAT_CAM_ZOOMOUT : RscActiveMenu
{
idc = 207;
text = $STR_UI_ZOOMOUT;
x = 0.18; y = 0.02; w = 0.1; h = 0.032; sizeEx = 0.032;
action = "[7] exec ""satellite\adjustCamera.sqs""";
};
class SAT_CAM_ZOOM_SLIDER : RscSliderH
{
idc = 206;
x = 0.7; y = 0.02; w = 0.28; h = 0.04;
color[] = {1,1,1,1};
};
class SAT_CAM_ZOOM_LBL : RscText
{
text = "IN << Zoom >> OUT";
style = ST_CENTER;
x = 0.7; y = 0.06; w = 0.28; h = 0.04;
};
class SAT_CAM_PUSHLEFT : RscActiveMenu
{
idc = 216;
text = $STR_UI_LEFT;
x = 0.375;y = 0.04;w = 0.05;h = 0.032;
sizeEx = 0.032;
action = "[0] exec ""satellite\adjustCamera.sqs""";
};
class SAT_CAM_PUSHRIGHT : RscActiveMenu
{
idc = 217;
text = $STR_UI_RIGHT;
x = 0.475;y = 0.04;w = 0.05;h = 0.032;
sizeEx = 0.032;
action = "[1] exec ""satellite\adjustCamera.sqs""";
};
class SAT_CAM_PUSHUP : RscActiveMenu
{
idc = 218;
text = $STR_UI_UP;
x = 0.425;y = 0.02;w = 0.05;h = 0.032;
sizeEx = 0.032;
action = "[2] exec ""satellite\adjustCamera.sqs""";
};
class SAT_CAM_PUSHDOWN : RscActiveMenu
{
idc = 219;
text = $STR_UI_DOWN;
x = 0.425;y = 0.06;w = 0.05;h = 0.032;
sizeEx = 0.032;
action = "[3] exec ""satellite\adjustCamera.sqs""";
};
class SAT_CAM_SHUTDOWN : RscActiveMenu
{
idc = 220;
text = $STR_UI_SHUTDOWN;
x = 0.9;y = 0.95;w = 0.07;h = 0.032;
sizeEx = 0.032;
action = "[5] exec ""satellite\adjustCamera.sqs""; closeDialog 0";
};
class SAT_CAM_TRACK : RscActiveMenu
{
idc = 221;
text = $STR_UI_TRACK;
x = 0.1;y = 0.95;w = 0.2;h = 0.032;
sizeEx = 0.032;
action = "[] exec ""satellite\trackObject.sqs"""
};
class SAT_CAM_END_TRACK : RscActiveMenu
{
idc = 222;
text = $STR_UI_STOP_TRACK;
x = 0.3;y = 0.95;w = 0.2;h = 0.032;
sizeEx = 0.032;
action = "SAT_stopTrack = true";
};
class SAT_CAM_ZOOM : RscText
{
idc = 223;
text = ;
x = 0.85;y = 0.03;w = 0.1;h = 0.032;
style = ST_RIGHT;
};
};
and the CoC one:
[code]
//------------------------------------------------------------------------------------------------------------------------
//CE2 PART, DO NOT EDIT
//APPEND YOUR OWN STUFF TO THE BOTTOM
// Control types
#define CT_STATIC 0
#define CT_BUTTON 1
#define CT_EDIT 2
#define CT_SLIDER 3
#define CT_COMBO 4
#define CT_LISTBOX 5
#define CT_TOOLBOX 6
#define CT_CHECKBOXES 7
#define CT_PROGRESS 8
#define CT_HTML 9
#define CT_STATIC_SKEW 10
#define CT_ACTIVETEXT 11
#define CT_TREE 12
#define CT_3DSTATIC 20
#define CT_3DACTIVETEXT 21
#define CT_3DLISTBOX 22
#define CT_3DHTML 23
#define CT_3DSLIDER 24
#define CT_3DEDIT 25
#define CT_OBJECT 80
#define CT_OBJECT_ZOOM 81
#define CT_OBJECT_CONTAINER 82
#define CT_OBJECT_CONT_ANIM 83
#define CT_USER 99
// Static styles
#define ST_HPOS 0x0F
#define ST_LEFT 0
#define ST_RIGHT 1
#define ST_CENTER 2
#define ST_UP 3
#define ST_DOWN 4
#define ST_VCENTER 5
#define ST_TYPE 0xF0
#define ST_SINGLE 0
#define ST_MULTI 16
#define ST_TITLE_BAR 32
#define ST_PICTURE 48
#define ST_FRAME 64
#define ST_BACKGROUND 80
#define ST_GROUP_BOX 96
#define ST_GROUP_BOX2 112
#define ST_HUD_BACKGROUND 128
#define ST_TILE_PICTURE 144
#define ST_WITH_RECT 160
#define ST_LINE 176
#define ST_SHADOW 256
#define ST_NO_RECT 512
#define ST_TITLE ST_TITLE_BAR + ST_CENTER
// Predefined controls
#define IDC_OK 1
#define IDC_CANCEL 2
// Colors
#define TextColor 0.08, 0.08, 0.12
#define InvTextColor 0.35, 0.38, 0.36
// Fonts
#define FontS "tahomaB24"
#define FontM "tahomaB36"
#define FontHTML "courierNewB64"
#define FontHTMLBold "courierNewB64"
#define FontMAP "courierNewB64"
#define FontMAIN "SteelfishB64"
#define FontMAINCZ "SteelfishB64CE"
#define FontTITLE "SteelfishB128"
#define FontTITLEHalf "SteelfishB64"
#define FontBOOK "garamond64"
#define FontNOTES "AudreysHandI48"
//Standards
#define StandardTextColor {0.08, 0.08, 0.12, 1}
#define StandardTextColorHighlight {0.68, 0.68, 0.72, 1}
#define StandardTextColorTitle {0.92, 0.92, 0.92, 1}
#define StandardBackgroundColor {0.3, 0.3, 0.3, 0.95}
#define StandardBackgroundColorHighlight {0.8, 0.8, 0.8, 0.95}
#define StandardFont FontM
#define StandardFont2 FontHTML
// Basic classes
class RscText
{
idc = -1;
type = CT_STATIC;
style = ST_LEFT;
w = 0.1; h = 0.04;
colorBackground[] = {0, 0, 0, 0};
colorText[] = StandardTextColor;
font = StandardFont;
sizeEx = 0.02;
};
class RscMultiText:RscText
{
style = ST_LEFT + ST_MULTI;
colorText[]=StandardTextColor;
lineSpacing = 1.0;
sizeEx = 0.018;
};
class RscTitle
{
type= CT_STATIC;
idc=-1;
style=ST_TITLE;
h=.04;
text="";
colorBackground[]={1,1,1,1};
colorText[]=StandardTextColor;
font="tahomaB36";
sizeEx=0.025;
};
class RscBackground
{
idc = -1;
type = CT_STATIC;
style = ST_CENTER;
text = ;
colorBackground[] = StandardBackgroundColor;
colorText[] = StandardTextColor;
font = StandardFont;
sizeEx = 0.04;
};
class RscFrame
{
idc = -1;
type = CT_STATIC;
style = ST_FRAME;
colorBackground[] = {0, 0, 0, 0};
colorText[] = {0, 0, 0, 1};
font = StandardFont2;
sizeEx = 0.025;
};
class RscPicture
{
idc = -1;
type = CT_STATIC;
style = ST_PICTURE;
colorBackground[] = {0, 0, 0, 1};
colorText[] = {1, 1, 1, 1};
font = FontS;
size = 0;
};
class RscActiveText
{
type = CT_ACTIVETEXT;
idc = -1;
style = ST_LEFT;
w = 0.1; h = 0.04;
color[] = StandardTextColor;
colorActive[] = StandardTextColorHighlight;
font = StandardFont;
sizeEx = 0.04;
soundEnter[] = {"ui\ui_over", 0.2, 1}; soundPush[] = {, 0.2, 1};
soundClick[] = {"ui\ui_ok", 0.2, 1}; soundEscape[] = {"ui\ui_cc", 0.2, 1};
default = false;
};
class RscButton
{
type = CT_BUTTON;
idc = -1;
style = ST_CENTER;
w = 0.1; h = 0.04;
colorText[] = StandardTextColor;
font = StandardFont2;
sizeEx = 0.025;
soundPush[] = {, 0.2, 1}; soundClick[] = {"ui\ui_ok", 0.2, 1};
soundEscape[] = {"ui\ui_cc", 0.2, 1};
default = false;
};
class RscButtonLarge:RscButton {w = 0.2; h = 0.08;};
class RscButtonWide:RscButton {w = 0.2; h = 0.04;};
class RscButtonTiny:RscButton {w = 0.021; h = 0.023;};
class RscEdit
{
type = CT_EDIT;
idc = -1;
style = ST_LEFT;
w = 0.1; h = 0.04;
font = StandardFont2;
sizeEx = 0.02;
colorText[] = StandardTextColor;
colorSelection[] = StandardBackgroundColorHighlight;
autocomplete = false;
};
class RscListBox
{
type = CT_LISTBOX;
style = ST_LEFT;
idc = -1;
w = 0.1; h = 0.03;
colorSelect[] = StandardTextColorHighlight;
colorSelectBackground[] = StandardBackgroundColorHighlight;
colorText[] = StandardTextColor;
colorBackground[] = StandardBackgroundColor;
font = StandardFont;
sizeEx = 0.02;
rowHeight = 0.03;
};
class RscCombo:RscListBox {type = CT_COMBO; wholeHeight = 0.3;};
class RscSliderH
{
idc=-1;
type=CT_SLIDER;
style=ST_RIGHT;
h=.028;
w=0.1;
color[]=StandardTextColor;
};
class RscSliderV
{
idc=-1;
type=CT_SLIDER;
style=ST_LEFT;
w=.021;
h=0.1;
color[]=StandardTextColor;
};
class RscDialog
{
idd = -1;
movingEnable = false;
objects[] = {};
};
class DialogID:RscText
{
idc = 9999;
x = 0.0; y = 0.0;
w = 0.001; h = 0.001;
text = "none";
};
//Dialogs
class RscAddWP:RscDialog
{
controlsBackground[] = {};
controls[] = {AddWPID, Background, Title, Proceed, WaitForEdit, WaitForMin, WaitFor, WaitUntilEdit, WaitUntilHour, WaitUntil, Wait, UnloadCombo, Unload, Cycle,
CombatTitle, CombatCombo, BehaviourTitle, BehaviourCombo, WatchTitle, WatchCombo, Cancel};
class AddWPID:DialogID{text = "addWP";};
class Background:RscBackground
{
x = 0.22;
y = 0.2;
w = 0.35;
h = 0.37;
};
class Title:RscTitle
{
idc = 205;
text = "";
x = 0.22;
y = 0.2;
w = 0.35;
};
class Proceed:RscButton
{
x = 0.25;
y = 0.25;
text = "Proceed";
action = "[{PROCEED}] exec {dialogs\addWP.sqs}";
};
class WaitForEdit:RscEdit
{
idc = 201;
text = "";
x = 0.36;
y = 0.30;
w = 0.025; h = 0.03;
};
class WaitForMin:RscText
{
x = 0.386;
y = 0.30;
h = 0.03; w = 0.03;
sizeEx = 0.02;
text = "min";
colorText[] = StandardTextColor;
};
class WaitFor:Proceed
{
y = 0.30;
text = "Wait for";
action = "[{WAIT_FOR}] exec {dialogs\addWP.sqs}";
};
class WaitUntilEdit:RscEdit
{
idc = 202;
text = "";
x = 0.36;
y = 0.35;
w = 0.04; h = 0.03;
};
class WaitUntilHour:RscText
{
x = 0.401;
y = 0.35;
h = 0.03; w = 0.02;
sizeEx = 0.02;
text = "h";
colorText[] = StandardTextColor;
};
class WaitUntil:Proceed
{
y = 0.35;
text = "Wait till";
action = "[{WAIT_UNTIL}] exec {dialogs\addWP.sqs}";
};
class Wait:Proceed
{
y = 0.40;
text = "Wait";
action = "[{WAIT}] exec {dialogs\addWP.sqs}";
};
class UnloadCombo:RscCombo
{
idc = 301;
x = 0.36;
y = 0.45;
w = 0.055;
};
class Unload:Proceed
{
y = 0.45;
text = "Unload";
action = "[{UNLOAD}] exec {dialogs\addWP.sqs}";
};
class Cycle:Proceed
{
y = 0.50;
text = "Cycle";
action = "[{CYCLE}] exec {dialogs\addWP.sqs}";
};
class CombatTitle:RscText
{
x = 0.45;
y = 0.25;
h = 0.02; w = 0.08;
sizeEx = 0.015;
text = "Combat mode";
colorText[] = StandardTextColorTitle;
};
class CombatCombo:RscCombo
{
idc = 302;
x = 0.45;
y = 0.27;
w = 0.08;
};
class BehaviourTitle:RscText
{
x = 0.45;
y = 0.32;
h = 0.02; w = 0.08;
sizeEx = 0.015;
text = "Behaviour";
colorText[] = StandardTextColorTitle;
};
class BehaviourCombo:RscCombo
{
idc = 303;
x = 0.45;
y = 0.34;
w = 0.08;
};
class WatchTitle:RscText
{
x = 0.45;
y = 0.39;
h = 0.02; w = 0.08;
sizeEx = 0.015;
text = "Facing";
colorText[] = StandardTextColorTitle;
};
class WatchCombo:RscCombo
{
idc = 304;
x = 0.45;
y = 0.41;
w = 0.08;
};
class Cancel:RscButton
{
idc = 0;
x = 0.45;
y = 0.5;
text = "Cancel";
action = "[{CANCEL}] exec {dialogs\addWP.sqs}";
};
};
class RscEditWP:RscDialog
{
controlsBackground[] = {};
controls[] = {EditWPID, Background,Title,ActionTitle,ActionActive,
GroupsTitle,GroupsList,
WPsTitle,WPsList,
StatBackground,StatText,StatButton,
AppendWP,CurrentWP,DeleteWP,DeleteAll,
WPFrame,CombatTitle,CombatCombo,BehaviourTitle,
BehaviourCombo,WPActionCombo,WPActionTitle,
WaitForEdit,WaitForMin,WaitUntilEdit,WaitUntilHour,UnloadCombo,FacingTitle,FacingCombo,
ShiftTitle,ShiftNW,ShiftN,ShiftNE,ShiftW,ShiftE,ShiftSW,ShiftS,ShiftSE,ShiftStep,Apply,
MapFrame,CenterGroup,CenterWP,ShowAll,ZoomSlider,NorthSlider,EastSlider,W,E,S,Minus,Plus,N,Cancel,
CenterWP2,CenterGroup2,ShowAll2};
class EditWPID:DialogID{text = "editWP";};
class Background:RscBackground
{
x = 0.7;
y = 0.0;
w = 0.3;
h = 0.89;
};
class Title:RscTitle
{
idc = 206;
text = "";
x = 0.7;
y = 0.0;
w = 0.3;
};
class ActionTitle:RscText
{
text = "Currently:"
x = 0.72;
y = 0.045;
h = 0.02; w = 0.07;
sizeEx = 0.02;
};
class ActionActive:RscActiveText
{
idc = 201;
x = 0.795;
y = 0.045;
h = 0.02; w = 0.105;
sizeEx = 0.02;
text = "";
action = "[{CURRENT}] exec {dialogs\editWP.sqs}";
};
class GroupsTitle:RscText
{
text = "Jump to:"
x = 0.72;
y = 0.072;
h = 0.025; w = 0.08;
sizeEx = 0.02;
};
class GroupsList:RscCombo
{
idc = 803;
x = 0.79;
y = 0.072;
w = 0.1;
h = 0.022;
};
class WPsTitle:RscText
{
text = "Waypoints:"
x = 0.72;
y = 0.10;
h = 0.02; w = 0.08;
sizeEx = 0.015;
colorText[] = StandardTextColorTitle;
};
class WPsList:RscListBox
{
idc = 801;
x = 0.72;
y = 0.12;
w = 0.26;
h = 0.12; rowHeight = 0.02;
};
class StatButton:RscButton
{
idc = 240;
x = 0.702;
y = 0.12;
w = 0.016;
h = 0.12;
text = "<";
action = "[{TOGGLE_STATS}] exec {dialogs\editWP.sqs}";
};
class StatBackground:RscBackground
{
idc = 241;
x = 0.5;
y = 0.12;
w = 0.2;
h = 0.12;
};
class StatText:RscMultiText
{
idc = 242;
x = 0.505;
y = 0.13;
w = 0.19;
h = 0.1;
text = "WP statistics:\ndistances, travel times, estimated time of arrival\n\nNot implemented yet";
};
class AppendWP:RscButton
{
idc = 202;
x = 0.72;
y = 0.25;
w = 0.125;
h = 0.03;
text = "Add WP";
action = "[{APPEND}] exec {dialogs\editWP.sqs}";
};
class CurrentWP:AppendWP
{
idc = 203;
x = 0.855;
text = "Current WP";
action = "[{CURRENT_WP}] exec {dialogs\editWP.sqs}";
};
class DeleteWP:AppendWP
{
idc = 204;
y = 0.285;
text = "Delete WP";
action = "[{DELETE_WP}] exec {dialogs\editWP.sqs}";
};
class DeleteAll:CurrentWP
{
idc = 205;
y = 0.285;
text = "Delete all";
action = "[{DELETE_ALL}] exec {dialogs\editWP.sqs}";
};
class WPFrame:RscFrame
{
idc = 401;
text = "WP parameters";
x = 0.72;
y = 0.33;
w = 0.26;
h = 0.215;
};
class CombatTitle:RscText
{
idc = 1011;
x = 0.725;
y = 0.355;
h = 0.02; w = 0.08;
sizeEx = 0.015;
text = "Combat mode";
};
class CombatCombo:RscCombo
{
idc = 301;
x = 0.73;
y = 0.376;
w = 0.07;
h = 0.022;
};
class BehaviourTitle:CombatTitle
{
idc = 1012;
x = 0.8;
text = "Behaviour";
};
class BehaviourCombo:CombatCombo
{
idc = 302;
x = 0.805;
};
class WPActionTitle:CombatTitle
{
idc = 1013;
y = 0.41;
text = "Action";
};
class WPActionCombo:CombatCombo
{
idc = 802;
y = 0.431;
};
class WaitForEdit:RscEdit
{
idc = 210;
text = "";
x = 0.805;
y = 0.431;
w = 0.025; h = 0.022;
};
class WaitForMin:RscText
{
idc = 211;
x = 0.828;
y = 0.431;
h = 0.022; w = 0.03;
sizeEx = 0.02;
text = "min";
};
class WaitUntilEdit:WaitForEdit
{
idc = 212;
text = "";
w = 0.04;
};
class WaitUntilHour:WaitForMin
{
idc = 213;
x = 0.841;
w = 0.02;
text = "h";
};
class UnloadCombo:RscCombo
{
idc = 214;
x = 0.805;
y = 0.431;
w = 0.055;h = 0.022;
};
class FacingTitle:CombatTitle
{
idc = 215;
y = 0.465;
text = "Facing";
};
class FacingCombo:WPActionCombo
{
idc = 216;
y = 0.486;
};
class Apply:RscButton
{
idc = 1001;
x = 0.9;
y = 0.5;
w = 0.07; h = 0.03;
text = "Apply";
action = "[{APPLY}] exec {dialogs\editWP.sqs}";
};
class ShiftTitle:CombatTitle
{
idc = 1014;
x = 0.88;
text = "Position shift";
};
class ShiftNW:RscButton
{
idc = 1002;
x = 0.885;
y = 0.376;
text = "NW";
w = 0.025; h = 0.027;
sizeEx = 0.018;
font = StandardFont;
action = "[{SHIFT_POS},[-1,1]] exec {dialogs\editWP.sqs}";
};
class ShiftN:ShiftNW
{idc = 1003; x = 0.915;text = "N"; action = "[{SHIFT_POS},[0,1]] exec {dialogs\editWP.sqs}";};
class ShiftNE:ShiftNW
{idc = 1004; x = 0.945;text = "NE"; action = "[{SHIFT_POS},[1,1]] exec {dialogs\editWP.sqs}";};
class ShiftW:ShiftNW
{idc = 1005; y = 0.408;text = "W"; action = "[{SHIFT_POS},[-1,0]] exec {dialogs\editWP.sqs}";};
class ShiftStep:ShiftW
{idc=220;type=CT_ACTIVETEXT;x = 0.915;text = ""; action = "[{STEP}] exec {dialogs\editWP.sqs}";
color[] = StandardTextColor;colorActive[] = StandardTextColorHighlight;
soundEnter[] = {"ui\ui_over", 0.2, 1}; soundPush[] = {, 0.2, 1};
soundClick[] = {"ui\ui_ok", 0.2, 1}; soundEscape[] = {"ui\ui_cc", 0.2, 1};default = false;};
class ShiftE:ShiftW
{idc = 1007; x = 0.945;text = "E"; action = "[{SHIFT_POS},[1,0]] exec {dialogs\editWP.sqs}";};
class ShiftSW:ShiftNW
{idc = 1008; y = 0.44;text = "SW"; action = "[{SHIFT_POS},[-1,-1]] exec {dialogs\editWP.sqs}";};
class ShiftS:ShiftSW
{idc = 1009; x = 0.915;text = "S"; action = "[{SHIFT_POS},[0,-1]] exec {dialogs\editWP.sqs}";};
class ShiftSE:ShiftSW
{idc = 1010; x = 0.945;text = "SE"; action = "[{SHIFT_POS},[1,-1]] exec {dialogs\editWP.sqs}";};
class MapFrame:WPFrame
{
text = "Map control";
y = 0.56;
h = 0.26;
};
class CenterWP:RscButton
{
x = 0.8;
y = 0.59;
w = 0.06;
text = "WP";
action = "[{CENTER_WP}] exec {dialogs\editWP.sqs}";
};
class CenterWP2:RscButton
{
x = 0.985;
y = 0.12;
w = 0.01;
h = 0.04;
sizeEx = 0.018;
text = "W";
action = "[{CENTER_WP}] exec {dialogs\editWP.sqs}";
};
class CenterGroup:CenterWP
{
y = 0.64;
text = "Group";
action = "[{CENTER_GROUP}] exec {dialogs\editWP.sqs}";
};
class CenterGroup2:CenterWP2
{
y = 0.16;
text = "G";
action = "[{CENTER_GROUP}] exec {dialogs\editWP.sqs}";
};
class ShowAll:CenterWP
{
y = 0.69;
text = "All";
action = "[{SHOW_ALL}] exec {dialogs\editWP.sqs}";
};
class ShowAll2:CenterWP2
{
y = 0.20;
text = "A";
action = "[{SHOW_ALL}] exec {dialogs\editWP.sqs}";
};
class ZoomSlider:RscSliderV
{
idc = 901;
x = 0.735;
y = 0.59;
h = 0.22;
};
class NorthSlider:ZoomSlider
{
idc = 903;
x = 0.76;
};
class EastSlider:RscSliderH
{
idc = 902;
x = 0.79;
y = 0.78;
w = 0.18;
};
class W:RscText
{
idc = 270;
text = "W";
x = 0.786;
y = 0.794;
w = 0.018; h = 0.018;
sizeEx = 0.018;
};
class E:W
{
idc = 271;
text = "E";
x = 0.955;
};
class S:W
{
idc = 272;
text = "S";
x = 0.749; y = 0.795;
};
class Minus:S
{
idc = 273;
text = "-";
x = 0.725;
sizeEx = 0.02;
};
class Plus:Minus
{
idc = 274;
text = "+";
y = 0.585;
};
class N:S
{
idc = 275;
text = "N";
y = 0.5855;
};
class Cancel:RscButton
{
idc = 0;
x = 0.88;
y = 0.83;
text = "Close";
action = "[{CANCEL}] exec {dialogs\editWP.sqs}";
};
};
//------------------------------------------------------------------------------------------------------------------------
//APPEND HERE YOUR OWN STUFF:
class RscTutorialText
{
idc = -1;
type = CT_STATIC;
style = ST_MULTI + ST_SHADOW;
x = 0.24; y = 0.02;
w = 0.45; h = 0.5;
colorBackground[] = {0.2, 0.2, 0.2, 0.3};
colorText[] = {0.8,0.8,0.8,0.9};
font = StandardFont;
sizeEx = 0.022;
text = "";
lineSpacing = 1.0;
};
class StandardTitle
{
idd=-1;
movingEnable=0;
duration=0.2;
fadein=0.0;
};
class RscTitles
{
titles[] = {Welcome, Bye, Main, Special, Organization, Transfer, Assign, Command, Group, Behaviour, Actions, AddWP,Support,CallingSupportArty,CallingSupportHelo, CallingSupportArmor, CallingSupport2,RunningSupport,ScheduledSupport};
class Welcome:StandardTitle
{
name="Welcome";
duration=14.0;
controls[] = {Text};
class Text:RscTutorialText
{
h = 0.15;
text = "Welcome to the CE2 tutorial. Messages like this will give you short explanations on many of the CE2 radio menus and dialogs.\n\nFirst, the tutorial will give an introduction on how to use the map. Please switch to map view.";
};
};
class Bye:StandardTitle
{
name= "Bye";
duration=30.0;
controls[] = {Text};
class Text:RscTutorialText
{
h = 0.31;
text = "I hope you had some fun time playing this mission.\n\nThe Command Engine 2 has many more features than could be explained in this tutorial. Make sure to check out the Player Manual, and most importantly, other CE2 missions (like the Battle School missions at
www.thechainofcommand.com).\n\n\nBlack Adder: ""I thought commanding an army has something to do with quality of leadership, strategy and tactics.""\nDuke of Wellington: ""NAAHH, itÂ's all down to SHOUTING.""";
};
};
class Main:StandardTitle
{
name="Main";
controls[] = {Text};
class Text:RscTutorialText
{
h = 0.41;
text = "The positions of your subordinate groups are shown with markers on the map. Click one to select a group and display infos about it:\n-current action\n-personnel strength (#tanks/#APC/#other vehicles)\n-current combat mode and behaviour\n\nTo move the selected group, click the map while holding (the left) SHIFT key.\n\nRadio menu:\n-Groups...: group control\n-Organization...: organize your forces, savegame.\n-Slowdown time: after that, use time accel key for normal time\n-Support...: e.g. arty-, air-, supply-support\n-Special...: special stuff, depends on the mission";
};
};
class Special:StandardTitle
{
name="Special";
controls[] = {Text};
class Text:RscTutorialText
{
h = 0.15;
text = "The special menu can be used by mission designers for any special actions. Here in this mission, the only active button is used for switching OFF/ON the tutorial messages (like this one).\n\nSelect MAIN to return to the main menu.";
};
};
class Organization:StandardTitle
{
name="Organization";
controls[] = {Text};
class Text:RscTutorialText
{
h = 0.16;
text = "Organize your forces:\n-Transfer personnel...: transfer soldiers between groups\n-Assign transport vehicles...: assign standard transport to inf groups\n-Take command of...: take command of another group\n\n-OPTIONS...: save mission, change size of map markers";
};
};
class Transfer:StandardTitle
{
name="Transfer";
controls[] = {Text};
class Text:RscTutorialText
{
h = 0.19;
text = "Transfer of men between squads:\nYou can only transfer between groups that are closer than 50 meters from each other.\n\n1)Select the group from which you want to transfer units from(UP/DOWN, SELECT).\n2)Select the units (UP/DOWN,TOGGLE), the destination group (Destination UP/DOWN), then APPLY.";
};
};
class Assign:StandardTitle
{
name="Assign";
controls[] = {Text};
class Text:RscTutorialText
{
h = 0.22;
text = "Assigning transport to infantry:\nYou can assign a standard transport group to any infantry group. The inf group can then be quickly ordered to enter its assigned transport from the ""Action..."" menu with ""Embark assigned transport"".\n\n1) Select the inf group to assign transport to.\n2) Select the transport group (or unassign any given transport).";
};
};
class Command:StandardTitle
{
name="Command";
controls[] = {Text};
class Text:RscTutorialText