Jump to content

[RELEASE] EPOCH LIFE


Recommended Posts

Sin_t_tulo_1.jpgArm_A2_OA_2016_04_02_22_31_05_21.png

VIDEO PREVIEW:

Spoiler

 

Hi. This is not about spawn objet like a crazy, each objet have a relatioship whit the other.  SPECIALS THNKS FOR THEDUKE!!!!  HE RELEASE THE GUIDE MENU CUZ IM A PRIMATE :D

This is about life in a base. For player who want to play faraway from cities, in forest or any other place.

WHATS IN THERE?

Spoiler

*****ANIMALS BREENDING:****

You need build an animals sheed to breed animals: (whit itemSledge)

*Cows/Chikens/Sheeps/WildPigs/Rabbits/  to breed its you needs some materiales and buildings in your plot pole area.

You need build a Fish Pond in your plot pole area to:

*****FISH BREEDING:******

*Find seeds and worms whit  a shovel.

*******FARMING*********

Needs a Boogieman in plot area to plant: (whit itemShovel)

*Pumpkins/Tea/Corn/Drougs

Harvest whit machete or Knife.

*****thers a book in game about FARMING/BREEDING/COOK to learn players how its works********

 

INSTALL IT:

1-Download :http://www.mediafire.com/download/h01avwl1cgo1odm/EPOCHLIFE.zip

2-Paste "Custom" folder in your MPMISSION/INSTANCE/

**note: thers a extra_rc.hpp in this folder if u have one NO use it just copy the code bellow.

3A-IF YOU HAVE extra_rc.hpp then paste it.   IF YOU DONT HAVE go to 3B

Spoiler

