Перейти к публикации
Поиск в
  • Дополнительно...
Искать результаты, содержащие...
Искать результаты в...
  • Нужна помощь?

    Создайте тему в соответствующем разделе
    Не нужно писать всё в чат!
  • Загляните на торговую площадку

    Там вы можете купить
    всё что касается игровых серверов
  • Не хотите бан?

    Пожалуйста, ознакомьтесь с нашими правилами
    Не нарушайте порядок!
  • Продаёте или покупаете?

    Пользуйтесь услугами гаранта
    Мы сделаем вашу сделку безопасной
TheFirstNoob

[ГАЙД] Буксировка машин с помощью вертолетов =BTC= Logistic

Рекомендованные сообщения

Краткое описание:
С помощью данного скрипта вы сможете буксировать технику с помощью вертолетов.

Особенности:
- Легкие вертолеты (Литл берды) могут буксировать только легкую технику (Мотоциклы, велики)
- Средние вертолеты (Мишки, Юашки) могут буксировать только легкую и среднюю технику (Хамера, внедорожники, седаны, микроавтобусы)
- Тяжелые вертолеты (Чинук) могут буксировать все. (Грузовики, водник, бронированная техника)
- При сбросе техники с большой высоты открывается парашют и помечается зеленым дымом, чтобы техника приземлилась мягко и вы знали где она приземлилась.


ГАЙД по запрету буксировки закрытой техники: Нажми на меня :3

1. Качаем сам скрипт: Скачать
2. Открываем ваш init.sqf и в конце написать:

[] execVM "=BTC=_Logistic\=BTC=_Logistic_Init.sqf";


3. Открываем ваш description.ext и после строк:
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"; 
			}; 
		}; 
	};
};

 

Готово!

P.S. В папке =BTC=_Logistic в файле =BTC=_Logistic_init.sqf можно добавить дополнительную авиа-технику и технику, которая она будет способна буксировать.

Открыв =BTC=_Logistic_init.sqf можно увидеть:

case "AH6X_DZ" : {_array = ["Motorcycle"];};где "AH6X_DZ" - название воздушной единицы, которая будет поднимать груз где "Motorcycle" - название наземной единицы, которую будет поднимать соответственно "AH6X_DZ"

Поделиться сообщением


Ссылка на сообщение
Поделиться на других сайтах





Беда у меня Енотик :(  Помогай мандаринку подарю)

 

949cb9ea7f1a2cbd2753bc7eae31b0b9.jpg

 

Вот листинг:

 

respawn = "BASE";
respawndelay = 5;
onLoadMission= "DayZ Epoch Chernarus";
OnLoadIntro = "Welcome to DayZ Epoch Chernarus";
OnLoadIntroTime = False;
OnLoadMissionTime = False;
disabledAI = true;
disableChannels[]={0,2,6};
enableItemsDropping = 0;
 
briefing = 0;
debriefing = 0;
 
onPauseScript = "";
loadScreen = "logo.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};
        };
    };
};
 
class RscTitles {
#include "wm_disp.hpp"
//all other things you have with #include in the bottom
};
 
#include "custom\snap_build\points.hpp"

 

 

Поделиться сообщением


Ссылка на сообщение
Поделиться на других сайтах

 

Беда у меня Енотик :(  Помогай мандаринку подарю)

 

949cb9ea7f1a2cbd2753bc7eae31b0b9.jpg

 

Вот листинг:

 

 

respawn = "BASE";
respawndelay = 5;
onLoadMission= "DayZ Epoch Chernarus";
OnLoadIntro = "Welcome to DayZ Epoch Chernarus";
OnLoadIntroTime = False;
OnLoadMissionTime = False;
disabledAI = true;
disableChannels[]={0,2,6};
enableItemsDropping = 0;
 
briefing = 0;
debriefing = 0;
 
onPauseScript = "";
loadScreen = "logo.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};
        };
    };
};
 
class RscTitles {
#include "wm_disp.hpp"
//all other things you have with #include in the bottom
};
 
#include "custom\snap_build\points.hpp"

 

У тебя в конце уже прописан RscTitles. Зачем второй раз написал то? :)

Перевожу дословно: RscTitles уже используется.

 

Попробуй вот так: 

respawn = "BASE";
respawndelay = 5;
onLoadMission= "DayZ Epoch Chernarus";
OnLoadIntro = "Welcome to DayZ Epoch Chernarus";
OnLoadIntroTime = False;
OnLoadMissionTime = False;
disabledAI = true;
disableChannels[]={0,2,6};
enableItemsDropping = 0;
 
