Jump to content

don2k7

Member
  • Posts

    106
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by don2k7

  1. On 7/25/2019 at 3:51 PM, WLF said:

    Post whole file default.sqf

    here is the whole file

    //Custom Spawns file//

    // These custom spawns are for use in static mission locations. You can set markers in mission.sqm if you want them.

    /*
    Custom group spawns Eg.

    [
        [953.237,4486.48,0.001],        // Position
        4,                                // Number Of units
        "Random",                        // Skill level of unit (easy, medium, hard, extreme, Random)
        "Random", or ["Random","at"],    // Primary gun set number or gun and rocket launcher. Syntax is "Random", for gun only or ["Random","AT"], for gun and launcher
        4,                                // Number of magazines
        "Random",                        // Backpack classname, use "Random" or classname here
        "Random",                        // Skin classname, use "Random" or classname here
        "Random",                        // Gearset number. "Random" for random gear set
        "Bandit"                        // AI Type, "Hero" or "Bandit".
    ] call spawn_group;

    Place your custom group spawns below
    */
    [
        [22986.715,19267.631,0],        // Position
        4,                                // Number Of units
        "hard",                        // Skill level of unit (easy, medium, hard, extreme, Random)
        "Random",                    // Primary gun set number or gun and rocket launcher. Syntax is "Random", for gun only or ["Random","AT"], for gun and launcher
        4,                                // Number of magazines
        "Random",                        // Backpack classname, use "Random" or classname here
        "Random",                        // Skin classname, use "Random" or classname here
        "Random",                        // Gearset number. "Random" for random gear set
        "Bandit"                        // AI Type, "Hero" or "Bandit".
    ] call spawn_group;
    [
        [22573.023,19379.523,0],        // Position
        4,                                // Number Of units
        "hard",                        // Skill level of unit (easy, medium, hard, extreme, Random)
        "Random",                    // Primary gun set number or gun and rocket launcher. Syntax is "Random", for gun only or ["Random","AT"], for gun and launcher
        4,                                // Number of magazines
        "Random",                        // Backpack classname, use "Random" or classname here
        "Random",                        // Skin classname, use "Random" or classname here
        "Random",                        // Gearset number. "Random" for random gear set
        "Bandit"                        // AI Type, "Hero" or "Bandit".
    ] call spawn_group;
    [
        [22462.225,19485.725,0],        // Position
        4,                                // Number Of units
        "hard",                        // Skill level of unit (easy, medium, hard, extreme, Random)
        "Random",                    // Primary gun set number or gun and rocket launcher. Syntax is "Random", for gun only or ["Random","AT"], for gun and launcher
        4,                                // Number of magazines
        "Random",                        // Backpack classname, use "Random" or classname here
        "Random",                        // Skin classname, use "Random" or classname here
        "Random",                        // Gearset number. "Random" for random gear set
        "Bandit"                        // AI Type, "Hero" or "Bandit".
    ] call spawn_group;
    [
        [22897.416,19895.643,0],        // Position
        4,                                // Number Of units
        "hard",                        // Skill level of unit (easy, medium, hard, extreme, Random)
        "Random",                    // Primary gun set number or gun and rocket launcher. Syntax is "Random", for gun only or ["Random","AT"], for gun and launcher
        4,                                // Number of magazines
        "Random",                        // Backpack classname, use "Random" or classname here
        "Random",                        // Skin classname, use "Random" or classname here
        "Random",                        // Gearset number. "Random" for random gear set
        "Bandit"                        // AI Type, "Hero" or "Bandit".
    ] call spawn_group; 
    [
        [22505.922,20056.195,0],        // Position
        4,                                // Number Of units
        "hard",                        // Skill level of unit (easy, medium, hard, extreme, Random)
        "Random",                    // Primary gun set number or gun and rocket launcher. Syntax is "Random", for gun only or ["Random","AT"], for gun and launcher
        4,                                // Number of magazines
        "Random",                        // Backpack classname, use "Random" or classname here
        "Random",                        // Skin classname, use "Random" or classname here
        "Random",                        // Gearset number. "Random" for random gear set
        "Bandit"                        // AI Type, "Hero" or "Bandit".
    ] call spawn_group; 
    [
        [22643.256,20174.373,0],        // Position
        4,                                // Number Of units
        "hard",                        // Skill level of unit (easy, medium, hard, extreme, Random)
        "Random",                    // Primary gun set number or gun and rocket launcher. Syntax is "Random", for gun only or ["Random","AT"], for gun and launcher
        4,                                // Number of magazines
        "Random",                        // Backpack classname, use "Random" or classname here
        "Random",                        // Skin classname, use "Random" or classname here
        "Random",                        // Gearset number. "Random" for random gear set
        "Bandit"                        // AI Type, "Hero" or "Bandit".
    ] call spawn_group; 
    [
        [22203.928,19855.676,0],        // Position
        4,                                // Number Of units
        "hard",                        // Skill level of unit (easy, medium, hard, extreme, Random)
        "Random",                    // Primary gun set number or gun and rocket launcher. Syntax is "Random", for gun only or ["Random","AT"], for gun and launcher
        4,                                // Number of magazines
        "Random",                        // Backpack classname, use "Random" or classname here
        "Random",                        // Skin classname, use "Random" or classname here
        "Random",                        // Gearset number. "Random" for random gear set
        "Bandit"                        // AI Type, "Hero" or "Bandit".
    ] call spawn_group;  
    [
        [22203.928,19855.676,0],        // Position
        4,                                // Number Of units
        "hard",                        // Skill level of unit (easy, medium, hard, extreme, Random)
        "Random",                    // Primary gun set number or gun and rocket launcher. Syntax is "Random", for gun only or ["Random","AT"], for gun and launcher
        4,                                // Number of magazines
        "Random",                        // Backpack classname, use "Random" or classname here
        "Random",                        // Skin classname, use "Random" or classname here
        "Random",                        // Gearset number. "Random" for random gear set
        "Bandit"                        // AI Type, "Hero" or "Bandit".
    ] call spawn_group; 
    [
        [22192.041,19569.52,0],        // Position
        4,                                // Number Of units
        "hard",                        // Skill level of unit (easy, medium, hard, extreme, Random)
        "Random",                    // Primary gun set number or gun and rocket launcher. Syntax is "Random", for gun only or ["Random","AT"], for gun and launcher
        4,                                // Number of magazines
        "Random",                        // Backpack classname, use "Random" or classname here
        "Random",                        // Skin classname, use "Random" or classname here
        "Random",                        // Gearset number. "Random" for random gear set
        "Bandit"                        // AI Type, "Hero" or "Bandit".
    ] call spawn_group;   
    [
        [22212.896,19364.443,0],        // Position
        4,                                // Number Of units
        "hard",                        // Skill level of unit (easy, medium, hard, extreme, Random)
        "Random",                    // Primary gun set number or gun and rocket launcher. Syntax is "Random", for gun only or ["Random","AT"], for gun and launcher
        4,                                // Number of magazines
        "Random",                        // Backpack classname, use "Random" or classname here
        "Random",                        // Skin classname, use "Random" or classname here
        "Random",                        // Gearset number. "Random" for random gear set
        "Bandit"                        // AI Type, "Hero" or "Bandit".
    ] call spawn_group;   
    [
        [22548.52,19703.369,0],        // Position
        4,                                // Number Of units
        "hard",                        // Skill level of unit (easy, medium, hard, extreme, Random)
        "Random",                    // Primary gun set number or gun and rocket launcher. Syntax is "Random", for gun only or ["Random","AT"], for gun and launcher
        4,                                // Number of magazines
        "Random",                        // Backpack classname, use "Random" or classname here
        "Random",                        // Skin classname, use "Random" or classname here
        "Random",                        // Gearset number. "Random" for random gear set
        "Bandit"                        // AI Type, "Hero" or "Bandit".
    ] call spawn_group;   
    [
        [22269.102,19513.352,0],        // Position
        4,                                // Number Of units
        "hard",                        // Skill level of unit (easy, medium, hard, extreme, Random)
        "Random",                    // Primary gun set number or gun and rocket launcher. Syntax is "Random", for gun only or ["Random","AT"], for gun and launcher
        4,                                // Number of magazines
        "Random",                        // Backpack classname, use "Random" or classname here
        "Random",                        // Skin classname, use "Random" or classname here
        "Random",                        // Gearset number. "Random" for random gear set
        "Bandit"                        // AI Type, "Hero" or "Bandit".
    ] call spawn_group;   
    [
        [22410.285,19728.063,0],        // Position
        4,                                // Number Of units
        "hard",                        // Skill level of unit (easy, medium, hard, extreme, Random)
        "Random",                    // Primary gun set number or gun and rocket launcher. Syntax is "Random", for gun only or ["Random","AT"], for gun and launcher
        4,                                // Number of magazines
        "Random",                        // Backpack classname, use "Random" or classname here
        "Random",                        // Skin classname, use "Random" or classname here
        "Random",                        // Gearset number. "Random" for random gear set
        "Bandit"                        // AI Type, "Hero" or "Bandit".
    ] call spawn_group;     
    [
        [22246.936,19810.277,0],        // Position
        4,                                // Number Of units
        "hard",                        // Skill level of unit (easy, medium, hard, extreme, Random)
        "Random",                    // Primary gun set number or gun and rocket launcher. Syntax is "Random", for gun only or ["Random","AT"], for gun and launcher
        4,                                // Number of magazines
        "Random",                        // Backpack classname, use "Random" or classname here
        "Random",                        // Skin classname, use "Random" or classname here
        "Random",                        // Gearset number. "Random" for random gear set
        "Bandit"                        // AI Type, "Hero" or "Bandit".
    ] call spawn_group;    
    [
        [22167.385,19769.764,0],        // Position
        4,                                // Number Of units
        "hard",                        // Skill level of unit (easy, medium, hard, extreme, Random)
        "Random",                    // Primary gun set number or gun and rocket launcher. Syntax is "Random", for gun only or ["Random","AT"], for gun and launcher
        4,                                // Number of magazines
        "Random",                        // Backpack classname, use "Random" or classname here
        "Random",                        // Skin classname, use "Random" or classname here
        "Random",                        // Gearset number. "Random" for random gear set
        "Bandit"                        // AI Type, "Hero" or "Bandit".
    ] call spawn_group;   
    [
        [22323.691,19222.611,0],        // Position
        4,                                // Number Of units
        "hard",                        // Skill level of unit (easy, medium, hard, extreme, Random)
        "Random",                    // Primary gun set number or gun and rocket launcher. Syntax is "Random", for gun only or ["Random","AT"], for gun and launcher
        4,                                // Number of magazines
        "Random",                        // Backpack classname, use "Random" or classname here
        "Random",                        // Skin classname, use "Random" or classname here
        "Random",                        // Gearset number. "Random" for random gear set
        "Bandit"                        // AI Type, "Hero" or "Bandit".
    ] call spawn_group;    
    [
        [22762.738,19857.42,0],        // Position
        4,                                // Number Of units
        "hard",                        // Skill level of unit (easy, medium, hard, extreme, Random)
        ["Random","AT"],                    // Primary gun set number or gun and rocket launcher. Syntax is "Random", for gun only or ["Random","AT"], for gun and launcher
        4,                                // Number of magazines
        "Random",                        // Backpack classname, use "Random" or classname here
        "Random",                        // Skin classname, use "Random" or classname here
        "Random",                        // Gearset number. "Random" for random gear set
        "Bandit"                        // AI Type, "Hero" or "Bandit".
    ] call spawn_group;      
    [
        [22926.75,19669.982,0],        // Position
        4,                                // Number Of units
        "hard",                        // Skill level of unit (easy, medium, hard, extreme, Random)
        ["Random","AT"],                    // Primary gun set number or gun and rocket launcher. Syntax is "Random", for gun only or ["Random","AT"], for gun and launcher
        4,                                // Number of magazines
        "Random",                        // Backpack classname, use "Random" or classname here
        "Random",                        // Skin classname, use "Random" or classname here
        "Random",                        // Gearset number. "Random" for random gear set
        "Bandit"                        // AI Type, "Hero" or "Bandit".
    ] call spawn_group;    
    [
        [22307.414,19974.844,0],        // Position
        4,                                // Number Of units
        "hard",                        // Skill level of unit (easy, medium, hard, extreme, Random)
        ["Random","AT"],                    // Primary gun set number or gun and rocket launcher. Syntax is "Random", for gun only or ["Random","AT"], for gun and launcher
        4,                                // Number of magazines
        "Random",                        // Backpack classname, use "Random" or classname here
        "Random",                        // Skin classname, use "Random" or classname here
        "Random",                        // Gearset number. "Random" for random gear set
        "Bandit"                        // AI Type, "Hero" or "Bandit".
    ] call spawn_group;    

    /*
    Custom static weapon spawns Eg. (with mutiple positions)

    [
        [                                // Position(s) (can be multiple)
            [911.21,4532.76,2.62],
            [921.21,4542.76,2.62]
        ],
        "M2StaticMG",                    // Classname of turret
        "easy",                            // Skill level of unit (easy, medium, hard, extreme, Random)
        "Bandit2_DZ",                    // Skin classname, use "Random" or classname here
        "Bandit",                        // AI Type, "Hero" or "Bandit".
        "Random",                        // Primary gun set number. "Random" for random weapon set
        2,                                // Number of magazines
        "Random",                        // Backpack classname, use "Random" or classname here
        "Random"                        // Gearset classname, use "Random" or classname here
    ] call spawn_static;

    Place your custom static weapon spawns below
    */
      [    
            [                                      // Position(s) (can be multiple)
                [22215.723, 19780.213, 13.0001],
                [22338.311, 19738.691, 23.540525],
                [22884.711, 19856.395, 11.0001],
                [22446.395, 20098.475, 6.8244929],
                [22536.129, 19998.018, 6.6184354],
                [23064.297, 19371.266, 10.033691]
                
            ],
            "DSHKM_Ins",                        // Classname of turret
            "medium",                            // Skill level of unit (easy, medium, hard, extreme, Random)
            "Random",                            // Skin classname, use "Random" or classname here
            "Bandit",                            // AI Type, "Hero" or "Bandit".
            "Random",                            // Primary gun set number. "Random" for random weapon set
            9,                                    // Number of magazines
            "Random",                            // Backpack classname, use "Random" or classname here
            "random"                            // Gearset classname, use "Random" or classname here
        ] call spawn_static;

    /*
    Custom Chopper Patrol spawn Eg.

    [
        [725.391,4526.06,0],            // Position to patrol
        2000,                            // Radius of patrol
        10,                                // Number of waypoints to give
        "UH1H_DZ",                        // Classname of vehicle (make sure it has driver and two gunners)
        "Random",                        // Skill level of units (easy, medium, hard, extreme, Random)
        "Random",                        // Skin classname, use "Random" or classname here
        "Bandit"                        // AI Type, "Hero" or "Bandit".
    ] call heli_patrol;

    Place your heli patrols below
    */
    [
        [22575.373, 19622.406, 0],
        900,
        10,
        "UH1H_DZ",
        "Random",
        "Random",
        "Bandit"
    ] spawn heli_patrol;
    /* 
    Custom Vehicle patrol spawns Eg. (Watch out they are stupid)

    [
        [725.391,4526.06,0],            // Position to patrol
        [725.391,4526.06,0],            // Position to spawn at
        200,                            // Radius of patrol
        10,                                // Number of waypoints to give
        "HMMWV_Armored",                // Classname of vehicle (make sure it has driver and gunner)
        "Random",                        // Skill level of units (easy, medium, hard, extreme, Random)
        "Random",                        // Skin classname, use "Random" or classname here
        "Bandit"                        // AI Type, "Hero" or "Bandit".
    ] call vehicle_patrol;

    Place your vehicle patrols below this line
    */
    [[22737.723,19308.193,0],[22737.723,19308.193,0],200,10,"HMMWV_Avenger","Random","Random","Bandit"] spawn vehicle_patrol;     
    [[22538.777,19899.162],[22538.777,19899.162],500,10,"HMMWV_Avenger","Random","Random","Bandit"] spawn vehicle_patrol;        
    [[22869.115,19744.039],[22869.115,19744.039],500,10,"HMMWV_Armored","Random","Random","Bandit"] spawn vehicle_patrol;        
    [[22353.209,19903.762,0],[22353.209,19903.762,0],500,10,"HMMWV_Armored","Random","Random","Bandit"] spawn vehicle_patrol;        
    [[22617.42,20172.283,0],[22617.42,20172.283,0],500,10,"HMMWV_Armored","Random","Random","Bandit"] spawn vehicle_patrol;
    /* 
    Custom Boat patrol spawns

    [
        [725.391,4526.06,0],            // Position to patrol
        [725.391,4526.06,0],            // Position to spawn at
        150,                            // Radius of patrol. Your spawn point should be at least this distance from shore.
        10,                                // Number of waypoints to give
        "RHIB",                            // Classname of armed boat (make sure it has driver and gunner)
        "Random",                        // Skill level of units (easy, medium, hard, extreme, Random)
        "Random",                        // Skin classname, use "Random" or classname here
        "Bandit"                        // AI Type, "Hero" or "Bandit".
    ] call vehicle_patrol;

    Place your boat patrols below this line
    */

    /*
    Paradropped unit custom spawn Eg.

    [
        [911.21545,4532.7612,2.6292224],    // Position that units will be dropped by
        400,                                // Radius from drop position a player has to be to spawn chopper
        "UH1H_DZ",                            // Classname of chopper (Make sure it has 2 gunner seats!)
        "North",                            // Direction of approach for the helicopter. Options: "North","South","East","West"
        [3000,4000],                        // Random distance from the mission the helicopter should start. [min distance, max distance].
        150,                                // Fly in height of the helicopter. Be careful that the height is not too low or the AI might die when they hit the ground
        1.0,                                // Time in seconds between each deployed paratrooper. Higher number means paradropped AI will be more spread apart. Time of 0 means they all jump out rapidly.
        200,                                // Distance from the mission the helicopter should start dropping paratroopers
        5,                                    // Number of units to be para dropped
        "Random",                            // Skill level of units (easy, medium, hard, extreme, Random)
        "Random",    or ["Random","at"],        // Primary gun set number and rocket launcher. "Random" for random weapon set, "at" for anti-tank, "aa" for anti-air launcher
        4,                                    // Number of magazines
        "Random",                            // Backpack classname, use "Random" or classname here
        "Bandit2_DZ",                        // Skin classname, use "Random" or classname here
        "Random",                            // Gearset number. "Random" for random gear set.
        "Bandit",                            // AI Type, "Hero" or "Bandit".
        true                                // true: Aircraft will stay at position and fight. false: Heli will leave if not under fire. 
    ] spawn heli_para;

    Place your paradrop spawns under this line
    */
    [[22353.209,19903.762,0],400,"UH1H_DZ","North",[3000,4000],200,1.0,200,5,"Random","Random",4,"Random","Bandit","Random","Bandit",true] spawn heli_para;
    [[22617.42,20172.283,0],400,"UH1H_DZ","North",[3000,4000],200,1.0,200,5,"Random","Random",4,"Random","Bandit","Random","Bandit",true] spawn heli_para;
    [[22617.42,20172.283,0],400,"UH1H_DZ","North",[3000,4000],250,1.0,200,10,"Random","Random",4,"Random","Bandit","Random","Bandit",true] spawn heli_para;


    /* Custom Crate Spawns

    _position = [911.21545,4532.7612,0]; // Position of the crate

    _loot = 
    [
        0, // Max number of long guns OR [MAX number of long guns,gun_array]
        0, // Max number of tools OR [MAX number of tools,tool_array]
        0, // Max number of items OR [MAX number of items,item_array]
        0, // Max number of pistols OR [MAX number of pistol,pistol_array]
        0 // Max number of backpacks OR [MAX number of backpacks,backpack_array]
    ];

    // Spawn one crate - Best option for static positions because offsets are not needed.
    [[
        [_loot,crates_large,[0,0]] // [loot variable, crate array, 2d offsets]
    ],_position] call wai_spawnCrate;


    // Multiple crate spawning option
    [[
        [_loot,"USVehicleBox",[0,0]], // [loot variable, crate classname, 2d offsets]
        [[0,0,[3,crate_items_crop_raider],0,0],crates_large,[0,0,0]], // [loot variable, crate array, 3d offsets]
        [[0,0,0,0,0],crates_large,[0,0],60] // [loot array, crate array, 2d offsets, optional direction]
    ],_position] call wai_spawnCrate;

    Place your crate spawns under this line
    */

    _crate = createVehicle ["USVehicleBox",[22517.953,19877.98],[],0,"CAN_COLLIDE"];
    _crate1 = createVehicle ["USVehicleBox",[22431.34,20080.307,-6.1035156e-005],[],0,"CAN_COLLIDE"];
    _crate2 = createVehicle ["USVehicleBox",[22451.742,19460.035,2.7656555e-005],[],0,"CAN_COLLIDE"];
    _crate3 = createVehicle ["USVehicleBox",[22333.867,20179.715,-3.5762787e-005],[],0,"CAN_COLLIDE"];

    _crate call wai_crate_setup;
    _crate1 call wai_crate_setup;
    _crate2 call wai_crate_setup;
    _crate3 call wai_crate_setup;

    [_crate,[[2,crate_weapons_buildables],[4,crate_tools_buildable],[30,crate_items_buildables],4]] call dynamic_crate;
    [_crate1,[[16,ai_wep_sniper],[8,crate_tools_sniper],[4,crate_items_high_value],[4,crate_backpacks_large]]] call dynamic_crate;
    [_crate2,[[2,crate_weapons_buildables],[4,crate_tools_buildable],[30,crate_items_buildables],4]] call dynamic_crate;
    [_crate3,[[16,ai_wep_sniper],[8,crate_tools_sniper],[4,crate_items_high_value],[4,crate_backpacks_large]]] call dynamic_crate;


    diag_log "WAI: Static mission loaded";
     

    [\spoiler]

  2. Hello thought I would share some of the cherno additions i have made, some of these when they were made, were designed to give the map a bit more of the standalone feel

    1.) Checkpoints. see screen shots for locations.

    checkpoint north of factory east coast, centre of electro town, main road between elector and cherno, main road between cherno and balota airfield.

    https://i61.photobucket.com/albums/h51/leoa1981/epoch additions/20190719104403_1_zpsmbnhw8dl.jpg

    https://i61.photobucket.com/albums/h51/leoa1981/epoch additions/20190719104354_1_zpsy4wffhvd.jpg

    https://i61.photobucket.com/albums/h51/leoa1981/epoch additions/20190719104617_1_zpst76fsi6m.jpg

    https://i61.photobucket.com/albums/h51/leoa1981/epoch additions/20190719104454_1_zpsmaojsdnt.jpg

    https://i61.photobucket.com/albums/h51/leoa1981/epoch additions/20190719104624_1_zpsjoiqnuwx.jpg

    https://i61.photobucket.com/albums/h51/leoa1981/epoch additions/20190719104617_1_zpst76fsi6m.jpg

    https://i61.photobucket.com/albums/h51/leoa1981/epoch additions/20190719104709_1_zpsmw4unygi.jpg

    2.) North Klamenka military base, on main road between Klamenka and Pavolo

    https://i61.photobucket.com/albums/h51/leoa1981/epoch additions/20190719104814_1_zpskfimheva.jpg

    https://i61.photobucket.com/albums/h51/leoa1981/epoch additions/20190719104807_1_zpshkmtliih.jpg

    3.) FOB west. 

    class Item21
            {
                position[]={1177.399,195.34067,7586.7783};
                name="FOB West";
                text="FOB West";
                type="mil_dot";
                colorName="ColorRed";
            };

    postion incase you want to add a marker for this.

    https://i61.photobucket.com/albums/h51/leoa1981/epoch additions/20190719110347_1_zpsbsc98afn.jpg

    https://i61.photobucket.com/albums/h51/leoa1981/epoch additions/20190719110402_1_zpsdkqtqhjl.jpg

    4.) Klen Castle, on Klen hilltop

    https://i61.photobucket.com/albums/h51/leoa1981/epoch additions/20190719110151_1_zpsbrxrvgdz.jpg

    5.) JunkYard.

    https://i61.photobucket.com/albums/h51/leoa1981/epoch additions/20190719105916_1_zpsedkmmk1a.jpg

    https://i61.photobucket.com/albums/h51/leoa1981/epoch additions/20190719105909_1_zps84egwkib.jpg

     

    Download: https://github.com/Don2k7/epoch-map-additions

     

    for a guide on how to add these check this forum post.

    https://epochmod.com/forum/topic/45135-tutorial-how-to-make-custom-map-content-1062/

     

  3. On 7/14/2019 at 9:22 AM, stephen21k said:

    Hi, I know I most likely done something wrong, but after adding this to my server, it has messed up the deploy script, it works when I first log in but after death or logging, I can’t deploy until next restart. Could someone look at my files and see where I messed up, it was working before I added this mod and I only changed what it says on the Installation part

    https://epochmod.com/forum/topic/43462-release-custom-gui-menu-updated-for-1061/

    https://github.com/serversteve21k/Tavi-Overpoch/tree/master/ServerSteve.Tavi

    Thanks in advance

     

    so you have fixed this now?

  4. 2 hours ago, WLF said:

    you forgot the semicolon in the file z\addons\dayz_server\WAI\static\default.sqf near line 399.

    hi thanks for getting back to me

    this is line 397 to 402, i just can't see where i am missing the semicolon

     

     _crate = createVehicle ["USVehicleBox",[22517.953,19877.98],[],0,"CAN_COLLIDE"];
    _crate1 = createVehicle ["USVehicleBox",[22431.34,20080.307,-6.1035156e-005],[],0,"CAN_COLLIDE"];
    _crate2 = createVehicle ["USVehicleBox",[22451.742,19460.035,2.7656555e-005],[],0,"CAN_COLLIDE"];
     _crate3 = createVehicle ["USVehicleBox",[22333.867,20179.715,-3.5762787e-005],[],0,"CAN_COLLIDE"];

    _crate call wai_crate_setup;

    [\spoiler]

  5. hello i have installed this it works great the only problem i have is that i created a static mission using the example file and looked at the previous comments on this forum but am getting an error i cant seem to fix was wondering if anyone can help

    error

    12:14:25 "WAI: AI Config File Loaded"
    12:14:25 "WAI: Overpoch Config File Loaded"
    12:14:25 Error in expression <5],[],0,"CAN_COLLIDE"];
    _crate3 = createVehicle ["USVehicleBox",[22333.867,20>
    12:14:25   Error position: <Vehicle ["USVehicleBox",[22333.867,20>
    12:14:25   Error Missing ;
    12:14:25 File z\addons\dayz_server\WAI\static\default.sqf, line 399
    12:14:25 Error in expression <5],[],0,"CAN_COLLIDE"];
    _crate3 = createVehicle ["USVehicleBox",[22333.867,20>
    12:14:25   Error position: <Vehicle ["USVehicleBox",[22333.867,20>
    12:14:25   Error Missing ;
    12:14:25 File z\addons\dayz_server\WAI\static\default.sqf, line 399
    12:14:25 Error in expression <5],[],0,"CAN_COLLIDE"];
    _crate3 = createVehicle ["USVehicleBox",[22333.867,20>
    12:14:25   Error position: <Vehicle ["USVehicleBox",[22333.867,20>
    12:14:25   Error Missing ;

    [\spoiler]

    static spawn file

    //Custom Spawns file//

    // These custom spawns are for use in static mission locations. You can set markers in mission.sqm if you want them.

    /*
    Custom group spawns Eg.

    [
        [953.237,4486.48,0.001],        // Position
        4,                                // Number Of units
        "Random",                        // Skill level of unit (easy, medium, hard, extreme, Random)
        "Random", or ["Random","at"],    // Primary gun set number or gun and rocket launcher. Syntax is "Random", for gun only or ["Random","AT"], for gun and launcher
        4,                                // Number of magazines
        "Random",                        // Backpack classname, use "Random" or classname here
        "Random",                        // Skin classname, use "Random" or classname here
        "Random",                        // Gearset number. "Random" for random gear set
        "Bandit"                        // AI Type, "Hero" or "Bandit".
    ] call spawn_group;

    Place your custom group spawns below
    */
    [
        [22986.715,19267.631,0],        // Position
        4,                                // Number Of units
        "hard",                        // Skill level of unit (easy, medium, hard, extreme, Random)
        "Random",                    // Primary gun set number or gun and rocket launcher. Syntax is "Random", for gun only or ["Random","AT"], for gun and launcher
        4,                                // Number of magazines
        "Random",                        // Backpack classname, use "Random" or classname here
        "Random",                        // Skin classname, use "Random" or classname here
        "Random",                        // Gearset number. "Random" for random gear set
        "Bandit"                        // AI Type, "Hero" or "Bandit".
    ] call spawn_group;
    [
        [22573.023,19379.523,0],        // Position
        4,                                // Number Of units
        "hard",                        // Skill level of unit (easy, medium, hard, extreme, Random)
        "Random",                    // Primary gun set number or gun and rocket launcher. Syntax is "Random", for gun only or ["Random","AT"], for gun and launcher
        4,                                // Number of magazines
        "Random",                        // Backpack classname, use "Random" or classname here
        "Random",                        // Skin classname, use "Random" or classname here
        "Random",                        // Gearset number. "Random" for random gear set
        "Bandit"                        // AI Type, "Hero" or "Bandit".
    ] call spawn_group;
    [
        [22462.225,19485.725,0],        // Position
        4,                                // Number Of units
        "hard",                        // Skill level of unit (easy, medium, hard, extreme, Random)
        "Random",                    // Primary gun set number or gun and rocket launcher. Syntax is "Random", for gun only or ["Random","AT"], for gun and launcher
        4,                                // Number of magazines
        "Random",                        // Backpack classname, use "Random" or classname here
        "Random",                        // Skin classname, use "Random" or classname here
        "Random",                        // Gearset number. "Random" for random gear set
        "Bandit"                        // AI Type, "Hero" or "Bandit".
    ] call spawn_group;
    [
        [22897.416,19895.643,0],        // Position
        4,                                // Number Of units
        "hard",                        // Skill level of unit (easy, medium, hard, extreme, Random)
        "Random",                    // Primary gun set number or gun and rocket launcher. Syntax is "Random", for gun only or ["Random","AT"], for gun and launcher
        4,                                // Number of magazines
        "Random",                        // Backpack classname, use "Random" or classname here
        "Random",                        // Skin classname, use "Random" or classname here
        "Random",                        // Gearset number. "Random" for random gear set
        "Bandit"                        // AI Type, "Hero" or "Bandit".
    ] call spawn_group; 
    [
        [22505.922,20056.195,0],        // Position
        4,                                // Number Of units
        "hard",                        // Skill level of unit (easy, medium, hard, extreme, Random)
        "Random",                    // Primary gun set number or gun and rocket launcher. Syntax is "Random", for gun only or ["Random","AT"], for gun and launcher
        4,                                // Number of magazines
        "Random",                        // Backpack classname, use "Random" or classname here
        "Random",                        // Skin classname, use "Random" or classname here
        "Random",                        // Gearset number. "Random" for random gear set
        "Bandit"                        // AI Type, "Hero" or "Bandit".
    ] call spawn_group; 
    [
        [22643.256,20174.373,0],        // Position
        4,                                // Number Of units
        "hard",                        // Skill level of unit (easy, medium, hard, extreme, Random)
        "Random",                    // Primary gun set number or gun and rocket launcher. Syntax is "Random", for gun only or ["Random","AT"], for gun and launcher
        4,                                // Number of magazines
        "Random",                        // Backpack classname, use "Random" or classname here
        "Random",                        // Skin classname, use "Random" or classname here
        "Random",                        // Gearset number. "Random" for random gear set
        "Bandit"                        // AI Type, "Hero" or "Bandit".
    ] call spawn_group; 
    [
        [22203.928,19855.676,0],        // Position
        4,                                // Number Of units
        "hard",                        // Skill level of unit (easy, medium, hard, extreme, Random)
        "Random",                    // Primary gun set number or gun and rocket launcher. Syntax is "Random", for gun only or ["Random","AT"], for gun and launcher
        4,                                // Number of magazines
        "Random",                        // Backpack classname, use "Random" or classname here
        "Random",                        // Skin classname, use "Random" or classname here
        "Random",                        // Gearset number. "Random" for random gear set
        "Bandit"                        // AI Type, "Hero" or "Bandit".
    ] call spawn_group;  
    [
        [22203.928,19855.676,0],        // Position
        4,                                // Number Of units
        "hard",                        // Skill level of unit (easy, medium, hard, extreme, Random)
        "Random",                    // Primary gun set number or gun and rocket launcher. Syntax is "Random", for gun only or ["Random","AT"], for gun and launcher
        4,                                // Number of magazines
        "Random",                        // Backpack classname, use "Random" or classname here
        "Random",                        // Skin classname, use "Random" or classname here
        "Random",                        // Gearset number. "Random" for random gear set
        "Bandit"                        // AI Type, "Hero" or "Bandit".
    ] call spawn_group; 
    [
        [22192.041,19569.52,0],        // Position
        4,                                // Number Of units
        "hard",                        // Skill level of unit (easy, medium, hard, extreme, Random)
        "Random",                    // Primary gun set number or gun and rocket launcher. Syntax is "Random", for gun only or ["Random","AT"], for gun and launcher
        4,                                // Number of magazines
        "Random",                        // Backpack classname, use "Random" or classname here
        "Random",                        // Skin classname, use "Random" or classname here
        "Random",                        // Gearset number. "Random" for random gear set
        "Bandit"                        // AI Type, "Hero" or "Bandit".
    ] call spawn_group;   
    [
        [22212.896,19364.443,0],        // Position
        4,                                // Number Of units
        "hard",                        // Skill level of unit (easy, medium, hard, extreme, Random)
        "Random",                    // Primary gun set number or gun and rocket launcher. Syntax is "Random", for gun only or ["Random","AT"], for gun and launcher
        4,                                // Number of magazines
        "Random",                        // Backpack classname, use "Random" or classname here
        "Random",                        // Skin classname, use "Random" or classname here
        "Random",                        // Gearset number. "Random" for random gear set
        "Bandit"                        // AI Type, "Hero" or "Bandit".
    ] call spawn_group;   
    [
        [22548.52,19703.369,0],        // Position
        4,                                // Number Of units
        "hard",                        // Skill level of unit (easy, medium, hard, extreme, Random)
        "Random",                    // Primary gun set number or gun and rocket launcher. Syntax is "Random", for gun only or ["Random","AT"], for gun and launcher
        4,                                // Number of magazines
        "Random",                        // Backpack classname, use "Random" or classname here
        "Random",                        // Skin classname, use "Random" or classname here
        "Random",                        // Gearset number. "Random" for random gear set
        "Bandit"                        // AI Type, "Hero" or "Bandit".
    ] call spawn_group;   
    [
        [22269.102,19513.352,0],        // Position
        4,                                // Number Of units
        "hard",                        // Skill level of unit (easy, medium, hard, extreme, Random)
        "Random",                    // Primary gun set number or gun and rocket launcher. Syntax is "Random", for gun only or ["Random","AT"], for gun and launcher
        4,                                // Number of magazines
        "Random",                        // Backpack classname, use "Random" or classname here
        "Random",                        // Skin classname, use "Random" or classname here
        "Random",                        // Gearset number. "Random" for random gear set
        "Bandit"                        // AI Type, "Hero" or "Bandit".
    ] call spawn_group;   
    [
        [22410.285,19728.063,0],        // Position
        4,                                // Number Of units
        "hard",                        // Skill level of unit (easy, medium, hard, extreme, Random)
        "Random",                    // Primary gun set number or gun and rocket launcher. Syntax is "Random", for gun only or ["Random","AT"], for gun and launcher
        4,                                // Number of magazines
        "Random",                        // Backpack classname, use "Random" or classname here
        "Random",                        // Skin classname, use "Random" or classname here
        "Random",                        // Gearset number. "Random" for random gear set
        "Bandit"                        // AI Type, "Hero" or "Bandit".
    ] call spawn_group;     
    [
        [22246.936,19810.277,0],        // Position
        4,                                // Number Of units
        "hard",                        // Skill level of unit (easy, medium, hard, extreme, Random)
        "Random",                    // Primary gun set number or gun and rocket launcher. Syntax is "Random", for gun only or ["Random","AT"], for gun and launcher
        4,                                // Number of magazines
        "Random",                        // Backpack classname, use "Random" or classname here
        "Random",                        // Skin classname, use "Random" or classname here
        "Random",                        // Gearset number. "Random" for random gear set
        "Bandit"                        // AI Type, "Hero" or "Bandit".
    ] call spawn_group;    
    [
        [22167.385,19769.764,0],        // Position
        4,                                // Number Of units
        "hard",                        // Skill level of unit (easy, medium, hard, extreme, Random)
        "Random",                    // Primary gun set number or gun and rocket launcher. Syntax is "Random", for gun only or ["Random","AT"], for gun and launcher
        4,                                // Number of magazines
        "Random",                        // Backpack classname, use "Random" or classname here
        "Random",                        // Skin classname, use "Random" or classname here
        "Random",                        // Gearset number. "Random" for random gear set
        "Bandit"                        // AI Type, "Hero" or "Bandit".
    ] call spawn_group;   
    [
        [22323.691,19222.611,0],        // Position
        4,                                // Number Of units
        "hard",                        // Skill level of unit (easy, medium, hard, extreme, Random)
        "Random",                    // Primary gun set number or gun and rocket launcher. Syntax is "Random", for gun only or ["Random","AT"], for gun and launcher
        4,                                // Number of magazines
        "Random",                        // Backpack classname, use "Random" or classname here
        "Random",                        // Skin classname, use "Random" or classname here
        "Random",                        // Gearset number. "Random" for random gear set
        "Bandit"                        // AI Type, "Hero" or "Bandit".
    ] call spawn_group;    
    [
        [22762.738,19857.42,0],        // Position
        4,                                // Number Of units
        "hard",                        // Skill level of unit (easy, medium, hard, extreme, Random)
        ["Random","AT"],                    // Primary gun set number or gun and rocket launcher. Syntax is "Random", for gun only or ["Random","AT"], for gun and launcher
        4,                                // Number of magazines
        "Random",                        // Backpack classname, use "Random" or classname here
        "Random",                        // Skin classname, use "Random" or classname here
        "Random",                        // Gearset number. "Random" for random gear set
        "Bandit"                        // AI Type, "Hero" or "Bandit".
    ] call spawn_group;      
    [
        [22926.75,19669.982,0],        // Position
        4,                                // Number Of units
        "hard",                        // Skill level of unit (easy, medium, hard, extreme, Random)
        ["Random","AT"],                    // Primary gun set number or gun and rocket launcher. Syntax is "Random", for gun only or ["Random","AT"], for gun and launcher
        4,                                // Number of magazines
        "Random",                        // Backpack classname, use "Random" or classname here
        "Random",                        // Skin classname, use "Random" or classname here
        "Random",                        // Gearset number. "Random" for random gear set
        "Bandit"                        // AI Type, "Hero" or "Bandit".
    ] call spawn_group;    
    [
        [22307.414,19974.844,0],        // Position
        4,                                // Number Of units
        "hard",                        // Skill level of unit (easy, medium, hard, extreme, Random)
        ["Random","AT"],                    // Primary gun set number or gun and rocket launcher. Syntax is "Random", for gun only or ["Random","AT"], for gun and launcher
        4,                                // Number of magazines
        "Random",                        // Backpack classname, use "Random" or classname here
        "Random",                        // Skin classname, use "Random" or classname here
        "Random",                        // Gearset number. "Random" for random gear set
        "Bandit"                        // AI Type, "Hero" or "Bandit".
    ] call spawn_group;    

    /*
    Custom static weapon spawns Eg. (with mutiple positions)

    [
        [                                // Position(s) (can be multiple)
            [911.21,4532.76,2.62],
            [921.21,4542.76,2.62]
        ],
        "M2StaticMG",                    // Classname of turret
        "easy",                            // Skill level of unit (easy, medium, hard, extreme, Random)
        "Bandit2_DZ",                    // Skin classname, use "Random" or classname here
        "Bandit",                        // AI Type, "Hero" or "Bandit".
        "Random",                        // Primary gun set number. "Random" for random weapon set
        2,                                // Number of magazines
        "Random",                        // Backpack classname, use "Random" or classname here
        "Random"                        // Gearset classname, use "Random" or classname here
    ] call spawn_static;

    Place your custom static weapon spawns below
    */
      [    
            [                                      // Position(s) (can be multiple)
                [22215.723, 19780.213, 13.0001],
                [22338.311, 19738.691, 23.540525],
                [22884.711, 19856.395, 11.0001],
                [22446.395, 20098.475, 6.8244929],
                [22536.129, 19998.018, 6.6184354],
                [23064.297, 19371.266, 10.033691]
                
            ],
            "DSHKM_Ins",                        // Classname of turret
            "medium",                            // Skill level of unit (easy, medium, hard, extreme, Random)
            "Random",                            // Skin classname, use "Random" or classname here
            "Bandit",                            // AI Type, "Hero" or "Bandit".
            "Random",                            // Primary gun set number. "Random" for random weapon set
            9,                                    // Number of magazines
            "Random",                            // Backpack classname, use "Random" or classname here
            "random"                            // Gearset classname, use "Random" or classname here
        ] call spawn_static;

    /*
    Custom Chopper Patrol spawn Eg.

    [
        [725.391,4526.06,0],            // Position to patrol
        2000,                            // Radius of patrol
        10,                                // Number of waypoints to give
        "UH1H_DZ",                        // Classname of vehicle (make sure it has driver and two gunners)
        "Random",                        // Skill level of units (easy, medium, hard, extreme, Random)
        "Random",                        // Skin classname, use "Random" or classname here
        "Bandit"                        // AI Type, "Hero" or "Bandit".
    ] call heli_patrol;

    Place your heli patrols below
    */
    [
        [22575.373, 19622.406, 0],
        900,
        10,
        "UH1H_DZ",
        "Random",
        "Random",
        "Bandit"
    ] spawn heli_patrol;
    /* 
    Custom Vehicle patrol spawns Eg. (Watch out they are stupid)

    [
        [725.391,4526.06,0],            // Position to patrol
        [725.391,4526.06,0],            // Position to spawn at
        200,                            // Radius of patrol
        10,                                // Number of waypoints to give
        "HMMWV_Armored",                // Classname of vehicle (make sure it has driver and gunner)
        "Random",                        // Skill level of units (easy, medium, hard, extreme, Random)
        "Random",                        // Skin classname, use "Random" or classname here
        "Bandit"                        // AI Type, "Hero" or "Bandit".
    ] call vehicle_patrol;

    Place your vehicle patrols below this line
    */
    [[22737.723,19308.193,0],[22737.723,19308.193,0],200,10,"HMMWV_Avenger","Random","Random","Bandit"] spawn vehicle_patrol;     
    [[22538.777,19899.162],[22538.777,19899.162],500,10,"HMMWV_Avenger","Random","Random","Bandit"] spawn vehicle_patrol;        
    [[22869.115,19744.039],[22869.115,19744.039],500,10,"HMMWV_Armored","Random","Random","Bandit"] spawn vehicle_patrol;        
    [[22353.209,19903.762,0],[22353.209,19903.762,0],500,10,"HMMWV_Armored","Random","Random","Bandit"] spawn vehicle_patrol;        
    [[22617.42,20172.283,0],[22617.42,20172.283,0],500,10,"HMMWV_Armored","Random","Random","Bandit"] spawn vehicle_patrol;
    /* 
    Custom Boat patrol spawns

    [
        [725.391,4526.06,0],            // Position to patrol
        [725.391,4526.06,0],            // Position to spawn at
        150,                            // Radius of patrol. Your spawn point should be at least this distance from shore.
        10,                                // Number of waypoints to give
        "RHIB",                            // Classname of armed boat (make sure it has driver and gunner)
        "Random",                        // Skill level of units (easy, medium, hard, extreme, Random)
        "Random",                        // Skin classname, use "Random" or classname here
        "Bandit"                        // AI Type, "Hero" or "Bandit".
    ] call vehicle_patrol;

    Place your boat patrols below this line
    */

    /*
    Paradropped unit custom spawn Eg.

    [
        [911.21545,4532.7612,2.6292224],    // Position that units will be dropped by
        400,                                // Radius from drop position a player has to be to spawn chopper
        "UH1H_DZ",                            // Classname of chopper (Make sure it has 2 gunner seats!)
        "North",                            // Direction of approach for the helicopter. Options: "North","South","East","West"
        [3000,4000],                        // Random distance from the mission the helicopter should start. [min distance, max distance].
        150,                                // Fly in height of the helicopter. Be careful that the height is not too low or the AI might die when they hit the ground
        1.0,                                // Time in seconds between each deployed paratrooper. Higher number means paradropped AI will be more spread apart. Time of 0 means they all jump out rapidly.
        200,                                // Distance from the mission the helicopter should start dropping paratroopers
        5,                                    // Number of units to be para dropped
        "Random",                            // Skill level of units (easy, medium, hard, extreme, Random)
        "Random",    or ["Random","at"],        // Primary gun set number and rocket launcher. "Random" for random weapon set, "at" for anti-tank, "aa" for anti-air launcher
        4,                                    // Number of magazines
        "Random",                            // Backpack classname, use "Random" or classname here
        "Bandit2_DZ",                        // Skin classname, use "Random" or classname here
        "Random",                            // Gearset number. "Random" for random gear set.
        "Bandit",                            // AI Type, "Hero" or "Bandit".
        true                                // true: Aircraft will stay at position and fight. false: Heli will leave if not under fire. 
    ] spawn heli_para;

    Place your paradrop spawns under this line
    */
    [[22353.209,19903.762,0],400,"UH1H_DZ","North",[3000,4000],200,1.0,200,5,"Random","Random",4,"Random","Bandit","Random","Bandit",true] spawn heli_para;
    [[22617.42,20172.283,0],400,"UH1H_DZ","North",[3000,4000],200,1.0,200,5,"Random","Random",4,"Random","Bandit","Random","Bandit",true] spawn heli_para;
    [[22617.42,20172.283,0],400,"UH1H_DZ","North",[3000,4000],250,1.0,200,10,"Random","Random",4,"Random","Bandit","Random","Bandit",true] spawn heli_para;


    /* Custom Crate Spawns

    _position = [911.21545,4532.7612,0]; // Position of the crate

    _loot = 
    [
        0, // Max number of long guns OR [MAX number of long guns,gun_array]
        0, // Max number of tools OR [MAX number of tools,tool_array]
        0, // Max number of items OR [MAX number of items,item_array]
        0, // Max number of pistols OR [MAX number of pistol,pistol_array]
        0 // Max number of backpacks OR [MAX number of backpacks,backpack_array]
    ];

    // Spawn one crate - Best option for static positions because offsets are not needed.
    [[
        [_loot,crates_large,[0,0]] // [loot variable, crate array, 2d offsets]
    ],_position] call wai_spawnCrate;


    // Multiple crate spawning option
    [[
        [_loot,"USVehicleBox",[0,0]], // [loot variable, crate classname, 2d offsets]
        [[0,0,[3,crate_items_crop_raider],0,0],crates_large,[0,0,0]], // [loot variable, crate array, 3d offsets]
        [[0,0,0,0,0],crates_large,[0,0],60] // [loot array, crate array, 2d offsets, optional direction]
    ],_position] call wai_spawnCrate;

    Place your crate spawns under this line
    */

    _crate = createVehicle ["USVehicleBox",[22517.953,19877.98],[],0,"CAN_COLLIDE"];
    _crate1 = createVehicle ["USVehicleBox",[22431.34,20080.307,-6.1035156e-005],[],0,"CAN_COLLIDE"];
    _crate2 = createVehicle ["USVehicleBox",[22451.742,19460.035,2.7656555e-005],[],0,"CAN_COLLIDE"];
    _crate3 = createVehicle ["USVehicleBox",[22333.867,20179.715,-3.5762787e-005],[],0,"CAN_COLLIDE"];

    _crate call wai_crate_setup;
    _crate1 call wai_crate_setup;
    _crate2 call wai_crate_setup;
    _crate3 call wai_crate_setup;

    [_crate,[[2,crate_weapons_buildables],[4,crate_tools_buildable],[30,crate_items_buildables],4]] call dynamic_crate;
    [_crate1,[[16,ai_wep_sniper],[8,crate_tools_sniper],[4,crate_items_high_value],[4,crate_backpacks_large]]] call dynamic_crate;
    [_crate2,[[2,crate_weapons_buildables],[4,crate_tools_buildable],[30,crate_items_buildables],4]] call dynamic_crate;
    [_crate3,[[16,ai_wep_sniper],[8,crate_tools_sniper],[4,crate_items_high_value],[4,crate_backpacks_large]]] call dynamic_crate;


    diag_log "WAI: Static mission loaded";
    [\spoiler]

    i no its to do with the crate spawns, 

  6. On 6/6/2018 at 1:25 PM, Voltan said:

    This worked like a charm.

    Thanks @seelenapparat

    Thanks @seelenapparat  and @Voltan .

    can confirm this works like a charm using epoch 1.0.6.2 and origins 1.8.3.

    Incase anyone is looking for this solution this is what i did.

    make a copy of the player_spawnCheck.sqf which is located;

    \z\addons\dayz_code\compile\player_spawnCheck.sqf 

    and move copy to your mission file, I put mine here.

    missionfilename\dayz_code\compile\player_spawnCheck.sqf

    as mentioned above by @seelenapparat

    edit player_spawnCheck.sqf

    where it says:

    if (getNumber(_config >> "zombieChance") > 0) then {

    above add:

    if (player distance [youcoordsarray) < 1000)  exitwith {};

    then in your custom compiles assuming you have one add this;

    player_spawnCheck = compile preprocessFileLineNumbers "dayz_code\compile\player_spawnCheck.sqf";

    below this;

    if (!isDedicated) then {
        diag_log "Loading custom client compiles";

  7. On 7/25/2018 at 8:49 PM, BigEgg said:

    The script is likely failing because you cannot take a distance from a classname.

    I have written up a quick script for this below, please try it out and let me know how it works :)

    
    private ["_noAI", "_noZeds"];
    
    _noAI = true; // Remove AI within plot radius (true = enabled, false = disabled).
    _noZeds = true; // Remove zombies within plot radius (true = enabled, false = disabled).
    
    while {69 == 69} do {
    	private "_plots";
    
    	_plots = player nearEntities ["Plastic_Pole_EP1_DZ", DZE_PlotPole select 0];
    
    	if (count _plots > 0) then {
    		private "_plot";
    
    		_plot = _plots select 0;
    
    		if (_noZeds) then {
    			{deleteVehicle _x} count (_plot nearEntities ["zZombie_Base", DZE_PlotPole select 0]);
    		};
    
    		if (_noAI) then {
    			{
    				if (!isPlayer _x && {_x distance _plot <= (DZE_PlotPole select 0)}) then {_x setDamage 1};
    			} count allUnits;
    		};
    	};
    	uiSleep 5;
    };

    Just name it whatever you would like, then call it from the !isDedicated section of the init.sqf, down at the bottom:

    
    if (!isDedicated) then {
        // CODE FROM INIT HERE
        execVM "FILENAMEHERE.sqf";
    };

     

    hello was just wondering with this script does it use the plotpole size as dictated in the init.sqf?

    if so is there a way to change it so the distance around the object can be increased?

    basically i want to use this to make a zed free sector B

  8. On 6/13/2019 at 6:18 PM, Mig said:

    yes

    ok a couple of questions

    1. is there anything i can help with?

    2. would anyone be willing to share how they got building origin houses and elctronests to work using epoch 1.0.6.2 and origins 1.83?

    3. has anyone got building the reinforced walls, upgrading armour on cars and wearing the origins body armour working?

    edit*

    using epoch 1.0.6.2 and origins 1.8.3 I've managed to get the origin houses and stronghold to build and stay after server restart. the problem i have is that when once built the crate and materials for making them disappear but nothing will unlock or lock (so cant check gear storage at this point). on the houses and garages i don't even get the option to unlock/lock but i get the unlock option for the stronghold but once you enter the code nothing happens. after restart the houses and stronghold are still there but the crate and building supplies used to make them are also there as well.

     

     

  9. On 6/14/2019 at 10:01 AM, salival said:

    I would assume it's just using this config file for arma2: https://github.com/EpochModTeam/DayZ-Epoch/blob/master/Server Files/DZE_Server_Config/13_tavi.cfg

    Note this line: https://github.com/EpochModTeam/DayZ-Epoch/blob/master/Server Files/DZE_Server_Config/13_tavi.cfg#L36 in particular

    And use this mission file pbo structure: https://github.com/EpochModTeam/DayZ-Epoch/tree/master/Server Files/MPMissions/DayZ_Epoch_13.Tavi

    You will have to diff merge the init.sqf and description.ext from the modpack to the mission pbo structure above ^^

    My modpack should work with tavi no problem, most mods (and lots of epoch back end stuff) will auto detect the map (even ZSC coins bank traders will)

    hello

    thank you for the links they were very helpful.

     

    edit*

    ignore that all works ok was using wrong stringtable

  10. hello

    ive done a search of this site and other for this mod

    does anyone know if this was released or how to code something similar, i don't want the master key mod that is available this basically lets you store your vehicle keys on a keychain so multiple keys only take up one toolbelt slot when added to the keychain

    any help would be great thanks

     

    does anyone know if this was released or how to code something similar, i don't want the master key mod that is available this basically lets you store your vehicle keys on a keychain so multiple keys only take up one toolbelt slot when added to the keychain

    any help would be great thanks

  11. On 09/06/2016 at 7:55 AM, Voltan said:

    For number 3, What version of Origins are you using on your server?

    If you are using a custom script to allow you to upgrade vehicles with scrap metal, between a couple of Origins versions, the classname for vehicle upgrades changed causing the vehicle upgrade script to stop working. With OverPoch origins, you cannot upgrade vehicles Origins style without a custom script, it doesn't just work automatically like Origins as Epoch is the main mod.

    Like this one by Schwede:

    http://opendayz.net/threads/release-origins-vehicle-upgrades.21815/

    hi im using origins 1.8.2 version i tried to do it the way in the link but  server_publishObject.sqf doesn't have the stuff he mentioned in his tutorial ive tried to use a custom script but just cant get it to work, would you be able to help?

  12. 23 hours ago, Joshyy said:

    do you have these in your compiles?

    SC_fnc_removeCoins & SC_fnc_addCoins

    And in the Advanced trading config.sqf

    there is a Z_Money_Varialbe = "cashMoney" 

    I'm pretty sure that one of the singlecurrency addons uses a different name so make sure the cash variable is the same

    hi yea i have the SC_fnc_removeCoins & SC_fnc_addCoins in the advanced trader\functions folder and yea in the advanced trading config I have the variable im using advanced trading 2.1 and zsc 3.0

     

  13. hello everyone

    i'm posting to ask if anyone can help fix some issues i'm currently unable to fix on my private overpoch origins server, i have looked over the forums and so far have been unable to fix these errors/things not working as they should

    the issues are

    1. advanced trading all works apart from buying using advanced trading it always say I don't have enough money even when I do, but the normal trading using zupa single currency 3.0 works and trades fine

    2.  vehicle painting works and it shows it storing the change in the database but on server restart the colour has reset to original state

    3. I cant get the origin vehicle upgrades to work i think I've messed something up in the coding server side

    4. does anyone know how to get level 4 houses/ watch towers or electro nests to work?

    any help would be great just pm me please 

  14. No Im not having any errors except one related to the minefields but thats in every mission. Im honestly having a really difficult time with WICKED ai in general. Lots of times missions dont' despawn or spawn. Idk what Im doing wrong Ive gone over every mission that I add new and compare it to default missions and all of the variables and code look fine, but then I have issues. Strange. I think Im going back to DZMS and maybe just working on customizing it a bit more.

    thats strange im not getting any errors relating to minefields. i only have the odd occasion when the mission appears and the ai spawn in but the mission marker doesnt show.

    what missions are you running?

    would you like a complete copy of my missions?

  15.  

    yea for some reason, when you kill the drug lord, the smoke pops on the crate and the mission is ended but the marker doesn't disappear on the map and the crate doesn't fill and so it never is completable even if all of the ai are dead.

    wai_kill_percent			= 30;	
    

     

    im using a custom crate did you add that to the config? 

×
×
  • Create New...