Jump to content

[Release] Walk Amongst The Dead - (Hide from zombies like "The Walking Dead")


Sandbird

Recommended Posts

Yeah its v3. just forgot to fix the filename..fixed it now.

If you get the option on the guts then the hard part is done.

When you select it after open this file : C:\Users\ZeroK00L\AppData\Local\ArmA 2 OA\arma2oa.RPT  and check the error at the bottom..

You probably have some path error...if you make a 'custom' folder in your mission root and add the folder inside then it will work.

Check your folder paths :)

 

Thanks for the reply SandBird, I appreciate it!

 

Yah I have checked my .RPT and it is clean. I've been messing with scripts for awhile now and have at least 10-15 scripts running on our server. It is rare that I get one I can't figure out but I am totally stumped on this one. lol

 

I know I'm missing something. The option shows up. If I am in combat, I get the message that I need to hide. Once out of combat I click the option to smear guts and nothing happens. I tried an older version of this script, I am assuming it was V1. There was no config file. That one sort of worked. It would smear the guts but zombies would still attack/detect the player. I've got a custom folder also that the sript is in.

 

I have a feeling my problem is my host. Dayz.St. Almost every script I come across has to be tweaked in order to work with this host it seems. Sick of their services. Going to set up a dedicated server as soon possible.

 

Anything else I should look into? Any other scripts that may be interferring? I can list them all if you like. Thanks for your time!

Link to comment
Share on other sites

Yeah its v3. just forgot to fix the filename..fixed it now.

If you get the option on the guts then the hard part is done.

When you select it after open this file : C:\Users\ZeroK00L\AppData\Local\ArmA 2 OA\arma2oa.RPT  and check the error at the bottom..

You probably have some path error...if you make a 'custom' folder in your mission root and add the folder inside then it will work.

Check your folder paths :)

SandBird,

 

Ok, I found out what was going on! I had to move the, call compile preprocessFileLineNumbers "custom\walkamongstthedead\config.sqf"; into the Dedicated section of my init.sqf! Works like a charm now! Awesome script! Everyone on my server is loving it! Thanks for this contribution to the community! You rock man!

 

Zero

Link to comment
Share on other sites

Nice :) , sorry for the delay, i just woke up :P

(i still think dayz.st is evil, lol, even if its not their fault this time :P)

 

Oh dude, no need to apologize at all! I appreciate you even responding the first time :)

 

Yah, I have had alot of issues with Dayz/St. Going to set up my own dedicated server now that I am familair with the PBO's and scripts needed to run a server. Now If I can only get some sort of admin tools working I will be stoked! lol

 

EDIT: It is their fault actualy! lol. The default init.sqf that comes with their default mission PBO is poorly setup. Your install says to put the call at the bottom, which is what most scripts do and work fine. With Dayz.St its always something retarded that gets in the way, and its usually their sloppy init.sqf.

Link to comment
Share on other sites

are any edits required to upgrade from v2 to v3 or is it just the case of replacing the files?

 

Just replace :)

 

Oh dude, no need to apologize at all! I appreciate you even responding the first time :)

 

Yah, I have had alot of issues with Dayz/St. Going to set up my own dedicated server now that I am familair with the PBO's and scripts needed to run a server. Now If I can only get some sort of admin tools working I will be stoked! lol

 

EDIT: It is their fault actualy! lol. The default init.sqf that comes with their default mission PBO is poorly setup. Your install says to put the call at the bottom, which is what most scripts do and work fine. With Dayz.St its always something retarded that gets in the way, and its usually their sloppy init.sqf.

Best admin tools (i did the graphical selection of vehicles to spawn, lol)

 

@mathewjknott

yeah just replace the files :)

Link to comment
Share on other sites

V3.??!!! :lol:

 

Yeah its something for new users to follow through the comments on the thread...so you dont get lost...

I hate reading a post with 10 pages...and have to go through every single page to understand if that 'code' still applies or not.

Link to comment
Share on other sites

