Jump to content
Sign in to follow this  
giallustio

=BTC= Logistic Script

Recommended Posts

=BTC= Logistic

Version: 0.52

http://www.giallustio.altervista.org/img/=BTC=_Lift.jpg (331 kB)

Description:

In this script pack you can find two useful scripts:

=BTC= Lift and =BTC= Cargo System.

Some features:

- easy to config (=BTC=_Logistic_Init.sqf)

- an hud can help you to lift objects

- static objects fall on the ground

- you can drag objects and load them in vehicles

- drop objects from choppers with a chute

The script is still in BETA. Contact me for bug reporting.

known issues:

- hud is displayed wrong with normal and big interface size.

- can't drop objects over buildings

- At the moment you can load only one object in a vehicle

- You have to add manually "drag action" on spawned objects

- At the moment =BTC= Cargo System is created specially for ammoboxes but you can modify the =BTC=_Logistic_Init.sqf file and drag/load any kind of object (not tested)

- My bad english:p

Version 0.5

- Released

Version 0.51

- Code improved

Version 0.52

- Fixed minor bugs

Installation:

Copy "=BTC=_Logistic" folder in your mission folder.

Add in the init.sqf:

_logistic = execVM "=BTC=_Logistic\=BTC=_Logistic_Init.sqf";

Add in the description.ext:

#include "=BTC=_Logistic\=BTC=_Lift\=BTC=_Hud.h"

However a demo mission is included.

DownLoad:

http://www.giallustio.altervista.org/pages/=BTC=_Logistic.php

Credits:

My clan:

= BlackTemplarsClan =

Thank you for your support!

btn_donate_LG.gif

Edited by Giallustio

Share this post


Link to post
Share on other sites

Yes Foxhuond! It is an upgrade :)

Thank you for the mirror :)

Edited by Giallustio

Share this post


Link to post
Share on other sites

Any idea's as to why the "X" to release is not working... is there a way to make a manual addaction command to release the item being dragged... the only way I can drop the object is to put it into something... just asking before I start trying to figure it out.

-Raptor

using the latest build you posted BTW

Share this post


Link to post
Share on other sites

It's very strange...I made the video in the first post with the v0.51 and all worked fine. I tested it againg right now and i didn't get any kind of error...

Can you make a quick video to show me or send me your mission?

Share this post


Link to post
Share on other sites

This script is excellent! The demo mission works perfectly but I'm having trouble getting it to work in Domination, error coming up as...

=BTC=_Hud.h, line 121:.RscTitles: member already defined

Line 121 is text = "=BTC=_logo.paa"; // Graphic Direction

Any idea what could be causing this conflict?

Whoops, please ignore I should have pasted #include "=BTC=_Logistic\=BTC=_Lift\=BTC=_Hud.h" in the class RscTitles section of the description.ext

Edited by Signaller
Problem solved

Share this post


Link to post
Share on other sites

Thank you guys! :)

If you find any bugs or have any idea how to improve the script let me know :)

Share this post


Link to post
Share on other sites

I've got everything working with Domination (ver260m) except for the hud error message resource BTC_Hud not found, I checked the path it's correct #include "=BTC=_Logistic\=BTC=_Lift\=BTC=_Hud.h"

Any ideas?

Share this post


Link to post
Share on other sites

I put the script in the helicopter units but i cant airlift the vehicles?

Edited by Gummybear_Qc

Share this post


Link to post
Share on other sites
I put the script in the helicopter units but i cant airlift the vehicles?

What?

Did you read the read-me?

Share this post


Link to post
Share on other sites

Well i downloaded it from armaholic, and says to drag folder into my mission folder, but it dosent says it has a read-me...

Share this post


Link to post
Share on other sites

http://www.giallustio.altervista.org/pages/=BTC=_Logistic.php

Installation:

Copy "=BTC=_Logistic" folder in your mission folder.

Add in the init.sqf:

_logistic = execVM "=BTC=_Logistic\=BTC=_Logistic_Init.sqf";

Add in the description.ext:

Code:

#include "=BTC=_Logistic\=BTC=_Lift\=BTC=_Hud.h"

However a demo mission is included.

Share this post


Link to post
Share on other sites

Hey again, i have a second question, is it possible to like use this in kinda warfare mission mode, like i wanna edit the When diplomacy fails mission to make able certain helicopters that i buy at aircraft factory to be able to like airlift,

Thank you,

---------- Post added at 22:39 ---------- Previous post was at 21:15 ----------

Hey where do i put the _logistic = execVM "=BTC=_Logistic\=BTC=_Logistic_Init.sqf"; and the other one, like do i put it onto the playuer?

Share this post


Link to post
Share on other sites

Again m8...

Add in the init.sqf:

_logistic = execVM "=BTC=_Logistic\=BTC=_Logistic_Init.sqf";

Add in the description.ext:

Code:

#include "=BTC=_Logistic\=BTC=_Lift\=BTC=_Hud.h"

To add it to the "When diplomacy fails" mission, open the mission, copy the =BTC=_Logistic folder inside the mission, add the two lines of code and repack the mission.

Share this post


Link to post
Share on other sites
Again m8...

To add it to the "When diplomacy fails" mission, open the mission, copy the =BTC=_Logistic folder inside the mission, add the two lines of code and repack the mission.

Okay but do i put into a Unit's Init and Desc or into the Mission's init and Desc?

Share this post


Link to post
Share on other sites

Trying to run this script with code34's War in Takistan and it's giving me this error:

"warcontext\dialogs\define.hpp, line 59: .RscPicture: Member Already Defined"

I imagine it's conflicting with the warcontext engine's preexisting define.hpp

Here's Warcontext define.hpp:

#define WCTEXTWIDTH			0.3
#define WCTEXTW				0.8
#define WCTEXTY				0.04
#define	WCSLIDERX			0.81
#define	WCSLIDERY			0.08
#define	WCSLIDERWIDTH			0.28
#define	WCTIMEX				0.8
#define	WCTIMEY				0.12
#define	WCTIMEWIDTH			0.30
#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_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

#define FontHTML			"Zeppelin32"
#define FontM				"Zeppelin32"

#define Dlg_ROWS			36
#define Dlg_COLS			90

#define Dlg_CONTROLHGT		((100/Dlg_ROWS)/100)
#define Dlg_COLWIDTH		((100/Dlg_COLS)/100)

#define Dlg_TEXTHGT_MOD		0.9
#define Dlg_ROWSPACING_MOD	1.3

#define Dlg_ROWHGT			(Dlg_CONTROLHGT*Dlg_ROWSPACING_MOD)
#define Dlg_TEXTHGT			(Dlg_CONTROLHGT*Dlg_TEXTHGT_MOD)

#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_SHORTCUTBUTTON   16
#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 CT_LISTNBOX         102

// Static styles
#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         0x00
#define ST_MULTI          0x10
#define ST_TITLE_BAR      0x20
#define ST_PICTURE        0x30
#define ST_FRAME          0x40
#define ST_BACKGROUND     0x50
#define ST_GROUP_BOX      0x60
#define ST_GROUP_BOX2     0x70
#define ST_HUD_BACKGROUND 0x80
#define ST_TILE_PICTURE   0x90
#define ST_WITH_RECT      0xA0
#define ST_LINE           0xB0

