Jump to content

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


Sandbird

Recommended Posts

I just realized...the towing script I use: 

 

Has me move my compiles....i tried applying the change you assigned, only to get an error and nothing in my inventory can be right clicked.

 

So how could i get that to work with this?

That might be the problem I'm having

 

So which compiles.sqf where you changing before then oO ? I hope NOT the one inside dayz_code.pbo.

You need to go to THAT compiles.sqf you use and follow the instructions....overwrite the ui_selectslot.sqf and put my additions in it.

Like i said...this is easy to install but easy to mess up also. Follow the steps and you'll be fine.....or give me the errors that i gave you

Link to comment
Share on other sites

So which compiles.sqf where you changing before then oO ? I hope NOT the one inside dayz_code.pbo.

You need to go to THAT compiles.sqf you use and follow the instructions....overwrite the ui_selectslot.sqf and put my additions in it.

Like i said...this is easy to install but easy to mess up also. Follow the steps and you'll be fine.....or give me the errors that i gave you

 

Ok so the instructions on the MFTow had me move the compiles to the MPMission. I had forgotten about that. When I edited the line, I got an error stating that it couldn't locate ui_selectSlot.sqf and i couldn't right click anything inside my inventory.

So it's pointing to the right ui_selectSlot.sqf to begin with....makes no sense or am I having a blonde moment?

Link to comment
Share on other sites

Ok so the instructions on the MFTow had me move the compiles to the MPMission. I had forgotten about that. When I edited the line, I got an error stating that it couldn't locate ui_selectSlot.sqf and i couldn't right click anything inside my inventory.

So it's pointing to the right ui_selectSlot.sqf to begin with....makes no sense or am I having a blonde moment?

 

First of all, if you ever edited/moved/deleted/inserted(oO) files inside @DayZ_Epoch\addons\dayz_code.pbo then you need to redownload the Epoch client.

When we overwrite stuff we dont touch those files...instead we COPY the file ex:dayz_code.pbo\init\compiles.sqf INTO our mission folder, for example inside a mirrored folder....and then go to the init.sqf and change this:

call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\compiles.sqf";

to this:

call compile preprocessFileLineNumbers "dayz_code\init\compiles.sqf";

This means inside your mission folder you have a subfolder called dayz_code and then another one called init and then the file you copied. (compiles.sqf)

 

Now you open THAT file and you 'overwrite' values there. Like in our case the

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

And again...you copy that file from the dayz_code.pbo into the yourmissionfolder\dayz_code\compile\  folder and you change the above line to :

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

THEN you tweak the new ui_selectSlot.sqf to what the instructions say..

This way EVERYONE downloading your mission file will have the new ui_selectSlot.sqf and the overwritten compiles.sqf that points to the new file instead of the original one.

 

ps: and now i am going to sleep :P its 4:00am here hehehe.

Link to comment
Share on other sites

Sandbird, I cannot thank you enough for have patience and not insulting me or shrugging me off like some noob. I am fairly new to DayZ Epoch and some aspects I've not learned fully but am a fast learner.

 

Thank you so much! This fixed it perfectly! You are a great asset to the DayZ Epoch community! Wish I could repay you somehow.

Link to comment
Share on other sites

Can someone help me with this.

All works good, i just cant add in description.ext     class zCamoStatusGUI

I have allready something like this 

                                  class RscTitles {

class wm_disp {
idd = -1;
onLoad = "uiNamespace setVariable ['wm_disp', _this select 0]";
fadein = 0;
fadeout = 0;
duration = 10e10;
controlsBackground[] = {};
objects[] = {};
class controls {
class wm_text2 {
idc = 1;
x = safeZoneX+0.027;//safeZoneW*0.01; //+0.027;
y = safeZoneY+safeZoneH-0.16; //16
w = 1.151*safeZoneH;
h = 0.057*safeZoneH;
shadow = 2; //2
class Attributes
{
font = "EtelkaNarrowMediumPro";  //EtelkaNarrowMediumPro
color = "#24FFFFFF";   //"#24FFFFFF";
align = "left"; // put "center" here if you want some background
valign = "middle";
shadow = 2;
};
colorBackground[] = { 1, 0.3, 0, 0 };  // uncomment and increase 4th number to have a background
font = "EtelkaNarrowMediumPro";
size = 0.06*safeZoneH;
type = 13;
style = 0;
text="";
};
};
};
#include "RC\desc_inc.h"
};
 
But when i add inside 
 
    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};
            };
        };
    };
 
i get error    ErrorMessage: File mpmissions\__cur_mp.Chernarus\description.ext, line 219: /RscTitles/zCamoStatusGUI/controls.zCamoIcon: Undefined base class 'RscPictureGUI'
 
 
Help!
Link to comment
Share on other sites

 

Can someone help me with this.

All works good, i just cant add in description.ext     class zCamoStatusGUI

I have allready something like this 

                                  class RscTitles {

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

            };

        };

    };

 
i get error    ErrorMessage: File mpmissions\__cur_mp.Chernarus\description.ext, line 219: /RscTitles/zCamoStatusGUI/controls.zCamoIcon: Undefined base class 'RscPictureGUI'
 
 
Help!

 

 

I got the same message and realized I made a mistake. Put the RscTitles class after the GUI class

Link to comment
Share on other sites

Where is your RscPictureGUI class ?

Instructions instructions instructionssssssss

  I dont understand how to add 

 

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

            };

        };

    };

};    

 

 

Inside my descriptions file...

 

 

 

// logo watermark

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

 

Link to comment
Share on other sites

