Jump to content

=BTC=_Logistic (DayZ Epoch Version)


Torndeco

Recommended Posts

would recommend you post it in pastebin or something so others can see it and possibly help you.

respawn = "BASE";
respawndelay = 5;
onLoadMission="DayZ_Epoch Napf";
OnLoadIntro = "Welcome to Napf";
OnLoadIntroTime = False;
OnLoadMissionTime = False;
disabledAI = true;
disableChannels[]={0,2,6};
enableItemsDropping=0;

briefing = 0;
debriefing = 0;

onPauseScript = "";
loadScreen = "img.jpg";

class Header
{
 gameType = COOP;            //DM, Team, Coop, ...
 minPlayers = 1;             //min # of players the mission supports
 maxPlayers = 100;            //Max # of players the mission supports
};

aiKills = 1;
diagRadio = 1;
diagHit = 1;

class RscTitles {
	class BTC_Hud
	{
		idd = 1000;
		movingEnable=0;
		duration=1e+011;
		name = "BTC_Hud_Name";
		onLoad = "uiNamespace setVariable ['HUD', _this select 0];";
		controlsBackground[] = {};
		objects[] = {};
		class controls 
		{
			class Radar
			{
				type = 0;
				idc = 1001;
				style = 48;
				x = (SafeZoneW+2*SafeZoneX) - 0.1;//safezonex + 0.1;//0.9
				y = (SafeZoneH+2*SafeZoneY) - 0.15;//safezoney + 0.1;//0.85
				w = 0.3;
				h = 0.4;
				font = "Zeppelin32";
				sizeEx = 0.03;
				colorBackground[] = {0, 0, 0, 0};
				colorText[] = {1, 1, 1, 1};
				text = "\ca\ui\data\igui_radar_air_ca.paa";
			};
			class Img_Obj
			{
				type = 0;
				idc = 1002;
				style = 48;
				x = (SafeZoneW+2*SafeZoneX) + 0.045;
				y = (SafeZoneH+2*SafeZoneY) + 0.045;
				w = 0.01;
				h = 0.01;
				font = "Zeppelin32";
				sizeEx = 0.04;
				colorBackground[] = {0, 0, 0, 0};
				colorText[] = {1, 1, 1, 1};
				text = "=BTC=_Logistic\data\=BTC=_Obj.paa";
			};
			class Pic_Obj
			{
				type = 0;
				idc = 1003;
				style = 48;
				x = (SafeZoneW+2*SafeZoneX) - 0.125;
				y = (SafeZoneH+2*SafeZoneY) - 0.23;
				w = 0.1;
				h = 0.1;
				font = "Zeppelin32";
				sizeEx = 0.03;
				colorBackground[] = {0, 0, 0, 0};
				colorText[] = {1, 1, 1, 1};
				text = "";
			};
			class Arrow
			{
				type = 0;
				idc = 1004;
				style = 48;
				x = (SafeZoneW+2*SafeZoneX) + 0.15;
				y = (SafeZoneH+2*SafeZoneY) - 0.15;
				w = 0.05;
				h = 0.05;
				font = "Zeppelin32";
				sizeEx = 0.03;
				colorBackground[] = {0, 0, 0, 0};
				colorText[] = {1, 1, 1, 1};
				text = "";
			};
			class Type_Obj
			{
				type = 0;
				idc = 1005;
				style = 0x00;
				x = (SafeZoneW+2*SafeZoneX) - 0.03;
				y = (SafeZoneH+2*SafeZoneY) - 0.335;
				w = 0.3;
				h = 0.3;
				font = "Zeppelin32";
				sizeEx = 0.03;
				colorBackground[] = {0, 0, 0, 0};
				colorText[] = {1, 1, 1, 1};
				text = "";
			};
		};   
	};
	class ExampleTitle {     
		idd = -1; 
		duration = 10; //show for 10 seconds 
		class controls 
		{ 
			class ExampleControl 
			{
				idc = -1; 
				type = 0; 
				style = 2; //centre text 
				x = safeZoneX + safeZoneW - 0.6 * 3 / 4;  
				y = safeZoneY + safeZoneH - 0.6; 
				h = 0.6; 
				w = 0.6 * 3 / 4; //w == h 
				font = "EtelkaNarrowMediumPro"; 
				sizeEx = 0.03; 
				colorBackground[] = {1,1,0,1}; //yellow background 
				colorText[] = {0,0,1,1}; //blue text 
				text = "Bottom Right Corner Square Box"; 
			};
		};
	};
};