I made everything like you told to, but I cant get anything to work,
(this isnt my first script)
your instructions are easy to follow but I dont know why its not working for me ;(

specialy for the right click option on the guts
I coustomized my description.ext
added

#include "custom\walkamongstthedead\watd.hpp"

at the bottom

 

in :

dayz_code\init\compiles.sqf

 

changed in my dayz_code:

player_selectSlot= compile preprocessFileLineNumbers "dayz_code\compile\ui_selectSlot.sqf";

 

made a new folder in my mission pbo:
dayz_code\compile

 

and added :
ui_selectSlot.sqf

+ added:

_erc_cfgActions = (missionConfigFile >> "WaTd" >> _item);
_erc_numActions = (count _erc_cfgActions);
if (isClass _erc_cfgActions) then {
for "_j" from 0 to (_erc_numActions - 1) do
{
_menu = _parent displayCtrl (1600 + _j + _numActions);
_menu ctrlShow true;
_config = (_erc_cfgActions select _j);
_text = getText (_config >> "text");
_script = getText (_config >> "script");
_height = _height + (0.025 * safezoneH);
uiNamespace setVariable ['uiControl', _control];
_menu ctrlSetText _text;
_menu ctrlSetEventHandler ["ButtonClick",_script];
};
};

 

Link to comment
Share on other sites

can you Help Me ?I get this error like this image!

and this is my description.ext:

 

 

#include "addons\R3F_ARTY_AND_LOG\desc_rsct_include.h"

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 = "Script\load.jpg";
class RscTitles {
  #include "addons\R3F_ARTY_AND_LOG\desc_rsct_include.h"
};
 
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 RscPictureGUI
{
access=0;
type=0;
idc=-1;
colorBackground[]={0,0,0,0};
colorText[]={0.38,0.63,0.25999999,0.75};
font="TahomaB";
sizeEx=0;
lineSpacing=0;
text="";
style="0x30 + 0x100";
x=0;
y=0;
w=0.2;
h=0.15000001;
};
class RscTitles
class zCamoStatusGUI {
idd = -1;
fadeout=0;
fadein=0;
onLoad = "uiNamespace setVariable ['zCamo_GUI_display', _this select 0]";
duration = 10e10;
name= "zCamoGui";
controlsBackground[] = {};
objects[] = {};
class controls {
class zCamoIcon:RscPictureGUI {
idc = 1;
text="custom\walkamongstthedead\zombie.paa";
x="0.958313 * safezoneW + safezoneX";
y="0.43 * safezoneH + safezoneY";
w=0.059999999;
h=0.079999998;
colorText[]={1,1,1,1};
};
};
};
};
class CfgSounds
{
sounds[] ={z_wzombie1,z_wzombie2};
class z_wzombie1 {
name = "";
sound[] = {"custom\walkamongstthedead\dayz_sfx\femalezombie_attack_04.ogg",0.3,1,40};
titles[] = {0, ""};
};
 
class z_wzombie2 : z_wzombie1 {
sound[] = {"custom\walkamongstthedead\dayz_sfx\femalezombie_spotted_01.ogg",0.3,1,40};
};
};
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 "admintools\dialog.hpp"
#include "Script\extra_rc.hpp"
#include "custom\walkamongstthedead\watd.hpp"

post-14186-0-55597700-1398521488_thumb.j

Link to comment
Share on other sites

Like the image says you already have class RscTitles

 

Remove the class :

class RcTitles {
   class zCamoStatusGUI {
...

and add my class class zCamoStatusGUI inside your existing one...so it should be like this in the end:

class RscTitles {
  #include "addons\R3F_ARTY_AND_LOG\desc_rsct_include.h"

	class zCamoStatusGUI {
		idd = -1;
	  fadeout=0;
	  fadein=0;
		onLoad = "uiNamespace setVariable ['zCamo_GUI_display', _this select 0]";
		duration = 10e10;
		name= "zCamoGui";
		controlsBackground[] = {};
		objects[] = {};
		class controls {
			class zCamoIcon:RscPictureGUI {
				idc = 1;
				text="custom\walkamongstthedead\zombie.paa";
				x="0.958313 * safezoneW + safezoneX";
				y="0.43 * safezoneH + safezoneY";
				w=0.059999999;
				h=0.079999998;
				colorText[]={1,1,1,1};
			};
		};
	};
};
Link to comment
Share on other sites

 

Like the image says you already have class RscTitles

 

Remove the class :

class RcTitles {

class zCamoStatusGUI {

...

and add my class class zCamoStatusGUI inside your existing one...so it should be like this in the end:

class RscTitles {

#include "addons\R3F_ARTY_AND_LOG\desc_rsct_include.h"

    class zCamoStatusGUI {

        idd = -1;

     fadeout=0;

     fadein=0;

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

        duration = 10e10;

        name= "zCamoGui";

        controlsBackground[] = {};

        objects[] = {};

        class controls {

            class zCamoIcon:RscPictureGUI {

                idc = 1;

                text="custom\walkamongstthedead\zombie.paa";

                x="0.958313 * safezoneW + safezoneX";

