Registriert seit: 15.02.2010
Ort: Niedersachsen/Kreis NI
Alter: 45
Beiträge: 209
|
Ich scheiter kläglich!
Guckt euch bitte meine Descriptiption und die vom AC130 Skript an. Hab nu tagelang rumprobiert, bekomm aber immer Fehlermeldungen.
Meine Description:
Zitat:
#include "artillery_ssp\radio_dialog.hpp"
#include "R3F_ARTY_AND_LOG\desc_include.h"
class RscTitles
{
#include "R3F_ARTY_AND_LOG\desc_rsct_include.h"
};
// Mission Header
class Header
{
gameType = Coop;
minPlayers = 1;
maxPlayers = 4;
};
onLoadMission = "US Support";
OnLoadMissionTime = FALSE;
respawn = "BASE";
respawndelay = 10;
disabledAI = 0,true;
showCompass = 1;
showGPS = 1;
showWatch = 1;
//---------------------US SUPPORT SCRIPT--------------------------------
RespawnDialog = false;
#include "lkscripts\Dialogs\Common\DialogColorConstants.hpp "
#include "lkscripts\Dialogs\DialogColorScheme.hpp"
#include "lkscripts\Dialogs\Common\DialogControlClasses.hpp "
#include "lkscripts\Dialogs\Respawn_Dialog.hpp"
// Tomahawk sounds
class CfgSounds
{
// List of sounds (.ogg files without the .ogg extension)
sounds[] = {Explo_Large, incoming, Rocket_Away};
// Definition for each sound
class Explo_Large
{
name = "Explo_Large"; // Name for mission editor
sound[] = {\lkscripts\sound\Explo_Large.ogg, db + 0, 1.0};
titles[] = {0, ""};
};
class incoming
{
name = "incoming"; // Name for mission editor
sound[] = {\lkscripts\sound\incoming.ogg, db + 0, 1.0};
titles[] = {0, ""};
};
class Rocket_Away
{
name = "Rocket_Away"; // Name for mission editor
sound[] = {\lkscripts\sound\Rocket_Away.ogg, db + 0, 1.0};
titles[] = {0, ""};
};
};
Hier die vom AC130:
Zitat:
//Generated by Morten's ArmA Dialog Designer
//Please leave this text here, if you wish
//to support my work on this program.
//Thank you!
// NOTE: If you have other dialogues operating in your mission, the following definitions below may be redundant and could cause errors. You may not need to include this body of code.
#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_STRUCTURED_TEXT 13
#define CT_CONTEXT_MENU 14
#define CT_CONTROLS_GROUP 15
#define CT_XKEYDESC 40
#define CT_XBUTTON 41
#define CT_XLISTBOX 42
#define CT_XSLIDER 43
#define CT_XCOMBO 44
#define CT_ANIMATED_TEXTURE 45
#define CT_OBJECT 80
#define CT_OBJECT_ZOOM 81
#define CT_OBJECT_CONTAINER 82
#define CT_OBJECT_CONT_ANIM 83
#define CT_LINEBREAK 98
#define CT_USER 99
#define CT_MAP 100
#define CT_MAP_MAIN 101
#define ST_POS 0x0F
#define ST_HPOS 0x03
#define ST_VPOS 0x0C
#define ST_LEFT 0x00
#define ST_RIGHT 0x01
#define ST_CENTER 0x02
#define ST_DOWN 0x04
#define ST_UP 0x08
#define ST_VCENTER 0x0c
#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 0x100
#define ST_NO_RECT 0x200
#define ST_KEEP_ASPECT_RATIO 0x800
#define ST_TITLE ST_TITLE_BAR + ST_CENTER
#define SL_DIR 0x400
#define SL_VERT 0
#define SL_HORZ 0x400
#define SL_TEXTURES 0x10
#define LB_TEXTURES 0x10
#define LB_MULTI 0x20
#define FontM "TahomaB"
#define FontHTML "TahomaB"
// NOTE: If you have other dialogues operating in your mission, the following Class callouts below may be redundant and could cause errors. You may not need to include this body of code.
class RscText
{
type=CT_STATIC;
idc=-1;
style=ST_LEFT;
colorBackground[]={0, 0, 0, 0};
colorText[]={1, 1, 1, 1};
font=FontM;
sizeEx=0.02;
text="";
};
class RscBgFrame
{
type=CT_STATIC;
idc=-1;
style=ST_FRAME;
colorBackground[]={0.4, 0.4, 0.4, 0.75};
colorText[]={0, 0, 0, 1};
font=FontM;
SizeEX=0.025;
text="";
};
class RscBackground
{
colorBackground[]={0.4, 0.4, 0.4, 0.75};
text="";
type=CT_STATIC;
idc=-1;
style=ST_LEFT;
colorText[]={1, 1, 1, 1};
font=FontM;
sizeEx=0.04;
};
class RscPicture
{
type=CT_STATIC;
idc=-1;
style=ST_PICTURE;
colorBackground[]={0, 0, 0, 0};
colorText[]={1, 1, 1, 1};
font=FontM;
sizeEx=0.02;
text="";
};
class RscButton
{
type=CT_BUTTON;
idc=-1;
style=ST_CENTER;
colorText[]={0, 0, 0, 1};
font=FontHTML;
sizeEx=0.025;
soundPush[]={"", 0.2, 1};
soundClick[]={"ui\ui_ok", 0.2, 1};
soundEscape[]={"ui\ui_cc", 0.2, 1};
default=false;
text="";
action="";
colorActive[]={0, 0, 0, 0};
colorDisabled[]={0, 0, 0, 0.1};
colorBackground[]={0,0,0,0.3};
colorBackgroundActive[]={0,0,0,0.4};
colorBackgroundDisabled[]={0,0,0,0.3};
colorFocused[]={0.84,1,0.55,1};
colorShadow[]={1, 1, 1, 0.1};
colorBorder[]={0, 0, 0, 0.1};
offsetX=0;
offsetY=0;
offsetPressedX=0;
offsetPressedY=0;
borderSize=0;
soundEnter[]={"", 0.15, 1};
};
class RscButton2:RscButton
{
x=-1.0;
y=-1.0;
idc=-1;
w=0.01;
h=0.01;
default=true;
};
class RscEdit
{
type=CT_EDIT;
idc=-1;
style=ST_LEFT;
font=FontHTML;
sizeEx=0.02;
colorText[]={0, 0, 0, 1};
colorSelection[]={0.5, 0.5, 0.5, 1};
autocomplete=false;
text="";
};
class RscLB_C
{
style=ST_LEFT;
idc=-1;
colorSelect[]={0.4, 0.4, 0.4, 1};
colorSelectBackground[]={0.2, 0.2, 0.2, 1};
colorText[]={0.2, 0.2, 0.2, 1};
colorBackground[]={0.4, 0.4, 0.4, 1};
font=FontHTML;
sizeEx=0.025;
rowHeight=0.04;
};
class RscListBox:RscLB_C
{
soundSelect[]={"", 0.1, 1};
type=CT_LISTBOX;
};
class RscCombo: RscLB_C
{
type=CT_COMBO;
wholeHeight=0.3;
soundSelect[]={"", 0.15, 1};
soundExpand[]={"", 0.15, 1};
soundCollapse[]={"", 0.15, 1};
};
class RscSliderH
{
access=0;
type=CT_SLIDER;
idc=-1;
sizeEx=0.025;
style=1024;
color[]={0.2, 0.2, 0.2, 1};
colorActive[]={1, 1, 1, 1};
};
class RscSliderV
{
access=0;
type=CT_SLIDER;
idc=-1;
sizeEx=0.025;
style=0;
color[]={0.2, 0.2, 0.2, 1};
colorActive[]={1, 1, 1, 1};
};
//Map
class RscMapControl
{
access = 0;
type = CT_MAP_MAIN;
idc = -1;
style = ST_PICTURE;
colorBackground[] = {1, 1, 1, 1};
colorText[] = {0, 0, 0, 1};
font = "TahomaB";
sizeEx = 0.04;
colorSea[] = {0.51, 0.8, 0.98, 0.5};
colorForest[] = {0.6, 0.8, 0.2, 0.5};
colorRocks[] = {0.5, 0.5, 0.5, 0.5};
colorCountlines[] = {0.65, 0.45, 0.27, 0.5};
colorMainCountlines[] = {0.65, 0.45, 0.27, 1};
colorCountlinesWater[] = {0, 0.53, 1, 0.5};
colorMainCountlinesWater[] = {0, 0.53, 1, 1};
colorForestBorder[] = {0.4, 0.8, 0, 1};
colorRocksBorder[] = {0.5, 0.5, 0.5, 1};
colorPowerLines[] = {0, 0, 0, 1};
colorNames[] = {0, 0, 0, 1};
colorInactive[] = {1, 1, 1, 0.5};
colorLevels[] = {0, 0, 0, 1};
fontLabel = "Zeppelin32";
sizeExLabel = 0.027;
fontGrid = "Zeppelin32";
sizeExGrid = 0.027;
fontUnits = "Zeppelin32";
sizeExUnits = 0.027;
fontNames = "Zeppelin32";
sizeExNames = 0.027;
fontInfo = "Zeppelin32";
sizeExInfo = 0.027;
fontLevel = "Zeppelin32";
sizeExLevel = 0.027;
text = "#(argb,8,8,3)color(1,1,1,1)";
stickX[] = {0.2, {"Gamma", 1, 1.5}};
stickY[] = {0.2, {"Gamma", 1, 1.5}};
ptsPerSquareSea = 6;
ptsPerSquareTxt = 8;
ptsPerSquareCLn = 8;
ptsPerSquareExp = 8;
ptsPerSquareCost = 8;
ptsPerSquareFor = "4.0f";
ptsPerSquareForEdge = "10.0f";
ptsPerSquareRoad = 2;
ptsPerSquareObj = 10;
class Bunker
{
icon = "\ca\ui\data\map_bunker_ca.paa";
color[] = {0.55, 0.64, 0.43, 1};
size = 16;
importance = 1.5 * 14 * 0.05;
coefMin = 0.25;
coefMax = 4;
};
class Bush
{
icon = "\ca\ui\data\map_bush_ca.paa";
color[] = {0.55, 0.64, 0.43, 1};
size = 16;
importance = 0.2 * 14 * 0.05;
coefMin = 0.25;
coefMax = 4;
};
class BusStop
{
icon = "\ca\ui\data\map_busstop_ca.paa";
color[] = {0, 0, 1, 1};
size = 10;
importance = 1 * 10 * 0.05;
coefMin = 0.25;
coefMax = 4;
};
class Cross
{
icon = "\ca\ui\data\map_cross_ca.paa";
color[] = {0.55, 0.64, 0.43, 1};
size = 16;
importance = 0.7 * 16 * 0.05;
coefMin = 0.25;
coefMax = 4;
};
class Fortress
{
icon = "\ca\ui\data\map_bunker_ca.paa";
color[] = {0.55, 0.64, 0.43, 1};
size = 16;
importance = 2 * 16 * 0.05;
coefMin = 0.25;
coefMax = 4;
};
class Fuelstation
{
icon = "\ca\ui\data\map_fuelstation_ca.paa";
color[] = {0.55, 0.64, 0.43, 1};
size = 16;
importance = 2 * 16 * 0.05;
coefMin = 0.75;
coefMax = 4;
};
class Fountain
{
icon = "\ca\ui\data\map_fountain_ca.paa";
color[] = {0, 0.35, 0.7, 1};
size = 12;
importance = 1 * 12 * 0.05;
coefMin = 0.25;
coefMax = 4;
};
class Hospital
{
icon = "\ca\ui\data\map_hospital_ca.paa";
color[] = {0.78, 0, 0.05, 1};
size = 16;
importance = 2 * 16 * 0.05;
coefMin = 0.5;
coefMax = 4;
};
class Chapel
{
icon = "\ca\ui\data\map_chapel_ca.paa";
color[] = {0.55, 0.64, 0.43, 1};
size = 16;
importance = 1 * 16 * 0.05;
coefMin = 0.9;
coefMax = 4;
};
class Church
{
icon = "\ca\ui\data\map_church_ca.paa";
color[] = {0.55, 0.64, 0.43, 1};
size = 16;
importance = 2 * 16 * 0.05;
coefMin = 0.9;
coefMax = 4;
};
class Lighthouse
{
icon = "\ca\ui\data\map_lighthouse_ca.paa";
color[] = {0.78, 0, 0.05, 1};
size = 20;
importance = 3 * 16 * 0.05;
coefMin = 0.9;
coefMax = 4;
};
class Quay
{
icon = "\ca\ui\data\map_quay_ca.paa";
color[] = {0.55, 0.64, 0.43, 1};
size = 16;
importance = 2 * 16 * 0.05;
coefMin = 0.5;
coefMax = 4;
};
class Rock
{
icon = "\ca\ui\data\map_rock_ca.paa";
color[] = {0.55, 0.64, 0.43, 1};
size = 12;
importance = 0.5 * 12 * 0.05;
coefMin = 0.25;
coefMax = 4;
};
class Ruin
{
icon = "\ca\ui\data\map_ruin_ca.paa";
color[] = {0.78, 0, 0.05, 1};
size = 16;
importance = 1.2 * 16 * 0.05;
coefMin = 1;
coefMax = 4;
};
class SmallTree
{
icon = "\ca\ui\data\map_smalltree_ca.paa";
color[] = {0.55, 0.64, 0.43, 1};
size = 16;
importance = 0.6 * 12 * 0.05;
coefMin = 0.25;
coefMax = 4;
};
class Stack
{
icon = "\ca\ui\data\map_stack_ca.paa";
color[] = {0.55, 0.64, 0.43, 1};
size = 20;
importance = 2 * 16 * 0.05;
coefMin = 0.9;
coefMax = 4;
};
class Tree
{
icon = "\ca\ui\data\map_tree_ca.paa";
color[] = {0.55, 0.64, 0.43, 1};
size = 16;
importance = 0.9 * 16 * 0.05;
coefMin = 0.25;
coefMax = 4;
};
class Tourism
{
icon = "\ca\ui\data\map_tourism_ca.paa";
color[] = {0.78, 0, 0.05, 1};
size = 16;
importance = 1 * 16 * 0.05;
coefMin = 0.7;
coefMax = 4;
};
class Transmitter
{
icon = "\ca\ui\data\map_transmitter_ca.paa";
size = 20;
color[] = {0, 0.35, 0.7, 1};
importance = 2 * 16 * 0.05;
coefMin = 0.9;
coefMax = 4;
};
class ViewTower
{
icon = "\ca\ui\data\map_viewtower_ca.paa";
size = 16;
color[] = {0, 0.35, 0.7, 1};
importance = 2.5 * 16 * 0.05;
coefMin = 0.5;
coefMax = 4;
};
class Watertower
{
icon = "\ca\ui\data\map_watertower_ca.paa";
color[] = {0, 0.35, 0.7, 1};
size = 32;
importance = 1.2 * 16 * 0.05;
coefMin = 0.9;
coefMax = 4;
};
class Waypoint
{
icon = "\ca\ui\data\map_waypoint_ca.paa";
size = 16;
color[] = {0, 0.35, 0.7, 1};
importance = 2.5 * 16 * 0.05;
coefMin = 0.5;
coefMax = 4;
};
class WaypointCompleted
{
icon = "\ca\ui\data\map_waypoint_completed_ca.paa";
size = 16;
color[] = {0, 0.35, 0.7, 1};
importance = 2.5 * 16 * 0.05;
coefMin = 0.5;
coefMax = 4;
};
};
//Dialog
class AC130Dialog
{
idd = 1000;
movingEnable = true;
controlsBackground[] = {Dlg_Back,lineH};
controls[] = {mouseHandler,WeaponInfo,Hud,InfoLeft,InfoRight,Ci rcle,Target1,Target2,Target3,Target4,Target5,Targe t6,Target7,Target8,Target9,Target10,Visier,ActionI nfo,Range,North,East,South,West,MainTarget,MainTar getText,zeigerHor,frameHor,zeigerVer,frameVer,fram ezeigerVer,framezeigerHor};
class Dlg_Back: RscText
{
w = SafeZoneW/2;
h = SafeZoneH/2;
x = SafeZoneX + SafeZoneW/4;
y = SafeZoneY + SafeZoneH/4;
colorBackground[] = {0,0,0,0};
colorText[] = {0,0,0,0};
};
class Dlg_Frame : RscText
{
style = ST_FRAME;
w = SafeZoneW/2;
h = SafeZoneH/2;
x = SafeZoneX + SafeZoneW/4;
y = SafeZoneY + SafeZoneH/4;
text = "AC-130 Spectre Gunship";
colorBackground[] = {1,1,1,1};
colorText[] = {1,1,1,1};
};
class mouseHandler
{
type = 15;
idc = 1003;
style = 0;
class Scrollbar
{
color[] = {1, 1, 1, 1};
height = 0.028;
};
class VScrollbar
{
color[] = {1, 1, 1, 1};
width = 0.021;
autoScrollRewind = true;
autoScrollDelay = -2;
autoScrollSpeed = -2;
};
class HScrollbar
{
color[] = {1, 1, 1, 1};
height = 0.028;
};
//onMouseHolding = "";
//onMouseEnter = "";
onMouseMoving = "[""MouseMoving"",_this] call MouseEvents";
onMouseButtonDown = "[""MouseButtonDown"",_this] call MouseEvents";
onMouseButtonUp = "[""MouseButtonUp"",_this] call MouseEvents";
onMouseZChanged = "[""MouseZChanged"",_this] call MouseEvents";
x = SafeZoneX; y = SafeZoneY;
w = SafeZoneW; h = SafeZoneH;
colorBackground[] = {0.0, 0.0, 0.0, 0.0};
};
class WeaponInfo: RscText
{
idc = 1004;
style = ST_LEFT;
//x = 0.125;
//y = 0.8;
//w = 0.7;
//h = 0.3;
w = 0.7;
h = 0.3;
x = SafeZoneX + SafeZoneW - SafeZoneW/1.2;
y = SafeZoneY + SafeZoneH - SafeZoneH/4;
sizeEx = 0.06;
text = "25mm Gatling Gun";
};
class InfoLeft
{
idc = 1005;
type = CT_STRUCTURED_TEXT;
style = ST_MULTI;
colorBackground[] = {1, 1, 1, 0};
x = SafeZoneX + SafeZoneW/8;
y = SafeZoneY + SafeZoneH/8;
w = SafeZoneW/4;
h = SafeZoneH/4;
size = 0.04;
text = "";
class Attributes
{
font = "TahomaB";
color = "#FFFFF";
align = "left";
valign = "top";
shadow = false;
shadowColor = "#000000";
size = "1";
};
};
class InfoRight
{
idc = 1020;
type = CT_STRUCTURED_TEXT;
style = ST_MULTI;
colorBackground[] = {1, 1, 1, 0};
//x = SafeZoneX + SafeZoneW - SafeZoneW/2.5;
x = SafeZoneX + SafeZoneW - SafeZoneW/4 - SafeZoneW/8;
y = SafeZoneY + SafeZoneH/8;
w = SafeZoneW/4;
h = SafeZoneH/4;
size = 0.04;
text = "Test";
class Attributes
{
font = "TahomaB";
color = "#FFFFF";
align = "right";
valign = "top";
shadow = false;
shadowColor = "#000000";
size = "1";
};
};
class Circle: RscPicture
{
idc = 1006;
font = "Bitstream";
text = "\ca\ui\data\cursor_circle_ca.paa";
w = SafeZoneW/16;
h = SafeZoneH/16;
x = SafeZoneX + SafeZoneW/2 - SafeZoneW/32;
y = SafeZoneY + SafeZoneH/2 - SafeZoneH/32;
};
class Hud: RscPicture
{
idc = -1;
font = "Bitstream";
text = "Bilder\Display.paa";
x = SafeZoneX;
y = SafeZoneY;
w = SafeZoneW;
h = SafeZoneH;
};
class Visier: RscPicture
{
idc = 1007;
font = "Bitstream";
text = "Bilder\Vis25mm.paa";
w = SafeZoneW/4;
h = SafeZoneH/4;
x = SafeZoneX + SafeZoneW/2 - SafeZoneW/8;
y = SafeZoneY + SafeZoneH/2 - SafeZoneH/8;
};
class ActionInfo: RscText
{
idc = 1008;
style = ST_RIGHT;
w = 0.7;
h = 0.3;
x = SafeZoneX + SafeZoneW - SafeZoneW/1.9;
y = SafeZoneY + SafeZoneH - SafeZoneH/4;
sizeEx=0.06;
text = "Zoom: 1x";
};
class Range: RscText
{
idc = 1009;
style = ST_CENTER;
//w = 0.6;
//h = 0.6;
//x = SafeZoneX + SafeZoneW/2 - 0.3;
//y = SafeZoneY + SafeZoneH/2 - 0.3 + SafeZoneH/6;
w = SafeZoneW/6;
h = SafeZoneH/6;
x = SafeZoneX + SafeZoneW/2 - SafeZoneW/12;
y = SafeZoneY + SafeZoneH/2 + SafeZoneH/12;
sizeEx=0.02;
text = "Range: ";
};
class GPS_Back: RscText
{
w = 0.305;
h = 0.195;
x = SafeZoneX + SafeZoneW/7.75;
y = SafeZoneY + SafeZoneH/10;
colorBackground[] = {0,0,0,0.5};
colorText[] = {0,0,0,0};
};
class GPS: RscPicture
{
idc = 1010;
font = "Bitstream";
text = "\ca\ui\data\ui_gps_ca.paa";
w = 0.4;
h = 0.4;
x = SafeZoneX + SafeZoneW/9.5;
y = SafeZoneY + SafeZoneH/20;
colorText[] = {0.8,0.8,1,1};
};
class Map: RscMapControl
{
idc = 1011;
w = 0.305;
h = 0.195;
x = SafeZoneX + SafeZoneW/7.75;
y = SafeZoneY + SafeZoneH/10;
colorBackground[] = {1,1,1,1};
colorText[] = {0.00, 0.00, 0.00, 1.00};
colorSea[] = {0.56, 0.80, 0.98, 0.50};
colorForest[] = {0.60, 0.80, 0.20, 0.50};
colorRocks[] = {0.50, 0.50, 0.50, 0.50};
colorCountlines[] = {0.65, 0.45, 0.27, 0.50};
colorMainCountlines[] = {0.65, 0.45, 0.27, 1.00};
colorCountlinesWater[] = {0.00, 0.53, 1.00, 0.50};
colorMainCountlinesWater[] = {0.00, 0.53, 1.00, 1.00};
colorForestBorder[] = {0.40, 0.80, 0.00, 1.00};
colorRocksBorder[] = {0.50, 0.50, 0.50, 1.00};
colorPowerLines[] = {0.00, 0.00, 0.00, 1.00};
colorNames[] = {0.00, 0.00, 0.00, 1.00};
colorInactive[] = {1.00, 1.00, 1.00, 0.50};
colorLevels[] = {0.00, 0.00, 0.00, 1.00};
};
class North: RscText
{
idc = 1012;
style = ST_RIGHT;
w = SafeZoneW/50;
h = SafeZoneW/50;
x = SafeZoneX + SafeZoneW/100;
y = SafeZoneY + SafeZoneH/100;
sizeEx=0.03;
text = "N";
};
class East: North
{
idc = 1013;
text = "E";
};
class South: North
{
idc = 1014;
text = "S";
};
class West: North
{
idc = 1015;
text = "W";
};
class frameHor : RscText
{
style = ST_FRAME;
w = SafeZoneW/8;
h = SafeZoneH/32;
x = SafeZoneX + SafeZoneW/2 - SafeZoneW/16;
y = SafeZoneY + SafeZoneH - SafeZoneH/4;
colorBackground[] = {1,1,1,1};
colorText[] = {0,0,0,0.7};
};
class zeigerHor: RscText
{
idc = 1016;
w = SafeZoneW/200;
h = SafeZoneH/32;
x = SafeZoneX + SafeZoneW/2 - SafeZoneW/200;
y = SafeZoneY + SafeZoneH/2 + SafeZoneH/4;
text = "";
colorBackground[] = {1,1,1,0.7};
};
class framezeigerHor : frameHor
{
idc = 1017;
w = SafeZoneW/200;
h = SafeZoneH/32;
x = SafeZoneX + SafeZoneW/2 - SafeZoneW/200;
y = SafeZoneY + SafeZoneH/2 + SafeZoneH/4;
colorText[] = {0,0,0,0.7};
};
class frameVer : frameHor
{
w = SafeZoneW/32;
h = SafeZoneH/8;
x = SafeZoneX + SafeZoneW - SafeZoneW/4;
y = SafeZoneY + SafeZoneH/2 - SafeZoneH/16;
};
class zeigerVer: zeigerHor
{
idc = 1018;
w = SafeZoneW/32;
h = SafeZoneH/200;
x = SafeZoneX + SafeZoneW - SafeZoneW/4;
y = SafeZoneY + SafeZoneH/2;
};
class framezeigerVer : framezeigerHor
{
idc = 1019;
w = SafeZoneW/32;
h = SafeZoneH/200;
x = SafeZoneX + SafeZoneW - SafeZoneW/4;
y = SafeZoneY + SafeZoneH/2;
};
class lineH: RscText
{
idc = 1021;
x = SafeZoneX;
y = SafeZoneY;
w = SafeZoneW;
h = 0.001;
text = "";
colorBackground[] = {1,1,1,0.25};
};
//Targets
class Target : RscText
{
idc = 2007;
style = ST_FRAME;
colorBackground[] = {1,0,0,1};
colorText[] = {1,0,0,1};
x = -2;
y = -2;
w = 0.04;
h = 0.05;
};
class Target1 : Target
{
idc = 2007+1;
};
class Target2 : Target
{
idc = 2007+2;
};
class Target3 : Target
{
idc = 2007+3;
};
class Target4 : Target
{
idc = 2007+4;
};
class Target5 : Target
{
idc = 2007+5;
};
class Target6 : Target
{
idc = 2007+6;
};
class Target7 : Target
{
idc = 2007+7;
};
class Target8 : Target
{
idc = 2007+8;
};
class Target9 : Target
{
idc = 2007+9;
};
class Target10 : Target
{
idc = 2007+10;
};
class MainTarget : Target
{
idc = 2006;
};
class MainTargetText : RscText
{
idc = 2005;
x = -2;
y = -2;
w = 0.1;
h = 0.05;
text = "Target";
sizeEx = 0.02;
style=ST_CENTER;
colorText[] = {1, 0, 0, 1};
};
};
//Sounds
class CfgSounds
{
sounds[]= {gun01,gun02,gun03,planeInterior,affirmative,frien dlies,reload,Amb01,Amb02,Amb03,Amb04,Amb05,Amb06,A mb07,Amb08,Amb09,Amb10};
class gun01
{
name = "gun01";
sound[] = {\Sounds\gun01.ogg, db+0, 1.0};
titles[]= {};
};
class gun02
{
name = "gun02";
sound[] = {\Sounds\gun02.ogg, db+0, 1.0};
titles[]= {};
};
class gun03
{
name = "gun03";
sound[] = {\Sounds\gun03.ogg, db+0, 1.0};
titles[]= {};
};
class affirmative
{
name = "affirmative";
sound[] = {\Sounds\affirmative.ogg, db+2, 1.0};
titles[]= {};
};
class friendlies
{
name = "friendlies";
sound[] = {\Sounds\friendlies.ogg, db+2, 1.0};
titles[]= {};
};
class reload
{
name = "reload";
sound[] = {\Sounds\reload.ogg, db+0, 1.0};
titles[]= {};
};
class planeInterior
{
name = "planeInterior";
sound[] = {\Sounds\planeInterior.ogg, db+4, 1.0};
titles[]= {};
};
class Amb01
{
name = "Amb01";
sound[] = {\Sounds\Amb01.ogg, db+2, 1.0};
titles[]= {};
};
class Amb02
{
name = "Amb02";
sound[] = {\Sounds\Amb02.ogg, db+2, 1.0};
titles[]= {};
};
class Amb03
{
name = "Amb03";
sound[] = {\Sounds\Amb03.ogg, db+2, 1.0};
titles[]= {};
};
class Amb04
{
name = "Amb04";
sound[] = {\Sounds\Amb04.ogg, db+2, 1.0};
titles[]= {};
};
class Amb05
{
name = "Amb05";
sound[] = {\Sounds\Amb05.ogg, db+2, 1.0};
titles[]= {};
};
class Amb06
{
name = "Amb06";
sound[] = {\Sounds\Amb06.ogg, db+2, 1.0};
titles[]= {};
};
class Amb07
{
name = "Amb07";
sound[] = {\Sounds\Amb07.ogg, db+2, 1.0};
titles[]= {};
};
class Amb08
{
name = "Amb08";
sound[] = {\Sounds\Amb08.ogg, db+2, 1.0};
titles[]= {};
};
class Amb09
{
name = "Amb09";
sound[] = {\Sounds\Amb09.ogg, db+2, 1.0};
titles[]= {};
};
class Amb10
{
name = "Amb10";
sound[] = {\Sounds\Amb10.ogg, db+2, 1.0};
titles[]= {};
};
};
Könnt ihr mir sagen, was ich an der AC130 Description ändern und löschen muß, um es mit meiner Description zu verbinden?
|