class ItemKnife {
        class farmhemp {
            text = "CutDrugsFlowers";
            script = "execVM 'custom\script\life\farming\harvesthemp.sqf'";
        };        
    };
  class ItemBook3 {
        class menu1 {
            text = "Cover";
            script = "execVM 'custom\script\life\book\cover.sqf'";
        };
        class menu2 {
            text = "ReadAboutBreed";
            script = "execVM 'custom\script\life\book\display.sqf'";
        };    
        class menu3 {
            text = "ReadAboutFarming";
            script = "execVM 'custom\script\life\book\display2.sqf'";
        };    
   };     
  class ItemKiloHemp {
        class smokeweed {
            text = "Smoke";
            script = "execVM 'custom\script\life\farming\smokeshit.sqf'";
        };
    };
    class MeleeFishingPole {
        class fisher {
            text = "FishonPond";
            script = "execVM 'custom\script\life\breeding\fisher.sqf'";
        };
    };
   class ItemBurlap {
        class cow {
            text = "Cow";
            script = "execVM 'custom\script\life\breeding\cow.sqf'";
        };
        class sheep {
            text = "Sheep";
            script = "execVM 'custom\script\life\breeding\sheep.sqf'";
        };
        class wildpig {
            text = "WildPig";
            script = "execVM 'custom\script\life\breeding\wildpig.sqf'";
        };
        class rabbit {
            text = "Rabbit";
            script = "execVM 'custom\script\life\breeding\rabbit.sqf'";
        };
    };
   class ItemSledge {
        class animalshed {
            text = "AnimalShed";
            script = "execVM 'custom\script\life\breeding\animalshed.sqf'";
        };        
        class chiken {
            text = "Chikens";
            script = "execVM 'custom\script\life\breeding\chiken.sqf'";
        };
        class kitchen {
            text = "BuildKitchen";
            script = "execVM 'custom\script\life\cook\kitchen.sqf'";
        };
    };
   class ItemShovel {        
         class boggieman {
            text = "boggieman";
            script = "execVM 'custom\script\life\farming\boogieman.sqf'";
        };        
        class plantdrugs {
            text = "plantdrugs";
            script = "execVM 'custom\script\life\farming\plantdrug.sqf'";
        };
        class pumpkins {
            text = "pumpkins";
            script = "execVM 'custom\script\life\farming\pumpkins.sqf'";
        };
        class corn {
            text = "corn";
            script = "execVM 'custom\script\life\farming\corn.sqf'";
        };
        class fishpond {
            text = "fishpond";
            script = "execVM 'custom\script\life\breeding\fishpond.sqf'";
        };
        class find {
            text = "FindSeedsWorms";
            script = "execVM 'custom\script\life\breeding\find.sqf'";
        };        
    };
    class ItemMachete {
        class harvestpumpkins {
            text = "HarvestPumpkins";
            script = "execVM 'custom\script\life\farming\harvestpumpkins.sqf'";
        };        
        class harvestcorn {
            text = "HarvestCorn";
            script = "execVM 'custom\script\life\farming\harvestcorn.sqf'";
        };
        class harvesttea {
            text = "HarvestTea";
            script = "execVM 'custom\script\life\farming\harvestTea.sqf'";
        };
    };
    class FoodrabbitRaw {
         class KitchenRabbit {
            text = "UseinKitchen";
            script = "execVM 'custom\script\life\cook\cookrabbit.sqf'";
        };        
    };
    class FoodbaconRaw {
         class KitchenBacon {
            text = "UseinKitchen";
            script = "execVM 'custom\script\life\cook\cookbacon.sqf'";
        };        
    };    
    class FoodchickenRaw {
         class KitchenChiken {
            text = "UseinKitchen";
            script = "execVM 'custom\script\life\cook\cookchiken.sqf'";
        };        
    };    
    class FoodmuttonRaw {
         class Kitchenmutton {
            text = "UseinKitchen";
            script = "execVM 'custom\script\life\cook\cookmutton.sqf'";
        };        
    };    
    class FoodSteakRaw {
         class Kitchensteak {
            text = "UseinKitchen";
            script = "execVM 'custom\script\life\cook\cooksteak.sqf'";
        };        
    };    
    class FoodmeatRaw {
         class Kitchenmeat {
            text = "UseinKitchen";
            script = "execVM 'custom\script\life\cook\cookmeat.sqf'";
        };        
    };    
    class FoodbeefRaw {
         class Kitchenbeef {
            text = "UseinKitchen";
            script = "execVM 'custom\script\life\cook\cookbeef.sqf'";
        };        
    };    
    class ItemTuna {
         class Kitchentuna {
            text = "UseinKitchen";
            script = "execVM 'custom\script\life\cook\cookfishtuna.sqf'";
        };        
    };    
    class ItemTrout {
         class Kitchentrout {
            text = "UseinKitchen";
            script = "execVM 'custom\script\life\cook\cookfishtrout.sqf'";
        };        
    };    
    class ItemSeaBass {
         class Kitchenseabass {
            text = "UseinKitchen";
            script = "execVM 'custom\script\life\cook\cookfishseabass.sqf'";
        };        
    }; 

};  

3B- Go to your description.ext and paste at bottom:

Spoiler

#include "custom\extra_rc.hpp"

*then install it:

https://github.com/mudzereli/DayZEpochClickActions

4-Go to your description.ext and paste at very bottom:

Spoiler

//EPOCH LIFE//
#include "custom\script\life\book\defineslife.hpp"
#include "custom\script\life\book\cover.hpp"
#include "custom\script\life\book\display.hpp"
#include "custom\script\life\book\display2.hpp"

*ItemShovel - ItemSledge - ItemBook3 are very important in this mod.  Maybe u needs add this in traders .  I have ItemBook3 in my customloadout.

Ready.

Note: This work fine whit battleye, but i dont have INFISTAR so dnt know if works on it. maybe anyone can test and make it works on infistar.

Link to comment
Share on other sites

  • 3 weeks later...

 

3 hours ago, Heisenberg79 said:

Hi, thanks for this Script, but i have no right click option on sledge hammer etc...

I install "dayz custom right click action" succesful and i get the right click options from this script, but no action from your script !

 

step 3 in extra_rc.hpp

if u dont have extra_rc.hpp  drop the extra_rc.hpp file included in download folder into  your MPMISSIONS/INSTANCE/custom/ folder

then open your description.ext and paste this at very bottom

Spoiler

#include "custom\extra_rc.hpp"

if u already have a extra_rc.hpp then paste this inside:

Spoiler