                y="0.43 * safezoneH + safezoneY";

                w=0.059999999;

                h=0.079999998;

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

            };

        };

    };

};

 

this si my new description.ext  

and i get a new error like this image

#include "addons\R3F_ARTY_AND_LOG\desc_rsct_include.h"

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 = "Script\load.jpg";
#include "addons\R3F_ARTY_AND_LOG\desc_rsct_include.h"
class RscTitles
class zCamoStatusGUI {
idd = -1;
fadeout=0;
fadein=0;
onLoad = "uiNamespace setVariable ['zCamo_GUI_display', _this select 0]";
duration = 10e10;
name= "zCamoGui";
controlsBackground[] = {};
objects[] = {};
class controls {
class zCamoIcon:RscPictureGUI {
idc = 1;
text="custom\walkamongstthedead\zombie.paa";
x="0.958313 * safezoneW + safezoneX";
y="0.43 * safezoneH + safezoneY";
w=0.059999999;
h=0.079999998;
colorText[]={1,1,1,1};
};
};
};
};
class RscPictureGUI
{
access=0;
type=0;
idc=-1;
colorBackground[]={0,0,0,0};
colorText[]={0.38,0.63,0.25999999,0.75};
font="TahomaB";
sizeEx=0;
lineSpacing=0;
text="";
style="0x30 + 0x100";
x=0;
y=0;
w=0.2;
h=0.15000001;
};
class CfgSounds
{
sounds[] ={z_wzombie1,z_wzombie2};
class z_wzombie1 {
name = "";
sound[] = {"custom\walkamongstthedead\dayz_sfx\femalezombie_attack_04.ogg",0.3,1,40};
titles[] = {0, ""};
};
 
class z_wzombie2 : z_wzombie1 {
sound[] = {"custom\walkamongstthedead\dayz_sfx\femalezombie_spotted_01.ogg",0.3,1,40};
};
};
 
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 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 "admintools\dialog.hpp"
#include "Script\extra_rc.hpp"
#include "custom\walkamongstthedead\watd.hpp"

post-14186-0-91387900-1398527436_thumb.p

Link to comment
Share on other sites

 

Like the image says you already have class RscTitles

 

Remove the class :

class RcTitles {

class zCamoStatusGUI {

...

and add my class class zCamoStatusGUI inside your existing one...so it should be like this in the end:

class RscTitles {

#include "addons\R3F_ARTY_AND_LOG\desc_rsct_include.h"

    class zCamoStatusGUI {

        idd = -1;

     fadeout=0;

     fadein=0;

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

        duration = 10e10;

        name= "zCamoGui";

        controlsBackground[] = {};

        objects[] = {};

        class controls {

            class zCamoIcon:RscPictureGUI {

                idc = 1;

                text="custom\walkamongstthedead\zombie.paa";

                x="0.958313 * safezoneW + safezoneX";

                y="0.43 * safezoneH + safezoneY";

                w=0.059999999;

                h=0.079999998;

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

            };

        };

    };

};

 

this si my new description.ext  

and i get a new error like this image

#include "addons\R3F_ARTY_AND_LOG\desc_rsct_include.h"

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 = "Script\load.jpg";
#include "addons\R3F_ARTY_AND_LOG\desc_rsct_include.h"
class RscTitles
class zCamoStatusGUI {
idd = -1;
fadeout=0;
fadein=0;
onLoad = "uiNamespace setVariable ['zCamo_GUI_display', _this select 0]";
duration = 10e10;
name= "zCamoGui";
controlsBackground[] = {};
objects[] = {};
class controls {
class zCamoIcon:RscPictureGUI {
idc = 1;
text="custom\walkamongstthedead\zombie.paa";
x="0.958313 * safezoneW + safezoneX";
y="0.43 * safezoneH + safezoneY";
w=0.059999999;
h=0.079999998;
colorText[]={1,1,1,1};
};
};
};
};
class RscPictureGUI
{
access=0;
type=0;
idc=-1;
colorBackground[]={0,0,0,0};
colorText[]={0.38,0.63,0.25999999,0.75};
font="TahomaB";
sizeEx=0;
lineSpacing=0;
text="";
style="0x30 + 0x100";
x=0;
y=0;
w=0.2;
h=0.15000001;
};
class CfgSounds
{
sounds[] ={z_wzombie1,z_wzombie2};
class z_wzombie1 {
name = "";
sound[] = {"custom\walkamongstthedead\dayz_sfx\femalezombie_attack_04.ogg",0.3,1,40};
titles[] = {0, ""};
};
 
class z_wzombie2 : z_wzombie1 {
sound[] = {"custom\walkamongstthedead\dayz_sfx\femalezombie_spotted_01.ogg",0.3,1,40};
};
};
 
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 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 "admintools\dialog.hpp"
#include "Script\extra_rc.hpp"
#include "custom\walkamongstthedead\watd.hpp"
Link to comment
Share on other sites