#define ST_SHADOW         0x100
#define ST_NO_RECT        0x200
#define ST_KEEP_ASPECT_RATIO  0x800

#define ST_TITLE          ST_TITLE_BAR + ST_CENTER

// Slider styles
#define SL_DIR            0x400
#define SL_VERT           0
#define SL_HORZ           0x400

#define SL_TEXTURES       0x10

// progress bar 
#define ST_VERTICAL       0x01
#define ST_HORIZONTAL     0

// Listbox styles
#define LB_TEXTURES       0x10
#define LB_MULTI          0x20

// Tree styles
#define TR_SHOWROOT       1
#define TR_AUTOCOLLAPSE   2

// MessageBox styles
#define MB_BUTTON_OK      1
#define MB_BUTTON_CANCEL  2
#define MB_BUTTON_USER    4

class RscText
{
access = 0;
type = 0;
idc = -1;
colorBackground[] = {0,0,0,0};
colorText[] = {0.8784,0.8471,0.651,1};
text = "";
fixedWidth = 0;
x = 0;
y = 0;
h = 0.037;
w = 0.3;
style = 0;
shadow = 2;
font = "Zeppelin32";
SizeEx = 0.03921;
};
class RscStructuredText
{
access = 0;
type = 13;
idc = -1;
style = 0;
colorText[] = {0.8784,0.8471,0.651,1};
class Attributes
{
	font = "Zeppelin32";
	color = "#e0d8a6";
	align = "center";
	shadow = 1;
};
x = 0;
y = 0;
h = 0.035;
w = 0.1;
text = "";
size = 0.03921;
shadow = 2;
};
class RscPicture
{
access = 0;
type = 0;
idc = -1;
style = 48;
colorBackground[] = {0,0,0,0};
colorText[] = {1,1,1,1};
font = "TahomaB";
sizeEx = 0;
lineSpacing = 0;
text = "";
fixedWidth = 0;
shadow = 0;
x = 0;
y = 0;
w = 0.2;
h = 0.15;
};
class RscEdit
{
access = 0;
type = 2;
x = 0;
y = 0;
h = 0.04;
w = 0.2;
colorBackground[] = {0,0,0,1};
colorText[] = {0.95,0.95,0.95,1};
colorSelection[] = {0.8784,0.8471,0.651,1};
autocomplete = "";
text = "";
size = 0.2;
style = "0x00 + 0x40";
font = "Zeppelin32";
shadow = 2;
sizeEx = 0.03921;
};
class RscCombo
{
access = 0;
type = 4;
style = 0;
colorSelect[] = {0.023529,0,0.0313725,1};
colorText[] = {0.023529,0,0.0313725,1};
colorBackground[] = {0.95,0.95,0.95,1};
colorScrollbar[] = {0.023529,0,0.0313725,1};
soundSelect[] = {"",0.1,1};
soundExpand[] = {"",0.1,1};
soundCollapse[] = {"",0.1,1};
maxHistoryDelay = 1;
class ScrollBar
{
	color[] = {1,1,1,0.6};
	colorActive[] = {1,1,1,1};
	colorDisabled[] = {1,1,1,0.3};
	shadow = 0;
	thumb = "\ca\ui\data\ui_scrollbar_thumb_ca.paa";
	arrowFull = "\ca\ui\data\ui_arrow_top_active_ca.paa";
	arrowEmpty = "\ca\ui\data\ui_arrow_top_ca.paa";
	border = "\ca\ui\data\ui_border_scroll_ca.paa";
};
x = 0;
y = 0;
w = 0.12;
h = 0.035;
shadow = 0;
colorSelectBackground[] = {0.8784,0.8471,0.651,1};
arrowEmpty = "\ca\ui\data\ui_arrow_combo_ca.paa";
arrowFull = "\ca\ui\data\ui_arrow_combo_active_ca.paa";
wholeHeight = 0.45;
color[] = {0,0,0,0.6};
colorActive[] = {0,0,0,1};
colorDisabled[] = {0,0,0,0.3};
font = "Zeppelin32";
sizeEx = 0.03921;
};
class RscListBox
{
access = 0;
type = 5;
w = 0.4;
h = 0.4;
rowHeight = 0;
colorText[] = {0.8784,0.8471,0.651,1};
colorScrollbar[] = {0.95,0.95,0.95,1};
colorSelect[] = {0.95,0.95,0.95,1};
colorSelect2[] = {0.95,0.95,0.95,1};
colorSelectBackground[] = {0,0,0,1};
colorSelectBackground2[] = {0.8784,0.8471,0.651,1};
colorBackground[] = {0,0,0,1};
soundSelect[] = {"",0.1,1};
arrowEmpty = "#(argb,8,8,3)color(1,1,1,1)";
arrowFull = "#(argb,8,8,3)color(1,1,1,1)";
class ScrollBar
{
	color[] = {1,1,1,0.6};
	colorActive[] = {1,1,1,1};
	colorDisabled[] = {1,1,1,0.3};
	shadow = 0;
	thumb = "\ca\ui\data\ui_scrollbar_thumb_ca.paa";
	arrowFull = "\ca\ui\data\ui_arrow_top_active_ca.paa";
	arrowEmpty = "\ca\ui\data\ui_arrow_top_ca.paa";
	border = "\ca\ui\data\ui_border_scroll_ca.paa";
};
style = 16;
font = "Zeppelin32";
shadow = 2;
sizeEx = 0.03921;
color[] = {1,1,1,1};
period = 1.2;
maxHistoryDelay = 1;
autoScrollSpeed = -1;
autoScrollDelay = 5;
autoScrollRewind = 0;
};
class RscButton
{
access = 0;
type = 1;
text = "";
colorText[] = {0.8784,0.8471,0.651,1};
colorDisabled[] = {0.4,0.4,0.4,1};
colorBackground[] = {1,0.537,0,0.5};
colorBackgroundDisabled[] = {0.95,0.95,0.95,1};
colorBackgroundActive[] = {1,0.537,0,1};
colorFocused[] = {1,0.537,0,1};
colorShadow[] = {0.023529,0,0.0313725,1};
colorBorder[] = {0.023529,0,0.0313725,1};
soundEnter[] = {"\ca\ui\data\sound\onover",0.09,1};
soundPush[] = {"\ca\ui\data\sound\new1",0,0};
soundClick[] = {"\ca\ui\data\sound\onclick",0.07,1};
soundEscape[] = {"\ca\ui\data\sound\onescape",0.09,1};
style = 2;
x = 0;
y = 0;
w = 0.095589;
h = 0.039216;
shadow = 2;
font = "Zeppelin32";
sizeEx = 0.03921;
offsetX = 0.003;
offsetY = 0.003;
offsetPressedX = 0.002;
offsetPressedY = 0.002;
borderSize = 0;
};
class RscShortcutButton
{
type = 16;
x = 0.1;
y = 0.1;
class HitZone
{
	left = 0.004;
	top = 0.029;
	right = 0.004;
	bottom = 0.029;
};
class ShortcutPos
{
	left = 0.0145;
	top = 0.026;
	w = 0.0392157;
	h = 0.0522876;
};
class TextPos
{
	left = 0.05;
	top = 0.034;
	right = 0.005;
	bottom = 0.005;
};
shortcuts[] = {};
textureNoShortcut = "#(argb,8,8,3)color(0,0,0,0)";
color[] = {0.8784,0.8471,0.651,1};
color2[] = {0.95,0.95,0.95,1};
colorDisabled[] = {1,1,1,0.25};
colorBackground[] = {1,1,1,1};
colorBackground2[] = {1,1,1,0.4};
class Attributes
{
	font = "Zeppelin32";
	color = "#E5E5E5";
	align = "left";
	shadow = "true";
};
idc = -1;
style = 0;
default = 0;
shadow = 2;
w = 0.183825;
h = 0.104575;
periodFocus = 1.2;
periodOver = 0.8;
animTextureNormal = "\ca\ui\data\ui_button_normal_ca.paa";
animTextureDisabled = "\ca\ui\data\ui_button_disabled_ca.paa";
animTextureOver = "\ca\ui\data\ui_button_over_ca.paa";
animTextureFocused = "\ca\ui\data\ui_button_focus_ca.paa";
animTexturePressed = "\ca\ui\data\ui_button_down_ca.paa";
animTextureDefault = "\ca\ui\data\ui_button_default_ca.paa";
period = 0.4;
font = "Zeppelin32";
size = 0.03921;
sizeEx = 0.03921;
text = "";
soundEnter[] = {"\ca\ui\data\sound\onover",0.09,1};
soundPush[] = {"\ca\ui\data\sound\new1",0,0};
soundClick[] = {"\ca\ui\data\sound\onclick",0.07,1};
soundEscape[] = {"\ca\ui\data\sound\onescape",0.09,1};
action = "";
class AttributesImage
{
	font = "Zeppelin32";
	color = "#E5E5E5";
	align = "left";
};
};
class RscShortcutButtonMain
{
idc = -1;
style = 0;
default = 0;
w = 0.313726;
h = 0.104575;
color[] = {0.8784,0.8471,0.651,1};
colorDisabled[] = {1,1,1,0.25};
class HitZone
{
	left = 0;
	top = 0;
	right = 0;
	bottom = 0;
};
class ShortcutPos
{
	left = 0.0204;
	top = 0.026;
	w = 0.0392157;
	h = 0.0522876;
};
class TextPos
{
	left = 0.08;
	top = 0.034;
	right = 0.005;
	bottom = 0.005;
};
animTextureNormal = "\ca\ui\data\ui_button_main_normal_ca.paa";
animTextureDisabled = "\ca\ui\data\ui_button_main_disabled_ca.paa";
animTextureOver = "\ca\ui\data\ui_button_main_over_ca.paa";
animTextureFocused = "\ca\ui\data\ui_button_main_focus_ca.paa";
animTexturePressed = "\ca\ui\data\ui_button_main_down_ca.paa";
animTextureDefault = "\ca\ui\data\ui_button_main_normal_ca.paa";
period = 0.5;
font = "Zeppelin32";
size = 0.03921;
sizeEx = 0.03921;
text = "";
soundEnter[] = {"\ca\ui\data\sound\onover",0.09,1};
soundPush[] = {"\ca\ui\data\sound\new1",0,0};
soundClick[] = {"\ca\ui\data\sound\onclick",0.07,1};
soundEscape[] = {"\ca\ui\data\sound\onescape",0.09,1};
action = "";
class Attributes
{
	font = "Zeppelin32";
	color = "#E5E5E5";
	align = "left";
	shadow = "false";
};
class AttributesImage
{
	font = "Zeppelin32";
	color = "#E5E5E5";
	align = "false";
};
};
class RscFrame
{
type = 0;
idc = -1;
style = 64;
shadow = 2;
colorBackground[] = {0,0,0,0};
colorText[] = {1,1,1,1};
font = "Zeppelin32";
sizeEx = 0.02;
text = "";
};
class RscSlider
{
access = 0;
type = 3;
style = 1024;
w = 0.3;
color[] = {1,1,1,0.8};
colorActive[] = {1,1,1,1};
shadow = 0;
h = 0.025;
};
class RscMapControl 
{
	type = 101;
	moveOnEdges = 1;
	sizeEx = 0.025;
	style = 48;
	x = 0.2;
	y = 0.2;
	w = 0.2;
	h = 0.2;
	ptsPerSquareSea = 8;
	ptsPerSquareTxt = 10;
	ptsPerSquareCLn = 10;
	ptsPerSquareExp = 10;
	ptsPerSquareCost = 10;
	ptsPerSquareFor = "6.0f";
	ptsPerSquareForEdge = "15.0f";
	ptsPerSquareRoad = "3f";
	ptsPerSquareObj = 15;
	showCountourInterval = "false";
	maxSatelliteAlpha = 0.75;
	alphaFadeStartScale = 0.15;
	alphaFadeEndScale = 0.29;
	colorLevels[] = {0.65, 0.6, 0.45, 1};
	colorSea[] = {0.46, 0.65, 0.74, 0.5};
	colorForest[] = {0.45, 0.64, 0.33, 0.5};
	colorRocks[] = {0, 0, 0, 0.3};
	colorCountlines[] = {0.85, 0.8, 0.65, 1};
	colorMainCountlines[] = {0.45, 0.4, 0.25, 1};
	colorCountlinesWater[] = {0.25, 0.4, 0.5, 0.3};
	colorMainCountlinesWater[] = {0.25, 0.4, 0.5, 0.9};
	colorPowerLines[] = {0.1, 0.1, 0.1, 1};
	colorRailWay[] = {0.8, 0.2, 0, 1};
	colorForestBorder[] = {0, 0, 0, 0};
	colorRocksBorder[] = {0, 0, 0, 0};
	colorNames[] = {0.1, 0.1, 0.1, 0.9};
	colorInactive[] = {1, 1, 1, 0.5};
	colorText[] = {0, 0, 0, 1};
	colorBackground[] = {0.8, 0.8, 0.8, 1};
	font = "EtelkaNarrowMediumPro";
	colorOutside[] = {0, 0, 0, 1};
	fontLabel = "Zeppelin32";
	sizeExLabel = 0.034;
	fontGrid = "Zeppelin32";
	sizeExGrid = 0.03;
	fontUnits = "Zeppelin32";
	sizeExUnits = 0.034;
	fontNames = "Zeppelin32";
	sizeExNames = 0.056;
	fontInfo = "Zeppelin32";
	sizeExInfo = 0.034;
	fontLevel = "Zeppelin32";
	sizeExLevel = 0.024;
	text = "\ca\ui\data\map_background2_co.paa";

class Task 
{
	icon = "\ca\ui\data\ui_taskstate_current_CA.paa";
	iconCreated = "\ca\ui\data\ui_taskstate_new_CA.paa";
	iconCanceled = "#(argb,8,8,3)color(0,0,0,0)";
	iconDone = "\ca\ui\data\ui_taskstate_done_CA.paa";
	iconFailed = "\ca\ui\data\ui_taskstate_failed_CA.paa";
	color[] = {0.863, 0.584, 0.0, 1};
	colorCreated[] = {0.95, 0.95, 0.95, 1};
	colorCanceled[] = {0.606, 0.606, 0.606, 1};
	colorDone[] = {0.424, 0.651, 0.247, 1};
	colorFailed[] = {0.706, 0.0745, 0.0196, 1};
	size = 27;
	importance = 1;
	coefMin = 1;
	coefMax = 1;
};

class CustomMark 
{
	icon = "\ca\ui\data\map_waypoint_ca.paa";
	color[] = {0.6471, 0.6706, 0.6235, 1.0};
	size = 18;
	importance = 1;
	coefMin = 1;
	coefMax = 1;
};

class Legend 
{
	x = "SafeZoneX";
	y = "SafeZoneY";
	w = 0.34;
	h = 0.152;
	font = "Zeppelin32";
	sizeEx = 0.03921;
	colorBackground[] = {0.906, 0.901, 0.88, 0};
	color[] = {0, 0, 0, 1};
};

class Bunker
{
	icon = "\ca\ui\data\map_bunker_ca.paa";
	size = 14;
	color[] = {0, 0, 1, 1};
	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 = 14;
	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 = 12;
	importance = 1 * 10 * 0.05;
	coefMin = 0.25;
	coefMax = 4;
};

class Command 
{
	icon = "\ca\ui\data\map_waypoint_ca.paa";
	color[] = {0, 0.9, 0, 1};
	size = 18;
	importance = 1;
	coefMin = 1;
	coefMax = 1;
};

class Cross 
{
	icon = "\ca\ui\data\map_cross_ca.paa";
	size = 16;
	color[] = {0, 0.9, 0, 1};
	importance = 0.7 * 16 * 0.05;
	coefMin = 0.25;
	coefMax = 4;
};

class Fortress
{
	icon = "\ca\ui\data\map_bunker_ca.paa";
	size = 16;
	color[] = {0, 0.9, 0, 1};
	importance = 2 * 16 * 0.05;
	coefMin = 0.25;
	coefMax = 4;
};

class Fuelstation 
{
	icon = "\ca\ui\data\map_fuelstation_ca.paa";
	size = 16;
	color[] = {0, 0.9, 0, 1};
	importance = 2 * 16 * 0.05;
	coefMin = 0.75;
	coefMax = 4;
};

class Fountain
{
	icon = "\ca\ui\data\map_fountain_ca.paa";
	color[] = {0.2, 0.45, 0.7, 1};
	size = 11;
	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, 0, 1, 1};
	size = 16;
	importance = 1 * 16 * 0.05;
	coefMin = 0.9;
	coefMax = 4;
};