briefing = 0;
debriefing = 0;
 
onPauseScript = "";
loadScreen = "logo.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"; 
            };
        };
    };
#include "wm_disp.hpp"
//all other things you have with #include in the bottom
};
 
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"

Поделиться сообщением


Ссылка на сообщение
Поделиться на других сайтах

 

У тебя в конце уже прописан RscTitles. Зачем второй раз написал то? :)

Перевожу дословно: RscTitles уже используется.

 

Попробуй вот так: 

respawn = "BASE";
respawndelay = 5;
onLoadMission= "DayZ Epoch Chernarus";
OnLoadIntro = "Welcome to DayZ Epoch Chernarus";
OnLoadIntroTime = False;
OnLoadMissionTime = False;
disabledAI = true;
disableChannels[]={0,2,6};
enableItemsDropping = 0;
 
briefing = 0;
debriefing = 0;
 
onPauseScript = "";
loadScreen = "logo.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"; 
            };
        };
    };
#include "wm_disp.hpp"
//all other things you have with #include in the bottom
};
 
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"

О боже...Вот что значит после "ночной" в "кишках" сервера копаться  :wallbash:   Спасибо тебе :smile:

Вот мандаринка!

 

91096552dc35afe1185c882da19a8bab.jpg

 

Изменено пользователем inG (история изменений)

Поделиться сообщением


Ссылка на сообщение
Поделиться на других сайтах
Все отлично)) работает на ура)) спасибо за гайд

:yes:

Изменено пользователем BIG_MONSTR (история изменений)

Поделиться сообщением


Ссылка на сообщение
Поделиться на других сайтах

подскажите пожалуйста - в конфиге прописаны типы техники, которую можно цеплять:
["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];

а станковое оружие какой тип?

Поделиться сообщением


Ссылка на сообщение
Поделиться на других сайтах

подскажите пожалуйста - в конфиге прописаны типы техники, которую можно цеплять:

["Motorcycle","Car","Truck","Wheeled_APC","Tracked_APC","Air"];

а станковое оружие какой тип?

Если имеется ввиду вся наземная или танки и прочее, то проще так сделать

 

 

LandVehicle
 

Поделиться сообщением


Ссылка на сообщение
Поделиться на других сайтах

 

Если имеется ввиду вся наземная или танки и прочее, то проще так сделать

 

 

LandVehicle
 

не я имею ввиду станковые пулеметы, ракетницы, зенитки. например Metis; KORD; KORD_high; D30_RU

Поделиться сообщением


Ссылка на сообщение
Поделиться на других сайтах

не я имею ввиду станковые пулеметы, ракетницы, зенитки. например Metis; KORD; KORD_high; D30_RU

LandVehicle не работает на этот тип техники

Поделиться сообщением


Ссылка на сообщение
Поделиться на других сайтах

Вообще без понятия...

не, соврал я тебе. нормально он их цепляет под landVehicle

Поделиться сообщением


Ссылка на сообщение
Поделиться на других сайтах

Отличный гайд, спасибо! Как раз хотел его прикрутить.

Поделиться сообщением


Ссылка на сообщение
Поделиться на других сайтах

Подскажите пожалуйста, как еще пару машин вставить и прописать им машины.

Находил темы еще про буксировку "буксировка без границ" но это не то

мне надо всего лишь только паре грузовиков добавить возможность буксировать, а не всем.

 

Поделиться сообщением


Ссылка на сообщение
Поделиться на других сайтах

Подскажите пожалуйста, как еще пару машин вставить и прописать им машины.

Находил темы еще про буксировку "буксировка без границ" но это не то

мне надо всего лишь только паре грузовиков добавить возможность буксировать, а не всем.

Данный скрипт не расчитан на буксировку Машина-Машина. Так что другой скрипт ищите.

Поделиться сообщением


Ссылка на сообщение
Поделиться на других сайтах

Данный скрипт не расчитан на буксировку Машина-Машина. Так что другой скрипт ищите.

Вы не можете посоветовать какой можно взять? чтоб не менять там все доскональна, а как в вашем просто и легко добавить пару машин.

а то та тема где буксировка без границ там капец куча всего. там велосипедом самолеты таскать можно...

Поделиться сообщением


Ссылка на сообщение
Поделиться на других сайтах

Вы не можете посоветовать какой можно взять? чтоб не менять там все доскональна, а как в вашем просто и легко добавить пару машин.

а то та тема где буксировка без границ там капец куча всего. там велосипедом самолеты таскать можно...

К сожалению буксировка без границ базируется на скрипте R3F_Artillery если не ошибаюсь... Только там наработка. Вам придется его использовать если уж... Только без наработки.

Поделиться сообщением


Ссылка на сообщение
Поделиться на других сайтах

К сожалению буксировка без границ базируется на скрипте R3F_Artillery если не ошибаюсь... Только там наработка. Вам придется его использовать если уж... Только без наработки.

не понял. там же надо много исправлять чтоб оставить только пару машин. или что?

Поделиться сообщением


Ссылка на сообщение
Поделиться на других сайтах

не понял. там же надо много исправлять чтоб оставить только пару машин. или что?

Скачиваете обычный R3F_Artillery, не с этого сайта, тут модифицированный и снято ограничение, но принцип работы будет тот же. Тоскаются велики и т.д, но если вам не полениться, то все можно настроить.

 

BTC Logistic не поддерживает транспортировку Машина-Машина.

Поделиться сообщением


Ссылка на сообщение
Поделиться на других сайтах

Скачиваете обычный R3F_Artillery, не с этого сайта, тут модифицированный и снято ограничение, но принцип работы будет тот же. Тоскаются велики и т.д, но если вам не полениться, то все можно настроить.

 

BTC Logistic не поддерживает транспортировку Машина-Машина.

Конфликтовать не будет с BTC Logistic?

Поделиться сообщением


Ссылка на сообщение
Поделиться на других сайтах

Конфликтовать не будет с BTC Logistic?

BTC логистик самый лучший для буксировки вертолетов, а выше указанный может Машина-Машина и Вертолет-Машина, но криво и тупо будет работать немного :)

