Jump to content

KillingPigs123

Member
  • Posts

    30
  • Joined

  • Last visited

Posts posted by KillingPigs123

  1. Alright guys, this might not work but I believe this should work to add custom gear and weapons to the AI.

    Instructions:

    1. Unpack your server.pbo

    2. Go to <dir>\@DayZ_Epoch_Server\addons\dayz_server\EMS\ExtConfig and open DZMSAIConfig.sqf

     

    (almost) Everything will be in that file to configure.

     

    To add weapons:

    1. Go around line 56 and you will see a big code with some weapons, go there.

    2. Go to the bottom of the weapons in that section, you will see "M4A3_CCO_EP1" around line 72, add a , to the end of that.

    3. Add the weapon type to the bottom, for example an RPG would be "RPG_7V"

    4. That's how to make a weapon

    (List of codes for weapons: https://community.bistudio.com/wiki/ArmA_2:_Weapons)

     

    To add gear:

    1. Go around line 130, you will see a bunch of items.

    2. Next to "ItemPainKiller", put a , next to it.

    3. Without spaces, add the item in quotation marks (eg. "ItemBloodBag")

    4. You now have custom gear!

     

    To add skills:

    1. Go around line 13, you will see "Array of AI skills"

    2. There is 4 sections, it will be of different stuff. Change the number to a higher number to improve the skills

    3. You are done.

     

    New Section: How to add new weapons/items to weapon crates:

    1. Unpack your server.pbo

    2. Go to <dir>\@DayZ_Epoch_Server\addons\dayz_server\EMS\ExtConfig and open DZMSWeaponCrateList.sqf

    3. There will be a bunch of sections. Look for your section, and put a comma (,) next to the last weapon, then in quotation marks (") put the weapon code in. Full list of weapon codes shown below.

    Weapons codes = https://community.bistudio.com/wiki/ArmA_2:_Weapons

     

    Thank you for reading my guide, peace!

  2. Go to your dayz_server.pbo, and open /EMS/ExtConfig/DZMSAIConfig.sqf, and go around line 55 and you will see a weapon list.

    Next to "M4A3_CCO_EP1" add a , so it can detect there's another line

    Then add:

    "RPG7V" 

    This is not tested, but im almost sure it'll work.

     

    Now it looks like this, just to make sure you did it right:

    "M4A3_CCO_EP1",
    "RPG7V"
    ];
    
  3.  

    ive always skipped the predefination of variables because it spams the clients rpt with undefined variable errors, i always do it like that:

    fnc_debug = {
    	  private ["_kills","_killsH","_killsB","_humanity","_headShots","_vehname","_crew","_crew2","_crew3","_crew4","_crew5","_crew6","_crew7","_crew8","_crew9"];
        debugMonitor = true;
        while {debugMonitor} do
        {	
    	      hintSilent parseText format ["
    				<t size='1' font='Bitstream' align='center' color='#FFCC00'>Survived %1 Days</t><br/><br/>
            <t size='1' font='Bitstream' align='left' color='#EEC900'>Amount of Blood:</t><t size='1' font='Bitstream' align='right' color='#EE0000'>%2</t><br/>
            <t size='1' font='Bitstream' align='left' color='#EEC900'>Humanity:</t><t size='1'font='Bitstream' align='right' color='#EEC900'>%3</t><br/>
            <t size='1' font='Bitstream' align='left' color='#EEC900'>Murders:</t><t size='1'font='Bitstream' align='right' color='#EEC900'>%4</t><br/>
            <t size='1' font='Bitstream' align='left' color='#EEC900'>Bandits Killed:d</t><t size='1'font='Bitstream' align='right' color='#EEC900'>%5</t><br/>
            <t size='1' font='Bitstream' align='left' color='#EEC900'>Zombies Killed:</t><t size='1'font='Bitstream' align='right' color='#EEC900'>%6</t><br/>
            <t size='1' font='Bitstream' align='left' color='#EEC900'>Headshots:</t><t size='1'font='Bitstream' align='right' color='#EEC900'>%7</t><br/>
    				<t size='1' font='Bitstream' align='left' color='#EEC900'>Fps:</t><t size='1'font='Bitstream' align='right' color='#FFFFFF'>%8</t><br/>
            <t size='1' font='Bitstream' align='center' color='#0080C0'>eaglegaming.bl.ee</t><br/>",
            dayz_skilllevel,
            r_player_blood,
            (round player getVariable["humanity",0];),
            (player getVariable["humanKills",0];),
            (player getVariable["banditKills",0];),
            (player getVariable["zombieKills",0];),
            (player getVariable["headShots",0];),
            round diag_FPS
            ];
        sleep 1;
        };
    };
     
    [] spawn fnc_debug;
    

    Good work, it's the top post so if players dont like it, they will see yours right there.

  4. Need a debug monitor? This is the right place!

     

    Installation Instructions:

    1. Make a new SQF file in your MPMissions/(map) and call it custom_monitor.sqf

       

    2. In your custom_monitor.sqf, add this code:
    fnc_debug = {
    	  private ["_kills","_killsH","_killsB","_humanity","_headShots","_vehname","_crew","_crew2","_crew3","_crew4","_crew5","_crew6","_crew7","_crew8","_crew9"];
        debugMonitor = true;
        while {debugMonitor} do
        {
            _kills =        player getVariable["zombieKills",0];
            _killsH =       player getVariable["humanKills",0];
            _killsB =       player getVariable["banditKills",0];
            _humanity =     player getVariable["humanity",0];
            _headShots =    player getVariable["headShots",0];
    	
    	      hintSilent parseText format ["
    				<t size='1' font='Bitstream' align='center' color='#FFCC00'>Survived %1 Days</t><br/><br/>
            <t size='1' font='Bitstream' align='left' color='#EEC900'>Amount of Blood:</t><t size='1' font='Bitstream' align='right' color='#EE0000'>%2</t><br/>
            <t size='1' font='Bitstream' align='left' color='#EEC900'>Humanity:</t><t size='1'font='Bitstream' align='right' color='#EEC900'>%3</t><br/>
            <t size='1' font='Bitstream' align='left' color='#EEC900'>Murders:</t><t size='1'font='Bitstream' align='right' color='#EEC900'>%4</t><br/>
            <t size='1' font='Bitstream' align='left' color='#EEC900'>Bandits Killed:d</t><t size='1'font='Bitstream' align='right' color='#EEC900'>%5</t><br/>
            <t size='1' font='Bitstream' align='left' color='#EEC900'>Zombies Killed:</t><t size='1'font='Bitstream' align='right' color='#EEC900'>%6</t><br/>
            <t size='1' font='Bitstream' align='left' color='#EEC900'>Headshots:</t><t size='1'font='Bitstream' align='right' color='#EEC900'>%7</t><br/>
    				<t size='1' font='Bitstream' align='left' color='#EEC900'>Fps:</t><t size='1'font='Bitstream' align='right' color='#FFFFFF'>%8</t><br/>
            <t size='1' font='Bitstream' align='center' color='#0080C0'>eaglegaming.bl.ee</t><br/>",
            dayz_skilllevel,
            r_player_blood,
            round _humanity,
            _killsH,
            _killsB,
            _kills,
            _headShots,
            round diag_FPS
            ];
        sleep 1;
        };
    };
     
    [] spawn fnc_debug;
    

         3: Go to your init.sqf and add this line to the VERY bottom of it!:

    [] execVM "custom_monitor.sqf";
    

        4: Well done, you now have a custom monitor!

     

    NOTICE: This is very simple and only used for players who REALLY need one! Thank you for your time!

     

    FAQ:

    • Q: My RPT is SPAMMING with errors, how do I fix this?
    • A: The post below has a fixed soloution. It's a little bit of a modified code
  5. Hello everyone, I just need some help because Epoch doesn't seem to work

    What's happening is that I can't buy anything from traders, because I can't see it in the menu

    And secondly, I can't upgrade/remove anything, because I can't see it in the scroll menu aswell

    Please help ASAP

    -Ryan

  6. Executed querys or something but when my friend joined he said that he gets something like waiting for character create and got stuck there... And when i got back from peeing I saw that the server was crashed... (server.exe (or something) stopped working...

    Waiting for character to create will work, it proraly just stopped because the server just stopped responding and that's normal

    Have you set up MySQL and everything?

  7. What debug monitor are you using ? a link would help as there's a few.

    Personally i would remove it and search the forum for a working debug, one that won't interfere with the Epoch self actions.

    At first, it sais I was using infiStar debug when I took a tutorial on how to make a epoch server, then I moved my epoch server to a different location and everything bugged. Do I need to download a debug monitor?

×
×
  • Create New...