class RscText
{
	type = 0;
	idc = -1;
	x = 0;
	y = 0;
	h = 0.037;
	w = 0.3;
	style = 0x100; 
	font = Zeppelin32;
	SizeEx = 0.03921;
	colorText[] = {1,1,1,1};
	colorBackground[] = {0, 0, 0, 0};
	linespacing = 1;
};
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="";
};
class RscLoadingText : RscText
{
	style = 2;
	x = 0.323532;
	y = 0.666672;
	w = 0.352944;
	h = 0.039216;
	sizeEx = 0.03921;
	colorText[] = {0.543,0.5742,0.4102,1.0};
};
class RscProgress
{
	x = 0.344;
	y = 0.619;
	w = 0.313726;
	h = 0.0261438;
	texture = "\ca\ui\data\loadscreen_progressbar_ca.paa";
	colorFrame[] = {0,0,0,0};
	colorBar[] = {1,1,1,1};
};
class RscProgressNotFreeze
{
	idc = -1;
	type = 45;
	style = 0;
	x = 0.022059;
	y = 0.911772;
	w = 0.029412;
	h = 0.039216;
	texture = "#(argb,8,8,3)color(0,0,0,0)";
};
//
// the loading screen itself
//
class DayZ_loadingScreen
{ 
	idd = -1;
	duration = 10e10;
	fadein = 0;
	fadeout = 0;
	name = "loading screen";
	class controlsBackground
	{
		class blackBG : RscText
		{
			x = safezoneX;
			y = safezoneY;
			w = safezoneW;
			h = safezoneH;
			text = "";
			colorText[] = {0,0,0,0};
			colorBackground[] = {0,0,0,1};
		};
		/*
		class nicePic : RscPicture
		{
			style = 48 + 0x800; // ST_PICTURE + ST_KEEP_ASPECT_RATIO
			x = safezoneX + safezoneW/2 - 0.25;
			y = safezoneY + safezoneH/2 - 0.2;
			w = 0.5;
			h = 0.4;
			text = "img\nicePic.paa";
		};
		*/
	};
	class controls
	{
		class Title1 : RscLoadingText
		{
			text = "$STR_LOADING"; // "Loading" text in the middle of the screen
		};
		class CA_Progress : RscProgress // progress bar, has to have idc 104
		{
			idc = 104;
			type = 8; // CT_PROGRESS
			style = 0; // ST_SINGLE
			texture = "\ca\ui\data\loadscreen_progressbar_ca.paa";
		};
		class CA_Progress2 : RscProgressNotFreeze // progress bar that will go reverse
		{
			idc = 103;
		};
		class Name2: RscText // the text on the top-left
		{
			idc = 101;
			x = 0.05;
			y = 0.029412;
			w = 0.9;
			h = 0.04902;
			text = "";
			sizeEx = 0.05;
			colorText[] = {0.543,0.5742,0.4102,1.0};
		};
	};
};
// Epoch Admin Tools
#include "admintools\dialog.hpp"

// DayZ Watermark
class RscTitles {
class wm_disp {
idd = -1;
onLoad = "uiNamespace setVariable ['wm_disp', _this select 0]";
fadein = 0;
fadeout = 0;
duration = 10e10;
controlsBackground[] = {};
objects[] = {};
class controls {
class wm_text2 {
idc = 1;
x = safeZoneX+0.027;//safeZoneW*0.01;
y = safeZoneY+safeZoneH-0.16;
w = 1.151*safeZoneH;
h = 0.057*safeZoneH;
shadow = 2;
class Attributes
{
font = "EtelkaNarrowMediumPro";
color = "#24FFFFFF";
align = "left"; // put "center" here if you want some background
valign = "middle";
shadow = 2;
};
colorBackground[] = { 1, 0.3, 0, 0 };  // uncomment and increase 4th number to have a background
font = "EtelkaNarrowMediumPro";
size = 0.06*safeZoneH;
type = 13;
style = 0;
text="";
};
};
};
};