Поделиться сообщением


Ссылка на сообщение
Поделиться на других сайтах

Как отключить сканер техники? а то летаешь и ищешь по сканеру...  

Поделиться сообщением


Ссылка на сообщение
Поделиться на других сайтах

Краткое описание:

С помощью данного скрипта вы сможете буксировать технику с помощью вертолетов.

Особенности:

           - Легкие вертолеты (Литл берды) могут буксировать только легкую технику (Мотоциклы, велики)

           - Средние вертолеты (Мишки, Юашки) могут буксировать только легкую и среднюю технику (Хамера, внедорожники, седаны, микроавтобусы)

           - Тяжелые вертолеты (Чинук) могут буксировать все. (Грузовики, водник, бронированная техника)

           - При сбросе техники с большой высоты открывается парашют и помечается зеленым дымом, чтобы техника приземлилась мягко и вы знали где она приземлилась.

 

ГАЙД по запрету буксировки закрытой техники: Нажми на меня :3

 

 

 

вставляю скрипт

 

 

#include "custom\coin\CfgServerTrader\cfgServerTrader.hpp"
respawn = "BASE";
respawndelay = 5;
onLoadMission="DayZ_Epoch Taviana";
OnLoadIntro = "Welcome to Taviana";
OnLoadIntroTime = False;
OnLoadMissionTime = False;
disabledAI = true;
disableChannels[]={0,2,6};
enableItemsDropping=0;


#include "custom\custom_loot\Configs\CfgBuildingLoot.hpp"


briefing = 0;
debriefing = 0;


onPauseScript = "";
loadScreen = "custom\img\home.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"; 
            };
        };
    };
#include "wm_disp.hpp"
};


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};
        };
    };
};
class CfgSounds
{
    sounds[] = {};
    class stronghold
    {
        name = "stronghold";
        sound[] = {origins\sfx\vrata_sound.ogg,0.1,1};
        titles[] = {};
    };
    class mining
    {
        name = "mining";
        sound[] = {custom\mining\mining.ogg,0.1,1};
        titles[] = {};
    };
};


class RscPictureGUI
{
    access = 0;
    type = 0;
    idc = -1;
    colorBackground[] = {0,0,0,0};
    colorText[] = {0.38,0.63,0.26,0.75};
    font = "TahomaB";
    sizeEx = 0;
    lineSpacing = 0;
    text = "";
    style = "0x30 + 0x100";
    x = 0;
    y = 0;
    w = 0.2;
    h = 0.15;
};
#include "custom\coin\addons\playerhud\hud.hpp"
#include "custom\hud\RscPlayerUI.hpp"
#include "custom\coin\addons\playerhud\commonhud.hpp"
#include "custom\coin\hw.hpp"


