DayZ Mod 1.8.8 + DayZ_Namalsk 0.75

Discussion in 'Script/Addon help' started by MikeCandys, Feb 3, 2017.

  1. Zeehond23

    Zeehond23 Valued Member!

    Joined:
    Mar 7, 2013
    Messages:
    576
    Likes Received:
    51
    It goes haywire if it's not in the root because of the #include lines. Just Arma being arma
     
    MikeCandys likes this.
  2. MikeCandys

    MikeCandys Well-Known Member

    Joined:
    Mar 14, 2013
    Messages:
    124
    Likes Received:
    0
    Anyways I placed the building_spawnLoot.sqf in the root of the mpmissions(changed line in compile.sqf), aswell as the Loot.hpp from the loot folder. Let's see if that works.
     
  3. MikeCandys

    MikeCandys Well-Known Member

    Joined:
    Mar 14, 2013
    Messages:
    124
    Likes Received:
    0
    Yeah got your thought there
     
  4. MikeCandys

    MikeCandys Well-Known Member

    Joined:
    Mar 14, 2013
    Messages:
    124
    Likes Received:
    0
    @Zeehond23 What about the
    Code:
    #include "Loot.hpp"
    in the init.sqf in the loot folder.
    Keep both Loot.hpp's oder change it to
    Code:
    //#include "Loot.hpp"
    in the init.sqf

    Because I got that error while i deleted the Loot.hpp in the loot folder.
    Code:
    Include file mpmissions \_CUR_MP.namalsk\loot\Loot.hpp not found
    Now I have 2 Loot.hpp's
    1 in the root and 1 in the loot folder.
     
  5. MikeCandys

    MikeCandys Well-Known Member

    Joined:
    Mar 14, 2013
    Messages:
    124
    Likes Received:
    0
    No luck still. I had to change the line in the Loot.hpp located in the loot folder to custom. The Loot.hpp in the root works with the customized one.
    But still no loot spawning.
     
  6. MikeCandys

    MikeCandys Well-Known Member

    Joined:
    Mar 14, 2013
    Messages:
    124
    Likes Received:
    0
  7. Zeehond23

    Zeehond23 Valued Member!

    Joined:
    Mar 7, 2013
    Messages:
    576
    Likes Received:
    51
    I'll upload the files tonight, sorry didn't have a chance to get to it sooner.

    Just so we're perfectly clear, it doesn't matter what you do, no loot wil spawn in the Namalsk buildings. They are blocked in the dayz 1.8.8 code.
     
  8. clifdayz

    clifdayz Well-Known Member

    Joined:
    Jul 28, 2015
    Messages:
    118
    Likes Received:
    8
    A little bit of TLDR. lol. While you can move building_spawnloot.sqf to the mission, its really building_spawnCheck.sqf that decides when to call building_spawnloot.sqf - you have to track that backward and that's where it started to get difficult to pull into the mission from my recollection.

    The sortof good news is that _some_ of the namalsk buildings are for sure in the upcoming 189 release since I added them. Unfortunately, I missed a bunch and I checked them in this past week and _hopefully_ they will make into the final 189.
     
  9. Zeehond23

    Zeehond23 Valued Member!

    Joined:
    Mar 7, 2013
    Messages:
    576
    Likes Received:
    51
    You mean the file I send you? Those are legit man, hope they make it into the final.
     
  10. clifdayz

    clifdayz Well-Known Member

    Joined:
    Jul 28, 2015
    Messages:
    118
    Likes Received:
    8
    If only we used the same handles everywhere! Anyway, a combination of the data you gave me plus a bunch of notes I got from dylan. I checked that stuff in a week or so ago and asked for it to be merged.
     
  11. Zeehond23

    Zeehond23 Valued Member!

    Joined:
    Mar 7, 2013
    Messages:
    576
    Likes Received:
    51
    same handles? Where's the fun in that? ;)
     
  12. Zeehond23

    Zeehond23 Valued Member!

    Joined:
    Mar 7, 2013
    Messages:
    576
    Likes Received:
    51
    Send you the file. Not all buildings were added to this one but all you'd vahe to do is replace the files on buildings you have.
    To see if it works, try switching the barracks from military to industrial and see what it spawns.
     
  13. MikeCandys

    MikeCandys Well-Known Member

    Joined:
    Mar 14, 2013
    Messages:
    124
    Likes Received:
    0
    These are the buildings which were already in the epoch namalsk loottable*:

    Code:
    //namalsk
    class land_seb_vod_vez: Industrial {
        lootPos[] = {{2.02881,0.0849609,15.155}};
    };
    class land_seb_near_fac: Industrial {
        lootPos[] = {{-10.4116,-18.0859,1.75552}};
    };
    class land_seb_rozvodna: Industrial {
        lootPos[] = {{-1.2168,2.9668,0.583904}};
    };
    class land_seb_mine_maringotka: Residential {
        lootPos[] = {{0.423828,0.721191,-0.612675},{-0.976563,-1.32764,-0.612675}};
    };
    class Land_hut_old01: Residential {
        lootPos[] = {{2.2793,-7.06348,-3.06107},{-3.3584,-1.7334,-3.01178},{-5.0332,-0.929688,-3.0112}};
    };
    class land_st_vez: MilitarySpecial {
        lootPos[] = {{-5.56445,4.23975,-3.31476},{-5.05566,-3.17627,-3.31476},{4.12109,3.92822,2.42732},{-1.73389,2.68896,6.40834},{-4.23584,1.29736,6.40834},{-3.80322,-1.09277,6.40834},{0.430664,1.31787,6.40834},{-2.45166,-2.16748,6.40834},{-0.608398,-0.57666,-11.095},{-2.08691,1.10303,-11.0649},{0.259277,-3.89697,-3.31476},{3.9375,3.30957,-8.50825}};
    };
    
    class Land_dulni_bs: Residential {
        lootPos[] = {{2.76758,2.70068,-1.75205},{2.34668,-1.28564,-1.75205},{-0.478516,-2.64844,-1.75205},{-0.53418,3.11133,-1.75205}};
    };
    class land_bunka: Office {
        lootPos[] = {{1.83496,0.451172,-1.51244},{-2.04492,2.11377,-1.51245},{3.07324,2.41675,-1.51245}};
    };
    class land_pozorovatelna: Military {
        lootPos[] = {{-2.36328,-2.79248,-2.49767},{3.11426,-2.92969,-2.49767},{0.740234,2.47852,-2.49767},{-1.67578,-2.50049,7.54509},{-1.23047,1.90283,7.54509},{2.88477,2.08496,7.54509},{2.61426,-2.48096,7.54509},{0.491211,-0.290527,7.54509}};
    };
    class land_panelova3: Residential {
        lootPos[] = {{-0.0615234,2.92871,0.0510063},{6.44482,-0.967773,0.0510063},{6.26807,-3.85547,0.0510063},{-0.0327148,-5.30273,0.0510063}};
    };
    class land_vysoky2: Residential {
        lootPos[] = {{6.74121,-2.95508,-15.7673},{6.63232,4.17676,-15.7673},{0.72998,-2.63574,-15.7051},{1.1958,0.116211,-15.6513},{2.84131,2.35742,13.1248},{-0.51123,2.16699,13.1248},{4.37012,0.773438,13.1248},{9.61328,13.2432,13.1248},{6.39307,-12.292,13.1248}};
    };
    class land_vysoky1: Residential {
        lootPos[] = {{-6.74414,5.46875,13.2833},{0.54541,4.38379,13.2833},{10.9004,1.47949,13.2833},{6.0415,-13.4297,13.2833},{1.12744,-2.39258,13.2833}};
    };
    class land_hotel_p2: Residential {
        lootPos[] = {{-3.26953,3.02783,-7.29951},{4.04395,-1.92188,-7.29951},{9.48145,0.459473,-7.32974},{1.53711,0.0078125,6.06893},{4.5332,0.862305,6.06893},{4.73438,-3.63232,6.06893}};
    };
    class land_hotel_p1: Residential {
        lootPos[] = {{-12.1006,-3.29248,-4.92428},{-3.09375,-1.66357,-4.92429},{-1.78125,3.53271,-4.92429},{-5.97852,3.80273,-4.92428},{13.8809,1.77246,-1.39091},{13.751,-9.81104,-1.39091},{12.1787,0.0078125,-3.22923}};
    };
    class land_trubice: Industrial {
        lootPos[] = {{-2.36719,2.7627,2.59438},{5.82715,3.01563,2.59438},{1.57617,0.709961,2.59438}};
    };
    class land_dlouhy1: Residential {
        lootPos[] = {{-6.40918,-0.21875,-9.60495},{-12.395,2.47559,-9.60091},{1.38428,3.15332,-9.61021},{1.91748,8.89746,-9.61057},{-6.90918,8.53027,-9.60461},{-12.3315,8.00195,-9.60096},{-17.9946,9.73926,-9.59713},{-9.91797,5.16699,-9.60259},{6.95801,9.37988,-9.61397},{4.39404,7.64941,-9.61224},{5.43994,9.80469,-5.09157},{0.418457,-0.611328,-5.09031},{-5.27051,7.41895,-5.08631},{2.20361,8.79004,-5.09157},{-8.93848,6.08301,-5.08698},{-9.49854,11.3086,-5.08437},{9.38232,1.54199,-5.09157},{8.95361,9.74707,-5.09157},{11.436,11.4756,-5.08435}};
    };
     
    Last edited: Feb 10, 2017
  14. MikeCandys

    MikeCandys Well-Known Member

    Joined:
    Mar 14, 2013
    Messages:
    124
    Likes Received:
    0
    Code:
    class land_dlouhy2: Residential {
        lootPos[] = {{1.73047,5.30957,-9.32314},{-1.38867,-0.568848,-9.31474},{-1.47461,-5.5957,-9.3145}};
    };
    class land_jzd_kr2: Farm {
        lootPos[] = {{1.92139,-4.90527,-6.17321},{0.709961,5.00488,-6.17321},{1.8623,7.37109,1.40623},{3.00684,-3.30566,1.41873},{-3.0625,-3.38477,-2.05339},{-2.62646,10.8418,-2.05339}};
    };
    class land_jzd_kr1: Farm {
        lootPos[] = {{-1.04834,-3.67578,-6.27279},{1.63818,0.775391,-6.27279},{-1.41992,5.10449,-6.27279},{-0.993164,2.94629,-2.15298},{0.717285,-3.79688,-2.15298}};
    };
    class land_jzd_stodola2: Farm {
        lootPos[] = {{8.15527,11.8477,-2.0262},{5.5127,5.6377,-2.0262},{-4.16113,3.67383,-2.0262},{7.53223,-14.4741,-2.0262},{1.16992,0.390625,1.31123}};
    };
    class land_jzd_stodola1: Farm {
        lootPos[] = {{-3.81592,-11.418,-2.0262},{1.73877,-6.20605,-2.0262},{-4.13477,-0.265625,-2.0262},{-1.04883,0.180664,-2.0262}};
    };
    class land_jzd_silo_tes: Industrial {
        lootPos[] = {{2.74902,6.52246,0.214748},{11.5796,5.20703,0.214748},{5.72949,0.644531,0.21475},{10.6719,-6.1416,0.214748},{0.97998,-2.64844,0.214373},{3.22168,-7.55664,0.214746},{-2.62695,-0.580078,10.224}};
    };
    class land_rozvodna: Residential {
        lootPos[] = {{-6.8208,-1.58789,-0.369419}};
    };
    class land_jzd_4silka: Industrial {
        lootPos[] = {{0.551758,-5.24219,1.64133},{0.224609,1.37646,1.64133},{3.04492,0.456055,1.64133},{4.31641,5.94189,5.51407},{-3.53125,-5.80127,5.51407}};
    };
    class land_jzd_bezstrechy: Residential {
        lootPos[] = {{-10.4614,-2.97461,-5.22504},{0.170898,0.177734,-5.22504},{-0.368652,-3.34668,-5.22504},{0.905762,2.52344,-5.22504},{0.802246,2.12305,-0.40476},{1.05615,1.88574,-3.01179},{8.00244,0.787109,-5.22504}};
    };
    class land_x_skladiste_low_tex: Industrial {
        lootPos[] = {{-8.12354,-0.32373,-2.85032},{-2.31592,-4.27539,-2.5975},{8.15527,-6.89307,-2.5975},{0.398926,4.80029,-2.82628},{-6.0249,-7.64355,-2.85032}};
    };
    class Land_budova4_winter: MilitarySpecial {
        lootPos[] = {{-7.73389,0.300049,-1.09824},{-7.7666,1.97388,-1.09824},{-5.85645,1.92651,-1.09824},{-4.82373,0.194336,-1.09824},{-4.82715,-2.00244,-1.09824},{-8.09766,-2.28149,-1.09824},{-3.06787,2.24805,-1.09824},{-1.65283,-1.91821,-1.09824},{-1.41309,-0.034668,-1.09824},{0.266602,1.76807,-1.09824},{1.28369,0.289307,-1.09824},{1.81982,-2.28687,-1.09824},{4.37549,2.14941,-1.09824},{5.61865,1.71338,-1.09824},{5.06787,-1.74316,-1.09824},{2.54785,2.33716,-1.09824}};
    };
    class land_domek_podhradi_1: Residential {
        lootPos[] = {{5.20862,3.45215,-2.7391},{3.04761,1.61621,-2.73912},{2.7594,-1.33691,-2.73915},{-3.32617,4.14404,-2.73909}};
    };
    class land_b_small1: Industrial {
        lootPos[] = {{-3.14185,1.36816,-1.50033},{-0.0275879,-1.74707,-1.50033},{-3.59619,-3.18945,-1.50033},{-0.729004,-4.95996,-1.50033}};
    };
    class land_cast1: Industrial {
        lootPos[] = {{-5.39551,6.56055,-4.38392},{-5.68555,9.04297,-4.38393},{-5.57251,9.08203,-4.38393},{-3.05396,14.5527,-4.38392},{2.97681,13.9014,-4.38392},{-0.227783,11.8418,-4.38393},{1.44995,3.27246,-3.50372},{2.53198,-5.45508,-3.5118},{-4.85596,-2.20898,-3.4266},{1.04224,0.729492,-1.06585}};
    };
    class land_vstup: Military {
        lootPos[] = {{-11.51,-2.64844,-1.53312},{-6.24463,-2.85059,-1.53312},{-1.16992,-2.84961,-1.53312},{2.70898,-2.85059,-1.53312}};
    };
    class land_panelova: Industrial {
        lootPos[] = {{16,-14.6357,-4.04666},{3.79102,1.25659,-4.08966},{-15.4639,-8.38086,-4.08966},{-14.3535,-0.195313,-4.08966},{-1.61719,-12.8313,-4.08966},{15.4287,-4.25635,3.37273},{9.19336,-14.6272,3.37141},{5.80957,9.09253,3.37141},{9.95508,9.7937,3.37141},{-8.11523,-2.98291,3.34401},{-15.2598,-8.56641,3.34401}};
    };
    class land_garaze: Industrial {
        lootPos[] = {{-0.00292969,-7.72925,-2.12658},{3.7334,1.02759,-2.12658},{3.2793,6.28857,-2.12658},{6.72949,7.34131,-2.12658},{1.68848,-3.91479,-2.12658}};
    };
     
  15. MikeCandys

    MikeCandys Well-Known Member

    Joined:
    Mar 14, 2013
    Messages:
    124
    Likes Received:
    0
    Code:
    class land_seb_bouda3: Industrial {
        lootPos[] = {{2.63574,-3.0332,-1.72872},{-2.71875,-5.08691,-1.72873},{-3.00293,-1.50781,-1.72877},{-2.91357,3.86328,-1.72876},{3.12891,3.01563,-1.72879}};
    };
    class Land_bouda2_vnitrek: Residential {
        lootPos[] = {{2.33496,0.372559,-0.610508},{-0.845703,2.32129,-0.610506},{-3.27344,-2.27295,-0.610508}};
    };
    class land_f_b2: Industrial {
        lootPos[] = {{1.58398,0.899414,-4.24147},{-1.33301,-0.991211,-4.24147},{1.91113,-1.68262,-4.24147}};
    };
    class land_bud2: Industrial {
        lootPos[] = {{-2.32031,-1.25,-1.76814},{-1.58008,-2.3125,-1.77484}};
    };
    class land_senik: Residential {
        lootPos[] = {{-4.56445,-2.97705,-4.13721},{13.1641,-6.80127,-4.28022},{-4.23242,-0.213379,-4.1315},{-3.44043,4.7998,-4.12115},{-7.64453,3.81445,-4.12319},{-14.0889,-5.66602,-4.14276},{-1.25977,-3.44336,-4.13817}};
    };
    class land_zd_1: Residential {
        lootPos[] = {{2.14258,3.37402,-3.67255},{-1.60645,-3.25098,-3.67255},{0.649902,-2.38086,-3.67255},{-1.16113,1.41406,-3.67255},{2.88721,-2.80078,-3.67255},{-4.45117,-3.0127,-4.04225},{-5.94385,3.13867,-4.04225}};
    };
    class Land_dum_ras: Residential {
        lootPos[] = {{-1.53223,3.34424,-2.66958},{1.36621,-0.507813,-2.66958},{0.860352,3.72705,0.272604},{-0.767578,-1.96289,0.272604},{-0.27832,-3.96045,0.272604}};
    };
    class land_kostelik_final_2122: Church {
        lootPos[] = {{5.41992,-3.45703,-5.57918},{-0.963379,4.74414,-5.57919},{1.09082,-2.79297,-5.57919},{-1.39063,-5.18555,-5.57918}};
    };
    class land_plynom: Residential {
        lootPos[] = {{1.07568,-0.65625,2.21929},{-0.184082,-1.46973,2.21929},{-1.24854,-0.0126953,2.21929},{1.1377,-0.887695,-2.60304},{-1.3877,0.386719,-2.60304},{-0.822754,-1.33398,-2.60304}};
    };
    class land_seb_mine_main_opt: Industrial {
        lootPos[] = {{0.590332,4.68115,-0.991421},{-1.86768,4.13525,-0.992432},{0.14209,2.53271,-0.995407},{-3.43457,2.68115,-0.995136},{-3.01416,2.59521,-5.08478},{0.776855,-2.89209,-5.11486},{-6.06885,3.33838,7.8684},{-6.38086,-2.05469,7.8684},{-1.7251,-3.09668,7.8684},{-5.64111,-0.92334,14.6913},{-6.23584,2.76465,14.6913}};
    };
    class land_seb_mine_near: Industrial {
        lootPos[] = {{7.87646,-5.52881,-8.8979},{9.02979,-5.5918,-8.8979},{4.37451,-7.10156,-8.8979}};
    };
    class land_x_vez_tex: Residential {
        lootPos[] = {{0.433105,-1.02734,-0.273926},{1.00391,3.02197,-0.272713},{1.36426,0.449219,-0.273571},{-1.89795,3.22168,-0.27232},{-5.00537,-3.64307,-0.274128}};
    };
    class land_marsh1: Residential {
        lootPos[] = {{3.76953,-5.73193,-3.95897},{-0.986816,-4.26074,-3.95897},{2.52637,0.376465,-3.95897},{4.78955,2.92969,-3.95897},{4.56543,6.82227,-3.95897},{-2.88184,4.24121,-4.01684}};
    };
    class land_molovabud1: Industrial {
    lootPos[] = {{-2.4458,2.20703,1.27995},{-4.68164,1.95508,1.27995},{-7.92822,6.29199,1.27995},{-1.81055,-1.29199,1.56745}};
    };
    class land_f_b1: Industrial {
        lootPos[] = {{-4.45996,-2.84619,-2.21533},{-1.81152,-5.01123,-2.21533},{-5.32227,-5.21875,-2.21533}};
    };
    class land_seb_bouda1: Residential {
        lootPos[] = {{2.49316,-2.44238,1.13067},{-0.645996,-2.44824,1.13067},{-0.924316,-0.460938,0.573963},{-2.89697,1.9043,0.571716},{2.80566,1.2334,-3.28989},{-2.38672,-0.893555,-3.28989},{-2.7666,2.41699,-3.28989}};
    };
    *not 100% sure though
     
    Last edited: Feb 10, 2017
  16. MikeCandys

    MikeCandys Well-Known Member

    Joined:
    Mar 14, 2013
    Messages:
    124
    Likes Received:
    0
    And these are the buildings i had to add into the loot table :

    Code:
    //addons
    class Land_A_Crane_02b : Industrial {
        maxRoaming = 0;
        lootChance = 0.10;
        zombieChance = 0;
        lootPos[] = {{-3.4707, -0.149414, -6.06299}, {-10.9609, -0.0419922, -5.6626}, {-9.85547, -0.046875, 0.922455}};
    };
    class Land_psi_bouda : Residential {
        maxRoaming = 1;
        lootChance = 0.25;
        zombieChance = 0;
        lootPos[] = {{1.25977, -0.227539, -0.42487}};
        hangPos[] = {{2.07324, -1.06348, -0.526295}};
    };
       
    class Land_cast2 : Industrial {
        zombieChance = 0.10;
        maxRoaming = 4;
        minRoaming = 2;
        lootChance = 0.35;
        lootPos[] = {{1.18555, 14.562, -4.38393}, {1.37891, 10.698, -4.38393}, {-2.14453, 10.2327, -4.38393}, {-1.46484, 2.30029, -4.38393}, {-1.29297, -6.37109, -4.38393}, {-3.73047, -7.50098, -4.38393}, {1.15723, 0.933105, -1.07131}};
    };
       
       
    class Land_nadrazi_nastupiste : Industrial {
        zombieChance = 0;
        maxRoaming = 0;
        lootChance = 0.25;
        lootPos[] = {{-22.5752, 0.11377, 1.04783}, {-7.74854, 0.75293, 1.04783}, {17.5366, -0.0385742, 1.04783}};
    };
       
    class Land_aii_upper_part : Industrial {
        zombieChance = 0;
        maxRoaming = 0;
        lootPos[] = {{-0.616211, -3.80762, -2.31434}, {-2.62158, -1.05127, -2.32196}, {-2.30322, 2.0415, -2.32196}};
    };
       
    class Land_AII_middle_floor : MilitarySpecialER7 {
        zombieChance = 1;
        lootChance = 1;
        lootPos[] = {{-8.04248, 2.97803, 0.513313}, {-7.43799, 5.32813, 0.509796}, {-6.04932, 7.77393, 0.514614}, {-8.36328, 0.00341797, 0.517597}, {-14.0049, -0.404297, 0.520267}, {-13.9697, 8.60498, 0.513088}, {-10.5947, 5.01855, 0.511402}, {-12.9834, 3.98926, -4.63377}, {-14.6133, -1.96094, -4.63377}, {-7.92627, 0.418945, -4.63377}, {-6.30078, 7.73779, -4.63377}, {-6.61279, 16.6152, -4.63377}, {-3.1626, 10.4932, -4.63377}, {-3.50928, 16.2002, -4.63377}, {0.759277, 10.9985, -4.63377}, {6.85645, 16.7383, -4.63377}, {5.38086, 12.8862, -4.63377}, {0.82959, 0.162598, -4.63377}, {-3.99414, -8.67432, -4.63377}, {-2.20215, -12.4722, -4.63377}, {-0.178711, -17.5605, -4.63377}, {5.88232, -17.9092, -4.63377}, {5.50195, -3.75342, -4.63377}, {2.66748, 7.82227, -4.63377}, {6.9707, 0.976563, -4.63377}, {8.64844, -4.30127, -4.52865}, {11.7134, 3.9375, -4.63377}, {9.25049, 7.09912, -4.63377}};
        hangPos[] = {{-4.37793, 0.299316, -4.63377}};
    };
       
    class Land_aii_last_floor : MilitarySpecialER7 {
        zombieChance = 0;
        lootChance = 1;
        lootPos[] = {{7.45215, 18.2671, 3.26546}, {-3.09863, 10.6309, 4.62436}, {-0.255859, 6.55225, 4.61291}, {-3.78564, 3.06689, 5.46183}, {-10.5859, 10.2637, 5.43586}, {-12.3218, 17.8242, 4.61173}, {-13.3569, 21.8667, 4.61024}, {-11.9854, 5.8252, 5.44754}, {-21.3906, -2.71094, 5.45112}, {-20.6099, -10.4277, 5.44901}, {-5.8208, -17.4199, 5.44978}, {-9.85449, -18.7148, 3.43609}, {5.52246, -19.4976, 5.50764}, {5.47461, -8.59082, 6.4439}};
        hangPos[] = {{-6.53662, 11.2119, 4.60709}};
    };
     
    Last edited: Feb 10, 2017
  17. MikeCandys

    MikeCandys Well-Known Member

    Joined:
    Mar 14, 2013
    Messages:
    124
    Likes Received:
    0
    Code:
    class Land_vys_antena : MilitarySpecial {
        maxRoaming = 10;
        minRoaming = 7;
        lootPos[] = {{-2.58887, 0.30957, -29.5905}, {-0.194336, -2.19678, -29.5899}, {2.23975, -0.194336, -29.5867}, {-0.0415039, 2.13037, -29.5873}, {-2.14746, 0.0600586, -22.9109}, {0.108887, -2.2876, -22.9104}, {1.88086, -0.145996, -22.9076}, {0.112305, 2.14648, -22.9078}, {-2.52734, -0.115234, -16.8096}, {-0.291504, -1.83594, -16.8087}, {2.06494, -0.148926, -16.8057}, {-0.241699, 2.14697, -16.8063}, {-0.679199, 0.0893555, -11.3209}, {-0.741211, 0.0454102, -5.58041}, {-0.741211, 0.0454102, -5.58041}};
    };
       
    class Land_vys_budova_p1 : MilitarySpecial {
        maxRoaming = 8;
        minRoaming = 6;
        lootChance = 0.45;
        lootPos[] = {{0.661621, 8.63379, -3.86072}, {-1.24121, 6.55811, -3.86069}, {-6.1748, 9.22754, -3.86072}, {-5.38184, 2.78174, -3.86072}, {-5.40479, -1.49365, -3.87015}, {-5.56494, -9.17041, -3.86069}, {-4.08496, -10.9141, -3.86069}, {-4.02686, -3.23291, -3.86871}, {0.0966797, 3.51123, -3.86072}, {3.85352, 3.39404, -3.86072}, {-1.09521, -11.1416, -3.86069}, {2.70947, -3.93896, -3.8566}, {3.13135, -7.99756, -3.85718}, {3.98193, -11.6318, -3.85632}, {-1.23486, 3.77734, -1.30765}, {1.01709, -1.43164, -1.30765}, {-0.540527, 3.59424, 1.22354}, {1.6333, -1.36572, 1.22354}, {-1.91992, -1.67725, 1.22354}, {1.48438, -1.8252, 4.64752}, {-3.00195, 3.05811, 4.69885}, {-1.81348, -6.23584, 4.70062}};
    };
       
    class Land_vys_budova_p2 : Industrial {
        zombieChance = 0;
        maxRoaming = 4;
        minRoaming = 2;
        lootChance = 0.35;
        lootPos[] = {{-0.838379, 3.53467, -0.755798}, {-0.500977, -0.849609, -0.720856}, {-0.730957, -3.11719, 0.742432}, {-5.80322, 0.575195, -0.755829}, {-3.38232, -3.52539, -0.755829}, {-5.02344, 2.15869, -0.755829}};
    };
       
    class Land_seb_main_fac : Industrial {
        zombieChance = 0.15;
        maxRoaming = 6;
        minRoaming = 4;
        lootChance = 0.45;
        lootPos[] = {{3.51758, -4.93701, -5.83689}, {4.66016, -0.00537109, -5.83805}, {21.6211, 0.172852, -5.84076}, {17.8408, -1.49512, -5.79222}, {21.1563, -5.41699, -5.77856}, {-6.87988, -0.224609, -6.03392}, {-1.45117, -0.0161133, -5.94843}, {26.4512, 13.3154, -2.60049}, {5.15918, 16.2822, 8.63872}, {-0.5, 4.12012, 4.16873}, {-7.09375, 3.97266, 4.16873}, {-5.49707, 11.7754, 4.16873}, {-10.1738, -24.9785, 5.61401}, {-26.1484, -14.4658, 5.5868}, {2.59277, 9.88086, 8.63872}, {22.4229, 4.43213, 8.63872}, {21.9668, 15.8062, 8.63872}, {16.7783, 17.397, 4.16873}, {9.14063, 16.4912, 4.16873}, {3.62695, 23.0591, 4.16873}};
    };
       
    class Land_most_blok : Industrial {
        lootChance = 0.05;
        zombieChance = 0;
        lootPos[] = {{-19.3564, 3.39258, 15.7188}, {-26.459, -3.23242, 15.6942}, {-1.98145, -3.05176, 15.6783}, {5.47461, 3.15381, 15.7188}};
    };
       
    class Land_leseni4x : Industrial {
        zombiechance = 0;
        maxRoaming = 0;
        lootChance = 0.1;
        lootPos[] = {{-1.19531, -0.0805664, -3.85519}, {-2.00488, 0.467285, -1.57877}, {-0.337891, 0.100098, 0.612961}, {0.14209, 0.0932617, 5.04139}, {-3.16016, 0.240723, -3.85651}, {1.55371, -0.192871, -1.57876}, {-3.07031, 0.203613, 2.81885}, {-0.261719, -0.0917969, 2.81885}, {-3.22852, 0.12207, 5.04139}};
        hangPos[] = {{-1.42285, -2.8457, -3.8553}};
    };
       
    class Land_x_vetraci_komin : Industrial {
        minRoaming = 2;
        maxRoaming = 4;
        zombiechance = 0;
        lootChance = 0.15;
        lootPos[] = {{-2.93799, 0.154297, -8.64914}, {0.773438, 0.284668, 15.1518}, {-3.20166, 0.662109, -8.64914}, {0.00683594, -2.87744, -8.64914}, {2.82617, 1.55127, -8.64914}};
    };
     
    Last edited: Feb 10, 2017
  18. MikeCandys

    MikeCandys Well-Known Member

    Joined:
    Mar 14, 2013
    Messages:
    124
    Likes Received:
    0
    Code:
    class Land_heliport : Military {
        minRoaming = 2;
        maxRoaming = 4;
        lootChance = 0.15;
        zombiechance = 0;
        lootPos[] = {{-2.93091, 11.3804, 8.95621}};
        hangPos[] = {{0.0556641, 7.90039, 9.04958}};
    };
       
    class Land_seb_residental : Residential {
        minRoaming = 5;
        maxRoaming = 12;
        lootPos[] = {{0.669922, -11.666, -3.99231}, {-5.16357, 5.55957, -3.70433}, {-0.185547, 0.272461, -3.68759}, {-4.46777, 9.34277, -3.71631}, {-5.95508, 5.86914, 0.530693}, {-1.67285, 4.03809, 0.539707}, {-4.5918, -3.29883, 0.575962}, {0.692871, -0.916016, 0.564178}, {-4.26611, -6.93652, 0.503304}, {-3.01221, -4.44434, 3.92254}, {-3.771, 6.74219, 3.87591}, {-4.13623, 3.08105, 3.89119}, {-5.31934, -9.13281, -3.6578}, {-4.17773, -5.625, -3.66891}, {5.81152, 6.41895, -4.00906}, {6.47852, 11.9746, -4.32829}, {-8.30078, 10.0146, -3.99837}, {-8.37988, 3.38574, -4.08735}, {-3.1377, 6.41992, 0.527946}, {-5.3623, -3.59668, 0.577412}, {-5.52002, -1.35938, 0.566383}, {-5.79883, -8.70703, 0.390427}, {1.04053, 3.57227, 0.542007}, {-5.97314, 9.75293, 3.86338}, {-4.54395, -11.5918, -4.32829}, {-4.625, -5.09473, 5.55345}, {-6.74561, -6.10547, -3.66533}};
    };
       
    class Land_lodenice : Farm {
        zombieChance = 0;
        lootChance = 0.15;
        lootPos[] = {{-1.57422, -12.4058, -1.12817}, {-4.30664, 5.30615, -4.1706}, {-0.453125, -2.80322, -2.46568}, {5.19141, 18.8901, -2.43314}, {2.20508, -12.2168, -1.80866}, {-6.54688, -16.4331, -0.864244}, {-6.25977, -2.62402, -2.49717}, {-1.80273, 1.86865, -2.86232}, {4.48926, 5.44824, -4.80951}, {2.07031, -2.79541, -2.7193}, {4.58203, 10.9131, -2.17065}};
        hangPos[] = {{-2.0332, -5.49414, -2.0021}};
    };
       
    class Land_mi8_crashed : HeliCrash {
        lootChance = 0;
        maxRoaming = 12;
        minRoaming = 6;
        zombieChance = 0.45;
        lootPos[] = {{0.238281, -2.89746, -1.65002}, {-0.245117, -6.06982, -1.74091}};
    };
       
    class Land_wreck_c130j_ep1 : HeliCrash {
        lootChance = 0;
        maxRoaming = 20;
        minRoaming = 6;
        zombieChance = 0.45;
        lootPos[] = {{-0.364258, -5.52539, -4.73639}, {-0.364258, -9.6123, -4.65302}, {-0.199219, -12.8838, -4.79346}, {-0.217285, -14.1816, -4.8399}, {0.369629, -17.7705, -5.03864}, {-1.04736, -16.7305, -4.84344}};
        hangPos[] = {{-0.520508, 3.19873, -6.151}};
    };
       
    class Land_provoz2 : Industrial {
        zombieChance = 0.45;
        lootChance = 0.4;
        lootPos[] = {{-5.49414, -0.737305, -2.51849}, {-5.53809, 2.23926, -2.51849}, {-2.85742, 1.41846, -2.51849}, {1.0459, 1.97266, -2.51849}, {4.73145, -1.0166, -2.51849}, {5.30078, 1.33984, -2.51849}};
    };
       
    class Land_provoz1 : Industrial {
        zombieChance = 0.45;
        lootChance = 0.4;
        lootPos[] = {{-2.69238, 2.81836, -2.31387}, {-0.743164, 1.47266, -2.31387}, {3.49219, 2.2832, -2.31387}, {4.45898, -1.95801, -2.31387}, {0.693848, -2.4834, -2.31387}, {-4.25, -1.30371, -2.31387}};
    };
    
     
  19. MikeCandys

    MikeCandys Well-Known Member

    Joined:
    Mar 14, 2013
    Messages:
    124
    Likes Received:
    0
    Code:
    class Land_sklad2 : Industrial{
        zombieChance = 0.45;
        lootChance = 0.4;
        lootPos[] = {{-3.52637, -3.24463, -2.42452}, {0.222656, -2.30371, -2.42414}, {-0.21582, 2.78711, -2.41983}, {3.53711, 2.09766, -2.42081}, {5.03613, -2.56299, -2.42489}, {3.06445, 0.760254, -2.42189}};
    };
       
    class Land_hala1 : Industrial {
        zombieChance = 0.45;
        lootChance = 0.4;
        lootPos[] = {{-0.0751953, -7.0127, -4.02072}, {-0.223633, -2.86621, -4.02072}, {-4.64063, 0.868164, -4.02072}, {4.60986, -2.17969, -4.02072}, {5.71338, 1.13086, -4.02072}, {-4.49609, 4.7998, -4.02072}, {4.55566, 4.79199, -4.02072}};
    };
       
    class Land_naklad : Industrial {
        zombieChance = 0.45;
        lootChance = 0.4;
        lootPos[] = {{4.53955, -5.32129, -1.51689}, {4.15381, -2.51367, -1.51689}, {5.39844, 2.93457, -1.51689}, {1.85547, 4.12402, -1.51689}, {-1.94238, 4.11328, -1.51689}, {-4.60693, 2.38086, -1.51689}, {-4.88867, -1.75391, -1.51689}, {-4.93213, -6.0166, -1.51689}, {-2.21094, -6.01367, -2.50666}, {-1.45313, -1.50977, -2.50666}, {-0.733887, 0.65625, -2.50666}};
    };
       
    class Land_hlidac : Residential {
        lootPos[] = {{0.519531, -0.0332031, -1.37757}};
    };
       
    class Land_bmp2_wrecked : MilitarySpecial {
        lootChance = 0.35;
        zombieChance = 0.25;
        lootPos[] = {{0.708984, 3.3667, -0.584229}};
    };
       
    class Land_ural_wrecked : Military {
        lootChance = 0.35;
        zombieChance = 0.25;
        maxRoaming = 4;
        minRoaming = 2;
        lootPos[] = {{1.84521, -0.853027, -1.20325}};
    };
    
    class Land_uralt_prevraceny : Industrial {
        maxRoaming = 4;
        minRoaming = 2;
        lootChance = 0.35;
        zombieChance = 0;
        lootPos[] = {{-1.82227, 2.77295, -1.34504}, {-2.12012, 1.51563, -1.34504}, {-2.16016, 0.135742, -1.34504}, {-1.80664, -2.17822, -1.34504}};
    };
       
    class Land_seb_nasypka : Industrial {
        lootChance = 0.05;
        minRoaming = 2;
        maxRoaming = 4;
        zombieChance = 0.05;
        lootPos[] = {{-10.7129, -3.50684, -6.21072}, {-6.35498, -3.34082, -5.58379}, {2.63965, -3.43848, -4.24003}, {3.51807, -4.03809, -6.66288}, {10.7227, 0.880859, -6.52378}, {0.810547, 0.793945, -6.59387}, {3.58057, 0.791016, -6.46273}, {0.589355, 4.42676, -6.59387}, {0.221191, 8.44336, -6.59387}, {6.27295, 8.85938, -6.48577}, {10.4683, 8.11816, -6.52163}, {10.564, 5.39551, -6.52245}, {2.76221, -10.583, -0.134289}, {2.77832, -4.2002, -0.134289}, {2.55518, -2.23242, -0.134289}, {5.60693, -2.36621, 1.30363}, {8.78809, -2.25195, -0.134289}, {9.08643, -6.68262, -0.134289}, {6.56641, 0.311523, 1.30363}, {6.14795, 5.20996, 1.30363}, {4.19971, 8.96875, 1.30363}, {7.37891, 9.10156, 1.30363}, {5.5791, 9.14551, 3.27461}};
    };
       
    class Land_chat_tr : Farm {
        zombieChance = 0.15;
        lootChance = 0.15;
        lootPos[] = {{-4.92725, 2.23877, -2.32338}, {-1.75439, -2.23438, -2.47102}, {-1.05566, 2.29297, -2.40262}, {1.4248, -1.81201, -2.57769}, {1.4248, -1.81201, -2.57769}, {3.58594, -2.01172, -2.35669}};
    };
       
    class Land_vor_piskoviste : Residential {
        zombieChance = 0;
        lootChance = 0.01;
        lootPos[] = {{0.0361328, 0.0136719, 0.447613}};
    };
       
    class Land_budova5_winter : MilitarySpecial {
        lootChance = 0.25;
        maxRoaming = 8;
        minRoaming = 4;
        zombieChance = 0.25;
        lootPos[] = {{-3.81934, 3.2207, -2.00615}, {-3.89673, 1.61426, -2.05548}, {-3.98462, 0.065918, -2.11169}};
        hangPos[] = {{-7.01465, 1.44971, -2.40863}};
    };
       
    class Land_budova2_winter : MilitarySpecial {
        lootChance = 0.1;
        maxRoaming = 8;
        minRoaming = 4;
        zombieChance = 0.25;
        lootPos[] = {{-3.34717, -5.42505, -1.73134}, {-6.07715, -7.85254, -1.73218}};
    };
       
    class Land_budova1_winter : MilitarySpecial {
        lootChance = 0.1;
        maxRoaming = 8;
        minRoaming = 6;
        zombieChance = 0.25;
        lootPos[] = {{8.84448, -0.234863, -2.01427}};
    };
       
    class Land_budova3_winter : MilitarySpecial {
        lootChance = 0.1;
        maxRoaming = 8;
        minRoaming = 6;
        zombieChance = 0.25;
        lootPos[] = {{5.39673, -0.0297852, -2.01859}};
    };
     
  20. MikeCandys

    MikeCandys Well-Known Member

    Joined:
    Mar 14, 2013
    Messages:
    124
    Likes Received:
    0
    Code:
    class Land_ind_quarry : Industrial {
        lootChance = 0;
        maxRoaming = 0;
        zombieChance = 0.25;
        lootPos[] = {{-3.25928, -15.5356, -7.47989}, {0.864258, -11.0698, -7.47989}, {6.83203, 6.62793, -7.47989}, {-6.95117, 14.5869, -7.47989}, {-6.92334, -2.28516, -7.47989}, {0.249023, 16.9741, 5.29451}, {-4.43262, 15.6445, 5.29451}, {-4.39697, -7.04395, 5.29451}};
    };
       
    class Land_ind_sawmill : Industrial {
        lootChance = 0;
        maxRoaming = 0;
        zombieChance = 0.25;
        lootPos[] = {{10.4482, 5.27588, -5.82991}, {2.81299, 17.3979, -5.83502}, {-10.7178, -5.41943, -5.83678}, {3.16064, -13.0542, -5.78954}};
    };
       
    class Land_zspawn : Military {
        maxRoaming = 5;
        minRoaming = 2;
        lootPos[] = {};
    };
       
    class Land_bspawn : Military {
        maxRoaming = 1;
        minRoaming = 0;
        lootPos[] = {};
    };
       
    class Land_espawn : MilitarySpecialER7 {
        zombieChance = 0;
        maxRoaming = 0;
        lootChance = 0.25;
        lootPos[] = {{0, 0, 0}};
    };
    *DISCLAIMER: MilitarySpecialER7 is a custom loot table edited by me. If you want to use it I recommend to change it to MilitarySpecial
     

Share This Page