class ItemKnife {
        class farmhemp {
            text = "CutDrugsFlowers";
            script = "execVM 'custom\script\life\farming\harvesthemp.sqf'";
        };        
    };
  class ItemBook3 {
        class menu1 {
            text = "Cover";
            script = "execVM 'custom\script\life\book\cover.sqf'";
        };
        class menu2 {
            text = "ReadAboutBreed";
            script = "execVM 'custom\script\life\book\display.sqf'";
        };    
        class menu3 {
            text = "ReadAboutFarming";
            script = "execVM 'custom\script\life\book\display2.sqf'";
        };    
   };     
  class ItemKiloHemp {
        class smokeweed {
            text = "Smoke";
            script = "execVM 'custom\script\life\farming\smokeshit.sqf'";
        };
    };
    class MeleeFishingPole {
        class fisher {
            text = "FishonPond";
            script = "execVM 'custom\script\life\breeding\fisher.sqf'";
        };
    };
   class ItemBurlap {
        class cow {
            text = "Cow";
            script = "execVM 'custom\script\life\breeding\cow.sqf'";
        };
        class sheep {
            text = "Sheep";
            script = "execVM 'custom\script\life\breeding\sheep.sqf'";
        };
        class wildpig {
            text = "WildPig";
            script = "execVM 'custom\script\life\breeding\wildpig.sqf'";
        };
        class rabbit {
            text = "Rabbit";
            script = "execVM 'custom\script\life\breeding\rabbit.sqf'";
        };
    };
   class ItemSledge {
        class animalshed {
            text = "AnimalShed";
            script = "execVM 'custom\script\life\breeding\animalshed.sqf'";
        };        
        class chiken {
            text = "Chikens";
            script = "execVM 'custom\script\life\breeding\chiken.sqf'";
        };
        class kitchen {
            text = "BuildKitchen";
            script = "execVM 'custom\script\life\cook\kitchen.sqf'";
        };
    };
   class ItemShovel {        
         class boggieman {
            text = "boggieman";
            script = "execVM 'custom\script\life\farming\boogieman.sqf'";
        };        
        class plantdrugs {
            text = "plantdrugs";
            script = "execVM 'custom\script\life\farming\plantdrug.sqf'";
        };
        class pumpkins {
            text = "pumpkins";
            script = "execVM 'custom\script\life\farming\pumpkins.sqf'";
        };
        class corn {
            text = "corn";
            script = "execVM 'custom\script\life\farming\corn.sqf'";
        };
        class fishpond {
            text = "fishpond";
            script = "execVM 'custom\script\life\breeding\fishpond.sqf'";
        };
        class find {
            text = "FindSeedsWorms";
            script = "execVM 'custom\script\life\breeding\find.sqf'";
        };        
    };
    class ItemMachete {
        class harvestpumpkins {
            text = "HarvestPumpkins";
            script = "execVM 'custom\script\life\farming\harvestpumpkins.sqf'";
        };        
        class harvestcorn {
            text = "HarvestCorn";
            script = "execVM 'custom\script\life\farming\harvestcorn.sqf'";
        };
        class harvesttea {
            text = "HarvestTea";
            script = "execVM 'custom\script\life\farming\harvestTea.sqf'";
        };
    };
    class FoodrabbitRaw {
         class KitchenRabbit {
            text = "UseinKitchen";
            script = "execVM 'custom\script\life\cook\cookrabbit.sqf'";
        };        
    };
    class FoodbaconRaw {
         class KitchenBacon {
            text = "UseinKitchen";
            script = "execVM 'custom\script\life\cook\cookbacon.sqf'";
        };        
    };    
    class FoodchickenRaw {
         class KitchenChiken {
            text = "UseinKitchen";
            script = "execVM 'custom\script\life\cook\cookchiken.sqf'";
        };        
    };    
    class FoodmuttonRaw {
         class Kitchenmutton {
            text = "UseinKitchen";
            script = "execVM 'custom\script\life\cook\cookmutton.sqf'";
        };        
    };    
    class FoodSteakRaw {
         class Kitchensteak {
            text = "UseinKitchen";
            script = "execVM 'custom\script\life\cook\cooksteak.sqf'";
        };        
    };    
    class FoodmeatRaw {
         class Kitchenmeat {
            text = "UseinKitchen";
            script = "execVM 'custom\script\life\cook\cookmeat.sqf'";
        };        
    };    
    class FoodbeefRaw {
         class Kitchenbeef {
            text = "UseinKitchen";
            script = "execVM 'custom\script\life\cook\cookbeef.sqf'";
        };        
    };    
    class ItemTuna {
         class Kitchentuna {
            text = "UseinKitchen";
            script = "execVM 'custom\script\life\cook\cookfishtuna.sqf'";
        };        
    };    
    class ItemTrout {
         class Kitchentrout {
            text = "UseinKitchen";
            script = "execVM 'custom\script\life\cook\cookfishtrout.sqf'";
        };        
    };    
    class ItemSeaBass {
         class Kitchenseabass {
            text = "UseinKitchen";
            script = "execVM 'custom\script\life\cook\cookfishseabass.sqf'";
        };        
    }; 

};  