#include "custom\coin\defines.hpp"
#include "custom\coin\gold\common.hpp"
#include "custom\coin\gold\bank_dialog.hpp"
#include "custom\coin\gold\give_player_dialog.hpp"


#include "custom\spawn_selection\DRNdialogs.hpp"
#include "custom\extra_rc\extra_rc.hpp"
 

 

 
 
в RTP вышибает ошибку
Updating base class ->Helicopter, by ca\air_d_baf\config.bin/CfgVehicles/BAF_Merlin_HC3_D/
ErrorMessage: File mpmissions\DayZ_Epoch_13.Tavi\custom\coin\addons\playerhud\hud.hpp, line 10: /AsReMixhud/controlsBackground.AsReMixhud_Status: Undefined base class 'Hw_RscText'
15:50:34 NetServer::finishDestroyPlayer(1083818213): DESTROY immediately after CREATE, both cancelled
 

изначалный выглядит так

 

#include "custom\coin\CfgServerTrader\cfgServerTrader.hpp"
respawn = "BASE";
respawndelay = 5;
onLoadMission="DayZ_Epoch Taviana";
OnLoadIntro = "Welcome to Taviana";
OnLoadIntroTime = False;
OnLoadMissionTime = False;
disabledAI = true;
disableChannels[]={0,2,6};
enableItemsDropping=0;


#include "custom\custom_loot\Configs\CfgBuildingLoot.hpp"


briefing = 0;
debriefing = 0;


onPauseScript = "";
loadScreen = "custom\img\home.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;
#include "custom\coin\addons\playerhud\commonhud.hpp"
#include "custom\coin\hw.hpp"


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};
        };
    };
};
class CfgSounds
{
    sounds[] = {};
    class stronghold
    {
        name = "stronghold";
        sound[] = {origins\sfx\vrata_sound.ogg,0.1,1};
        titles[] = {};
    };
    class mining
    {
        name = "mining";
        sound[] = {custom\mining\mining.ogg,0.1,1};
        titles[] = {};
    };
};


class RscPictureGUI
{
    access = 0;
    type = 0;
    idc = -1;
    colorBackground[] = {0,0,0,0};
    colorText[] = {0.38,0.63,0.26,0.75};
    font = "TahomaB";
    sizeEx = 0;
    lineSpacing = 0;
    text = "";
    style = "0x30 + 0x100";
    x = 0;
    y = 0;
    w = 0.2;
    h = 0.15;
};


class RscTitles
{
#include "wm_disp.hpp"
#include "custom\coin\addons\playerhud\hud.hpp"
#include "custom\hud\RscPlayerUI.hpp"
};


#include "custom\coin\defines.hpp"
#include "custom\coin\gold\common.hpp"
#include "custom\coin\gold\bank_dialog.hpp"
#include "custom\coin\gold\give_player_dialog.hpp"


#include "custom\spawn_selection\DRNdialogs.hpp"
#include "custom\extra_rc\extra_rc.hpp"
 

 

 
 
 
что не так?

Поделиться сообщением


Ссылка на сообщение
Поделиться на других сайтах

Кто что может рассказать по скрипту, благодаря которому технику вертолётом можно цеплять только двоим игрокам. Цепляет на вертолёт тот игрок, что внизу на земле возле машины стоит. Видел такое на одном из RU Epoch серверов. Как называется, никто не знает?

Поделиться сообщением


Ссылка на сообщение
Поделиться на других сайтах

вас изгнал Battle..  ,почему,как с етим бороться ??? (ранее устанавливал все работало )

Поделиться сообщением


Ссылка на сообщение
Поделиться на других сайтах

вас изгнал Battle..  ,почему,как с етим бороться ??? (ранее устанавливал все работало )

Лог кика нужен, не номер, а именно лог сам.

Поделиться сообщением


Ссылка на сообщение
Поделиться на других сайтах

Создайте аккаунт или войдите в него для комментирования

Вы должны быть пользователем, чтобы оставить комментарий

Создать аккаунт

Зарегистрируйтесь для получения аккаунта. Это просто!

Зарегистрировать аккаунт

Войти

Уже зарегистрированы? Войдите здесь.