#include "scripts\rightclickmenu\extra_rc.hpp"
#include "custom\snap_build\points.hpp"
Link to comment
Share on other sites

respawn = "BASE";
respawndelay = 5;
onLoadMission="DayZ_Epoch Napf";
OnLoadIntro = "Welcome to Napf";
OnLoadIntroTime = False;
OnLoadMissionTime = False;
disabledAI = true;
disableChannels[]={0,2,6};
enableItemsDropping=0;

briefing = 0;
debriefing = 0;

onPauseScript = "";
loadScreen = "img.jpg";

class Header
{
 gameType = COOP;            //DM, Team, Coop, ...
 minPlayers = 1;             //min # of players the mission supports
 maxPlayers = 100;            //Max # of players the mission supports
};

aiKills = 1;
diagRadio = 1;
diagHit = 1;

class RscTitles {
	class BTC_Hud
	{
		idd = 1000;
		movingEnable=0;
		duration=1e+011;
		name = "BTC_Hud_Name";
		onLoad = "uiNamespace setVariable ['HUD', _this select 0];";
		controlsBackground[] = {};
		objects[] = {};
		class controls 
		{
			class Radar
			{
				type = 0;
				idc = 1001;
				style = 48;
				x = (SafeZoneW+2*SafeZoneX) - 0.1;//safezonex + 0.1;//0.9
				y = (SafeZoneH+2*SafeZoneY) - 0.15;//safezoney + 0.1;//0.85
				w = 0.3;
				h = 0.4;
				font = "Zeppelin32";
				sizeEx = 0.03;
				colorBackground[] = {0, 0, 0, 0};
				colorText[] = {1, 1, 1, 1};
				text = "\ca\ui\data\igui_radar_air_ca.paa";
			};
			class Img_Obj
			{
				type = 0;
				idc = 1002;
				style = 48;
				x = (SafeZoneW+2*SafeZoneX) + 0.045;
				y = (SafeZoneH+2*SafeZoneY) + 0.045;
				w = 0.01;
				h = 0.01;
				font = "Zeppelin32";
				sizeEx = 0.04;
				colorBackground[] = {0, 0, 0, 0};
				colorText[] = {1, 1, 1, 1};
				text = "=BTC=_Logistic\data\=BTC=_Obj.paa";
			};
			class Pic_Obj
			{
				type = 0;
				idc = 1003;
				style = 48;
				x = (SafeZoneW+2*SafeZoneX) - 0.125;
				y = (SafeZoneH+2*SafeZoneY) - 0.23;
				w = 0.1;
				h = 0.1;
				font = "Zeppelin32";
				sizeEx = 0.03;
				colorBackground[] = {0, 0, 0, 0};
				colorText[] = {1, 1, 1, 1};
				text = "";
			};
			class Arrow
			{
				type = 0;
				idc = 1004;
				style = 48;
				x = (SafeZoneW+2*SafeZoneX) + 0.15;
				y = (SafeZoneH+2*SafeZoneY) - 0.15;
				w = 0.05;
				h = 0.05;
				font = "Zeppelin32";
				sizeEx = 0.03;
				colorBackground[] = {0, 0, 0, 0};
				colorText[] = {1, 1, 1, 1};
				text = "";
			};
			class Type_Obj
			{
				type = 0;
				idc = 1005;
				style = 0x00;
				x = (SafeZoneW+2*SafeZoneX) - 0.03;
				y = (SafeZoneH+2*SafeZoneY) - 0.335;
				w = 0.3;
				h = 0.3;
				font = "Zeppelin32";
				sizeEx = 0.03;
				colorBackground[] = {0, 0, 0, 0};
				colorText[] = {1, 1, 1, 1};
				text = "";
			};
		};   
	};
	class ExampleTitle {     
		idd = -1; 
		duration = 10; //show for 10 seconds 
		class controls 
		{ 
			class ExampleControl 
			{
				idc = -1; 
				type = 0; 
				style = 2; //centre text 
				x = safeZoneX + safeZoneW - 0.6 * 3 / 4;  
				y = safeZoneY + safeZoneH - 0.6; 
				h = 0.6; 
				w = 0.6 * 3 / 4; //w == h 
				font = "EtelkaNarrowMediumPro"; 
				sizeEx = 0.03; 
				colorBackground[] = {1,1,0,1}; //yellow background 
				colorText[] = {0,0,1,1}; //blue text 
				text = "Bottom Right Corner Square Box"; 
			};
		};
	};
};