class Church
{
	icon = "\ca\ui\data\map_church_ca.paa";
	size = 16;
	color[] = {0, 0.9, 0, 1};
	importance = 2 * 16 * 0.05;
	coefMin = 0.9;
	coefMax = 4;
};

class Lighthouse
{
	icon = "\ca\ui\data\map_lighthouse_ca.paa";
	size = 14;
	color[] = {0, 0.9, 0, 1};
	importance = 3 * 16 * 0.05;
	coefMin = 0.9;
	coefMax = 4;
};

class Quay 
{
	icon = "\ca\ui\data\map_quay_ca.paa";
	size = 16;
	color[] = {0, 0.9, 0, 1};
	importance = 2 * 16 * 0.05;
	coefMin = 0.5;
	coefMax = 4;
};

class Rock 
{
	icon = "\ca\ui\data\map_rock_ca.paa";
	color[] = {0.1, 0.1, 0.1, 0.8};
	size = 12;
	importance = 0.5 * 12 * 0.05;
	coefMin = 0.25;
	coefMax = 4;
};

class Ruin 
{
	icon = "\ca\ui\data\map_ruin_ca.paa";
	size = 16;
	color[] = {0, 0.9, 0, 1};
	importance = 1.2 * 16 * 0.05;
	coefMin = 1;
	coefMax = 4;
};