If this step do not sloved your issue, well check where you put the life folder... see the paths

Spoiler

execVM 'custom\script\life\......

 

Link to comment
Share on other sites

17 hours ago, juandayz said:

 

 

step 3 in extra_rc.hpp

if u dont have extra_rc.hpp  drop the extra_rc.hpp file included in download folder into  your MPMISSIONS/INSTANCE/custom/ folder

then open your description.ext and paste this at very bottom

  Reveal hidden contents

#include "custom\extra_rc.hpp"

if u already have a extra_rc.hpp then paste this inside:

  Reveal hidden contents

class ItemKnife {
        class farmhemp {
            text = "CutDrugsFlowers";
            script = "execVM 'custom\script\life\farming\harvesthemp.sqf'";
        };        
    };
  class ItemBook3 {
        class menu1 {
            text = "Cover";
            script = "execVM 'custom\script\life\book\cover.sqf'";
        };
        class menu2 {
            text = "ReadAboutBreed";
            script = "execVM 'custom\script\life\book\display.sqf'";
        };    
        class menu3 {
            text = "ReadAboutFarming";
            script = "execVM 'custom\script\life\book\display2.sqf'";
        };    
   };     
  class ItemKiloHemp {
        class smokeweed {
            text = "Smoke";
            script = "execVM 'custom\script\life\farming\smokeshit.sqf'";
        };
    };
    class MeleeFishingPole {
        class fisher {
            text = "FishonPond";
            script = "execVM 'custom\script\life\breeding\fisher.sqf'";
        };
    };
   class ItemBurlap {
        class cow {
            text = "Cow";
            script = "execVM 'custom\script\life\breeding\cow.sqf'";
        };
        class sheep {
            text = "Sheep";
            script = "execVM 'custom\script\life\breeding\sheep.sqf'";
        };
        class wildpig {
            text = "WildPig";
            script = "execVM 'custom\script\life\breeding\wildpig.sqf'";
        };
        class rabbit {
            text = "Rabbit";
            script = "execVM 'custom\script\life\breeding\rabbit.sqf'";
        };
    };
   class ItemSledge {
        class animalshed {
            text = "AnimalShed";
            script = "execVM 'custom\script\life\breeding\animalshed.sqf'";
        };        
        class chiken {
            text = "Chikens";
            script = "execVM 'custom\script\life\breeding\chiken.sqf'";
        };
        class kitchen {
            text = "BuildKitchen";
            script = "execVM 'custom\script\life\cook\kitchen.sqf'";
        };
    };
   class ItemShovel {        
         class boggieman {
            text = "boggieman";
            script = "execVM 'custom\script\life\farming\boogieman.sqf'";
        };        
        class plantdrugs {
            text = "plantdrugs";
            script = "execVM 'custom\script\life\farming\plantdrug.sqf'";
        };
        class pumpkins {
            text = "pumpkins";
            script = "execVM 'custom\script\life\farming\pumpkins.sqf'";
        };
        class corn {
            text = "corn";
            script = "execVM 'custom\script\life\farming\corn.sqf'";
        };
        class fishpond {
            text = "fishpond";
            script = "execVM 'custom\script\life\breeding\fishpond.sqf'";
        };
        class find {
            text = "FindSeedsWorms";
            script = "execVM 'custom\script\life\breeding\find.sqf'";
        };        
    };
    class ItemMachete {
        class harvestpumpkins {
            text = "HarvestPumpkins";
            script = "execVM 'custom\script\life\farming\harvestpumpkins.sqf'";
        };        
        class harvestcorn {
            text = "HarvestCorn";
            script = "execVM 'custom\script\life\farming\harvestcorn.sqf'";
        };
        class harvesttea {
            text = "HarvestTea";
            script = "execVM 'custom\script\life\farming\harvestTea.sqf'";
        };
    };
    class FoodrabbitRaw {
         class KitchenRabbit {
            text = "UseinKitchen";
            script = "execVM 'custom\script\life\cook\cookrabbit.sqf'";
        };        
    };
    class FoodbaconRaw {
         class KitchenBacon {
            text = "UseinKitchen";
            script = "execVM 'custom\script\life\cook\cookbacon.sqf'";
        };        
    };    
    class FoodchickenRaw {
         class KitchenChiken {
            text = "UseinKitchen";
            script = "execVM 'custom\script\life\cook\cookchiken.sqf'";
        };        
    };    
    class FoodmuttonRaw {
         class Kitchenmutton {
            text = "UseinKitchen";
            script = "execVM 'custom\script\life\cook\cookmutton.sqf'";
        };        
    };    
    class FoodSteakRaw {
         class Kitchensteak {
            text = "UseinKitchen";
            script = "execVM 'custom\script\life\cook\cooksteak.sqf'";
        };        
    };    
    class FoodmeatRaw {
         class Kitchenmeat {
            text = "UseinKitchen";
            script = "execVM 'custom\script\life\cook\cookmeat.sqf'";
        };        
    };    
    class FoodbeefRaw {
         class Kitchenbeef {
            text = "UseinKitchen";
            script = "execVM 'custom\script\life\cook\cookbeef.sqf'";
        };        
    };    
    class ItemTuna {
         class Kitchentuna {
            text = "UseinKitchen";
            script = "execVM 'custom\script\life\cook\cookfishtuna.sqf'";
        };        
    };    
    class ItemTrout {
         class Kitchentrout {
            text = "UseinKitchen";
            script = "execVM 'custom\script\life\cook\cookfishtrout.sqf'";
        };        
    };    
    class ItemSeaBass {
         class Kitchenseabass {
            text = "UseinKitchen";
            script = "execVM 'custom\script\life\cook\cookfishseabass.sqf'";
        };        
    }; 

};  