class RscText
{
	type = 0;
	idc = -1;
	x = 0;
	y = 0;
	h = 0.037;
	w = 0.3;
	style = 0x100; 
	font = Zeppelin32;
	SizeEx = 0.03921;
	colorText[] = {1,1,1,1};
	colorBackground[] = {0, 0, 0, 0};
	linespacing = 1;
};
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="";
};
class RscLoadingText : RscText
{
	style = 2;
	x = 0.323532;
	y = 0.666672;
	w = 0.352944;
	h = 0.039216;
	sizeEx = 0.03921;
	colorText[] = {0.543,0.5742,0.4102,1.0};
};
class RscProgress
{
	x = 0.344;
	y = 0.619;
	w = 0.313726;
	h = 0.0261438;
	texture = "\ca\ui\data\loadscreen_progressbar_ca.paa";
	colorFrame[] = {0,0,0,0};
	colorBar[] = {1,1,1,1};
};
class RscProgressNotFreeze
{
	idc = -1;
	type = 45;
	style = 0;
	x = 0.022059;
	y = 0.911772;
	w = 0.029412;
	h = 0.039216;
	texture = "#(argb,8,8,3)color(0,0,0,0)";
};
//
// the loading screen itself
//
class DayZ_loadingScreen
{ 
	idd = -1;
	duration = 10e10;
	fadein = 0;
	fadeout = 0;
	name = "loading screen";
	class controlsBackground
	{
		class blackBG : RscText
		{
			x = safezoneX;
			y = safezoneY;
			w = safezoneW;
			h = safezoneH;
			text = "";
			colorText[] = {0,0,0,0};
			colorBackground[] = {0,0,0,1};
		};
		/*
		class nicePic : RscPicture
		{
			style = 48 + 0x800; // ST_PICTURE + ST_KEEP_ASPECT_RATIO
			x = safezoneX + safezoneW/2 - 0.25;
			y = safezoneY + safezoneH/2 - 0.2;
			w = 0.5;
			h = 0.4;
			text = "img\nicePic.paa";
		};
		*/
	};
	class controls
	{
		class Title1 : RscLoadingText
		{
			text = "$STR_LOADING"; // "Loading" text in the middle of the screen
		};
		class CA_Progress : RscProgress // progress bar, has to have idc 104
		{
			idc = 104;
			type = 8; // CT_PROGRESS
			style = 0; // ST_SINGLE
			texture = "\ca\ui\data\loadscreen_progressbar_ca.paa";
		};
		class CA_Progress2 : RscProgressNotFreeze // progress bar that will go reverse
		{
			idc = 103;
		};
		class Name2: RscText // the text on the top-left
		{
			idc = 101;
			x = 0.05;
			y = 0.029412;
			w = 0.9;
			h = 0.04902;
			text = "";
			sizeEx = 0.05;
			colorText[] = {0.543,0.5742,0.4102,1.0};
		};
	};
};
// Epoch Admin Tools
#include "admintools\dialog.hpp"

// DayZ Watermark
class RscTitles {
class wm_disp {
idd = -1;
onLoad = "uiNamespace setVariable ['wm_disp', _this select 0]";
fadein = 0;
fadeout = 0;
duration = 10e10;
controlsBackground[] = {};
objects[] = {};
class controls {
class wm_text2 {
idc = 1;
x = safeZoneX+0.027;//safeZoneW*0.01;
y = safeZoneY+safeZoneH-0.16;
w = 1.151*safeZoneH;
h = 0.057*safeZoneH;
shadow = 2;
class Attributes
{
font = "EtelkaNarrowMediumPro";
color = "#24FFFFFF";
align = "left"; // put "center" here if you want some background
valign = "middle";
shadow = 2;
};
colorBackground[] = { 1, 0.3, 0, 0 };  // uncomment and increase 4th number to have a background
font = "EtelkaNarrowMediumPro";
size = 0.06*safeZoneH;
type = 13;
style = 0;
text="";
};
};
};
};