class SmallTree
{
	icon = "\ca\ui\data\map_smalltree_ca.paa";
	color[] = {0.45, 0.64, 0.33, 0.4};
	size = 12;
	importance = 0.6 * 12 * 0.05;
	coefMin = 0.25;
	coefMax = 4;
};

class Stack 
{
	icon = "\ca\ui\data\map_stack_ca.paa";
	size = 20;
	color[] = {0, 0.9, 0, 1};
	importance = 2 * 16 * 0.05;
	coefMin = 0.9;
	coefMax = 4;
};

class Tree
{
	icon = "\ca\ui\data\map_tree_ca.paa";
	color[] = {0.45, 0.64, 0.33, 0.4};
	size = 12;
	importance = 0.9 * 16 * 0.05;
	coefMin = 0.25;
	coefMax = 4;
};

class Tourism 
{
	icon = "\ca\ui\data\map_tourism_ca.paa";
	size = 16;
	color[] = {0.78, 0, 0.05, 1};
	importance = 1 * 16 * 0.05;
	coefMin = 0.7;
	coefMax = 4;
};

class Transmitter
{
	icon = "\ca\ui\data\map_transmitter_ca.paa";
	color[] = {0, 0.9, 0, 1};
	size = 20;
	importance = 2 * 16 * 0.05;
	coefMin = 0.9;
	coefMax = 4;
};

class ViewTower
{
	icon = "\ca\ui\data\map_viewtower_ca.paa";
	color[] = {0, 0.9, 0, 1};
	size = 16;
	importance = 2.5 * 16 * 0.05;
	coefMin = 0.5;
	coefMax = 4;
};

class Watertower 
{
	icon = "\ca\ui\data\map_watertower_ca.paa";
	color[] = {0.2, 0.45, 0.7, 1};
	size = 20;
	importance = 1.2 * 16 * 0.05;
	coefMin = 0.9;
	coefMax = 4;
};

class Waypoint
{
	icon = "\ca\ui\data\map_waypoint_ca.paa";
	color[] = {0, 0, 1, 1};
	size = 14;
	importance = 2.5 * 16 * 0.05;
	coefMin = 0.5;
	coefMax = 4;
};

class WaypointCompleted
{
	icon = "\ca\ui\data\map_waypoint_completed_ca.paa";
	color[] = {0, 0, 1, 1};
	size = 14;
	importance = 2.5 * 16 * 0.05;
	coefMin = 0.5;
	coefMax = 4;
};

class ActiveMarker
{
	icon = "";
	color[] = {0, 0, 1, 1};
	size = 14;
	importance = 2.5 * 16 * 0.05;
	coefMin = 0.5;
	coefMax = 4;
};
};

class RscIGUIShortcutButton : RscShortcutButton 
{
	w = 0.183825;
	h = 0.0522876;
	style = 2;
	color[] = {1, 1, 1, 1};
	color2[] = {1, 1, 1, 0.85};
	colorBackground[] = {1, 1, 1, 1};
	colorbackground2[] = {1, 1, 1, 0.85};
	colorDisabled[] = {1, 1, 1, 0.4};

class HitZone 
{
	left = 0.002;
	top = 0.003;
	right = 0.002;
	bottom = 0.016;
};

class ShortcutPos 
{
	left = -0.006;
	top = -0.007;
	w = 0.0392157;
	h = 0.0522876;
};

class TextPos 
{
	left = 0.02;
	top = 0.0;
	right = 0.002;
	bottom = 0.016;
};
	animTextureNormal = "\ca\ui\data\igui_button_normal_ca.paa";
	animTextureDisabled = "\ca\ui\data\igui_button_disabled_ca.paa";
	animTextureOver = "\ca\ui\data\igui_button_over_ca.paa";
	animTextureFocused = "\ca\ui\data\igui_button_focus_ca.paa";
	animTexturePressed = "\ca\ui\data\igui_button_down_ca.paa";
	animTextureDefault = "\ca\ui\data\igui_button_normal_ca.paa";

class Attributes 
{
	font = "Zeppelin32";
	color = "#E5E5E5";
	align = "center";
	shadow = "true";
};
};