If this step do not sloved your issue, well check where you put the life folder... see the paths

  Reveal hidden contents

execVM 'custom\script\life\......

 

Hi,

the extra_rc.hpp is in "DayZ_Epoch_11.Chernarus\custom" and the life folder in "DayZ_Epoch_11.Chernarus\custom\script\life" ! 

"DayZ_Epoch_11.Chernarus" is the root mission folder !

My description file :

Spoiler

#include "ZSC\config\cfgServerTrader.hpp"

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 = "\z\addons\dayz_code\gui\dayz_logo_ca.paa";

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

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

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

class RscTitles
{
#include "ZSC\config\ZSChud.hpp"

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

};


#include "custom\walkamongstthedead\watd.hpp"
#include "ZSC\config\ZSCdefines.hpp"
#include "ZSC\config\ZSCdialogs.hpp"
#include "admintools\dialog.hpp"
#include "custom\snap_pro\snappoints.hpp"
#include "=BTC=_Logistic\=BTC=_Lift\=BTC=_Hud.h"
#include "custom\script\life\book\defineslife.hpp"
#include "custom\script\life\book\cover.hpp"
#include "custom\script\life\book\display.hpp"
#include "custom\script\life\book\display2.hpp"
#include "custom\extra_rc.hpp"
 

Possibly i think there is another script that make problems or am I doing something wrong .....

Link to comment
Share on other sites

"DayZ_Epoch_11.Chernarus" is the root mission folder !

 