#include "scripts\rightclickmenu\extra_rc.hpp"
#include "custom\snap_build\points.hpp"

I'm not much of a code monkey, but maybe it has something to do with the watermark mod you have on? Its calling rscTitles, which is what this mod adds....hopefully someone else can chime in on this as well to give a better insight than I can provide here.

Link to comment
Share on other sites

Two seperate RscTitles sections will break your description.ext

 

You can only have one RscTitles, so you have to merge the seperate RscTitles into one.

 

 

 

Here, I did it for you ;)

 

http://pastebin.com/zv6wq336

 

You should be able to copy/paste this over your RscTitles. 

Remove the extra RscTitles you have for the Watermark, as its contained within what's in the pastebin.

 

 

Minus the extra stuff I have to avoid confusing you :P :D

Link to comment
Share on other sites

Two seperate RscTitles sections will break your description.ext

 

You can only have one RscTitles, so you have to merge the seperate RscTitles into one.

 

 

 

Here, I did it for you ;)

 

http://pastebin.com/zv6wq336

 

You should be able to copy/paste this over your RscTitles. 

Remove the extra RscTitles you have for the Watermark, as its contained within what's in the pastebin.

 

 

Minus the extra stuff I have to avoid confusing you :P :D

Not even going to lie, you just made my day. Thanks man!  :D  :wub:

Link to comment
Share on other sites

Well since towing still hasn't been implemented yet...any chance someone could share their secrets on how to get this fully working with R3F Towing? When I tried it made key'd vehicles untowable.

 

While I appreciate you are keen to get a solution working, you might want to check your tone of voice. People give up their free time to provide scripts without asking for anything in return for them. So some patience and appreciation go a very long way.

 

So to give you an update, I did work on a towing script over the weekend which is fairly stable now; fixed the bounding box issues, added what vehicles can tow what types of other vehicles (similar to BTC Lift), and prevent the towing of locked vehicles. I will create a new thread tonight when I get in from work with the code and an install guide.

Link to comment
Share on other sites

While I appreciate you are keen to get a solution working, you might want to check your tone of voice. People give up their free time to provide scripts without asking for anything in return for them. So some patience and appreciation go a very long way.

 

So to give you an update, I did work on a towing script over the weekend which is fairly stable now; fixed the bounding box issues, added what vehicles can tow what types of other vehicles (similar to BTC Lift), and prevent the towing of locked vehicles. I will create a new thread tonight when I get in from work with the code and an install guide.

My apologies if any offense was taken, definitely didn't try to make it sound that way at all.

 

And sounds like you've made a ton of progress! you're work is definitely appreciated here, its just been driving me nuts that I couldn't get both systems working fully together since BTC is just soo good overall,  :D

Link to comment
Share on other sites

My apologies if any offense was taken, definitely didn't try to make it sound that way at all.

 

And sounds like you've made a ton of progress! you're work is definitely appreciated here, its just been driving me nuts that I couldn't get both systems working fully together since BTC is just soo good overall,  :D

 