Войти сейчас

  • Похожие публикации

    • Автор: BR0wi
      Подскажите где найти людей, которые делаю моды на заказ. К кому вообще обращаться? Или что бы реализовать свои идеи нужно самому "год" сидеть и изучать все механики модинга?
    • Автор: CubeIn
      Приветствую господа, хочу создать новый проект, уникальный, но для этого нужен маппер.
      Я оставлю здесь свой дискрод, напишите в лс, кто готов взяться за крупный проект.
      4me#4542
    • Автор: 6agu
      Поставил
      Пожалуйста, Войдите или Зарегистрируйтесь, чтобы увидеть это: Вложение.
    • Автор: 123new
      Много вопросов на данную тему наблюдаю от новичков, попробую прояснить немного сей вопрос.
       
      Предположим. что вы уже знаете на каких координатах вам надо спавнить определенное здание или объект\животное\бота, с каким углом поворота. И так. эта тема для вас.
       
      Сразу делаю пометку, метод, который добавили нам разработчики игры в патче 1.15, очень хорошо описал наш товарищ в сообщении форума:
      Рекоммендую вам использовать именно его!
      Ниже опубликованы старые методы.
       
      Если вы с расставили их с модифицированной версии Offline (Offline by Arksenor это называется), то вы получили и нашли код вида:
      GetGame().CreateObject("Land_CementWorks_ExpeditionB", "13251.875000 0.0 3748.525879").SetOrientation("-96.000000 0.000000 0.000000"); GetGame().CreateObject("Land_CementWorks_ExpeditionB", "13254.599609 0.0 3722.703613").SetOrientation("-96.000000 0.000000 0.000000"); GetGame().CreateObject("Land_CementWorks_ExpeditionB", "13257.344727 0.0 3696.718750").SetOrientation("-96.000000 0.000000 0.000000"); GetGame().CreateObject("Land_CementWorks_ExpeditionB", "13260.040039 0.0 3670.984131").SetOrientation("-96.000000 0.000000 0.000000"); GetGame().CreateObject("Land_CementWorks_ExpeditionB", "13262.756836 0.0 3645.180176").SetOrientation("-96.000000 0.000000 0.000000"); GetGame().CreateObject("Land_CementWorks_ExpeditionB", "13265.441406 0.0 3619.531982").SetOrientation("-96.000000 0.000000 0.000000"); GetGame().CreateObject("Land_CementWorks_ExpeditionB", "13268.124023 0.0 3593.995361").SetOrientation("-96.000000 0.000000 0.000000"); GetGame().CreateObject("Land_CementWorks_ExpeditionB", "13270.844727 0.0 3568.186523").SetOrientation("-96.000000 0.000000 0.000000"); GetGame().CreateObject("Land_CementWorks_ExpeditionB", "13273.514648 0.0 3542.561279").SetOrientation("-96.000000 0.000000 0.000000"); GetGame().CreateObject("Land_CementWorks_ExpeditionB", "13276.195313 0.0 3517.048828").SetOrientation("-96.000000 0.000000 0.000000"); GetGame().CreateObject("Land_CementWorks_ExpeditionB", "13278.399414 0.0 3496.097900").SetOrientation("-96.000000 0.000000 0.000000"); Здесь (по примеру первой строки) 1 значение в скобках - id постройки/объекта, 2 значение - координаты в формате X Y Z, разделенные пробелом, 3 - значение поворота примерно в том же формате.
      Как это делать в Offline - статья от автора Offine:
      https://github.com/Arkensor/DayZCommunityOfflineMode/wiki/Add-custom-objects-to-your-server-or-mission
       
      И так, инструкция:
      1. Добавляем в начало init.c файла в вашей mpmissions следующий код:
      #include "$CurrentDir:mpmissions\dayzOffline.chernarusplus\spawn_buildings.c" 2. Создаем в папке вашей активной mpmissions файлик spawn_buildings.c и заполняем его следующей информацией.
      void SpawnObject( string type, vector position, vector orientation ) { private string NameBlockLog = "[CreateObject] "; private string InfoLog = ""; if(type != "") { auto obj = GetGame().CreateObject( type, "0 0 0" ); if(obj) { if ((position[0] != 0) && (position[1] != 0) && (position[2] != 0)) { obj.SetPosition( position ); obj.SetOrientation( orientation ); obj.Update(); if (obj.CanAffectPathgraph()) { obj.SetAffectPathgraph(true, false); GetGame().GetCallQueue(CALL_CATEGORY_SYSTEM).CallLater(GetGame().UpdatePathgraphRegionByObject, 100, false, obj); } InfoLog = "[Type: '" + obj.GetType() + "' Position: '" + obj.GetPosition().ToString() + "' Orientation: '" + obj.GetOrientation().ToString() + "']"; Write_Log(NameBlockLog + " Object has been created successfully! Info " + InfoLog); } else { InfoLog = "[Type: '" + type + "' Position: '" + position + "' Orientation: '" + orientation + "']"; Write_Log(NameBlockLog + " Object can't be created! Incorrect writed position. Info " + InfoLog); } } else { InfoLog = "[Type: '" + type + "' Position: '" + position + "' Orientation: '" + orientation + "']"; Write_Log(NameBlockLog + " Object can't be created! Info " + InfoLog); } } else { InfoLog = "[Type: '" + type + "' Position: '" + position + "' Orientation: '" + orientation + "']"; Write_Log(NameBlockLog + " Object can't be created! Incorrect writed type. Info " + InfoLog); } } void Write_Log(string message) { Print(String(message)); } 3. Открываем созданный нами файл,  и в конце файла дописываем следующее:
      void SpawnAirfeeldBuildings() { SpawnObject( "Land_CementWorks_ExpeditionB", "13251.875000 0.0 3748.525879", "-96.000000 0.000000 0.000000"); SpawnObject( "Land_CementWorks_ExpeditionB", "13254.599609 0.0 3722.703613", "-96.000000 0.000000 0.000000"); SpawnObject( "Land_CementWorks_ExpeditionB", "13257.344727 0.0 3696.718750", "-96.000000 0.000000 0.000000"); } void SpawnKrasnoBuildings() { SpawnObject( "Land_CementWorks_ExpeditionB", "13251.875000 0.0 3748.525879", "-96.000000 0.000000 0.000000"); SpawnObject( "Land_CementWorks_ExpeditionB", "13254.599609 0.0 3722.703613", "-96.000000 0.000000 0.000000"); SpawnObject( "Land_CementWorks_ExpeditionB", "13257.344727 0.0 3696.718750", "-96.000000 0.000000 0.000000"); } Где после void - название функции идет, а между открытыми скобками вызов спавна самих зданий на указанных координатах.
      На примере 1 строки:
      Land_CementWorks_ExpeditionB - id постройки (type)
      13251.875000 0.0 3748.525879 - координаты в формате X Y Z
      -96.000000 0.000000 0.000000 - значение поворота в формате X Y Z
      Внимание: id постройки и координаты в примере указаны не верные и требуют подключения дополнительной модификации для корректной работы!!! Координаты не соответствуют названию функции!!!
      4. открываем в MpMissions в папке с вашей активной миссией init.c и перед ЗАКРЫВАЮЩЕЙ скобкой '}' дописываем нужную нам функцию (это будет активация спавна на карте):
      SpawnAirfeeldBuildings(); 5. Готово, Запускайте сервер, и в scripts.log вы увидите процедуру спавна ваших зданий и увидите, спавнятся ли они на карте или нет.
      Можно написать конечно и более готовую, универсальную систему спавна на карте со считыванием конфигурации из файла, но я считаю это лишним.
       
      Как заполнить добавленные здания лутом на карте:
      вариант 1:
      https://github.com/Arkensor/DayZCommunityOfflineMode/wiki/Enable-loot-for-custom-placed-objects
      вариант 2: вручную заполнить xml-файл  mapgrouppos.xml в mpmssions данными о местоположении зданий, где rpy - значение поворота здания в формате Z Y X
       
      С помощью данной статьи вы можете разместить любой элемент игры(постройку, животное, зомби, бота), доступный к спавну через любую модификацию-админ. панель. Очень полезный мод в этом смысле BuilderItems, с его помощью можно творить поистину интересные локации!
    • Автор: Venom21
      Появилась такая проблема, нужно закрыть некоторые слоты под одежду, когда на определённый слот одет предмет…
      пример: возьмём экзоскелет от Фидова, там есть две версии которая одеваеться как на тело и ноги, и есть которая одеваться на разгрузку и пояс, так вот, нужно например чтобы при одетом экзаче на тело и ноги слоты под пояс и разгрузку блокировались, либо только под определенные предметы, если есть интерес то цену можем в личке обсудить…
      P.S. Разрешение от Фидова на переделку и переупаковку есть)
  • Наш выбор

×
×
  • Создать...

Важная информация

Используя этот сайт, вы автоматически обязуетесь соблюдать наши Правила и Политика конфиденциальности.
Чтобы сделать этот веб-сайт лучше, мы разместили cookies на вашем устройстве. Вы можете изменить свои настройки cookies, в противном случае мы будем считать, что вы согласны с этим.