  • 2 weeks later...

Ok, its most likely a noobish question, I'm still learning about scripting.. but.. the line call compile preprocessFileLineNumbers "custom\walkamongstthedead\config.sqf"; is it supposed to be in the init.sfq, or the compile.sqf?

Link to comment
Share on other sites

Ok, its most likely a noobish question, I'm still learning about scripting.. but.. the line call compile preprocessFileLineNumbers "custom\walkamongstthedead\config.sqf"; is it supposed to be in the init.sfq, or the compile.sqf?

  1. Open your init.sqf and at the bottom add this line:

    call compile preprocessFileLineNumbers "custom\walkamongstthedead\config.sqf";

Link to comment
Share on other sites

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="1337.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 zCamoStatusGUI {
		idd = -1;
	  fadeout=0;
	  fadein=0;
		onLoad = "uiNamespace setVariable ['zCamo_GUI_display', _this select 0]";
		duration = 10e10;
		name= "zCamoGui";
		controlsBackground[] = {};
		objects[] = {};
		class controls {
			class zCamoIcon:RscPictureGUI {
				idc = 1;
				text="custom\walkamongstthedead\zombie.paa";
				x="0.958313 * safezoneW + safezoneX";
				y="0.43 * safezoneH + safezoneY";
				w=0.059999999;
				h=0.079999998;
				colorText[]={1,1,1,1};
			};
		};
	

	
	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="";
};
// Sirens and shit - added by DY357LX
class CfgSounds
{
    sounds[] ={siren,radio1,radio2,radio3,radio4,radio5,introsong,blowout_begin,blowout_hit_1,blowout_hit_2,blowout_hit_3,blowout_wave_1,blowout_wave_2,blowout_wave_3,blowout_psy_voices,blowout_full_wave,blowout_detect,apsi_start,apsi_off,fx_misc4,fx_drone1,fx+drone2,cure_effect,chatter,carLock,z_wzombie1,z_wzombie2};
    class siren  {
	name = "siren";
	sound[] = {Scripts\sirens\siren.ogg,0.5,1};
	titles[] = {};
    };

 
class radio1
{
    name="radio1";
    sound[]={sounds\radio1.ogg, 0.3, 1};
    titles[] = {};
};