No problem, thank you for being patient. To give you an update I finished making some final adjustments tonight to the script, I am now ready to get it into a Git repo when I get some free time (which won't be until Saturday now due to work commitments.) Once I have done so and written an install guide you will be the first to know and I will create a new thread.

Link to comment
Share on other sites

I can't get this script to work. I think I'm doing something wrong in the description.ext

 

Edit your mpmission/description.ext

After

diagHit=1;

Add the contents of mpmission/description-addition.txt

 

I added the "description-addition.txt" so it looks like this:

respawn = "BASE";

respawndelay = 5;

onLoadMission="DayZ_Epoch Taviana";

OnLoadIntro = "Welcome to Taviana";

OnLoadIntroTime = False;

OnLoadMissionTime = False;

disabledAI = true;

disableChannels[]={2,6};

enableItemsDropping=0;

briefing = 0;

debriefing = 0;

onPauseScript = "";

loadScreen = "\z\addons\dayz_code\gui\dayz_logo_ca.paa";

class Header

{

gameType = COOP; //DM, Team, Coop, ...

minPlayers = 1; //min # of players the mission supports

maxPlayers = 100; //Max # of players the mission supports

};

aiKills = 1;

diagRadio = 1;

diagHit = 1;

class RscTitles {

class BTC_Hud

{

idd = 1000;

movingEnable=0;

duration=1e+011;

name = "BTC_Hud_Name";

onLoad = "uiNamespace setVariable ['HUD', _this select 0];";

controlsBackground[] = {};

objects[] = {};

class controls

{

class Radar

{

type = 0;

idc = 1001;

style = 48;

x = (SafeZoneW+2*SafeZoneX) - 0.1;//safezonex + 0.1;//0.9

y = (SafeZoneH+2*SafeZoneY) - 0.15;//safezoney + 0.1;//0.85

w = 0.3;

h = 0.4;

font = "Zeppelin32";

sizeEx = 0.03;

colorBackground[] = {0, 0, 0, 0};

colorText[] = {1, 1, 1, 1};

text = "\ca\ui\data\igui_radar_air_ca.paa";

};

class Img_Obj

{

type = 0;

idc = 1002;

style = 48;

x = (SafeZoneW+2*SafeZoneX) + 0.045;

y = (SafeZoneH+2*SafeZoneY) + 0.045;

w = 0.01;

h = 0.01;

font = "Zeppelin32";

sizeEx = 0.04;

colorBackground[] = {0, 0, 0, 0};

colorText[] = {1, 1, 1, 1};

text = "=BTC=_Logistic\data\=BTC=_Obj.paa";

};

class Pic_Obj

{

type = 0;

idc = 1003;

style = 48;

x = (SafeZoneW+2*SafeZoneX) - 0.125;

y = (SafeZoneH+2*SafeZoneY) - 0.23;

w = 0.1;

h = 0.1;

font = "Zeppelin32";

sizeEx = 0.03;

colorBackground[] = {0, 0, 0, 0};

colorText[] = {1, 1, 1, 1};

text = "";

};

class Arrow

{

type = 0;

idc = 1004;

style = 48;

x = (SafeZoneW+2*SafeZoneX) + 0.15;

y = (SafeZoneH+2*SafeZoneY) - 0.15;

w = 0.05;

h = 0.05;

font = "Zeppelin32";

sizeEx = 0.03;

colorBackground[] = {0, 0, 0, 0};

colorText[] = {1, 1, 1, 1};

text = "";

};

class Type_Obj

{

type = 0;

idc = 1005;

style = 0x00;

x = (SafeZoneW+2*SafeZoneX) - 0.03;

y = (SafeZoneH+2*SafeZoneY) - 0.335;

w = 0.3;

h = 0.3;

font = "Zeppelin32";

sizeEx = 0.03;

colorBackground[] = {0, 0, 0, 0};

colorText[] = {1, 1, 1, 1};

text = "";

};

};

};

class ExampleTitle {

idd = -1;

duration = 10; //show for 10 seconds

class controls

{

class ExampleControl

{

idc = -1;

type = 0;

style = 2; //centre text

x = safeZoneX + safeZoneW - 0.6 * 3 / 4;

y = safeZoneY + safeZoneH - 0.6;

h = 0.6;

w = 0.6 * 3 / 4; //w == h

font = "EtelkaNarrowMediumPro";

sizeEx = 0.03;

colorBackground[] = {1,1,0,1}; //yellow background

colorText[] = {0,0,1,1}; //blue text

text = "Bottom Right Corner Square Box";

};

};

};

};

class RscText

{

type = 0;

idc = -1;

x = 0;

y = 0;

h = 0.037;

w = 0.3;

style = 0x100;

font = Zeppelin32;

SizeEx = 0.03921;

colorText[] = {1,1,1,1};

colorBackground[] = {0, 0, 0, 0};

linespacing = 1;

};

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="";

};

class RscLoadingText : RscText

{

style = 2;

x = 0.323532;

y = 0.666672;

w = 0.352944;

h = 0.039216;

sizeEx = 0.03921;

colorText[] = {0.543,0.5742,0.4102,1.0};

};

