DayZ:Factions

Discussion in 'DayZ Mod' started by Xyberviri, Jan 18, 2013.

  1. Xyberviri

    Xyberviri Valued Member!

    Joined:
    Dec 31, 2012
    Messages:
    271
    Likes Received:
    39
    You need to make sure you put the code that specifies the sides in your init.sqf, you can just open it up and add the following to the part that is in isServer

    Code:
    if (isServer) then {
    hiveInUse = true;
    _serverMonitor = [] execVM "\z\addons\dayz_server\system\server_monitor.sqf";
     
     
    //Add this to your init.sqf
    createCenter east; //Side for bandits
    createCenter resistance; //Side for zeds
    EAST setFriend [WEST,0]; //This makes bandits hostile to survivors
    EAST setFriend [RESISTANCE,0]; //This makes bandits hostile to zeds
     
    };
    
    My add-on is universal because of the way it modifies the root class so the version of dayz should not matter. .
     
  2. -=Five=- NuFaN

    -=Five=- NuFaN New Member

    Joined:
    May 11, 2013
    Messages:
    5
    Likes Received:
    0
    thanks man... Managed to do so, finally they fight back... Uhm can i also change the skinz?
     
  3. pera

    pera New Member

    Joined:
    Jan 6, 2014
    Messages:
    6
    Likes Received:
    0
  4. pera

    pera New Member

    Joined:
    Jan 6, 2014
    Messages:
    6
    Likes Received:
    0
    for example:
    //Priest
    _aispawn = [[6667.2935, 2279.3535,0],30,2,6] execVM "units\add_unit_server_citzenpriest.sqf";
    _aispawn = [[6655.4336, 2293.0923,0],30,2,6] execVM "units\add_unit_server_citzenpriest.sqf";
    _aispawn = [[6834.4966, 3180.2737,0],30,2,6] execVM "units\add_unit_server_citzenpriest.sqf";
    _aispawn = [[10444.824, 2275.1204,0],30,2,6] execVM "units\add_unit_server_citzenpriest.sqf";
    _aispawn = [[12885.967, 10151.696,0],30,2,6] execVM "units\add_unit_server_citzenpriest.sqf";
    _aispawn = [[1739.7717, 3842.3081,0],30,2,6] execVM "units\add_unit_server_citzenpriest.sqf";
    _aispawn = [[2730.4409, 5442.1392,0],30,2,6] execVM "units\add_unit_server_citzenpriest.sqf";
    _aispawn = [[3071.3132, 7839.3657,0],30,2,6] execVM "units\add_unit_server_citzenpriest.sqf";
    _aispawn = [[2704.9072, 10041.891,0],30,2,6] execVM "units\add_unit_server_citzenpriest.sqf";
    _aispawn = [[7433.8618, 5162.2676,0],30,2,6] execVM "units\add_unit_server_citzenpriest.sqf";
    _aispawn = [[10039.115, 5536.5464,0],30,2,6] execVM "units\add_unit_server_citzenpriest.sqf";
    _aispawn = [[9408.2734, 8826.1104,0],30,2,6] execVM "units\add_unit_server_citzenpriest.sqf";
    _aispawn = [[8523.7139, 11982.469,0],30,2,6] execVM "units\add_unit_server_citzenpriest.sqf";
    _aispawn = [[11185.838, 12288.665,0],30,2,6] execVM "units\add_unit_server_citzenpriest.sqf";
    _aispawn = [[6209.7578, 10397.34,0],30,2,6] execVM "units\add_unit_server_citzenpriest.sqf";
    _aispawn = [[5205.9766, 8582.8789,0],30,2,6] execVM "units\add_unit_server_citzenpriest.sqf";
    _aispawn = [[6048.5352, 7756.3457,0],30,2,6] execVM "units\add_unit_server_citzenpriest.sqf";
    _aispawn = [[7075.0146, 7704.375,0],30,2,6] execVM "units\add_unit_server_citzenpriest.sqf";
    _aispawn = [[4570.4126, 6377.437,0],30,2,6] execVM "units\add_unit_server_citzenpriest.sqf";
     
  5. pera

    pera New Member

    Joined:
    Jan 6, 2014
    Messages:
    6
    Likes Received:
    0
    //Citzen
    _aispawn = [[6528.5249, 2284.6494,0],300,10,6] execVM "units\add_unit_server_citzennormal1.sqf";
    _aispawn = [[6517.6812, 2307.5698,0],300,10,6] execVM "units\add_unit_server_citzennormal2.sqf";
    _aispawn = [[4487.7725, 2390.0347,0],300,10,6] execVM "units\add_unit_server_citzennormal3.sqf";
    _aispawn = [[4403.624, 2446.2493,0],300,10,6] execVM "units\add_unit_server_citzennormal4.sqf";
    _aispawn = [[3604.4214, 2503.9956,0],300,10,6] execVM "units\add_unit_server_citzennormal5.sqf";
    _aispawn = [[1907.2544, 2229.8242,0],300,10,6] execVM "units\add_unit_server_citzennormal6.sqf";
    _aispawn = [[10389.538, 2023.7091,0],300,10,6] execVM "units\add_unit_server_citzennormal7.sqf";
    _aispawn = [[9891.9063, 1914.5603,0],300,10,6] execVM "units\add_unit_server_citzennormal8.sqf";
    _aispawn = [[10609.19, 2323.6726,0],300,10,6] execVM "units\add_unit_server_citzenwood.sqf";
    _aispawn = [[11996.94, 3530.1111,0],300,10,6] execVM "units\add_unit_server_citzenprofiteer1.sqf";
    _aispawn = [[13371.433, 5445.6528,0],300,10,6] execVM "units\add_unit_server_citzenprofiteer2.sqf";
    _aispawn = [[13413.452, 6045.9766,0],300,10,6] execVM "units\add_unit_server_citzenprofiteer3.sqf";
    _aispawn = [[13338.029, 6310.2993,0],300,10,6] execVM "units\add_unit_server_citzeneuro1.sqf";
    _aispawn = [[13144.554, 7159.7935,0],300,10,6] execVM "units\add_unit_server_citzeneuro2.sqf";
    _aispawn = [[12917.586, 7002.437,0],300,10,6] execVM "units\add_unit_server_citzeneuro3.sqf";
    _aispawn = [[12939.309, 8047.5747,0],300,10,6] execVM "units\add_unit_server_citzeneuro4.sqf";
    _aispawn = [[12828.544, 9555.6377,0],300,10,6] execVM "units\add_unit_server_citzenrocker.sqf";
    _aispawn = [[13101.279, 10392.408,0],300,10,6] execVM "units\add_unit_server_citzennormal1.sqf";
    _aispawn = [[12251.585, 9441.5508,0],300,10,6] execVM "units\add_unit_server_citzennormal2.sqf";
    _aispawn = [[12275.13, 9717.8057,0],300,10,6] execVM "units\add_unit_server_citzennormal3.sqf";
    _aispawn = [[12029.938, 9178.3125,0],300,10,6] execVM "units\add_unit_server_citzennormal4.sqf";
    _aispawn = [[1658.0876, 3799.9189,0],300,10,6] execVM "units\add_unit_server_citzennormal5.sqf";
    _aispawn = [[3322.7192, 3942.8513,0],300,10,6] execVM "units\add_unit_server_citzennormal6.sqf";
    _aispawn = [[2723.5413, 5324.5386,0],300,10,6] execVM "units\add_unit_server_citzennormal7.sqf";
    _aispawn = [[2585.0325, 5092.3291,0],300,10,6] execVM "units\add_unit_server_citzennormal8.sqf";
    _aispawn = [[2527.2124, 6349.853,0],300,10,6] execVM "units\add_unit_server_citzenwood.sqf";
    _aispawn = [[1988.9781, 7338.8047,0],300,10,6] execVM "units\add_unit_server_citzenprofiteer1.sqf";
    _aispawn = [[3062.3042, 7916.4404,0],300,10,6] execVM "units\add_unit_server_citzenprofiteer2.sqf";
    _aispawn = [[3807.1975, 8879.0381,0],300,10,6] execVM "units\add_unit_server_citzenprofiteer3.sqf";
    _aispawn = [[2698.5037, 9982.0596,0],300,10,6] execVM "units\add_unit_server_citzeneuro1.sqf";
    _aispawn = [[4986.3423, 12516.906,0],300,10,6] execVM "units\add_unit_server_citzeneuro2.sqf";
    _aispawn = [[4392.4473, 4672.5044,0],300,10,6] execVM "units\add_unit_server_citzeneuro3.sqf";
    _aispawn = [[4929.1787, 5605.8159,0],300,10,6] execVM "units\add_unit_server_citzeneuro4.sqf";
    _aispawn = [[5832.0977, 4782.335,0],300,10,6] execVM "units\add_unit_server_citzenrocker.sqf";
    _aispawn = [[7547.377, 5144.4312,0],300,10,6] execVM "units\add_unit_server_citzenrocker.sqf";
    _aispawn = [[8133.9365, 3293.5703,0],300,10,6] execVM "units\add_unit_server_citzennormal1.sqf";
    _aispawn = [[9167.9561, 3904.6335,0],300,10,6] execVM "units\add_unit_server_citzennormal2.sqf";
    _aispawn = [[12823.886, 4455.6235,0],300,10,6] execVM "units\add_unit_server_citzennormal3.sqf";
    _aispawn = [[11323.643, 5468.4009,0],300,10,6] execVM "units\add_unit_server_citzennormal4.sqf";
    _aispawn = [[10097.673, 5494.5723,0],300,10,6] execVM "units\add_unit_server_citzennormal5.sqf";
    _aispawn = [[11237.771, 6556.4961,0],300,10,6] execVM "units\add_unit_server_citzennormal6.sqf";
    _aispawn = [[9654.8467, 6556.3955,0],300,10,6] execVM "units\add_unit_server_citzennormal7.sqf";
    _aispawn = [[12165.773, 7263.2207,0],300,10,6] execVM "units\add_unit_server_citzennormal8.sqf";
    _aispawn = [[10678.336, 8035.7998,0],300,10,6] execVM "units\add_unit_server_citzenwood.sqf";
    _aispawn = [[9605.9951, 8801.9883,0],300,10,6] execVM "units\add_unit_server_citzenprofiteer1.sqf";
    _aispawn = [[8508.1807, 6673.7295,0],300,10,6] execVM "units\add_unit_server_citzenprofiteer2.sqf";
    _aispawn = [[6539.7588, 6068.1406,0],300,10,6] execVM "units\add_unit_server_citzenprofiteer3.sqf";
    _aispawn = [[8606.3115, 11873.64,0],300,10,6] execVM "units\add_unit_server_citzeneuro1.sqf";
    _aispawn = [[11066.508, 12352.544,0],300,10,6] execVM "units\add_unit_server_citzeneuro2.sqf";
    _aispawn = [[11235.671, 12224.036,0],300,10,6] execVM "units\add_unit_server_citzeneuro3.sqf";
    _aispawn = [[13361.892, 12879.324,0],300,10,6] execVM "units\add_unit_server_citzeneuro4.sqf";
    _aispawn = [[5959.8184, 10316.141,0],300,10,6] execVM "units\add_unit_server_citzenrocker.sqf";
    _aispawn = [[5340.1255, 8581.127,0],300,10,6] execVM "units\add_unit_server_citzennormal1.sqf";
    _aispawn = [[6242.2544, 7644.7769,0],300,10,6] execVM "units\add_unit_server_citzennormal2.sqf";
    _aispawn = [[7030.9609, 7640.1016,0],300,10,6] execVM "units\add_unit_server_citzennormal3.sqf";
    _aispawn = [[10399.415, 9827.582,0],300,10,6] execVM "units\add_unit_server_citzennormal4.sqf";
    _aispawn = [[9924.3086, 10394.813,0],300,10,6] execVM "units\add_unit_server_citzennormal5.sqf";
    _aispawn = [[12304.153, 10824.888,0],300,10,6] execVM "units\add_unit_server_citzennormal6.sqf";
    _aispawn = [[661.55225, 1841.3113,0],300,10,6] execVM "units\add_unit_server_citzennormal7.sqf";
    _aispawn = [[2929.939, 2065.969,0],300,10,6] execVM "units\add_unit_server_citzennormal8.sqf";
    _aispawn = [[4500.5674, 6417.7964,0],300,10,6] execVM "units\add_unit_server_citzenwood.sqf";
    _aispawn = [[4784.8477, 6782.5752,0],300,10,6] execVM "units\add_unit_server_citzenprofiteer1.sqf";
     
  6. pera

    pera New Member

    Joined:
    Jan 6, 2014
    Messages:
    6
    Likes Received:
    0
    //Soldiers
    _aispawn = [[6551.521, 2407.6118,0],30,8,8] execVM "units\add_unit_server_soldiersimple1.sqf";
    _aispawn = [[11254.614, 4292.3677,0],30,8,8] execVM "units\add_unit_server_soldiersimple1.sqf";
    _aispawn = [[4780.92,2500.74,0],50,8,8] execVM "units\add_unit_server_soldierhero.sqf";//Balota
    _aispawn = [[6561.521, 2417.6118,0],30,8,6] execVM "units\add_unit_server_soldiersniper.sqf";
    _aispawn = [[11264.614, 4302.3677,0],30,8,6] execVM "units\add_unit_server_soldiersniper.sqf";
    _aispawn = [[4790.92,2510.74,0],50,8,6] execVM "units\add_unit_server_soldiersniper.sqf";//Balota
    //OfficeBoy
    _aispawn = [[6384.2324, 2710.01,0],30,4,6] execVM "units\add_unit_server_citzenofficeboy.sqf";
    _aispawn = [[12797.112, 10143.861,0],30,4,6] execVM "units\add_unit_server_citzenofficeboy.sqf";
    _aispawn = [[12223.452, 9501.9395,0],30,4,6] execVM "units\add_unit_server_citzenofficeboy.sqf";
    //Medic
    _aispawn = [[6403.7407, 2748.9727,0],30,4,6] execVM "units\add_unit_server_citzendoctor.sqf";
    _aispawn = [[6800.8042, 2707.8083,0],30,4,6] execVM "units\add_unit_server_citzendoctor.sqf";
    _aispawn = [[10041.225, 1835.7152,0],30,4,6] execVM "units\add_unit_server_citzendoctor.sqf";
    _aispawn = [[11945.883, 9128.46,0],30,4,6] execVM "units\add_unit_server_citzendoctor.sqf";
    //Policeman
    _aispawn = [[3809.3601, 8932.1719,0],30,4,8] execVM "units\add_unit_server_policeman.sqf";
    //Survivors
    _aispawn = [[6689.49,2623.59,0],200,15,6] execVM "units\add_unit_server_survivorman1.sqf";//Chernogorsk
    _aispawn = [[6699.49,2633.59,0],200,15,6] execVM "units\add_unit_server_survivorwoman.sqf";//Chernogorsk
    _aispawn = [[10447.5,2246.96,0],200,15,6] execVM "units\add_unit_server_survivorman1.sqf";//Electrozavodsk
    _aispawn = [[10457.5,2256.96,0],200,15,6] execVM "units\add_unit_server_survivorwoman.sqf";//Electrozavodsk
    _aispawn = [[11900,9100,0],200,15,6] execVM "units\add_unit_server_survivorman1.sqf";//Berezino center
    _aispawn = [[11910,9110,0],200,15,6] execVM "units\add_unit_server_survivorwoman.sqf";//Berezino center
    _aispawn = [[4598.66,10197.7,0],200,15,6] execVM "units\add_unit_server_survivorman2.sqf";//nwaf
    _aispawn = [[13274.8, 12190.7,0],200,15,6] execVM "units\add_unit_server_survivorman2.sqf";//neaf
    _aispawn = [[13253.3,6406.53,0],200,15,6] execVM "units\add_unit_server_survivorman1.sqf";//Solnichniy
    _aispawn = [[13263.3,6416.53,0],200,15,6] execVM "units\add_unit_server_survivorwoman.sqf";//Solnichniy
    //Bandits
    _aispawn = [[4990,2500,0],200,8,6] execVM "units\add_unit_server_bandit.sqf";//Balota
    _aispawn = [[6700,2700,0],200,8,6] execVM "units\add_unit_server_bandit.sqf";//Chernogorsk east
    _aispawn = [[6710,2710,0],200,8,6] execVM "units\add_unit_server_banditwoman.sqf";//Chernogorsk east
    _aispawn = [[6400,2400,0],200,8,6] execVM "units\add_unit_server_bandit.sqf";//Chernogorsk west
    _aispawn = [[6410,2410,0],200,8,6] execVM "units\add_unit_server_banditwoman.sqf";//Chernogorsk west
    _aispawn = [[10500,2300,0],200,8,6] execVM "units\add_unit_server_bandit.sqf";//Electrozavodsk east
    _aispawn = [[10510,2310,0],200,8,6] execVM "units\add_unit_server_banditwoman.sqf";//Electrozavodsk east
    _aispawn = [[10000,1900,0],200,8,6] execVM "units\add_unit_server_bandit.sqf";//Electrozavodsk west
    _aispawn = [[10010,1910,0],200,8,6] execVM "units\add_unit_server_banditwoman.sqf";//Electrozavodsk west
    _aispawn = [[12200,9500,0],100,5,6] execVM "units\add_unit_server_bandit.sqf";//Berezino north
    _aispawn = [[12210,9510,0],100,5,6] execVM "units\add_unit_server_banditwoman.sqf";//Berezino north

    };
     
  7. Xyberviri

    Xyberviri Valued Member!

    Joined:
    Dec 31, 2012
    Messages:
    271
    Likes Received:
    39
    If you like using factions with sarge ai then you should try unleashed, which is basically all the bull shit from dayz removed that breaks native classes so arma works again. We also added sarge and a experience system; i created a stealth system that lets you sneak and prevents zombies from attacking you when assholes pull trains. Our default map is Napf, which is 4x the size of cherno, we also have a lite version of epoch. The experience system allows you to level up and again slight bonuses in combat, medical and loot.. You could be a solider/engineer/medic/looter if you theoretically played the game long enough with out dieing, however there is a curve on the experience reward.

    Mod Source Code: https://github.com/thevisad/DayZUnleashed
    Hive Source Code: https://github.com/thevisad/DayZUnleashed_Hive
    Website: http://hngamers.com/categories/dayz-unleashed.51

    Development is still active because its a side hobby and we don't need to bow down to anyone, we have one server that runs Dev and one that runs Prod which is bugged to hell. i think some of the bugs are fixed in dev, at least the major game breaking ones are. If you join those forums you can get in touch with me and/or thevisad submit bug reports, if you know how to code your free to fork the github and try to find bugs.

    The mod was also created as a framework that would allow you to create new experience reward sources and has variable saving and loading system. the variable system is class based so arma classes can expand it with out having to modify the original source.

    TheVisad added a bunch of cool shit that allows you to load stuff out of sql instead of having to create spawns, we actually dont have any of those hard spawns its all dynamic from mysql. Vehicle spawns for example are stored in the database, they are loaded based on spawn type/class so no vehicle will reliably spawn in the same location.

    We have a build able garage system that allows you to store a vehicle GTA style in the works.

    If you have questions you can drop me a line on Skype under the same handle.
     
    Last edited: Jul 9, 2015
  8. Victor_Cross

    Victor_Cross New Member

    Joined:
    Jul 6, 2015
    Messages:
    9
    Likes Received:
    0
    Works great !Npc's shoot zeds no problem. It would be nice if I could get zeds to kill ai also though.
     
  9. Victor_Cross

    Victor_Cross New Member

    Joined:
    Jul 6, 2015
    Messages:
    9
    Likes Received:
    0
  10. delpi

    delpi Well-Known Member

    Joined:
    Feb 4, 2014
    Messages:
    336
    Likes Received:
    15
    does this still work with 1.8.6.1?
     

Share This Page