class New_Btn 
{
	idc = -1;
	type = 16;
	style = 0;
	text = "btn";
	action = "";
	x = 0;
	y = 0;
	w = 0.23;
	h = 0.104575;
	size = 0.03921;
	sizeEx = 0.03921;
	color[] = {0.543, 0.5742, 0.4102, 1.0};
	color2[] = {0.95, 0.95, 0.95, 1};
	colorBackground[] = {1, 1, 1, 1};
	colorbackground2[] = {1, 1, 1, 0.4};
	colorDisabled[] = {1, 1, 1, 0.25};
	periodFocus = 1.2;
	periodOver = 0.8;

	class HitZone 
	{
		left = 0.004;
		top = 0.029;
		right = 0.004;
		bottom = 0.029;
	};

	class ShortcutPos 
	{
		left = 0.0145;
		top = 0.026;
		w = 0.0392157;
		h = 0.0522876;
	};

	class TextPos 
	{
		left = 0.05;
		top = 0.034;
		right = 0.005;
		bottom = 0.005;
	};

	textureNoShortcut = "";
	animTextureNormal = "\ca\ui\data\ui_button_normal_ca.paa";
	animTextureDisabled = "\ca\ui\data\ui_button_disabled_ca.paa";
	animTextureOver = "\ca\ui\data\ui_button_over_ca.paa";
	animTextureFocused = "\ca\ui\data\ui_button_focus_ca.paa";
	animTexturePressed = "\ca\ui\data\ui_button_down_ca.paa";
	animTextureDefault = "\ca\ui\data\ui_button_default_ca.paa";
	period = 0.4;
	font = "Zeppelin32";
	soundEnter[] = {"\ca\ui\data\sound\mouse2", 0.09, 1};
	soundPush[] = {"\ca\ui\data\sound\new1", 0.09, 1};
	soundClick[] = {"\ca\ui\data\sound\mouse3", 0.07, 1};
	soundEscape[] = {"\ca\ui\data\sound\mouse1", 0.09, 1};

	class Attributes 
	{
		font = "Zeppelin32";
		color = "#E5E5E5";
		align = "left";
		shadow = "true";
	};

	class AttributesImage 
	{
		font = "Zeppelin32";
		color = "#E5E5E5";
		align = "left";
		shadow = "true";
	};
};

class RscXSliderH 
{
idc = -1;
type = 43;
style = 0x400  + 0x10;
x = 0;
y = 0;
h = 0.029412;
w = 0.4;
color[] = {1, 1, 1, 0.4};
colorActive[] = {1, 1, 1, 1};
colorDisabled[] = {1, 1, 1, 0.2};
arrowEmpty = "\ca\ui\data\ui_arrow_left_ca.paa";
arrowFull = "\ca\ui\data\ui_arrow_left_active_ca.paa";
border = "\ca\ui\data\ui_border_frame_ca.paa";
thumb = "\ca\ui\data\ui_slider_bar_ca.paa";
};

class RscClickableText 
{
	idc = -1;
	type = 11;
	style = 48 + 0x800;
	color[] = {0.75,0.75,0.75,1};
	colorActive[] = {1,1,1,1};
	colorBackground[] = {0.6, 0.8392, 0.4706, 1.0};
	colorBackgroundSelected[] = {0.6, 0.8392, 0.4706, 1.0};
	colorFocused[] = {0.0, 0.0, 0.0, 0};
	font = "Zeppelin32";
	sizeEx = 0.03921;
	soundClick[] = {"ui\ui_ok",0.2,1};
	soundDoubleClick[] = {"", 0.1, 1};
	soundEnter[] = {"ui\ui_over",0.2,1};
	soundEscape[] = {"ui\ui_cc",0.2,1};
	soundPush[] = {, 0.2, 1};
	w = 0.275;
	h = 0.04;
	text = "";
};

Is there any way I could combine these to make it work? Thanks!

Share this post


Link to post
Share on other sites

Open the =BTC=_Hud.h and delete:

class RscPicture 
{
type = CT_STATIC;
idc = -1;
style = ST_PICTURE;
colorBackground[] = {0, 0, 0, 0};
colorText[] = {1, 1, 1, 1};
font = "Bitstream"; //Typeface
sizeEx = 0;
};

Give it a try ;)

Share this post


Link to post
Share on other sites

