Jump to content

Heisenberg79

Member
  • Posts

    4
  • Joined

  • Last visited

Posts posted by Heisenberg79

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

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

×
×
  • Create New...