 class carLock
    {
		name="carLock";
		sound[]={sounds\carlock.ogg,0.9,1};
		titles[] = {};
    
};
class radio2
{
    name="radio2";
    sound[]={sounds\radio2.ogg, 0.3, 1};
    titles[] = {};
};
class radio3
{
    name="radio3";
    sound[]={sounds\radio3.ogg, 0.3, 1};
    titles[] = {};
};
class radio4
{
    name="radio4";
    sound[]={sounds\radio4.ogg, 0.3, 1};
    titles[] = {};
};
class radio5
{
    name="radio5";
    sound[]={sounds\radio5.ogg, 0.3, 1};
    titles[] = {};
};
	class introsong
{
    name="introsong";
    sound[]={sounds\introSong.ogg,0.9,1};
    titles[] = {};	
};
	class bl_begin
	{
		name = "NS blowout_begin";
		sound[] = {"addons\blowout\sounds\blowout_begin.ogg",3.162278,1.0};
		titles[] = {};
	};
	class bl_hit1
	{
		name = "NS blowout_begin";
		sound[] = {"addons\blowout\sounds\blowout_hit_1.ogg",1.584893,1.0};
		titles[] = {};
	};
	class bl_hit2
	{
		name = "NS blowout_begin";
		sound[] = {"addons\blowout\sounds\blowout_hit_2.ogg",1.584893,1.0};
		titles[] = {};
	};
	class bl_hit3
	{
		name = "NS blowout_begin";
		sound[] = {"addons\blowout\sounds\blowout_hit_3.ogg",1.584893,1.0};
		titles[] = {};
	};
	class bl_wave1
	{
		name = "NS blowout_begin";
		sound[] = {"addons\blowout\sounds\blowout_wave_1.ogg",1.584893,1.0};
		titles[] = {};
	};
	class bl_wave2
	{
		name = "NS blowout_begin";
		sound[] = {"addons\blowout\sounds\blowout_wave_2.ogg",1.584893,1.0};
		titles[] = {};
	};
	class bl_wave3
	{
		name = "NS blowout_begin";
		sound[] = {"addons\blowout\sounds\blowout_wave_3.ogg",1.584893,1.0};
		titles[] = {};
	};
	class bl_psi
	{
		name = "NS blowout_psi";
		sound[] = {"addons\blowout\sounds\blowout_psy_voices.ogg",1.778279,1.0};
		titles[] = {};
	};
	class bl_full
	{
		name = "NS blowout_full";
		sound[] = {"addons\blowout\sounds\blowout_full_wave.ogg",1.778279,1.0};
		titles[] = {};
	};
	class bl_detect
	{
		name = "NS blowout_detect";
		sound[] = {"addons\blowout\sounds\blowout_detect.ogg",1.778279,1.0};
		titles[] = {};
	};
	class apsi_on
	{
		name = "NS apsi_on";
		sound[] = {"addons\blowout\sounds\apsi_start.ogg",1.778279,1.0};
		titles[] = {};
	};
	class apsi_off
	{
		name = "NS apsi_off";
		sound[] = {"addons\blowout\sounds\apsi_off.ogg",1.778279,1.0};
		titles[] = {};
	};
	class ns_fx_misc4
	{
		name = "Misc strange wind";
		sound[] = {"addons\blowout\sounds\fx_misc4.ogg",1.0,1.0};
		titles[] = {};
	};
	class ns_fx_drone1
	{
		name = "Drone 1";
		sound[] = {"addons\blowout\sounds\fx_drone1.ogg",1.0,1.0};
		titles[] = {};
	};
	class ns_fx_drone2
	{
		name = "Drone 2";
		sound[] = {"addons\blowout\sounds\fx_drone2.ogg",1.0,1.0};
		titles[] = {};
	};
class z_wzombie2 : z_wzombie1
 {
		sound[] = {"custom\walkamongstthedead\dayz_sfx\femalezombie_spotted_01.ogg",0.3,1,40};
	};
	class z_wzombie1 
	{
		name = "";
		sound[] = {"custom\walkamongstthedead\dayz_sfx\femalezombie_attack_04.ogg",0.3,1,40};
		titles[] = {0, ""};
	};
    class cureEffect
    {
    name="cureEffect";
    sound[]={sounds\cure_effect.ogg,0.9,1};
    titles[] = {};
    };
	class chatter
    {
    name="chatter";
    sound[]={sounds\chatter.ogg,0.9,1};
};
};
// End of sirens and shit.
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 RscPictureGUI
{
	access=0;
	type=0;
	idc=-1;
	colorBackground[]={0,0,0,0};
	colorText[]={0.38,0.63,0.25999999,0.75};
	font="TahomaB";
	sizeEx=0;
	lineSpacing=0;
	text="";
	style="0x30 + 0x100";
	x=0;
	y=0;
	w=0.2;
	h=0.15000001;
};

// Building snapping extras - added by DY357LX
#include "custom\snap_build\points.hpp"
#include "custom\walkamongstthedead\watd.hpp"

 So i tried taking out the BTC hud and i still got the same error  - no base  class for zCamoIcon:RscPictureGUI

 

 

this leaves me stuck

Link to comment
Share on other sites


 So i tried taking out the BTC hud and i still got the same error  - no base  class for zCamoIcon:RscPictureGUI

 

 

this leaves me stuck

 

 

You were not closing the RcTitles correctly ....there was a };  missing.

 

Try this RscTitles

class RscTitles
{
	class zCamoStatusGUI {
		idd = -1;
	  fadeout=0;
	  fadein=0;
		onLoad = "uiNamespace setVariable ['zCamo_GUI_display', _this select 0]";
		duration = 10e10;
		name= "zCamoGui";
		controlsBackground[] = {};
		objects[] = {};
		class controls {
			class zCamoIcon:RscPictureGUI {
				idc = 1;
				text="custom\walkamongstthedead\zombie.paa";
				x="0.958313 * safezoneW + safezoneX";
				y="0.43 * safezoneH + safezoneY";
				w=0.059999999;
				h=0.079999998;
				colorText[]={1,1,1,1};
			};
		};
	};

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

	
};	

Replace yours all the way till before class ExampleTitle

And get notepad++ or something to follow brackets :P

 

ps: I think you have to follow my instructions also....the class RscPictureGUI has to be above the RscTitles...not sure if it matters or not...but since you are referencing that class inside RscTitles..i think its wise to have it 'pre-declared' first

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...