Guys you are drowning in a teaspoon.
Why dont you read the instructions i posted on the 1st page instead of spamming the thread (use <> tags for code please)

1st you put RscPictureGUI,
2nd you put RscTitles
3rd you put CfgSounds
And in the bottom: #include "custom\walkamongstthedead\watd.hpp"

Now IF you have other mods that use RscTitles and you already had them there, then ok...just add RscPictureGUI ABOVE RscTitles and you should be fine.
CfgSounds doesnt matter where they go really...
Think of this as a family tree....In order to reference someone inside the tree you first have to declare him above.

Link to comment
Share on other sites

 

  I dont understand how to add 

Inside my descriptions file...

 

 

RscTitles is a class, and inside of it, it has subclasses. IF you already have RscTitles, it means you must have another subclass inside.

Like i say in my instructions "if you have RscTitles then inside it add class zCamoStatusGUI

ONLY zCamoStatusGUI !  Get Notepad++ to see when class brackets start and end better....And get Arma2 syntax highlighter for notepad++

In your case it should be:

// logo watermark
class RscTitles {
	
	//Here is my class
 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};
            };
        };
  };
	
	
	
	//And here is another class....so 2 classes inside RscTitles
	class wm_disp {
		idd = -1;
		onLoad = "uiNamespace setVariable ['wm_disp', _this select 0]";
		fadein = 0;
		fadeout = 0;
		duration = 10e10;
		controlsBackground[] = {};
		objects[] = {};
		class controls {
			class wm_text2 {
				idc = 1;
				x = safeZoneX+0.027;//safeZoneW*0.01; //+0.027;
				y = safeZoneY+safeZoneH-0.16; //16
				w = 1.151*safeZoneH;
				h = 0.057*safeZoneH;
				shadow = 2; //2
				class Attributes
				{
					font = "EtelkaNarrowMediumPro";  //EtelkaNarrowMediumPro
					color = "#24FFFFFF";   //"#24FFFFFF";
					align = "left"; // put "center" here if you want some background
					valign = "middle";
					shadow = 2;
				};
				colorBackground[] = { 1, 0.3, 0, 0 };  // uncomment and increase 4th number to have a background
				font = "EtelkaNarrowMediumPro";
				size = 0.06*safeZoneH;
				type = 13;
				style = 0;
				text="";
			};
		};
	};
	
#include "RC\desc_inc.h"
};

See how nice it is bracketed ? Get a text editor and stop using windows notepaaaaaaaaaaad :P

Link to comment
Share on other sites

Guys you are drowning in a teaspoon.

Why dont you read the instructions i posted on the 1st page instead of spamming the thread (use <> tags for code please)

1st you put RscPictureGUI,

2nd you put RscTitles

3rd you put CfgSounds

And in the bottom: #include "custom\walkamongstthedead\watd.hpp"

Now IF you have other mods that use RscTitles and you already had them there, then ok...just add RscPictureGUI ABOVE RscTitles and you should be fine.

CfgSounds doesnt matter where they go really...

Think of this as a family tree....In order to reference someone inside the tree you first have to declare him above.

 

All works fine just after i use it one time, after time is end in my case its 5 minutes, when i use it second time , time is end after 1 second

Link to comment
Share on other sites

All works fine just after i use it one time, after time is end in my case its 5 minutes, when i use it second time , time is end after 1 second

 

Hmm you are right...i'll release a patch. I also saw that the icon is not flashing.

I'll fix that as well.

Link to comment
Share on other sites

All works fine just after i use it one time, after time is end in my case its 5 minutes, when i use it second time , time is end after 1 second

 

 

V4 Changes

- Fixed flashing icon not flashing when in combat

- Fixed camo not getting reactivated properly when 1st camo finishes and new one applied

- (if you are updating from previous versions just change your walkamongstthedead.sqf file)

 

Please redownload the file...just change your walkamongstthedead.sqf

 

EDIT: oops...wait...not complete yet...i'll update this post when done 100%...just noticed another breaking thingy

Link to comment
Share on other sites

V4 Changes

- Fixed flashing icon not flashing when in combat

- Fixed camo not getting reactivated properly when 1st camo finishes and new one applied

- (if you are updating from previous versions just change your walkamongstthedead.sqf file)

 

Please redownload the file...just change your walkamongstthedead.sqf

 

EDIT: oops...wait...not complete yet...i'll update this post when done 100%...just noticed another breaking thingy

 is it posible to make config that zombies dont see player when he shoot too, and can put it on or off in config file?

 

b_560_95_1.png

Link to comment
Share on other sites

 is it posible to make config that zombies dont see player when he shoot too, and can put it on or off in config file?

 

 

 

V4 Changes (17-5-14)

- Fixed flashing icon not flashing when in combat

- Fixed camo not getting reactivated properly when 1st camo finishes and new one applied

- Added value in config.cfg to NOT disable Z camo when you fire your weapon...so it stays on

- (if you are updating from previous versions just change your walkamongstthedead.sqf, and config.sqf files)

Link to comment
Share on other sites

V4 Changes (17-5-14)

- Fixed flashing icon not flashing when in combat

- Fixed camo not getting reactivated properly when 1st camo finishes and new one applied

- Added value in config.cfg to NOT disable Z camo when you fire your weapon...so it stays on

- (if you are updating from previous versions just change your walkamongstthedead.sqf, and config.sqf files)

 will try later

Link to comment
Share on other sites

  • 2 weeks later...

Step 5 isnt working for me 

 

I have class RscTitles already for my watermark logo, how do i added the code to it I tried this and it didnt work:

 

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

Please sign in to comment

You will be able to leave a comment after signing in



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