now the error is the same but with "RscTitles" :(

Share this post


Link to post
Share on other sites

Wierd because i don't see any "RscTitles" definition in the Warcontext define.hpp

Share this post


Link to post
Share on other sites

It's defined in the description.ext

showGps = 1;

loadScreen = "pics\loading.jpg";
OnLoadMission  = "War In Takistan";

class Header
{
gameType = COOP;
minPlayers = 1;
maxPlayers = 40;
};

// description.ext settings for revive
///////////////////////////////////////////////////////////////////////////////////////////
disabledAI = 1;
Respawn = "BASE";
RespawnDelay = 6;
RespawnDialog = 0;

#include "warcontext\dialogs\define.hpp"
#include "warcontext\dialogs\mission.hpp"

#include "extern\R3F_DEBUG\Scripts\R3F_DEBUG_Configuration.h"
#include "extern\R3F_DEBUG\scripts\map_dlg.h"
#include "extern\R3F_DEBUG\scripts\script_dlg.h"
#include "extern\R3F_DEBUG\scripts\spy_dlg.h"
#include "extern\R3F_ARTY_AND_LOG\desc_include.h"
#include "extern\R3F_revive\dlg_attente_reanimation.h"
#include "extern\spect\spectating.hpp"
#include "extern\TeamStatusdialog\TeamStatusDialog.hpp"
#include "extern\bon_loadoutpresets\dialog\Common.hpp"
#include "extern\bon_loadoutpresets\dialog\LoadoutPreset.hpp"


class RscTitles
{
titles[]={"warcontextlabel", "infomessage", "TitreMission", "LooseMission", "lbrvwfr","drocnpuaxxg", "WinMission", "Titrecredits"};

class warcontextlabel
{
	idd=-1;
	movingEnable=0;
	duration=10;
	name="warcontextlabel";
	sizeEx = 256;

	controls[]={"Picture"};

	class Picture : RscPicture
	{
		x=0.27; y=0.4; w=0.5; h=0.25;
		text="pics\warcontext.paa";
		sizeEx = 256;
	};
};

class arma2oasplash
{
	idd=-1;
	movingEnable=0;
	duration=4;
	name="arma2oasplash";
	sizeEx = 256;

	controls[]={"Picture"};

	class Picture : RscPicture
	{
		x=0.3;y=0.3;w=0.4;h=0.35;
		text="ca\ui\data\logo_arma2ep1_ca.paa";
		sizeEx = 256;
	};
};

class keypad1
{
	idd=-1;
	movingEnable=0;
	duration=10;
	name="keypad1";
	sizeEx = 128;

	controls[]={"Picture"};

	class Picture : RscPicture
	{
		x=0.30; y=0.4; w=0.15; h=0.15;
		text="pics\keypad1.paa";
		sizeEx = 128;
	};
};

class keypad2
{
	idd=-1;
	movingEnable=0;
	duration=10;
	name="keypad2";
	sizeEx = 128;

	controls[]={"Picture"};

	class Picture : RscPicture
	{
		x=0.30; y=0.4; w=0.15; h=0.15;
		text="pics\keypad2.paa";
		sizeEx = 128;
	};
};

class keypad3
{
	idd=-1;
	movingEnable=0;
	duration=10;
	name="keypad3";
	sizeEx = 128;

	controls[]={"Picture"};

	class Picture : RscPicture
	{
		x=0.30; y=0.4; w=0.15; h=0.15;
		text="pics\keypad3.paa";
		sizeEx = 128;
	};
};

class keypad4
{
	idd=-1;
	movingEnable=0;
	duration=10;
	name="keypad4";
	sizeEx = 128;

	controls[]={"Picture"};

	class Picture : RscPicture
	{
		x=0.30; y=0.4; w=0.15; h=0.15;
		text="pics\keypad4.paa";
		sizeEx = 128;
	};
};

class keypad5
{
	idd=-1;
	movingEnable=0;
	duration=10;
	name="keypad5";
	sizeEx = 128;

	controls[]={"Picture"};

	class Picture : RscPicture
	{
		x=0.30; y=0.4; w=0.15; h=0.15;
		text="pics\keypad5.paa";
		sizeEx = 128;
	};
};

class keypad6
{
	idd=-1;
	movingEnable=0;
	duration=10;
	name="keypad6";
	sizeEx = 128;

	controls[]={"Picture"};

	class Picture : RscPicture
	{
		x=0.30; y=0.4; w=0.15; h=0.15;
		text="pics\keypad6.paa";
		sizeEx = 128;
	};
};

class keypad7
{
	idd=-1;
	movingEnable=0;
	duration=10;
	name="keypad7";
	sizeEx = 128;

	controls[]={"Picture"};

	class Picture : RscPicture
	{
		x=0.30; y=0.4; w=0.15; h=0.15;
		text="pics\keypad7.paa";
		sizeEx = 128;
	};
};

class keypad8
{
	idd=-1;
	movingEnable=0;
	duration=10;
	name="keypad8";
	sizeEx = 128;

	controls[]={"Picture"};

	class Picture : RscPicture
	{
		x=0.30; y=0.4; w=0.15; h=0.15;
		text="pics\keypad8.paa";
		sizeEx = 128;
	};
};

class keypad9
{
	idd=-1;
	movingEnable=0;
	duration=10;
	name="keypad9";
	sizeEx = 128;

	controls[]={"Picture"};

	class Picture : RscPicture
	{
		x=0.30; y=0.4; w=0.15; h=0.15;
		text="pics\keypad9.paa";
		sizeEx = 128;
	};
};

class TitreMission
{
	controls[]={"TitreMission_texte1","TitreMission_texte2"};
	duration= 3; 
	idd=50001;

	class TitreMission_texte1: RscText
	{
		text = $STR_WC_TITLE_MISSION;
		x = 0.05;
		y = 0.4;
		w = 0.9;
		h = 0.7;
		sizeEx = 0.075;
		colorText[]={1,1,1,1};
		duration= 4;  
	};

	class TitreMission_texte2: RscText
	{
		text = "Cooperative campaign";
		x = 0.05;
		y = 0.35;
		w = 0.9;
		h = 0.7;
		sizeEx = 0.05;
		colorText[]={0,0,0,1};
		duration= 4;  
	};
};


class LooseMission
{
	controls[]={"LooseMission_texte1","LooseMission_texte2"};
	duration= 3; 
	idd=50003;

	class LooseMission_texte1: RscText
	{
		text = $STR_WC_LOOSE_MISSION;
		x = 0.05;
		y = 0.4;
		w = 0.9;
		h = 0.7;
		sizeEx = 0.075;
		colorText[]={1,1,1,1};
		duration= 4;  
	};

	class LooseMission_texte2: RscText
	{
		text = "The End";
		x = 0.05;
		y = 0.35;
		w = 0.9;
		h = 0.7;
		sizeEx = 0.05;
		colorText[]={0,0,0,1};
		duration= 4;  
	};
};

class WinMission
{
	controls[]={"WinMission_texte1","WinMission_texte2"};
	duration= 10; 
	idd=50003;
	onLoad = "uiNamespace setVariable ['wcdisplay', _this select 0];";
	onunLoad = "uiNamespace setVariable ['wcdisplay', objnull];";  
	class WinMission_texte1: RscText
	{
		idc = 10104; 
		text = $STR_WC_WIN_MISSION;
		x = 0.05;
		y = 0.4;
		w = 0.9;
		h = 0.7;
		sizeEx = 0.075;
		colorText[]={1,1,1,1};
		duration= 10;  
	};

	class WinMission_texte2: RscText
	{
		text = "The End";
		x = 0.05;
		y = 0.35;
		w = 0.9;
		h = 0.7;
		sizeEx = 0.05;
		colorText[]={0,0,0,1};
		duration= 10;  
	};
};

class Titrecredits
{
	controls[]={"Titrecredits_texte1","Titrecredits_texte2"};
	duration= 3; 
	idd=50002;

	class Titrecredits_texte1: RscText
	{
		text = "Code34";
		x = 0.05;
		y = 0.4;
		w = 0.9;
		h = 0.7;
		sizeEx = 0.075;
		colorText[]={1,1,1,1};
		duration= 4;  
	};

	class Titrecredits_texte2: RscText
	{
		text = "Designed by";
		x = 0.05;
		y = 0.35;
		w = 0.9;
		h = 0.7;
		sizeEx = 0.05;
		colorText[]={0,0,0,1};
		duration= 4;  
	};
};

class infomessage
	{
	idd = 10100;
	movingEnable=0;
	duration = 1000000000; 
	fadein=0;    
	name="infomessage";
	controlsBackground[] = {"wctext", "wcteamtext"};
	onLoad = "uiNamespace setVariable ['wcdisplay', _this select 0];";
	onunLoad = "uiNamespace setVariable ['wcdisplay', objnull];";    

	class wctext { 
		idc = 10101; 
		type = CT_STRUCTURED_TEXT; 
		style = ST_LEFT; 
		x = (SafeZoneX + 0.02);
		y = (SafeZoneY + 0.25);
		w = 0.3;
		h = 0.6;
		size = 0.018; 
		colorBackground[] = { 0, 0, 0, 0 };
		colortext[] = {0,0,0,0.7};
		text ="";
	};

	class wcteamtext { 
		idc = 10103; 
		type = CT_STRUCTURED_TEXT; 
		style = ST_LEFT; 
		x = (SafeZoneW + SafezoneX) - 0.25;
		y = (1 + ((0 + SafeZoneY) * -1) - 0.14);
		w = 0.25;
		h = 0.14;
		size = 0.02; 
		colorBackground[] = { 0, 0, 0, 0 };
		colortext[] = {0,0,0,0.7};
		text ="";
	};
};

// Needed for R3F log & arty
#include "extern\R3F_ARTY_AND_LOG\desc_rsct_include.h"	
};

class cfgFunctions
{
#include "warcontext\cfgwarcontext.h"
#include "extern\R3F_DEBUG\scripts\cfgR3FInterface.h"
};


class CfgMusic {
tracks[]={intro, outro};
class intro
{
	name = "";
	sound[] = {"\sound\intro.ogg", db+0, 1.0};
};
class outro
{
	name = "";
	sound[] = {"\sound\outro.ogg", db+0, 1.0};
};
};


class CfgSounds
{
sounds[] = {};  
class paper
{
	name = "paper";
	sound[] = {"\sound\paper.ogg", 1, 1};
	titles[] = {};
};
class drum
{
	name = "drum";
	sound[] = {"\sound\drum.ogg", 0.4, 1};
	titles[] = {};
};
class allah
{
	name = "allah";
	sound[] = {"\sound\allah.ogg", 0.4, 1};
	titles[] = {};
};
class bombdetector1
{
	name = "bombdetector1";
	sound[] = {"\sound\bip6.ogg", 0.4, 0.2};
	titles[] = {};
};
class bombdetector2
{
	name = "bombdetector2";
	sound[] = {"\sound\bip6.ogg", 0.4, 1};
	titles[] = {};
};
class bombdetector3
{
	name = "bombdetector3";
	sound[] = {"\sound\bip7.ogg", 0.4, 1};
	titles[] = {};
};
class bomb
{
	name = "bomb";
	sound[] = {"\sound\bomb.ogg", 1, 1};
	titles[] = {};
};
class alarm1
{
	name = "alarm1";
	sound[] = {"\sound\alarm.ogg", 1, 1};
	titles[] = {};
};
class alarm2
{
	name = "alarm2";
	sound[] = {"\sound\alarm.ogg", 0.1, 1};
	titles[] = {};
};
class alarm3
{
	name = "alarm3";
	sound[] = {"\sound\alarm.ogg", 0.01, 1};
	titles[] = {};
};
class help1
{
	name = "help1";
	sound[] = {"\sound\help.ogg", 1, 1};
	titles[] = {};
};
class help2
{
	name = "help2";
	sound[] = {"\sound\help.ogg", 0.1, 1};
	titles[] = {};
};
class help3
{
	name = "help3";
	sound[] = {"\sound\help.ogg", 0.01, 1};
	titles[] = {};
};
class bip1
{
	name = "bip1";
	sound[] = {"\sound\bip1.ogg", 1, 1};
	titles[] = {};
};
class bip2
{
	name = "bip2";
	sound[] = {"\sound\bip2.ogg", 1, 1};
	titles[] = {};
};
class bip3
{
	name = "bip3";
	sound[] = {"\sound\bip3.ogg", 1, 1};
	titles[] = {};
};
class bip4
{
	name = "bip4";
	sound[] = {"\sound\bip4.ogg", 1, 1};
	titles[] = {};
};
class bip5
{
	name = "bip5";
	sound[] = {"\sound\bip5.ogg", 1, 1};
	titles[] = {};
};
class bip6
{
	name = "bip6";
	sound[] = {"\sound\bip6.ogg", 1, 1};
	titles[] = {};
};
class bip7
{
	name = "bip7";
	sound[] = {"\sound\bip7.ogg", 1, 1};
	titles[] = {};
};
class bip8
{
	name = "bip8";
	sound[] = {"\sound\bip8.ogg", 1, 1};
	titles[] = {};
};
class bip9
{
	name = "bip9";
	sound[] = {"\sound\bip9.ogg", 1, 1};
	titles[] = {};
};
class geiger
{
	name = "geiger";
	sound[] = {"\sound\geiger.ogg", 0.6, 1};
	titles[] = {};
};
class missionvoid1
{
	name = "missionvoid1";
	sound[] = {"\sound\help.ogg", 1, 1};
	titles[] = {};
};
};

class Params
{ 
class wcwithACE
{
	title = "ACE ADDONS ARE ACTIVATED ON SERVER";
	values[] = {0, 1};
	texts[] = {"No", "Yes"};
	default = 0;
};

class wckindofserver
{
	title = "KIND OF SERVER";
	values[] = {1,2,3};
	texts[] = {"TEAM - Admin chooses team members", "OPEN SERVER - All players are team members", "No team - All players are mercenaries"};
	default = 2;
};

class wckindofgame
{
	title = "KIND OF GAME";
	values[] = {1, 2, 3};
	texts[] = {"ARCADE", "SIMULATION", "CHEATED"};
	default = 1;
};

class wclevelmax
{
	title = "NUMBER OF MISSIONS TO COMPLETE CAMPAIGN";
	values[] = {3, 5, 7, 9, 11, 21, 41, 61};
	texts[] = {"2", "4", "6", "8", "10", "20", "40", "60"};
	default = 9;
};

class wcwithhq
{
	title = "3 BEST PLAYERS CHOOSE MISSIONS OF PLAYERS";
	values[] = {0, 1};
	texts[] = {"NO", "YES"};
	default = 0;
};

class wcskiptime
{
	title = "DYNAMIC TIME";
	values[] = {0,1,2};
	texts[] = {"NO FAST FORWARD", "FAST FORWARD", "INSTANT FAST FORWARD"};
	default = 2;
};


class wcopposingforce
{
	title = "ENEMIES FORCE ON ZONE";
	values[] = {1, 2, 3, 4, 5};
	texts[] = {"WEAK", "NORMAL", "STRONG", "VERY STRONG", "AWESOME"};
	default = 2;
};

class wcairopposingforce
{
	title = "ENEMIES AIR FORCE ON ZONE";
	values[] = {0, 1, 2, 4};
	texts[] = {"OFF", "WEAK: 1 PLANE", "NORMAL: 2 PLANES", "STRONG: 4 PLANES"};
	default = 0;
};


class wcreinforcmentlevel
{
	title = "ENEMIES REINFORCMENT FORCE";
	values[] = {0, 2, 4, 6};
	texts[] = {"OFF", "WEAK: 2 GROUPS", "NORMAL: 4 GROUPS", "STRONG: 6 GROUPS"};
	default = 2;
};

class wcconvoylevel
{
	title = "ENEMIES VEHICLES PATROL ON MAP";
	values[] = {0, 5, 10, 15};
	texts[] = {"OFF", "WEAK: 5 VEHICLES", "NORMAL: 10 VEHICLES", "STRONG: 15 VEHICLES"};
	default = 5;
};

class wcwithcomposition
{
	title = "ENEMIES BUILDING COMPOSITION ON MAP";
	values[] = {0, 1};
	texts[] = {"NO", "YES"};
	default = 1;
};

class wcwithstaticweapons
{
	title = "ENEMIES USE STATIC WEAPONS";
	values[] = {0, 1};
	texts[] = {"NO", "YES"};
	default = 1;
};

class wcwithlight
{
	title = "SOLAR LIGHT DEPENDING OF WEATHER";
	values[] = {0,1};
	texts[] = {"NO", "YES"};
	default = 1;
};

class wcviewdistance
{		
	title = "MAX VIEW DISTANCE";
	values[]={2500,3000,3500,4000,5000,7500,10000};
	texts[]={"2500","3000","3500","4000","5000","7500","10000"};
	default=10000;
};

class wcwithcam
{
	title = "DISTANCE OF CAMERA FOR GOAL OPERATION";
	values[] = {1, 2, 3};
	texts[] = {"NO CAMERA","NEAR","FAR"};
	default = 3;
};

class wcwithmhq
{
	title = "MHQ IS AVALAIBLE";
	values[] = {0, 1};
	texts[] = {"NO", "YES"};
	default = 1;
};

class wcrecruitberanked
{
	title = "PLAYERS MUST BE RANKED TO RECRUIT SOME IA";
	values[] = {0,1};
	texts[] = {"NO", "YES"};
	default = 0;
};

class wcwithhalojump
{
	title = "PLAYERS CAN DO HALO JUMP FROM THE BASE";
	values[] = {0,1};
	texts[] = {"NO", "YES"};
	default = 1;
};

class wcwithteleporttent
{
	title = "PLAYERS CAN TELEPORT AT HIS OWN TENT";
	values[] = {0, 1};
	texts[] = {"NO", "YES"};
	default = 1;
};

class wcwithonelife
{
	title = "PLAYER HAS ONLY 1 LIFE";
	values[] = {0, 1};
	texts[] = {"NO", "YES"};
	default = 0;
};

class wcwithmarkers
{
	title = "PLAYERS NAME MARKERS ON MAP";
	values[] = {0, 1};
	texts[] = {"NO", "YES"};
	default = 1;
};

class wcwithvehicles
{
	title = "PLAYERS CAN BUILD AT MHQ";
	values[] = {1, 2, 3};
	texts[] = {"NONE", "ATV", "ALL VEHICLES"};
	default = 2;
};

class wceverybodymedic
{
	title = "PLAYERS ARE MEDICS";
	values[] = {0, 1};
	texts[] = {"NO (ONLY MEDICS)", "YES (EVERYBODY)"};
	default = 1;
};

class wcwithinjuredeffect
{
	title = "PLAYERS INJURED SEE RED EFFECT";
	values[] = {0, 1};
	texts[] = {"NO", "YES"};
	default = 1;
};

class wcwithradiomarkers
{
	title = "ENEMY RADIO SITE MARKER ON MAP";
	values[] = {0, 1};
	texts[] = {"NO", "YES"};
	default = 1;
};

class wcwithgeneratormarkers
{
	title = "ENEMY GENERATOR SITE MARKER ON MAP";
	values[] = {0, 1};
	texts[] = {"NO", "YES"};
	default = 1;
};

class wcwithmarkerongoal
{
	title = "SHOW A GOAL MARKER";
	values[] = {0, 1, 2};
	texts[] = {"NONE", "FOCUS MIDDLE OF RED ZONE", "FOCUS ON GOAL"};
	default = 2;
};

class wcwithrandomfuel
{
	title = "RANDOM AMOUNT OF FUEL AND AMMOS IN VEHICLES";
	values[] = {0, 1};
	texts[] = {"NO", "YES"};
	default = 0;
};

class wcwithteleportflagatend
{
	title = "TELEPORT FLAG APPEAR ON ZONE AT END OF OPERATIONS";
	values[] = {0, 1};
	texts[] = {"NO", "YES"};
	default = 1;
};

class wcwithenvironment
{
	title = "ENVIRONMENT SOUNDS";
	values[] = {0, 1};
	texts[] = {"NO", "YES"};
	default = 1;
};


class wcminimunbuildings
{
	title = "SIZE OF TOWNS FOR MISSION ZONE";
	values[] = {3, 25, 50, 1000};
	texts[] = {"ALL (VILLAGE, TOWN, BIG TOWN)", "TOWN: (TOWN, BIG TOWN)", "BIG TOWN", "NONE (ONLY COMPUTED VILLAGE)"};
	default = 3;
};

class wccomputedvillages
{
	title = "BUILD ADDITIONAL VILLAGES FOR EMPTY MAP";
	values[] = {0, 10, 20, 30};
	texts[] = {"OFF", "POOR: +10 VILLAGES", "NORMAL: +20 VILLAGES", "A LOT: +30 VILLAGES"};
	default = 0;
};

class wccomputedzones
{
	title = "MAX NUMBER OF TOWNS (TO AVOID PERFORMANCE LEAK)";
	values[] = {20, 30, 40};
	texts[] = {"POOR: 20 ZONES", "NORMAL: 30 ZONES", "A LOT: 40 ZONES"};
	default = 30;
};

class wcwithcivilian
{
	title = "MAX CIVILIANS PER TOWN";
	values[] = {0, 3, 5, 10};
	texts[] = {"OFF", "POOR: 3 CIVILIANS", "NORMAL: 5 CIVILIANS", "A LOT: 10 CIVILIANS"};
	default = 5;
};

class wcwithcivilcar
{
	title = "MAX CIVIL VEHICLES PER TOWN";
	values[] = {0, 1, 3, 5};
	texts[] = {"OFF", "POOR: 1 VEHICLE", "NORMAL: 3 VEHICLES", "A LOT: 5 VEHICLES"};
	default = 1;
};

class wcwithied
{
	title = "MAX IED PER TOWN";
	values[] = {0, 1, 3};
	texts[] = {"OFF", "NORMAL: 1 IED", "A LOT: 3 IED"};
	default = 1;
};

class wcwithsheeps
{
	title = "SHEEPS IN HILLS";
	values[] = {0, 1};
	texts[] = {"NO", "YES"};
	default = 1;
};

class wcwithrussian
{
	title = "ENEMIES USE RUSSIAN FORCES";
	values[] = {0,1};
	texts[] = {"NO", "YES"};
	default = 0;
};

class wcwithtakistan
{
	title = "ENEMIES USE TAKISTAN FORCES";
	values[] = {0, 1};
	texts[] = {"NO", "YES"};
	default = 1;
};

class wcwithenemyvehicle
{
	title = "ENEMIES USE VEHICLES";
	values[] = {0, 1};
	texts[] = {"NO", "YES"};
	default = 1;
};

class wcwithantiairsite
{
	title = "ENEMIES USE ANTI AIR SITE";
	values[] = {0, 1};
	texts[] = {"NO", "YES"};
	default = 0;
};

class wcwithnuclear
{
	title = "ENEMIES USE NUCLEAR BOMB";
	values[] = {0,1};
	texts[] = {"NO", "YES"};
	default = 0;
};

class wcwithseapatrol
{
	title = "ENEMIES USE SEA PATROL";
	values[] = {0, 1};
	texts[] = {"NO", "YES"};
	default = 0;
};

class wcautoloadweapons
{
	title = "AUTOLOAD WEAPONS (REQUIRE SAME ADDONS ON CLIENT SIDE)";
	values[] = {0,1};
	texts[] = {"NO", "YES"};
	default = 0;
};

class wcautoloadtroops
{
	title = "AUTOLOAD TROOPS (REQUIRE SAME ADDONS ON CLIENT SIDE)";
	values[] = {0,1};
	texts[] = {"NO", "YES"};
	default = 0;
};

class wcautoloadvehicles
{
	title = "AUTOLOAD VEHICLES (REQUIRE SAME ADDONS ON CLIENT SIDE)";
	values[] = {0,1};
	texts[] = {"NO", "YES"};
	default = 0;
};
};

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×