are u talking about /YOUR SERVER ROOT/MPMISSIONS/ DayZ_Epoch_11.Chernarus\custom\script" ? right?

image.jpg

if its not work, please paste your extra_rc.hpp.  i think u have the error in paths or in your extra_rc

*note: extra_rc.hpp goes into MPmissions\instance_11_chernarus\custom\  too.  (calls in your description.ext are fine).

*If u still doubts heres my server files.. use to compare http://www.mediafire.com/download/a49d19q3k2kq2m3/Epoch-Server+v.final.rar

Link to comment
Share on other sites

10 hours ago, juandayz said:

are u talking about /YOUR SERVER ROOT/MPMISSIONS/ DayZ_Epoch_11.Chernarus\custom\script" ? right?

Yes, inside my MPMission folder is the folder "DayZ_Epoch_11.Chernarus" and inside i create a folder "custom" ! Inside the custom folder is the "extra_rc.hpp", the script folder and inside the script folder is the life folder ! Lol, to many folders ;)

Here is my extra_rc.hpp

Spoiler

class ExtraRc {
  class ItemRadio {
     class GroupManagement {
        text = "Group Management";
        script = "execVM 'dzgm\loadGroupManagement.sqf'";
     };
  };
  class ItemKnife {
        class farmhemp {
            text = "CutDrugsFlowers";
            script = "execVM 'custom\script\life\farming\harvesthemp.sqf'";
        };        
    }; 
  class ItemBook3 {
        class menu1 {
            text = "Cover";
            script = "execVM 'custom\script\life\book\cover.sqf'";
        };
        class menu2 {
            text = "ReadAboutBreed";
            script = "execVM 'custom\script\life\book\display.sqf'";
        };    
        class menu3 {
            text = "ReadAboutFarming";
            script = "execVM 'custom\script\life\book\display2.sqf'";
        };    
   };     
  class ItemKiloHemp {
        class smokeweed {
            text = "Smoke";
            script = "execVM 'custom\script\life\farming\smokeshit.sqf'";
        };
    };
    class MeleeFishingPole {
        class fisher {
            text = "FishonPond";
            script = "execVM 'custom\script\life\breeding\fisher.sqf'";
        };
    };
   class ItemBurlap {
        class cow {
            text = "Cow";
            script = "execVM 'custom\script\life\breeding\cow.sqf'";
        };
        class sheep {
            text = "Sheep";
            script = "execVM 'custom\script\life\breeding\sheep.sqf'";
        };
        class wildpig {
            text = "WildPig";
            script = "execVM 'custom\script\life\breeding\wildpig.sqf'";
        };
        class rabbit {
            text = "Rabbit";
            script = "execVM 'custom\script\life\breeding\rabbit.sqf'";
        };
    };
   class ItemSledge {
        class animalshed {
            text = "AnimalShed";
            script = "execVM 'custom\script\life\breeding\animalshed.sqf'";
        };        
        class chiken {
            text = "Chikens";
            script = "execVM 'custom\script\life\breeding\chiken.sqf'";
        };
        class kitchen {
            text = "BuildKitchen";
            script = "execVM 'custom\script\life\cook\kitchen.sqf'";
        };
    };
   class ItemShovel {        
         class boggieman {
            text = "boggieman";
            script = "execVM 'custom\script\life\farming\boogieman.sqf'";
        };        
        class plantdrugs {
            text = "plantdrugs";
            script = "execVM 'custom\script\life\farming\plantdrug.sqf'";
        };
        class pumpkins {
            text = "pumpkins";
            script = "execVM 'custom\script\life\farming\pumpkins.sqf'";
        };
        class corn {
            text = "corn";
            script = "execVM 'custom\script\life\farming\corn.sqf'";
        };
        class fishpond {
            text = "fishpond";
            script = "execVM 'custom\script\life\breeding\fishpond.sqf'";
        };
        class find {
            text = "FindSeedsWorms";
            script = "execVM 'custom\script\life\breeding\find.sqf'";
        };        
    };
    class ItemMachete {
        class harvestpumpkins {
            text = "HarvestPumpkins";
            script = "execVM 'custom\script\life\farming\harvestpumpkins.sqf'";
        };        
        class harvestcorn {
            text = "HarvestCorn";
            script = "execVM 'custom\script\life\farming\harvestcorn.sqf'";
        };
        class harvesttea {
            text = "HarvestTea";
            script = "execVM 'custom\script\life\farming\harvestTea.sqf'";
        };
    }; 
    class FoodrabbitRaw {
         class KitchenRabbit {
            text = "UseinKitchen";
            script = "execVM 'custom\script\life\cook\cookrabbit.sqf'";
        };        
    };
    class FoodbaconRaw {
         class KitchenBacon {
            text = "UseinKitchen";
            script = "execVM 'custom\script\life\cook\cookbacon.sqf'";
        };        
    };    
    class FoodchickenRaw {
         class KitchenChiken {
            text = "UseinKitchen";
            script = "execVM 'custom\script\life\cook\cookchiken.sqf'";
        };        
    };    
    class FoodmuttonRaw {
         class Kitchenmutton {
            text = "UseinKitchen";
            script = "execVM 'custom\script\life\cook\cookmutton.sqf'";
        };        
    };    
    class FoodSteakRaw {
         class Kitchensteak {
            text = "UseinKitchen";
            script = "execVM 'custom\script\life\cook\cooksteak.sqf'";
        };        
    };    
    class FoodmeatRaw {
         class Kitchenmeat {
            text = "UseinKitchen";
            script = "execVM 'custom\script\life\cook\cookmeat.sqf'";
        };        
    };    
    class FoodbeefRaw {
         class Kitchenbeef {
            text = "UseinKitchen";
            script = "execVM 'custom\script\life\cook\cookbeef.sqf'";
        };        
    };    
    class ItemTuna {
         class Kitchentuna {
            text = "UseinKitchen";
            script = "execVM 'custom\script\life\cook\cookfishtuna.sqf'";
        };        
    };    
    class ItemTrout {
         class Kitchentrout {
            text = "UseinKitchen";
            script = "execVM 'custom\script\life\cook\cookfishtrout.sqf'";
        };        
    };    
    class ItemSeaBass {
         class Kitchenseabass {
            text = "UseinKitchen";
            script = "execVM 'custom\script\life\cook\cookfishseabass.sqf'";
        };        
    };    
    class ItemToolbox {
         class plantflag {
            text = "PlantarBandera";
            script = "execVM 'custom\script\flag.sqf'";
        };    
    };    
 };