class RscProgress

{

x = 0.344;

y = 0.619;

w = 0.313726;

h = 0.0261438;

texture = "\ca\ui\data\loadscreen_progressbar_ca.paa";

colorFrame[] = {0,0,0,0};

colorBar[] = {1,1,1,1};

};

class RscProgressNotFreeze

{

idc = -1;

type = 45;

style = 0;

x = 0.022059;

y = 0.911772;

w = 0.029412;

h = 0.039216;

texture = "#(argb,8,8,3)color(0,0,0,0)";

};

//

// the loading screen itself

//

class DayZ_loadingScreen

{

idd = -1;

duration = 10e10;

fadein = 0;

fadeout = 0;

name = "loading screen";

class controlsBackground

{

class blackBG : RscText

{

x = safezoneX;

y = safezoneY;

w = safezoneW;

h = safezoneH;

text = "";

colorText[] = {0,0,0,0};

colorBackground[] = {0,0,0,1};

};

/*

class nicePic : RscPicture

{

style = 48 + 0x800; // ST_PICTURE + ST_KEEP_ASPECT_RATIO

x = safezoneX + safezoneW/2 - 0.25;

y = safezoneY + safezoneH/2 - 0.2;

w = 0.5;

h = 0.4;

text = "img\nicePic.paa";

};

*/

};

class controls

{

class Title1 : RscLoadingText

{

text = "$STR_LOADING"; // "Loading" text in the middle of the screen

};

class CA_Progress : RscProgress // progress bar, has to have idc 104

{

idc = 104;

type = 8; // CT_PROGRESS

style = 0; // ST_SINGLE

texture = "\ca\ui\data\loadscreen_progressbar_ca.paa";

};

class CA_Progress2 : RscProgressNotFreeze // progress bar that will go reverse

{

idc = 103;

};

class Name2: RscText // the text on the top-left

{

idc = 101;

x = 0.05;

y = 0.029412;

w = 0.9;

h = 0.04902;

text = "";

sizeEx = 0.05;

colorText[] = {0.543,0.5742,0.4102,1.0};

};

};

};

#include "custom\snap_build\points.hpp"

// Epoch Admin Tools

#include "admintools\dialog.hpp"

But I get no lift option in game. It doesn't seem to work.

I looked in the demo mission description.ext & it only had the line: #include "=BTC=_Logistic\=BTC=_Lift\=BTC=_Hud.h"

So I tried adding: #include "=BTC=_Logistic\=BTC=_Lift\=BTC=_Hud.h" to the bottom of my description.ext, but when I try it I get stuck on "Waiting for host" and cannot even get to lobby.

What am I doing wrong?

Could someone please post their description.ext so I can see how you did it?

Thank you.

Link to comment
Share on other sites

  • 3 weeks later...

Thx but =BTC= Giallustio did all the work & i love the gui radar for lifting :)

I just tweaked it for epoch & changed the odd thing.

 

Towing is planned at some point & i will prob add the =BTC= fast rope aswell

But i got afew outstanding issues with my ai mission system i want to sort out first.

 

did you think you could assist me in installing this with my epoch server?

Link to comment
Share on other sites

I can assist you with some instructions...

They're in the first post

Not sure how to help you out more in this. This is one of the easiest scripts to install. You copy a folder with BTC to your mission folder. Then you put an exec line in your init.sqf, and something to description.ext and that's basically it. Simple copy&paste throughout the whole thing.
If you can read, you can do it. 

Link to comment
Share on other sites

  • 2 weeks later...
  • 2 weeks later...

i think you can solve the "vehicle not saved at right position after lift problem" by adding:

		PVDZE_veh_Update = [_cargo,"all"];
		publicVariableServer "PVDZE_veh_Update";

in your -=BTC=-_Logistic_init.sqf at the end of the BTC_paradrop section like this:

BTC_paradrop =
{
	private ["_chopper", "_cargo", "_chute_type", "_cargoects", "_rel_pos", "_height", "_cargo_type", "_smoke"];

	_chopper          = _this select 0;
	_cargo      = _this select 1;
	_chute_type   = _this select 2;
	_chute = 0;
	
	_height = [_chopper, _cargo] call BTC_getHeight;
	
	diag_log format ["DEBUG BTC LIFT: Paradrop height: %1", _height];
	
	if (_height > 50) then {
		//diag_log ("DEBUG BTC LIFT: PARACUTE");
		_cargo_type = typeOf _cargo;
		if (typeOf _chopper == "MH6J_DZ") then {
			_chute = createVehicle [_chute_type, [((position _chopper) select 0) - 5,((position _chopper) select 1) - 10,((position _chopper) select 2)- 4], [], 0, "NONE"];
		} else {
			_chute = createVehicle [_chute_type, [((position _chopper) select 0) - 5,((position _chopper) select 1) - 3,((position _chopper) select 2)- 4], [], 0, "NONE"];
		};
		_smoke        = "SmokeshellGreen" createVehicle position _chopper;
		_smoke attachto [_cargo, [0,0,0]]; 
		_cargo attachTo [_chute, [0,0,0]];
		while {_height > 20} do {
			sleep 0.1;
			_height = [_chopper, _cargo] call BTC_getHeight;
		};
		detach _cargo;
		
	};
		PVDZE_veh_Update = [_cargo,"all"];
		publicVariableServer "PVDZE_veh_Update";
	//diag_log ("DEBUG BTC LIFT: DROP");	
};

but i havent tested it yet!

Link to comment
Share on other sites

i think you can solve the "vehicle not saved at right position after lift problem" by adding:

		PVDZE_veh_Update = [_cargo,"all"];
		publicVariableServer "PVDZE_veh_Update";

in your -=BTC=-_Logistic_init.sqf at the end of the BTC_paradrop section like this:

BTC_paradrop =
{
	private ["_chopper", "_cargo", "_chute_type", "_cargoects", "_rel_pos", "_height", "_cargo_type", "_smoke"];

	_chopper          = _this select 0;
	_cargo      = _this select 1;
	_chute_type   = _this select 2;
	_chute = 0;
	
	_height = [_chopper, _cargo] call BTC_getHeight;
	
	diag_log format ["DEBUG BTC LIFT: Paradrop height: %1", _height];
	
	if (_height > 50) then {
		//diag_log ("DEBUG BTC LIFT: PARACUTE");
		_cargo_type = typeOf _cargo;
		if (typeOf _chopper == "MH6J_DZ") then {
			_chute = createVehicle [_chute_type, [((position _chopper) select 0) - 5,((position _chopper) select 1) - 10,((position _chopper) select 2)- 4], [], 0, "NONE"];
		} else {
			_chute = createVehicle [_chute_type, [((position _chopper) select 0) - 5,((position _chopper) select 1) - 3,((position _chopper) select 2)- 4], [], 0, "NONE"];
		};
		_smoke        = "SmokeshellGreen" createVehicle position _chopper;
		_smoke attachto [_cargo, [0,0,0]]; 
		_cargo attachTo [_chute, [0,0,0]];
		while {_height > 20} do {
			sleep 0.1;
			_height = [_chopper, _cargo] call BTC_getHeight;
		};
		detach _cargo;
		
	};
		PVDZE_veh_Update = [_cargo,"all"];
		publicVariableServer "PVDZE_veh_Update";
	//diag_log ("DEBUG BTC LIFT: DROP");	
};

but i havent tested it yet!

Any chance you might know what's causing vehicles being lifted to suddenly become detached? so far it seems to happen frequently on my server when a heli is slowing down.

Link to comment
Share on other sites

no, sorry, ive never had this problem, probably people try to auto hover and rpess detach instead ^^. i moved the drop vehicle option from the top on my server ...

Link to comment
Share on other sites

  • 2 weeks later...

i'm having an issue getting the HUD to show up as well...i have the following in my descriptions.ext:

aiKills = 1;
diagRadio = 1;
diagHit = 1;
#include "=BTC=_Logistic\=BTC=_Lift\=BTC=_Hud.h"

i'm also having the same issue as tkdmaster with lifted items being detached.  i double-checked to make sure i wasn't accidentally pressing the button to detach.  It seems to happen if i go over 150ft up...

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
×
×
  • Create New...