Jump to content

Aidem

Member
  • Posts

    55
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by Aidem

  1. How do these side missions work? In the loot lists, does it spawn -everything- contained within those, or just 75 of those items randomly selected from _loot_amount = 75;?

     

    If I could get some clarification I'd really appreciate it.

     

    Thanks.

      its selects one of the arrays in the script and tries to run it if the chance is high enough it will spawn

    How long does it take for the next mission to spawn after one is completed?

    Thats up to you, you can set the mission duration, and than in your init you set at which minut the next one will be triggered

  2. I have in folder mission

    mission.sqf  and   mission.sqm

     but not see this comand in this two files mission.sqf and mission.sqm

     // Send Top Right message to users , requires Remote message script_hint = parseText format["<t align=center' color='#0D00FF' shadow='2' size='1.75'>Supply Crate</t><br/><t align='center' color='#ffffff'>UN Agency drops life-saving supplies for Survivors, Check your Map for the Location!</t&gt];customRemoteMessage = ['hint', _hint];publicVariable "customRemoteMessage";// Send center message to users //[nil,nil,rTitleText,"UN Agency drops life-saving supplies for Survivors, Check your Map for the Location!", "PLAIN",10] call RE;

     

    What i mean is that you have to modify it in my files

     

     

    After you downloaded these you open them each with notepad or so

    and change the code to what i say in the first post

  3. You need to add a random function into the loot amount. Its very easy to do: http://community.bistudio.com/wiki/random

    this is already in the script it randomly selects a crate it just has a large chance of having a shitty crate to not overflood the server with loot and the element of `being lucky` its more fun to get a good crate when you know the last guy that looted a crate was dissapointed of the items :-)

    I replied on your private message but all you need to know can be found in this topic too

    PS sorry for doublepost im on my phone and it aint that easy to navigate

  4. Yes these small simular loot crates are the shitty ones, sometimes you get good loot sometimes bad, if you want more good loot just remove some of the lines with bad loot

    As for tutorial what varmonger said is correct its just as simple as copy these files and edit the lines

    4 Events working in dayzEpoch panthera ??

    About map compatibity as far as i know and tested they work on most maps as it doesnt have preset locations the script itself looks for a safe open area on the map
  5. Thought that would be best but unsure where in the sqm to stick them.

     

    Do I stick them in the section class Markers and change the class _marker_1 to class Item16 and carry on the sequence?

     

    indeed but dont forget to update your items counter too

     

     items=17;

     

    so if the last marker you add is _marker_21

    You put items at 22 (including 0)

  6. Just add your marker in your SQM

     

    just keep in mind the postion coordinates are X Z Y and not X Y Z

     

    so 

            POSITION="[474.14923, 1656.6449, 0]";

    becomes

            POSITION="[474.14923, 0, 1656.6449]";

  7. If you are interested in custom wholesalers
    I changed the wholesaler thing into
     
     
    Trade Camps (East and West)

     

    OdVVnOt.jpg

    XJx8G1m.png

     
    Downloads 
     
    https://www.dropbox.com/s/jypo8w3b3rs9boe/wholev2.sqf

     
    Installation

    • Go to your server pbo
      and make a folder there called Maps
      place wholev2.sqf inside it
    • Go to the folder INIT
      Open server_functions.sqf
      And put this line at the bottom of the file
      [] execVM "\z\addons\dayz_server\Maps\wholev2.sqf"; 
      
    • Open mission.sqf inside your mission pbo
      Search for
        _this = _group_1 createUnit ["RU_Citizen1", [4360.6211, 2260.9841, 3.8146973e-006], [], 0, "CAN_COLLIDE"];
        _unit_91 = _this;
        _this setDir 196.69872;
      and replace with
        _this = _group_1 createUnit ["RU_Citizen1", [12594.5, 3606.2, 4.2915344e-006], [], 0, "CAN_COLLIDE"];
        _unit_209 = _this;
        _this setDir 148.92751;
      
      Search for 
        _this = _group_1 createUnit ["RU_Citizen4", [13530.905, 6356.7388, 1.7166138e-005], [], 0, "CAN_COLLIDE"];
        _unit_90 = _this;
        _this setDir 102.75758;;
      
      and replace with
        _this = _group_1 createUnit ["RU_Citizen4", [4805.8184, 2213.3057], [], 0, "CAN_COLLIDE"];
        _unit_211 = _this;
        _this setDir 222.9278;
    • Open your mission.sqm inside mission pbo
      Search for 
      class Item8
                      {
                              position[]={4361.4937,3,2259.9526};
                              name="wholesaleSouth";
                              text="Wholesaler";
                              type="mil_dot";
                              colorName="ColorBlack";
                      };
      and replace with
      class Item8
      {
                              position[]={12594.5,3,3606.2};
                              name="boatTraderEast2";
                              text="East Trade Camp";
                              type="mil_dot";
                              colorName="ColorOrange";
      };
      Search for 
                      class Item9
                      {
                              position[]={13532.614,3.0083523,6355.9497};
                              name="boatTraderEast";
                              text="Wholesaler";
                              type="mil_dot";
                              colorName="ColorBlack";
                      };
      and replace with
      class Item9
      {
                              position[]={4805.8184,3,2213.3057};
                              name="boatTraderEast";
                              text="West Trade Camp";
                              type="mil_dot";
                              colorName="ColorOrange";
      };
    • OPTIONAL: Open your server_traders.sqf inside mission pbo
      Search for
              [["Wholesale",555]],
      and
              [["Wholesale",636]],
      here you can add what you want to it, for example on my server i have this line
      I added Bicycles to it where players can trade Bicycle for 2 car wheels
      Weekly deals, things i change every week for selling stuff on cheaper price or things you usually cant buy
      And the buildings materials
    • [["Wholesale",555],["Bicycles",694],["Weekly Deals",695],["Building Supplies",662],["Toolbelt Items",663],["Vehicle Parts",664]],
      and
      [["Wholesale",636],["Bicycles",694],["Weekly Deals",695],["Building Supplies",662],["Toolbelt Items",663],["Vehicle Parts",664]],
      
    • OPTIONAL: If you using custom things like bicycles and Weekly sales you need to add them to your database

      Adding Bicycles
      INSERT INTO `traders_data` (`item`,`qty`,`buy`,`sell`,`order`,`tid`,`afile`) VALUES ('["Old_bike_TK_INS_EP1",3]','1','[2,"PartWheel",1]','[2,"PartWheel",1]','0','694','trade_any_bicycle');
      Adding Weekly sales (Examples)
      INSERT INTO `traders_data` (`item`,`qty`,`buy`,`sell`,`order`,`tid`,`afile`) VALUES ('["PartPlankPack",1]',10,'[4,"ItemSilverBar",1]','[2,"ItemSilverBar",1]','0','695,'trade_items');
      INSERT INTO `traders_data` (`item`,`qty`,`buy`,`sell`,`order`,`tid`,`afile`) VALUES ('["SUV_Charcoal",3]','1','[6,"ItemGoldBar",1]','[1,"ItemGoldBar",1]','0','695','trade_any_vehicle');
  8. Hi Aidem,

     

    first of all thanks for sharing your events!

     

    I'm having trouble on getting those running: it seems that the server don't find the files (created manually).

     

    I double checked everything and I'm not sure why I got always the error that the file is not found. Example with military one:

     

    "RUNNING EVENT: military on [2013,11,20,19,10]"

    Warning Message: Script z\addons\dayz_server\modules\military.sqf not found

     

    Believe me when I say that the file really exists in that folder (along with crash_spawner, hello_world etc) and I checked 10 times that the name doesn't contain any space/symbol or anything else. The strange thing is that the other events are working properly (like crash_spawner).

     

    Triple checked the PBO file and contains the files...

     

    I'm really frustrated... Any idea?

     

    Thanks!

     

    you got the sqf extension correct? and are you sure it is using your new server pbo and not the old one? all i can think off

  9. Very nice thanks for share !

    Just a question, i'm new in script dev and why have you add lot of M9SD and M9SD Mag in all your event ? We can remove this in the code ?

    And it's possible to spawn an event in a fix hours ? like 1pm or 9am ? If we can how do that please ?

     

    Fixed time is possible you just have to write some extra that calls out the time something like (not actual code its theoretic example)

    if (Time  == 9pm) then //Dont know the function for actual time
    {_Spawnchance = 1;}
    else
    {_Spawnchance = 0;};

    About gun you can remove that ofc, i just added them for newbies that get to crate can defend theirself or fight for it

  10. Thank you a lot for these. They work perfectly and I like them a lot. More customization for my server! :)

    I only need to add AI spawns and some loot! 

    The only pet peeve I had was that there were a radio tower and a crane in the castle which slightly hinders players from landing there. Don't know if it's intended, but it's a nice feature to add a bit difficulty.

    intended since i also used this as event arena in the past
  11. These are the 2 bases i have been running on my server
     
    Otmel Island Base

     

    jYiOBXi.jpg

    Download -- https://www.dropbox.com/s/0n3bwr9036l7whb/otmel.sqf

     

    Tikhaya (Kamenka) Castle

     

    YIofioh.jpg

    Download -- https://www.dropbox.com/s/bqt4gze938i1j4p/kacastle.sqf

     

    Now go to your server pbo 
    and make a folder there called Maps
    place the files inside
     
    Go to the folder INIT
    Open server_functions.sqf
     
    And put these lines at the bottom of the file

    [] execVM "\z\addons\dayz_server\Maps\kacastle.sqf"; 
    [] execVM "\z\addons\dayz_server\Maps\otmel.sqf";
    
×
×
  • Create New...