and here are the folders on my server :

 

Unbenannt-1.png

Unbenannt-1.png

Link to comment
Share on other sites

well lets think :D  .. this mod have 3 diferents parts.... 1- Calls   2-paths and 3-right click options

1-Calls ,, all calls was maked from description.ext and from extra_rc.hpp.   (you have this part fine)

2-Paths--  are defined by the calls and where you put the life folder. (this part its ok too)

***All the scripts into life folder no make reference about paths so no problems in here)***

3-DayZ Custom Right Click Actions 3.0.3-- This is a external mod. So if u have something wrong must  be in here.

First: i see your extra_rc.hpp   you have a call in the top for group management and one in the very bottom "plantar bandera" i guess you took it from my server files.. if u dont have group management delete this call, and in the bottom delete "plantar bandera" you dont have it :)

 

DayZ Custom Right Click Actions 3.0.3

https://github.com/mudzereli/DayZEpochClickActions       check it

 

And for the las try...  try it:

(you must have "overwrites" folder in your server root\Mpmissions\instance_11_chernarus\)

1- check if u have it in your init.sqf 

Spoiler

call compile preprocessFileLineNumbers "overwrites\click_actions\init.sqf";

2-check into your custom compiles.sqf if u have this line:

Spoiler

player_selectSlot =            compile preprocessFileLineNumbers "overwrites\click_actions\ui_selectSlot.sqf";

 


3. In ui_selectSlot.sqf  into your overwrites\click_actions\  check if u have it:

Spoiler

 _erc_cfgActions = (missionConfigFile >> "ExtraRc" >> _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

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
  • Discord

×
×
  • Create New...