Beiträge von Thelittleschumi

    Spoiler anzeigen

    //Spawn helper function

    void SpawnObject( string type, vector position, vector orientation )

    {

    auto obj = GetGame().CreateObject( type, position );

    obj.SetPosition( position );

    obj.SetOrientation( orientation ); //Collision fix

    }

    void main()

    {

    //INIT WEATHER BEFORE ECONOMY INIT------------------------

    Weather weather = g_Game.GetWeather();

    weather.MissionWeather(false); // false = use weather controller from Weather.c

    weather.GetOvercast().Set( Math.RandomFloatInclusive(0.4, 0.6), 1, 0);

    weather.GetRain().Set( 0, 0, 1);

    weather.GetFog().Set( Math.RandomFloatInclusive(0.05, 0.1), 1, 0);

    //INIT ECONOMY--------------------------------------

    Hive ce = CreateHive();

    if ( ce )

    ce.InitOffline();

    //Your custom spawned objects

    SpawnObject( "Land_Mil_Barracks6", "12133.799805 140.000000 12688.000000", "22.999998 0.000000 0.000000" );

    SpawnObject( "Land_Mil_Barracks6", "12169.099609 140.000000 12673.099609", "22.999998 0.000000 0.000000" );

    SpawnObject( "Land_Mil_Barracks6", "12203.599609 140.000000 12658.599609", "22.999998 0.000000 0.000000" );

    SpawnObject( "Land_Mil_ATC_Big", "12061.450195 155.434998 12476.552734", "112.000000 0.000000 0.000000" );

    SpawnObject( "bldr_rds_runwayold_40_main", "12070.000000 140.000000 12467.000000", "-68.000000 0.000000 0.000000" );

    SpawnObject( "bldr_rds_runwayold_40_main", "12040.400391 140.000000 12479.099609", "-68.000000 0.000000 0.000000" );

    SpawnObject( "Land_Mil_Barracks3", "11887.200195 142.199997 12516.599609", "-157.000000 0.000000 0.000000" );

    SpawnObject( "Land_Mil_Fortified_Nest_Watchtower", "11613.299805 144.003998 12602.299805", "-70.000000 0.000000 0.000000" );

    SpawnObject( "Land_Mil_ControlTower", "12093.900391 147.632996 12600.200195", "-4.999999 0.000000 0.000000" );

    SpawnObject( "Land_Mil_AircraftShelter", "12249.263672 140.000000 12567.534180", "47.000000 0.000000 0.000000" );

    SpawnObject( "Land_Mil_AircraftShelter", "12124.799805 140.000000 12604.400391", "175.000000 0.000000 0.000000" );

    SpawnObject( "Land_Mil_AircraftShelter", "12287.701172 140.000000 12526.242188", "47.000000 0.000000 0.000000" );

    SpawnObject( "Land_Mil_Airfield_HQ", "12011.198242 145.792877 12481.919922", "21.999998 0.000000 0.000000" );

    SpawnObject( "Land_Wreck_C130J", "12009.500000 145.184006 12561.500000", "-79.000000 0.000000 0.000000" );

    SpawnObject( "Land_Wreck_V3S", "11909.900391 141.602997 12549.599609", "-9.000000 0.000000 0.000000" );

    SpawnObject( "bldr_wreck_t72_chassis", "11678.299805 142.317993 12597.799805", "40.000000 0.000000 0.000000" );

    SpawnObject( "bldr_wreck_t72_turret", "11685.500000 141.931000 12598.900391", "0.000000 0.000000 0.000000" );

    SpawnObject( "bldr_wreck_hmmwv", "11606.099609 144.804993 12543.299805", "-137.000000 0.000000 0.000000" );

    SpawnObject( "bldr_wreck_brdm", "11654.200195 142.901993 12671.200195", "0.000000 0.000000 0.000000" );

    SpawnObject( "bldr_wreck_bmp2", "11948.700195 140.832001 12506.900391", "0.000000 0.000000 0.000000" );

    SpawnObject( "bldr_Mil_AircraftShelter_Grass_R", "12125.599609 139.727997 12604.000000", "177.999969 0.000000 0.000000" );

    SpawnObject( "bldr_Mil_AircraftShelter_Grass_L", "12126.149414 139.950012 12604.900391", "176.999985 0.000000 0.000000" );

    SpawnObject( "Wreck_UH1Y", "11852.599609 141.856995 12696.900391", "0.000000 0.000000 0.000000" );

    SpawnObject( "bldr_Forest_HumanSkeleton", "11934.599609 140.031006 12484.000000", "0.000000 0.000000 0.000000" );

    SpawnObject( "bldr_Forest_HumanSkeleton", "11941.299805 140.031006 12471.099609", "0.000000 0.000000 0.000000" );

    SpawnObject( "bldr_Forest_HumanSkeleton", "11605.700195 143.957001 12545.200195", "-38.000000 0.000000 0.000000" );

    SpawnObject( "bldr_misc_barbedwire", "11610.900391 143.192001 12592.200195", "32.000004 0.000000 0.000000" );

    SpawnObject( "bldr_misc_barbedwire", "11606.099609 143.690002 12596.799805", "49.000000 0.000000 0.000000" );

    SpawnObject( "bldr_hbarrier_round", "12224.599609 140.460999 12422.799805", "-140.000000 0.000000 0.000000" );

    SpawnObject( "bldr_hbarrier_6m", "12219.400391 140.483994 12425.299805", "-158.000000 0.000000 0.000000" );

    SpawnObject( "bldr_hbarrier_round", "12231.299805 140.447006 12414.000000", "-98.999992 0.000000 0.000000" );

    SpawnObject( "bldr_hbarrier_round", "12228.799805 140.423996 12418.900391", "-121.000008 0.000000 0.000000" );

    SpawnObject( "Land_Mil_Tent_Big4", "12217.200195 141.190994 12386.799805", "19.000000 0.000000 0.000000" );

    SpawnObject( "Land_Mil_Tent_Big2_5", "12221.799805 142.197006 12399.599609", "14.999999 0.000000 0.000000" );

    SpawnObject( "Land_Mil_Tent_Big2_4", "12181.700195 141.738007 12388.599609", "-29.999998 0.000000 0.000000" );

    SpawnObject( "Land_Mil_Tent_Big2_3", "12178.299805 141.955994 12399.200195", "-6.000000 0.000000 0.000000" );

    SpawnObject( "Land_Mil_Tent_Big2_2", "12178.599609 141.996994 12409.700195", "8.000002 0.000000 0.000000" );

    SpawnObject( "Land_Mil_Tent_Big1_3", "12223.900391 139.927002 12411.200195", "74.000000 0.000000 0.000000" );

    SpawnObject( "Land_Mil_Tent_Big1_2", "12215.000000 140.000000 12419.500000", "21.999998 0.000000 0.000000" );

    SpawnObject( "Land_Mil_Tent_Big1_1", "12205.299805 140.000000 12423.299805", "20.000000 0.000000 0.000000" );

    SpawnObject( "bldr_mil_camonet_tent2", "12197.099609 141.384003 12377.299805", "-79.000000 0.000000 0.000000" );

    SpawnObject( "bldr_tent_pallets", "12189.799805 139.589005 12382.599609", "0.000000 0.000000 0.000000" );

    SpawnObject( "bldr_tent_pallets", "12188.299805 139.559006 12382.500000", "0.000000 0.000000 0.000000" );

    SpawnObject( "bldr_tent_pallets", "12189.000000 141.046997 12382.599609", "-18.000000 0.000000 0.000000" );

    SpawnObject( "bldr_tent_pallets", "12189.599609 139.434006 12384.299805", "-14.000000 0.000000 0.000000" );

    SpawnObject( "bldr_tent_boxwooden", "12189.099609 139.570999 12380.099609", "-14.999999 0.000000 0.000000" );

    SpawnObject( "bldr_tent_table", "12184.700195 140.399002 12404.700195", "-105.999992 0.000000 0.000000" );

    SpawnObject( "bldr_tent_chair", "12184.000000 140.490997 12403.900391", "-126.999992 0.000000 0.000000" );

    SpawnObject( "bldr_tent_chair", "12183.700195 140.494995 12404.900391", "-89.000000 0.000000 0.000000" );

    SpawnObject( "bldr_tent_chair", "12184.500000 140.496002 12406.200195", "0.000000 0.000000 0.000000" );

    SpawnObject( "bldr_tent_boxwooden", "12187.799805 139.953995 12384.099609", "0.000000 0.000000 0.000000" );

    SpawnObject( "bldr_tent_boxwooden", "12184.400391 140.487000 12411.500000", "0.000000 0.000000 0.000000" );

    SpawnObject( "bldr_tent_chair", "12191.200195 140.014999 12384.200195", "-66.000000 0.000000 0.000000" );

    SpawnObject( "bldr_hbarrier_6m", "12231.099609 140.429001 12402.700195", "-72.000000 0.000000 0.000000" );

    SpawnObject( "bldr_hbarrier_round", "12232.099609 140.466995 12408.299805", "-81.000000 0.000000 0.000000" );

    SpawnObject( "bldr_hbarrier_round", "12217.200195 139.858002 12372.299805", "-21.000000 0.000000 0.000000" );

    SpawnObject( "bldr_hbarrier_round", "12221.599609 140.414993 12376.099609", "-45.999996 0.000000 0.000000" );

    SpawnObject( "bldr_hbarrier_6m", "12224.099609 140.403000 12381.200195", "-71.000000 0.000000 0.000000" );

    SpawnObject( "bldr_hbarrier_6m", "12227.599609 140.380005 12391.900391", "-72.000000 0.000000 0.000000" );

    SpawnObject( "bldr_hbarrier_6m", "12225.900391 140.388000 12386.500000", "-72.000000 0.000000 0.000000" );

    SpawnObject( "bldr_hbarrier_4m", "12194.500000 140.309006 12434.200195", "-69.000000 0.000000 0.000000" );

    SpawnObject( "bldr_hbarrier_6m", "12208.799805 140.479004 12429.599609", "21.999998 0.000000 0.000000" );

    SpawnObject( "bldr_hbarrier_6m", "12203.500000 140.429001 12431.700195", "21.999998 0.000000 0.000000" );

    SpawnObject( "bldr_hbarrier_6m", "12214.099609 140.479004 12427.500000", "21.999998 0.000000 0.000000" );

    SpawnObject( "bldr_hbarrier_6m", "12198.200195 140.429001 12433.700195", "21.999998 0.000000 0.000000" );

    SpawnObject( "bldr_Wall_CncBarrier_4Block", "11683.670898 144.683884 12728.884766", "-28.000004 0.000000 0.000000" );

    SpawnObject( "bldr_Wall_CncBarrier_Block", "11681.900391 145.703003 12744.799805", "-28.000004 0.000000 0.000000" );

    SpawnObject( "bldr_Wall_CncBarrier_Block", "11680.299805 145.681412 12743.941406", "-27.000000 0.000000 0.000000" );

    SpawnObject( "bldr_Misc_RoadBarrier", "11632.700195 142.432999 12614.000000", "28.000004 0.000000 0.000000" );

    SpawnObject( "Land_Mil_Tent_Big1_1", "11665.700195 141.832993 12597.000000", "178.000000 0.000000 -1.000000" );

    SpawnObject( "bldr_misc_concretepanels", "11907.900391 140.787003 12446.200195", "0.000000 0.000000 0.000000" );

    SpawnObject( "bldr_rds_mud_30_25", "12178.500000 140.000000 12438.700195", "-43.000000 0.000000 0.000000" );

    SpawnObject( "bldr_rds_mud_30_25", "12185.400391 140.000000 12426.799805", "138.000000 0.000000 0.000000" );

    SpawnObject( "bldr_rds_mud_25", "12191.799805 140.000000 12410.000000", "-19.000000 0.000000 0.000000" );

    SpawnObject( "bldr_rds_mud_30_25", "12195.599609 139.903000 12391.400391", "169.000000 -1.000000 0.000000" );

    SpawnObject( "bldr_wreck_decal_big", "12195.700195 139.953003 12391.500000", "4.999999 3.000000 0.000000" );

    SpawnObject( "bldr_wreck_ural", "12195.900391 141.119003 12391.500000", "2.000000 0.000000 0.000000" );

    SpawnObject( "bldr_wreck_hmmwv", "12200.900391 139.992996 12376.200195", "-160.000000 -6.000000 0.000000" );

    SpawnObject( "Land_Ruin_Shed_Closed2", "12379.200195 141.591995 12581.700195", "57.000004 0.000000 0.000000" );

    SpawnObject( "Wreck_UH1Y", "12387.299805 142.557007 12576.200195", "124.000008 0.000000 0.000000" );

    SpawnObject( "Land_Wreck_Uaz", "12239.400391 140.843002 12417.900391", "-27.000000 0.000000 0.000000" );

    SpawnObject( "Wreck_Mi8", "12125.299805 141.697998 12591.400391", "-170.999969 0.000000 0.000000" );

    SpawnObject( "Land_Repair_Center", "12079.280273 142.520645 12451.750977", "-158.000000 0.000000 0.000000" );

    SpawnObject( "Land_Tank_Medium_Stairs", "12225.400391 141.360001 12645.599609", "22.999998 0.000000 0.000000" );

    SpawnObject( "Land_Mil_Barracks2", "11871.000000 141.317993 12556.799805", "114.000000 0.000000 0.000000" );

    SpawnObject( "Land_Mil_Barracks2", "11890.247070 141.367996 12548.350586", "114.000000 0.000000 0.000000" );

    SpawnObject( "Land_Mil_Barracks2", "11851.499023 141.367996 12565.348633", "114.000000 0.000000 0.000000" );

    SpawnObject( "Land_Mil_Barracks2", "11831.503906 141.367996 12573.800781", "114.000000 0.000000 0.000000" );

    SpawnObject( "Land_Wreck_Uaz", "12078.497070 140.843185 12452.596680", "22.000011 0.000000 0.000000" );

    SpawnObject( "Land_Wreck_Uaz", "12182.040039 140.843185 12419.068359", "64.999985 0.000000 0.000000" );

    SpawnObject( "bldr_wreck_brdm", "12170.260742 140.547333 12541.708984", "-22.000013 0.000000 0.000000" );

    SpawnObject( "bldr_wreck_brdm", "12449.892578 141.421738 12545.270508", "12.000008 0.000000 -3.999999" );

    SpawnObject( "Land_Mil_Guardhouse1", "12493.133789 143.129074 12501.356445", "129.000153 0.000000 0.000000" );

    SpawnObject( "Land_Mil_Tower_Small", "12342.195313 143.770920 12678.456055", "99.999985 0.000000 0.000000" );

    SpawnObject( "Land_Mil_Fortified_Nest_Small", "12350.129883 141.291122 12687.827148", "-69.000000 0.000000 0.000000" );

    SpawnObject( "bldr_Wall_MilCncBarrier", "12352.019531 140.574066 12683.416992", "110.999969 0.000000 0.000000" );

    SpawnObject( "bldr_Wall_MilCncBarrier", "12355.261719 140.570282 12677.690430", "99.000015 0.000000 0.000000" );

    SpawnObject( "bldr_Sign_EnochMil_NoEntry_Small_ENPL", "12355.562500 141.365036 12676.302734", "-72.000000 0.000000 0.000000" );

    SpawnObject( "bldr_mil_reinforcedtank1", "12239.053711 140.000000 12606.752930", "0.000000 0.000000 0.000000" );

    SpawnObject( "Land_Ruin_Mil_ControlTower", "12273.943359 142.600189 12547.161133", "-133.999954 0.000000 0.000000" );

    SpawnObject( "Land_Wreck_Lada_Red", "12357.005859 141.106247 12680.627930", "73.999977 3.000000 1.000000" );

    SpawnObject( "bldr_wreck_ural", "12327.747070 141.191040 12685.795898", "74.000000 0.000000 -3.999998" );

    SpawnObject( "bldr_Wall_MilCncBarrier", "12510.022461 141.833084 12503.062500", "127.999939 0.000000 4.000002" );

    SpawnObject( "bldr_Wall_MilCncBarrier", "12510.855469 141.906113 12509.708008", "67.000015 0.000000 -3.000001" );

    SpawnObject( "bldr_Wall_MilCncBarrier", "12505.438477 141.623657 12500.610352", "-6.000000 0.000000 0.000000" );

    SpawnObject( "bldr_Wall_MilCnc_4", "12016.147461 141.711823 12467.801758", "22.000011 0.000000 0.000000" );

    SpawnObject( "bldr_Wall_MilCnc_4", "12019.793945 141.711823 12466.322266", "22.000013 0.000000 0.000000" );

    SpawnObject( "bldr_Wall_MilCnc_4", "12023.488281 141.711823 12464.826172", "22.000011 0.000000 0.000000" );

    SpawnObject( "bldr_Wall_MilCnc_4", "12027.185547 141.711823 12463.327148", "22.000011 0.000000 0.000000" );

    SpawnObject( "bldr_Wall_MilCnc_4", "12030.867188 141.711823 12461.836914", "22.000011 0.000000 0.000000" );

    SpawnObject( "bldr_Wall_MilCnc_4", "12034.570313 141.711823 12460.342773", "22.000011 0.000000 0.000000" );

    SpawnObject( "bldr_Wall_MilCnc_4", "12038.285156 141.711823 12458.842773", "22.000015 0.000000 0.000000" );

    SpawnObject( "bldr_Wall_MilCnc_4", "12041.964844 141.711823 12457.351563", "22.000011 0.000000 0.000000" );

    SpawnObject( "bldr_Wall_MilCnc_Corner", "12014.963867 141.700272 12469.159180", "-111.999969 0.000000 0.000000" );

    SpawnObject( "bldr_Wall_MilCnc_4", "12045.511719 141.711823 12455.878906", "22.000015 0.000000 0.000000" );

    SpawnObject( "bldr_Wall_MilCnc_4", "12056.571289 141.711823 12451.416016", "22.000011 0.000000 0.000000" );

    SpawnObject( "bldr_Wall_MilCnc_4", "12060.254883 141.711823 12449.937500", "22.000015 0.000000 0.000000" );

    SpawnObject( "bldr_Wall_MilCnc_4", "12063.944336 141.711823 12448.442383", "22.000011 0.000000 0.000000" );

    SpawnObject( "bldr_Wall_MilCnc_4", "12067.641602 141.711823 12446.946289", "22.000013 0.000000 0.000000" );

    SpawnObject( "bldr_Wall_MilCnc_4", "12071.317383 141.711823 12445.452148", "22.000011 0.000000 0.000000" );

    SpawnObject( "bldr_Wall_MilCnc_4", "12081.287109 141.711823 12443.546875", "-68.000000 0.000000 0.000000" );

    SpawnObject( "bldr_Wall_MilCnc_4", "12078.689453 141.711823 12442.467773", "22.000006 0.000000 0.000000" );

    SpawnObject( "bldr_Wall_MilCnc_4", "12049.223633 141.711823 12454.385742", "22.000011 0.000000 0.000000" );

    SpawnObject( "bldr_Wall_MilCnc_4", "12052.886719 141.711823 12452.897461", "22.000011 0.000000 0.000000" );

    SpawnObject( "bldr_Wall_MilCnc_4", "12074.986328 141.711823 12443.961914", "22.000011 0.000000 0.000000" );

    SpawnObject( "bldr_Wall_MilCnc_4", "12082.777344 141.711823 12447.235352", "-68.000000 0.000000 0.000000" );

    SpawnObject( "bldr_Wall_MilCnc_4", "12084.268555 141.711823 12450.925781", "-68.000000 0.000000 0.000000" );

    SpawnObject( "bldr_Wall_MilCnc_4", "12085.747070 141.711823 12454.595703", "-68.000000 0.000000 0.000000" );

    SpawnObject( "bldr_Wall_MilCnc_4", "12087.241211 141.711823 12458.289063", "-68.000000 0.000000 0.000000" );

    SpawnObject( "bldr_Wall_MilCnc_4", "12088.737305 141.711823 12461.978516", "-68.000000 0.000000 0.000000" );

    SpawnObject( "bldr_Wall_MilCnc_4", "12090.225586 141.711823 12465.649414", "-68.000000 0.000000 0.000000" );

    SpawnObject( "bldr_Wall_MilCnc_4", "12093.141602 141.711823 12472.909180", "-68.000000 0.000000 0.000000" );

    SpawnObject( "bldr_Wall_MilCnc_4", "12091.712891 141.711823 12469.350586", "-68.000000 0.000000 0.000000" );

    SpawnObject( "bldr_Wall_MilCnc_4", "12094.585938 141.711823 12476.472656", "-68.000000 0.000000 0.000000" );

    SpawnObject( "bldr_Wall_MilCnc_4", "12005.857422 141.711823 12493.350586", "111.999969 0.000000 0.000000" );

    SpawnObject( "bldr_Wall_MilCnc_4", "12008.845703 141.711823 12500.751953", "112.000000 0.000000 0.000000" );

    SpawnObject( "bldr_Wall_MilCnc_4", "12030.965820 141.711823 12503.907227", "-158.000031 0.000000 0.000000" );

    SpawnObject( "bldr_Wall_MilCnc_4", "12010.319336 141.711823 12504.393555", "112.000000 0.000000 0.000000" );

    SpawnObject( "bldr_Wall_MilCnc_4", "12011.820313 141.711823 12508.105469", "112.000000 0.000000 0.000000" );

    SpawnObject( "bldr_Wall_MilCnc_4", "12007.355469 141.711823 12497.035156", "111.999969 0.000000 0.000000" );

    SpawnObject( "bldr_Wall_MilCnc_4", "12027.286133 141.711823 12505.402344", "-158.000000 0.000000 0.000000" );

    SpawnObject( "bldr_Wall_MilCnc_4", "12023.583984 141.711823 12506.897461", "-158.000031 0.000000 0.000000" );

    SpawnObject( "bldr_Wall_MilCnc_4", "12019.927734 141.711823 12508.387695", "-158.000000 0.000000 0.000000" );

    SpawnObject( "bldr_Wall_MilCnc_4", "12016.240234 141.711823 12509.877930", "-158.000000 0.000000 0.000000" );

    SpawnObject( "bldr_Wall_MilCnc_Corner", "12013.569336 141.700272 12510.668945", "113.999969 0.000000 0.000000" );

    SpawnObject( "bldr_Wall_MilCnc_Corner", "12013.049805 141.700272 12510.472656", "113.999977 0.000000 0.000000" );

    SpawnObject( "Land_Mil_Radar_Mobile1", "12014.812500 140.000000 12500.153320", "111.999969 0.000000 0.000000" );

    SpawnObject( "Land_Mil_Tower_Small", "12032.607422 143.720917 12463.419922", "-158.000031 0.000000 0.000000" );

    SpawnObject( "Land_Mil_Tower_Small", "12031.213867 143.670914 12501.876953", "22.000011 0.000000 0.000000" );

    SpawnObject( "Land_Mil_Tower_Small", "12014.128906 143.670914 12508.635742", "-21.000008 0.000000 0.000000" );

    SpawnObject( "Land_Mil_Tower_Small", "12059.931641 143.670914 12451.811523", "-158.000000 0.000000 0.000000" );

    SpawnObject( "Land_Mil_Fortified_Nest_Watchtower", "12170.925781 142.068649 12433.306641", "24.000019 0.000000 0.000000" );

    SpawnObject( "Land_Mil_Barracks5", "12105.963867 145.924667 12671.102539", "112.000000 0.000000 0.000000" );

    SpawnObject( "Land_Mil_Barracks_Round", "11919.216797 141.078003 12532.306641", "114.000000 0.000000 0.000000" );

    SpawnObject( "Land_Mil_Barracks_Round", "11914.434570 141.078003 12521.496094", "114.000000 0.000000 0.000000" );

    SpawnObject( "Land_Mil_Barracks_Round", "11908.601563 141.078003 12508.420898", "113.999977 0.000000 0.000000" );

    SpawnObject( "bldr_mil_camonet_side_nato", "11913.154297 141.255630 12514.513672", "18.000017 0.000000 0.000000" );

    SpawnObject( "bldr_mil_reinforcedtank1", "12409.333984 140.000000 12550.946289", "0.000000 0.000000 0.000000" );

    SpawnObject( "bldr_mil_reinforcedtank1_grass", "12409.055664 140.000000 12551.033203", "0.000000 0.000000 0.000000" );

    SpawnObject( "bldr_mil_reinforcedtank1_grass", "12428.167969 140.014252 12533.271484", "154.000031 0.000000 0.000000" );

    SpawnObject( "bldr_mil_blastcover1", "12165.383789 141.748917 12597.341797", "176.000031 0.000000 0.000000" );

    SpawnObject( "bldr_mil_blastcover1_grass", "12165.113281 140.000000 12601.735352", "176.000031 0.000000 0.000000" );

    SpawnObject( "bldr_Decal_Heli_Army", "12165.214844 140.000000 12601.375977", "-4.000000 0.000000 0.000000" );

    SpawnObject( "Wreck_UH1Y", "12165.005859 141.856918 12600.762695", "148.000031 0.000000 0.000000" );

    SpawnObject( "bldr_mil_blastcover2", "12360.433594 141.713516 12619.125000", "57.999981 0.000000 0.000000" );

    SpawnObject( "bldr_mil_blastcover2_grass", "12360.145508 140.000000 12618.794922", "57.999992 0.000000 0.000000" );

    SpawnObject( "Land_Airfield_ServiceHangar_R", "12370.072266 140.000000 12464.645508", "137.999985 0.000000 0.000000" );

    SpawnObject( "Land_Airfield_ServiceHangar_L", "12337.264648 140.000000 12501.111328", "138.000000 0.000000 0.000000" );

    SpawnObject( "bldr_Mil_AircraftShelter_Grass_R", "12248.954102 140.000000 12568.242188", "48.000004 0.000000 0.000000" );

    SpawnObject( "bldr_Mil_AircraftShelter_Grass_R", "12287.677734 139.962387 12526.155273", "45.999992 0.000000 0.000000" );

    SpawnObject( "bldr_Mil_AircraftShelter_Grass_L", "12287.959961 139.913849 12526.242188", "45.999996 0.000000 0.000000" );

    SpawnObject( "bldr_Mil_AircraftShelter_Grass_L", "12249.210938 140.000000 12567.592773", "48.000004 0.000000 0.000000" );

    SpawnObject( "bldr_Misc_BoxWooden", "12355.581055 140.486649 12623.371094", "0.000000 0.000000 0.000000" );

    SpawnObject( "bldr_Misc_BoxWooden", "12356.751953 140.486649 12622.628906", "-34.000000 0.000000 0.000000" );

    SpawnObject( "bldr_Misc_BoxWooden", "12356.243164 141.436707 12623.131836", "-39.000015 0.000000 0.000000" );

    SpawnObject( "bldr_Misc_BoxWooden", "12361.231445 140.486649 12614.896484", "-24.000015 0.000000 0.000000" );

    SpawnObject( "bldr_Misc_BoxWooden", "12353.158203 140.486649 12622.293945", "0.000000 0.000000 0.000000" );

    SpawnObject( "bldr_Misc_BoxWooden", "12361.991211 140.486649 12613.752930", "0.000000 0.000000 0.000000" );

    SpawnObject( "bldr_roadblock_pillbox", "12510.827148 142.248978 12495.731445", "5.000009 0.000000 -8.000001" );

    SpawnObject( "bldr_misc_pallets3", "12360.172852 140.180191 12612.250977", "0.000000 0.000000 0.000000" );

    SpawnObject( "bldr_misc_pallets2", "12358.644531 140.420944 12611.937500", "0.000000 0.000000 0.000000" );

    SpawnObject( "bldr_misc_pallet", "12360.065430 141.049423 12612.306641", "-53.000015 0.000000 0.000000" );

    //GetTesting().ExportProxyData( "7500 0 7500", 10000 ); //Center of map, radius of how far to go out and find buildings.

    //DATE RESET AFTER ECONOMY INIT-------------------------

    int year, month, day, hour, minute;

    int reset_month = 9, reset_day = 20;

    GetGame().GetWorld().GetDate(year, month, day, hour, minute);

    if ((month == reset_month) && (day < reset_day))

    {

    GetGame().GetWorld().SetDate(year, reset_month, reset_day, hour, minute);

    }

    else

    {

    if ((month == reset_month + 1) && (day > reset_day))

    {

    GetGame().GetWorld().SetDate(year, reset_month, reset_day, hour, minute);

    }

    else

    {

    if ((month < reset_month) || (month > reset_month + 1))

    {

    GetGame().GetWorld().SetDate(year, reset_month, reset_day, hour, minute);

    }

    }

    }

    }

    class CustomMission: MissionServer

    {

    void SetRandomHealth(EntityAI itemEnt)

    {

    if ( itemEnt )

    {

    int rndHlt = Math.RandomInt(55,100);

    itemEnt.SetHealth("","",rndHlt);

    }

    }

    override PlayerBase CreateCharacter(PlayerIdentity identity, vector pos, ParamsReadContext ctx, string characterName)

    {

    Entity playerEnt;

    playerEnt = GetGame().CreatePlayer(identity, characterName, pos, 0, "NONE");//Creates random player

    Class.CastTo(m_player, playerEnt);

    GetGame().SelectPlayer(identity, m_player);

    return m_player;

    }

    override void StartingEquipSetup(PlayerBase player, bool clothesChosen)

    {

    EntityAI itemTop;

    EntityAI itemEnt;

    ItemBase itemBs;

    float rand;

    itemTop = player.FindAttachmentBySlotName("Body");

    if ( itemTop )

    {

    itemEnt = itemTop.GetInventory().CreateInInventory("Rag");

    if ( Class.CastTo(itemBs, itemEnt ) )

    itemBs.SetQuantity(4);

    SetRandomHealth(itemEnt);

    itemEnt = itemTop.GetInventory().CreateInInventory("RoadFlare");

    SetRandomHealth(itemEnt);

    rand = Math.RandomFloatInclusive(0.0, 1.0);

    if ( rand < 0.35 )

    itemEnt = player.GetInventory().CreateInInventory("Apple");

    else if ( rand > 0.65 )

    itemEnt = player.GetInventory().CreateInInventory("Pear");

    else

    itemEnt = player.GetInventory().CreateInInventory("Plum");

    SetRandomHealth(itemEnt);

    }

    }

    };

    Mission CreateCustomMission(string path)

    {

    return new CustomMission();

    }