Jump to content

HellWalker

Member
  • Posts

    230
  • Joined

  • Last visited

Posts posted by HellWalker

  1. Hey guys,

    I'm with some problems here... I'm trying to install a Overpoch Origins server, but i just can't make it run... 

    Can anyone, please, give me a full step to step on how to install?

    Ps.: It's a private server in a local machine in my company.

     

    I did tried something, the server is initializating but i can't find it ingame to test, etc..

    This is what i have:

     

    Root folder: 

    @DayZ_Epoch

    @DayZOrigins

    @DayZOverwatch

    @DayZ_Epoch_Server

    @DayZOverwatch_Server

    @DayZ_Overpoch_server

    instance_13_tavi

     

    key folder:

    bi.bikey

    dayz.bikey

    dayz_epoch1051.bikey

    Origins179.bikey

    overwatch.bikey

     

    .bat file

    @echo off
    start "arma2" /min "arma2oaserver.exe" -port=2312 "-config=instance_13_Tavi\config.cfg" "-cfg=instance_13_Tavi\basic.cfg" "-profiles=instance_13_Tavi" -name=instance_13_Tavi "-mod=@DayZOrigins;@DayZOverwatch;@DayZ_Epoch;@DayZ_Epoch_Server;"

     

    config.cfg file

    steamport = 2311;
    steamqueryport = 2312;
    hostName = "DayZ Overpoch Taviana Server (1.0.5.1/125548)";
    [...]
    class Missions
    {
        class Mission1
        {
        template = "DayZ_Epoch_13.Tavi";
        difficulty="veteran";
        };
    };

     

    mission.sqm addons 

    addOns[]=
    {
    "tavi",
    "kh_dayztaviana",
    "ca_modules_animals",
    "dayz_anim",
    "dayz_code",
    "dayz_communityassets",
    "dayz_weapons",
    "dayz_equip",
    "dayz_epoch",
    "dayz_vehicles",
    "cacharacters_pmc",
    "ca_modules_functions",
    "warfarebuildings",
    "ind_tank",
    "camisc_e",
    "glt_m300t",
    "pook_h13",
    "csj_gyroac",
    "map_eu",
    "jetskiyanahuiaddon",
    "gms_k98",
    "RH_m14",
    "FHQ_Remington",
    "FHQ_Remington_ammo",
    "FHQ_Remington_msr",
    "FHQ_Remington_xm2010",
    "FHQ_Remington_acr",
    "FHQ_Remington_rsass",
    "VILAS_WWP",
    "VILAS_RW_Forces",
    "VILAS_WWP_CO",
    "VILAS_RW_Forces_CO",
    "ddopp_taserpack",
    "smk_anims_lite",
    "MicroAirVehicles",
    "oz_is_objects",
    "monaro",
    "gsc_units_stalker_patch",
    "american_law_enforcement",
    "CYBP_Camels_Config",
    "nissan_350z",
    "ussr_cheytac",
    "bb_mercenary",
    "goosuksf",
    "frb"
    };

     

    I did not tried to modify anything yet, just a default server. It's starting normally in my server, no errors, but i can't find it in the multiplayer filter, or remote.

     

    Can anyone please help me? =D

  2. Hey guys, i'm trying to make a mission, but i'm with a problem... I'd like to have the mission to run only once per server restart, i don't want them to be running from time to time. Also i want it in a static place (i don't think this is going to be a problem).

     

    But i'm really having trouble trying to run it only 1 time per server restart.

     

    this is the mission i'm using (custom mission based on a file a guy sent here on the forum - sorry, i can't find your post, i got it a couple of days ago) :

    alien_field.sqf

    if(isServer) then {
     
    private ["_mission","_directions","_position","_crate","_crate_type","_num"];
     
    _position = [2478.42,17208.8]; //Alien Field
     
    // Initialise the mission variable with the following options, [position, difficulty, mission name, mission type (MainHero/Mainbandit), minefield (true or false)] call mission_init;
    _mission = [_position,"hard","Alien Field","MainBandit",true] call mission_init;
     
    diag_log format["WAI: Mission Alien Field started at %1",_position]; //can be edited if dynamic option is chosen
     
    //Setup the crate
    //_crate_type = crates_small call BIS_fnc_selectRandom; //dynamic crate option
    //_crate = createVehicle [_crate_type,[(_position select 0),(_position select 1) + 5,0], [], 0, "CAN_COLLIDE"]; //dynamic crate option
    _crate = createVehicle ["land_radio_box",[2491.27,17222.5,0.001],[],0,"CAN_COLLIDE"];
    _crate1 = createVehicle ["land_radio_box",[2463.01,17213.5,0.001],[],0,"CAN_COLLIDE"];
    _crate2 = createVehicle ["land_radio_box",[2498.98,17198.2,0.0011],[],0,"CAN_COLLIDE"];
    [_crate,[2,crate_tools_buildable],[5,crate_items_buildables],4] call dynamic_crate; //can be edited to define crate contents
    [_crate1,[2,crate_items_lvl2]] call dynamic_crate; //can be edited to define crate contents
    [_crate2,[2,crate_items_garage]] call dynamic_crate; //can be edited to define crate contents
     
    //AI Units Spawns
    _num = round (random 3) + 2;
    [[_position select 0, _position select 1, 0],_num,"hard","random",9,"random","bandit","3","bandit",_mission] call spawn_group;
    [[_position select 0, _position select 1, 0],_num,"hard","random",9,"random","bandit","3","bandit",_mission] call spawn_group;
    [[_position select 0, _position select 1, 0],_num,"hard","random",9,"random","bandit","3","bandit",_mission] call spawn_group;
    [[_position select 0, _position select 1, 0],_num,"hard","random",9,"random","bandit","3","bandit",_mission] call spawn_group;
    [[_position select 0, _position select 1, 0],_num,"hard","random",9,"random","bandit","3","bandit",_mission] call spawn_group;
    
     
    //Static Turrets
    //[[[(_position select 0) - 10, (_position select 1) + 10, 0]],"M2StaticMG","easy","bandit","bandit",0,2,"random","random",_mission] call spawn_static;
    //[[[(_position select 0) + 10, (_position select 1) - 10, 0]],"M2StaticMG","easy","bandit","bandit",0,2,"random","random",_mission] call spawn_static;
     
     
    // Heli Paradrop
    //[[(_position select 0), (_position select 1), 0],[0,0,0],400,"UH1H_DZ",10,"random","random",4,"random","bandit","random","bandit",true,_mission] spawn heli_para;
     
     
    // Mission objective options and messages
    [
    [_mission,_crate], // mission variable (from line 9) and crate
    ["crate"], // Mission objective type (["crate"], or ["kill",wai_kill_percent], or ["assassinate", _assassinate])
    "Bandits have taken over Devil's Castle!  The risk is great, but the rewards are plenty!", // mission announcement (can be edited if a dynamic position is chosen)
    "O acampamento Alienígena foi tomado por sobreviventes! Você tem apenas 5 minutos para recolher os suprimentos!", // mission success  (can be edited if a dynamic position is chosen)
    "O acampamento Alienígena ainda continua tomado por forças misteriosas." // mission fail
    ] call mission_winorfail;
     
    // End of mission
    diag_log format["WAI: Mission bandit base ended at %1 ended",_position];
     
    h_missionrunning = false;
    }; 

     

    Does anyone know where do i have to change to make it happen? This file is inside "WAI-->missions-->special-->alien_field.sqf

  3. call compile preprocessFileLineNumbers "custom\variables.sqf";   = No Loot in any buildings and very few zombies - Drive Ural around and smile

    call compile preprocessFileLineNumbers \z\addons\dayz_code\init\variables.sqf -- was original text = Loot in all buildings and zombies - Drive Ural 0.0009mm and get killed :/

    Well.. i don't know what you are doing.. but i didn't changed anything in the variables, except for this: DZE_safeVehicle = ["ParachuteWest","ParachuteC","UralCivil2"];

    Then i just did those steps i sent you already.

     

    Try to redo everything from the beggining, and do what i said.

     

    Sorry, but i'm out of solutions for you, i don't understand scripts that much to think in something else. Hope someone else can help you =D

  4. Here is what i did (this is working fine!)

     

    dayz_server/system/server_monitor.sqf - Add this line to the bottom: 

    [] ExecVM "\z\addons\dayz_server\custom\box.sqf";
    

    -In your dayz_server folder, create a folder and call it "custom" or other name you like (if you already have one, you can use it. It's just to keep things organized).

     

    -In the folder "custom" create a file and call it box.sqf (or the name you want). Keep in mind, you need to change the path if you use a different name for the folde or the .sqf file.

     

    -In the box.sqf paste this code: 

     

    private ["_crate","_crate2","_crate3","_crate4"];
    
    
    DZMSProtectObj = {
    	private ["_object","_objectID"];
    	_object = _this select 0;
    	
    	_objectID = str(round(random 999999));
    	_object setVariable ["ObjectID", _objectID, true];
    	_object setVariable ["ObjectUID", _objectID, true];
    	
    	if (_object isKindOf "ReammoBox") then {
    		// PermaLoot on top of ObjID because that "arma logic"
    		_object setVariable ["permaLoot",true];
    		_object setVariable ["Mission", "1", true];
    	}; 
    };
    
    
    
    _coords = [[22162.9,19852.4,0.001],[22300.2,19961.8,0.001]] call BIS_fnc_selectRandom; //frente prefeitura - casas OK
    _coords2 = [[22462.4,19499.4,0.001],[22539.1,19900.4,0.001]] call BIS_fnc_selectRandom; //quadrado - antena - 
    _coords3 = [[22491.3,20059.3,0.001],[22158.2,19519.1,0.001]] call BIS_fnc_selectRandom; //container - escola
    _coords4 = [[22805.9,19853.7,0.001],[22147.2,19933.2,0.001]] call BIS_fnc_selectRandom; //hotel - oficina
    
    
    // CREATE FIRST BOX
    _crate = createVehicle ["UralCivil2",[(_coords select 0),(_coords select 1),0],[], 0, "CAN_COLLIDE"];
    _crate setVehicleInit " 
    							this setHit [""wheel_2_3_steering"", 1];
    							this setHit [""wheel_2_2_steering"", 1];
    							this setHit [""wheel_1_1_steering"", 1];
    							this setHit [""wheel_1_3_steering"", 1];
    							this allowDamage false;
    						";
    clearWeaponCargoGlobal _crate;
    clearMagazineCargoGlobal _crate;
    
    //ARMAS PRIMARIAS
    _crate addWeaponCargoGlobal ["M24", 2];
    _crate addWeaponCargoGlobal ["M4SPR", 2];
    _crate addWeaponCargoGlobal ["Sa58V_RCO_EP1", 2];
    _crate addWeaponCargoGlobal ["m16a4_acg", 2];
    _crate addWeaponCargoGlobal ["FN_FAL_ANPVS4", 2];
    _crate addWeaponCargoGlobal ["FN_FAL", 2];
    
    //PISTOLAS
    _crate addWeaponCargoGlobal ["glock17_EP1", 4];
    _crate addWeaponCargoGlobal ["M9", 4];
    _crate addWeaponCargoGlobal ["M9SD", 4];
    _crate addWeaponCargoGlobal ["UZI_SD_EP1", 4];
    _crate addWeaponCargoGlobal ["MakarovSD", 4];
    
    //ITEM MÉDICO
    _crate addMagazineCargoGlobal ["ItemBandage", 5];
    _crate addMagazineCargoGlobal ["ItemMorphine", 5];
    _crate addMagazineCargoGlobal ["ItemEpinephrine", 5];
    _crate addMagazineCargoGlobal ["ItemPainkiller", 5];
    _crate addMagazineCargoGlobal ["ItemWaterbottle", 5];
    _crate addMagazineCargoGlobal ["FoodMRE", 5];
    _crate addMagazineCargoGlobal ["ItemAntibiotic", 5];
    _crate addMagazineCargoGlobal ["ItemBloodbag", 5];
    
    //ITENS NORMAIS
    _crate addMagazineCargoGlobal ["CinderBlocks", 8];
    _crate addMagazineCargoGlobal ["PartGeneric", 4];
    _crate addMagazineCargoGlobal ["ItemSandbag", 4];
    _crate addMagazineCargoGlobal ["ItemWire", 4];
    _crate addMagazineCargoGlobal ["30m_plot_kit", 1];
    
    //ITEM TOOLBELT
    _crate addWeaponCargoGlobal ["ItemToolbox", 2];
    _crate addWeaponCargoGlobal ["ItemCrowbar", 2];
    _crate addWeaponCargoGlobal ["ItemKnife", 2];
    _crate addWeaponCargoGlobal ["ItemEtool", 2];
    _crate addWeaponCargoGlobal ["ItemHatchet_DZE", 2];
    _crate addWeaponCargoGlobal ["ItemMatchbox_DZE", 2];
    _crate addMagazineCargoGlobal ["FlareGreen_M203", 2];
    _crate addMagazineCargoGlobal ["FlareWhite_M203", 2];
    _crate addMagazineCargoGlobal ["1Rnd_HE_M203", 2];
    _crate addMagazineCargoGlobal ["FlareRed_M203", 2];
    _crate addMagazineCargoGlobal ["Skin_GUE_Soldier_Sniper_DZ", 2];
    
    //BACKPACKS
    _crate addBackpackCargoGlobal ["DZ_LargeGunBag_EP1", 2];
    _crate addBackpackCargoGlobal ["DZ_CivilBackpack_EP1", 2];
    
    [_crate] call DZMSProtectObj;
    _crate setDir -28.85478;
    
    
    // ---------------------------------------------------------------
    
    
    // CREATE SECOND BOX
    _crate2 = createVehicle ["UralCivil2",[(_coords2 select 0),(_coords2 select 1),0],[], 0, "CAN_COLLIDE"];
    _crate2 setVehicleInit " 
    							this setHit [""wheel_2_3_steering"", 1];
    							this setHit [""wheel_2_2_steering"", 1];
    							this setHit [""wheel_1_1_steering"", 1];
    							this setHit [""wheel_1_3_steering"", 1];
    							this allowDamage false;
    						";
    clearWeaponCargoGlobal _crate2;
    clearMagazineCargoGlobal _crate2;
    
    //ARMAS PRIMARIAS
    _crate2 addWeaponCargoGlobal ["SVD", 2];
    _crate2 addWeaponCargoGlobal ["M14_EP1", 2];
    _crate2 addWeaponCargoGlobal ["M4A3_CCO_EP1", 4];
    _crate2 addWeaponCargoGlobal ["AK_107_PSO", 3];
    
    _crate2 addMagazineCargoGlobal ["30Rnd_556x45_Stanag", 10];
    _crate2 addMagazineCargoGlobal ["30Rnd_762x39_AK47", 10];
    _crate2 addMagazineCargoGlobal ["20Rnd_762x51_DMR", 4];
    _crate2 addMagazineCargoGlobal ["10Rnd_762x54_SVD", 5];
    
    //PISTOLAS
    _crate2 addWeaponCargoGlobal ["glock17_EP1", 2];
    _crate2 addWeaponCargoGlobal ["M9", 2];
    _crate2 addWeaponCargoGlobal ["MakarovSD", 2];
    
    _crate2 addMagazineCargoGlobal ["17Rnd_9x19_glock17", 10];
    _crate2 addMagazineCargoGlobal ["8Rnd_9x18_Makarov", 5];
    
    //ITEM MÉDICO
    _crate2 addMagazineCargoGlobal ["ItemBandage", 5];
    _crate2 addMagazineCargoGlobal ["ItemMorphine", 5];
    _crate2 addMagazineCargoGlobal ["ItemEpinephrine", 5];
    _crate2 addMagazineCargoGlobal ["ItemPainkiller", 5];
    _crate2 addMagazineCargoGlobal ["ItemWaterbottle", 5];
    _crate2 addMagazineCargoGlobal ["FoodMRE", 5];
    _crate2 addMagazineCargoGlobal ["ItemAntibiotic", 5];
    _crate2 addMagazineCargoGlobal ["ItemBloodbag", 5];
    
    //ITENS NORMAIS
    _crate2 addMagazineCargoGlobal ["CinderBlocks", 8];
    _crate2 addMagazineCargoGlobal ["PartGeneric", 4];
    _crate2 addMagazineCargoGlobal ["ItemSandbag", 4];
    _crate2 addMagazineCargoGlobal ["ItemWire", 4];
    _crate2 addMagazineCargoGlobal ["30m_plot_kit", 1];
    
    //ITEM TOOLBELT
    _crate2 addWeaponCargoGlobal ["ItemToolbox", 2];
    _crate2 addWeaponCargoGlobal ["ItemCrowbar", 2];
    _crate2 addWeaponCargoGlobal ["ItemKnife", 2];
    _crate2 addWeaponCargoGlobal ["ItemEtool", 2];
    _crate2 addWeaponCargoGlobal ["ItemHatchet_DZE", 2];
    _crate2 addWeaponCargoGlobal ["ItemMatchbox_DZE", 2];
    _crate2 addMagazineCargoGlobal ["FlareGreen_M203", 2];
    _crate2 addMagazineCargoGlobal ["FlareWhite_M203", 2];
    _crate2 addMagazineCargoGlobal ["1Rnd_HE_M203", 2];
    _crate2 addMagazineCargoGlobal ["FlareRed_M203", 2];
    _crate2 addMagazineCargoGlobal ["Skin_GUE_Soldier_Sniper_DZ", 2];
    
    //BACKPACKS
    _crate2 addBackpackCargoGlobal ["DZ_LargeGunBag_EP1", 2];
    _crate2 addBackpackCargoGlobal ["DZ_CivilBackpack_EP1", 2];
    
    [_crate2] call DZMSProtectObj;
    _crate2 setDir -28.85478;
    
    
    
    // ---------------------------------------------------------------
    
    
    // CREATE THIRD BOX
    _crate3 = createVehicle ["UralCivil2",[(_coords3 select 0),(_coords3 select 1),0],[], 0, "CAN_COLLIDE"];
    _crate3 setVehicleInit " 
    							this setHit [""wheel_2_3_steering"", 1];
    							this setHit [""wheel_2_2_steering"", 1];
    							this setHit [""wheel_1_1_steering"", 1];
    							this setHit [""wheel_1_3_steering"", 1];
    							this allowDamage false;
    						";
    clearWeaponCargoGlobal _crate3;
    clearMagazineCargoGlobal _crate3;
    
    //ARMAS PRIMARIAS
    _crate3 addWeaponCargoGlobal ["DMR", 1];
    _crate3 addWeaponCargoGlobal ["VSS_vintorez", 2];
    _crate3 addWeaponCargoGlobal ["MP5SD", 4];
    _crate3 addWeaponCargoGlobal ["M4A1_HWS_GL_SD_Camo", 3];
    
    _crate3 addMagazineCargoGlobal ["30Rnd_9x19_MP5SD", 10];
    _crate3 addMagazineCargoGlobal ["30Rnd_556x45_StanagSD", 10];
    _crate3 addMagazineCargoGlobal ["20Rnd_762x51_DMR", 4];
    _crate3 addMagazineCargoGlobal ["20Rnd_9x39_SP5_VSS", 5];
    
    //PISTOLAS
    _crate3 addWeaponCargoGlobal ["glock17_EP1", 2];
    _crate3 addWeaponCargoGlobal ["M9", 2];
    _crate3 addWeaponCargoGlobal ["MakarovSD", 2];
    
    _crate3 addMagazineCargoGlobal ["17Rnd_9x19_glock17", 10];
    _crate3 addMagazineCargoGlobal ["8Rnd_9x18_Makarov", 5];
    
    //ITEM MÉDICO
    _crate3 addMagazineCargoGlobal ["ItemBandage", 5];
    _crate3 addMagazineCargoGlobal ["ItemMorphine", 5];
    _crate3 addMagazineCargoGlobal ["ItemEpinephrine", 5];
    _crate3 addMagazineCargoGlobal ["ItemPainkiller", 5];
    _crate3 addMagazineCargoGlobal ["ItemWaterbottle", 5];
    _crate3 addMagazineCargoGlobal ["FoodMRE", 5];
    _crate3 addMagazineCargoGlobal ["ItemAntibiotic", 5];
    _crate3 addMagazineCargoGlobal ["ItemBloodbag", 5];
    
    //ITENS NORMAIS
    _crate3 addMagazineCargoGlobal ["CinderBlocks", 8];
    _crate3 addMagazineCargoGlobal ["PartGeneric", 4];
    _crate3 addMagazineCargoGlobal ["ItemSandbag", 4];
    _crate3 addMagazineCargoGlobal ["MortarBucket", 4];
    _crate3 addMagazineCargoGlobal ["ItemWire", 4];
    _crate3 addMagazineCargoGlobal ["30m_plot_kit", 1];
    
    //ITEM TOOLBELT
    _crate3 addWeaponCargoGlobal ["ItemCrowbar", 2];
    _crate3 addWeaponCargoGlobal ["ItemKnife", 2];
    _crate3 addWeaponCargoGlobal ["ItemHatchet_DZE", 2];
    _crate3 addWeaponCargoGlobal ["ItemMatchbox_DZE", 2];
    
    //BACKPACKS
    _crate3 addBackpackCargoGlobal ["DZ_LargeGunBag_EP1", 1];
    _crate3 addBackpackCargoGlobal ["DZ_CivilBackpack_EP1", 1];
    
    [_crate3] call DZMSProtectObj;
    _crate3 setDir -28.85478;
    
    
    
    // ---------------------------------------------------------------
    
    
    // CREATE FORTH BOX
    _crate4 = createVehicle ["UralCivil2",[(_coords4 select 0),(_coords4 select 1),0],[], 0, "CAN_COLLIDE"];
    _crate4 setVehicleInit " 
    							this setHit [""wheel_2_3_steering"", 1];
    							this setHit [""wheel_2_2_steering"", 1];
    							this setHit [""wheel_1_1_steering"", 1];
    							this setHit [""wheel_1_3_steering"", 1];
    							this allowDamage false;
    						";
    clearWeaponCargoGlobal _crate4;
    clearMagazineCargoGlobal _crate4;
    
    //ARMAS PRIMARIAS
    _crate4 addWeaponCargoGlobal ["Mk_48_DZ", 1];
    _crate4 addWeaponCargoGlobal ["G36_C_SD_camo", 4];
    _crate4 addWeaponCargoGlobal ["M40A3", 2];
    
    _crate4 addMagazineCargoGlobal ["5Rnd_762x51_M24", 10];
    _crate4 addMagazineCargoGlobal ["30Rnd_556x45_StanagSD", 10];
    _crate4 addMagazineCargoGlobal ["100Rnd_762x51_M240", 2];
    
    //PISTOLAS
    _crate4 addWeaponCargoGlobal ["glock17_EP1", 2];
    _crate4 addWeaponCargoGlobal ["M9", 2];
    _crate4 addWeaponCargoGlobal ["MakarovSD", 2];
    
    _crate4 addMagazineCargoGlobal ["17Rnd_9x19_glock17", 10];
    _crate4 addMagazineCargoGlobal ["8Rnd_9x18_Makarov", 5];
    
    //ITEM MÉDICO
    _crate4 addMagazineCargoGlobal ["ItemBandage", 5];
    _crate4 addMagazineCargoGlobal ["ItemMorphine", 5];
    _crate4 addMagazineCargoGlobal ["ItemEpinephrine", 5];
    _crate4 addMagazineCargoGlobal ["ItemPainkiller", 5];
    _crate4 addMagazineCargoGlobal ["ItemWaterbottle", 5];
    _crate4 addMagazineCargoGlobal ["FoodMRE", 5];
    _crate4 addMagazineCargoGlobal ["ItemAntibiotic", 5];
    _crate4 addMagazineCargoGlobal ["ItemBloodbag", 5];
    
    //ITENS NORMAIS
    _crate4 addMagazineCargoGlobal ["CinderBlocks", 8];
    _crate4 addMagazineCargoGlobal ["PartGeneric", 4];
    _crate4 addMagazineCargoGlobal ["ItemSandbag", 4];
    _crate4 addMagazineCargoGlobal ["MortarBucket", 4];
    _crate4 addMagazineCargoGlobal ["ItemWire", 4];
    _crate4 addMagazineCargoGlobal ["30m_plot_kit", 1];
    
    //ITEM TOOLBELT
    _crate4 addWeaponCargoGlobal ["ItemCrowbar", 2];
    _crate4 addWeaponCargoGlobal ["ItemKnife", 2];
    _crate4 addWeaponCargoGlobal ["ItemHatchet_DZE", 2];
    _crate4 addWeaponCargoGlobal ["ItemMatchbox_DZE", 2];
    
    //BACKPACKS
    _crate4 addBackpackCargoGlobal ["DZ_LargeGunBag_EP1", 1];
    _crate4 addBackpackCargoGlobal ["DZ_CivilBackpack_EP1", 1];
    
    [_crate4] call DZMSProtectObj;
    _crate4 setDir -28.85478; 

     

    -Repack your dayz_server pbo and run the server.

    -This will create 4 Ural with loot in 8 possible locations in Sector B.

    -If you want them to spawn always on the same coord, you should replace this line:

    _crate4 = createVehicle ["UralCivil2",[(_coords4 select 0),(_coords4 select 1),0],[], 0, "CAN_COLLIDE"]; 

    with this:

    _crate4 = createVehicle ["UralCivil2",[X,Y,Z],[], 0, "CAN_COLLIDE"]; 

    and change the X,Y,Z with the actual coordinate.

     

    -If you want them to spawn with wheels remove these lines:

    _crate4 setVehicleInit " 
    			this setHit [""wheel_2_3_steering"", 1];
    			this setHit [""wheel_2_2_steering"", 1];
    			this setHit [""wheel_1_1_steering"", 1];
    			this setHit [""wheel_1_3_steering"", 1];
    			this allowDamage false;
    		";
    

    To change/remove/add items from the Ural, you need to play around with these lines:

    _crate4 addBackpackCargoGlobal ["DZ_CivilBackpack_EP1", 1];
    _crate4 addWeaponCargoGlobal ["ItemHatchet_DZE", 2];
    _crate4 addMagazineCargoGlobal ["ItemSandbag", 4];
    _crate4 addWeaponCargoGlobal ["Mk_48_DZ", 1];
    

    Note: If you change some of these things, you need to pay attention, because there is 4 blocks of code, 1 for each Ural. If you want to change the 4, you need to change the 4 blocks of codes.

  5. I just want a Ural sat there with loot in that the player can get in and drive to a location to empty it, then when the server restarts they go back to the default location

     

    if I get in it and drive it 10m or so it blew up, I added it to the safe vehicles section and now it disappears when I drive it 10m :/

     

    Cant work out what I'm doing wrong for it to just be drivable lol

     

    This is the script I have

     

    //Ural

    _vehicle_212 = objNull;

    if (true) then

    {

      _this = createVehicle ["Ural_UN_EP1", [2539.99, 5060.82, 0.00143], [], 0, "CAN_COLLIDE"];

      _vehicle_212 = _this;

      _this setDir -39.765995;

        //Clear Cargo    

      clearweaponcargoGlobal _this;

      clearmagazinecargoGlobal _this;

      //Add Cargo

      _this addWeaponCargoGlobal ["Binocular",2];

      _this addWeaponCargoGlobal ["Binocular_Vector",2];

      _this addWeaponCargoGlobal ["NVGoggles",2];

      _this addWeaponCargoGlobal ["ItemGPS",2];

      _this addmagazineCargoGlobal ["FoodMRE",10];

      _this addmagazineCargoGlobal ["ItemSodaMdew",10];

      _this addWeaponCargoGlobal ["M240_DZ",1];

      _this addWeaponCargoGlobal ["SCAR_L_STD_Mk4CQT",1];

      _this addWeaponCargoGlobal ["SCAR_H_CQC_CCO_SD",1];

     

      _this addmagazineCargoGlobal ["30Rnd_556x45_Stanag",20];

      _this addmagazineCargoGlobal ["20Rnd_762x51_B_SCAR",6];

      _this addmagazineCargoGlobal ["20Rnd_762x51_SB_SCAR",6];

      _this addmagazineCargoGlobal ["100Rnd_762x51_M240",2];

     

      _this setPos [2539.99, 5060.82, 0.00143];

    };

     

     

    Did you tried to do what i said? because i had no problems at all with that system.. I could run it just fine.

    The only edit you will need to do is on the wheels. I have a init line to remove 3 wheels from the ural.

  6. Tried this, and the Ural just disappears lol, im gunna cry lol

    This is my RPT

    16:47:22 "infiSTAR.de ******ADMIN-LOGIN******: Liqu1dShadow(7656XXXXXXXXX7330)"

    16:47:38 "infiSTAR.de PlayerConnected: _uid: 765XXXXXXXXX11327 _name: [GOC] Cheek"

    16:47:38 "infiSTAR.de - Player-Log: [GOC] Cheek(765XXXXXXXXX11327) - 0h 05min"

    16:47:55 "infiSTAR.de Log: Liqu1dShadow (7656XXXXXXXXX7330) | DELETED Vehicle with Invalid ID(0): Ural_UN_EP1 @025102"

    16:47:55 "["PVAHR_0_wtevvcrpoeyf",["Liqu1dShadow","7656XXXXXXXXX7330","DELETED Vehicle with Invalid ID(0): Ural_UN_EP1 @025102"]]"

    16:48:38 Cannot load sound 'sow_sounds\guns\r_m4.wss'

    16:48:43 "infiSTAR.de PlayerConnected: _uid: 765XXXXXXXXX461542 _name: Fox"

    16:48:43 "infiSTAR.de - Player-Log: Fox(765XXXXXXXXX461542) - 0h 06min"

    16:49:04 Cannot load sound 'sow_sounds\guns\r_m4.wss'

    16:49:12 "infiSTAR.de PlayerConnected: _uid: 7656XXXXXXXXX43554 _name: Re!apse"

    16:49:12 "infiSTAR.de - Player-Log: Re!apse(765XXXXXXXXX43554) - 0h 07min"

    I don't know what you are planning to do, but i have this working in my server. There is a link in my signature, if you download my files, inside the server folder there is one called custom, with a box.sqf file inside. It contains the script i' musing to spawn urals at random spots in sector b with loot inside =D you might wanna take a look.

    Edit: the other change i did was in the dze safevehicle, like stiflersmom said, and then injust called the script server side.

  7. In /compile/spawn_group.sqf

     

    find

    if(_gear == 1) exitWith {_aigear = ai_gear1;};
    Add below

    if(_gear == 2) exitWith {_aigear = ai_gear2;};

     

    ------------------------------------

     

     

    I have a prison I created on an island. I have placed 4 AI there with the police skin. I'd like to give them shotguns. In config.sqf, I added this line:

    ai_wep_shotgun = [["Winchester1866","15Rnd_W1866_Slug"],["MR43","8Rnd_B_Beneli_Pellets"],["M1014","8Rnd_B_Beneli_74Slug"],["Remington870_lamp","8Rnd_B_Beneli_74Slug"]];

    This is the code to spawn these guys:

    [
         [825.44647, 6901.1753, 0],      // Position
         4,                              // Number Of units
         "Easy",                         // Skill level of unit (easy, medium, hard, extreme, Random)
         "Random",                       // 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
         "",                             // Backpack classname, use "Random" or classname here
         "RU_Policeman_DZ",              // Skin classname, use "Random" or classname here
         "Random",                       // Gearset number. "Random" for random gear set
         "Bandit"                        // AI Type, "Hero" or "Bandit".
    ] call spawn_group;

    I opened spawn_static.sqf and added this line:

    if(_gun == 3)  exitWith { _aiweapon = ai_wep_shotgun; };

    I tried setting the primary gun number to "3" and to 3 and neither worked. They spawn without a weapon.

     

    Hey @Betterdead, 

    like f3cuk said in a few posts above, you should make the shotgun edit in the spawn_group.sqf like the example he gave me, but in the specific variable, for guns...

    Then in the spawn_static you should only add the number of reference. for example:

     

    in the spawn_group you add this line:

    if(_gun == 3) exitWith { _aiweapon = ai_wep_shotgun; };
    

    in the config.cfg you add this:

    ai_wep_shotgun = [["Winchester1866","15Rnd_W1866_Slug"],["MR43","8Rnd_B_Beneli_Pellets"],["M1014","8Rnd_B_Beneli_74Slug"],["Remington870_lamp","8Rnd_B_Beneli_74Slug"]];
    

    and in the spawn_static this:

     3,                       // Primary gun set number
    

    Maybe i'm wrong, but i think you will understand the logic =D

  8. I'm still with an issue with this system.. I just can't make the AI spawn with the gear set i created.

    Can anyone help me?

     

    I'm using it like this: 

    //MAYOR
    [
    [22144.344, 19846.152, 0.001],	// Position
    1,				// Number Of units
    "hard",				// Skill level of unit (easy, medium, hard, extreme, Random)
    "Random",			// Primary gun set number and rocket launcher.
    10,				// Number of magazines
    "Random",			// Backpack classname, use "Random" or classname here
    "RU_Functionary1",		// Skin classname, use "Random" or classname here
    "2",			        // Gearset number. "Random" for random gear set
    "Bandit"			// AI Type, "Hero" or "Bandit".
    ] call spawn_group;
    
    ai_gear0   = [["ItemBandage","ItemPainkiller"],["ItemKnife","ItemFlashlight"]];
    ai_gear1   = [["ItemBandage","ItemPainkiller"],["ItemKnife","ItemFlashlight"]];
    ai_gear2   = [["itemmorphine","ItemPainkiller"],["ItemKnife"]];
    ai_gear_random	= [ai_gear0,ai_gear1];
    

    I already tried to use these ways:

    2,
    "2",
    "ai_gear2",
    ai_gear2,
    

    In this case, i want to use the ai_gear2.

    What am i doing wrong?

  9. wow, I never knew how to do that, line 91 has an empty section in it!

     

     

     

        //Sector 6

        [

            [],            // Position

            ,                                    // Number Of units

            "extreme",                            // Skill level of unit (easy, medium, hard, extreme, Random)

            "Random",                            // 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

            "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;

    wow, i didn' saw that =D a lot of code, didn't saw. But maybe thats the problem =D

  10.  

    Any Idea why this wont work?

     

    I have a feeling the issue starts at line 219   //Sector 6 Main Entrance West   

     

    219 to 313 seem to be linked together :/ fud know why

     

     

    -- if(isServer) then {
    
    
        //Custom Spawns file//
        /*
        Custom group spawns Eg.
    
    .
    .
    .
    .
    .
        
        diag_log "WAI: Static mission loaded";
    
    }; --

     

    Do you have any AI spawning? Is there any error in your rpt? Did you changed any other config in the config.cfg file? =D

  11. Hey guys,

    I've been looking for something like this, but i can't found anything, just people with the same request, but no answer.

     

    Is there a way to make this happen? To spawn a fresh vehicle but with no wheels, or at least with a random number of wheels?

    I know i can set the max/min damage of a vehicle, but this just make it come with everything red, i can still ride it.

     

    Btw, i've tried this with the default epoch respawning vehicle system and also with this static system:  (this is the system i'm using now)

     

    Anyone?

  12. What may be the cause of this spam error i'm having in my rpt log?

    Please, i've tried everything to fix this...

    20:07:55 Error in expression <roup createUnit [_aiskin,[_pos_x,_pos_y,_pos_z],[],0,"CAN COLLIDE"];
    [_unit] joi>
    20:07:55   Error position: <_pos_z],[],0,"CAN COLLIDE"];
    [_unit] joi>
    20:07:55   Error Undefined variable in expression: _pos_z
    20:07:55 File z\addons\dayz_server\WAI\compile\spawn_group.sqf, line 105
    20:07:55 Error in expression <{
    _unitGroup	= createGroup EAST;
    };
    
    if(_pos_z == 0) then {
    if(floor(random 2) =>
    20:07:55   Error position: <_pos_z == 0) then {
    if(floor(random 2) =>
    20:07:55   Error Undefined variable in expression: _pos_z
    20:07:55 File z\addons\dayz_server\WAI\compile\spawn_group.sqf, line 48
    
  13. The vehicle spawn is working for me.. But I'm getting this spam in the rpt error...

    19:58:25 Error in expression <s select _index;
    _itemType = _itemTypes select _index;
    };
    [_veh,[_dir,_objPos>
    19:58:25   Error position: <select _index;
    };
    [_veh,[_dir,_objPos>
    19:58:25   Error Zero divisor
    19:58:25 File z\addons\dayz_server\FS_SpawnVehicles\FS_SpawnVehicles.sqf, line 320
    

    How can i solve this? I didn't changed anything in this file.

  14. i don't understand what im doing wrong,

     

    I just cant get static AI to work and its making me mad lol

     

    I go into the config and enable it

     

    /* STATIC MISSIONS CONFIG */

            static_missions                = true;        // use static mission file

            custom_per_world            = false;        // use a custom mission file per world

     

    then I go into the default.sqf and put them in

     

        [

            [13270.1,3336.64,0.00256],            // Position

            4,                                    // Number Of units

            "extreme",                            // Skill level of unit (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

            "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;

     

    Then nothing appears in the server,

     

    I have no idea why its not working :/

     

    Remove this:  or ["Random","at"], 

    It's problaby going to work =D

     

    Unless you want the group to spawn with AntiTank or Anti Air weapons.

    Then you should use:

     [
            [13270.1,3336.64,0.00256],            // Position
            4,                                    // Number Of units
            "extreme",                            // Skill level of unit (easy, medium, hard, extreme, Random)
           ["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
            "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;
    
  15. Thanks Hell, i did try that but i couldnt quite work out what the co-ords were actually doing.. any help would be very appreciated though !

    Its in the config file, by default there is 3 coords.. [12.345, 54.321, 0.001] each of these values represents X, Y and Z. And you can use a combination of more than 1 location.

    Blacklist = [ [X, Y, Z], [X, Y, Z], [X, Y, Z]];

    To get the coords i usually gonto the arma2 editor, place an unit where i want to get the location, save it, then go to your user folder (in your C:, or whatever your disk is), then to the documents folder, arma 2 oa, profile (or other profiles), missions and you should see a sqf file with the name you saved your mission in the editor. Open it. Inside it you will find a block of code, in some of these lines you will see the coords =D or just look for it on youtube, there must be a lot of tutorials =)

  16. Got this installed fine, but how do stop the missions appearing in unplayable areas of the terrain? I'm running miroslavl and the missions always spawn in debug areas.

     

    Thanks.

    Im not in my server now, but there is a comfig file with so,ething like: blacklist=[0,0,0]

    This is where you shoulde put the coords of the places you DONT want the missons to spawn. Like i said, im not in the server, so i may be wrong, but you will find it, its self explanatory =D if you don't find it, let me know and ill try to help you later

  17. Hey i donno if anyone else is having this problem or if its already been fixed but when i install all this, it deleted my Aircraft dealer at the NEAF and it moves only one whole sale trader into a quarry and no matter what i do i cant seem to get him moved. Any help at all would be awesome. Thanks in advance!!

    What map are you running? Maybe this is the problem. The traders is problaby there, but with a different location.

×
×
  • Create New...