[Release] New* missions for WAI 0.173

Discussion in 'Script/Addon releases' started by Caveman, Jun 19, 2015.

  1. Caveman

    Caveman New Member

    Joined:
    Mar 7, 2014
    Messages:
    4
    Likes Received:
    2
    [​IMG]



    SIMPLE LITTLE MISSIONS
    I know these missions will not blow your mind or anything like that. I just thought I would slap something together for people still using this mission system and who might be a little bored of the same old missions.


    This is for WAI 0.173 and assuming you already have it installed


    INSTRUCTIONS
    *******************

    1.a Download the missions from the drop box link.
    https://www.dropbox.com/s/j4f6ui02qqjtdma/missions.rar?dl=0


    1.b copy the new missions from the dropbox download into your WAI/missions/missions folder
    (with your other WAI missions)


    2. edit your MissionCfg.sqf in your already installed WAI (to include the new missions)
    example:
    Code:
    wai_missions = [
    "bandit_base",
    "armed_vehicle",
    "disabled_civchopper",
    "crash_spawner",
    "disabled_milchopper",
    "MV22",
    "weapon_cache",
    "mayors_mansion",
    "convoy",
    "C130_crash",
    "ems_cache",
    "medi_camp",
    "Ural",
    "WAI_ARMY_DES",
    "WAI_Gem_Tower",
    "WAI_Caravan",
    "WAI_Genocide",
    "WAI_Oil_Rig",
    "WAI_ShootHouse",
    "WAI_Temple",
    "WAI_Weed",
    "WAI_Drug_Bust",
    "WAI_Slaughter"
    ];
    3. Create 3 new files WeedBox.sqf GemBox.sqf and FoodBox.sqf

    Put the following code into each of the new files you made and save them to the WAI/missions/compiles folder with the other original WAI loot boxes


    4. WeedBox.sqf

    Code:
    //WEED BOX
    
    _box = _this select 0;
    _box setVariable ["ObjectID","1",true];
    _box setVariable ["permaLoot",true];
    PVDZE_serverObjectMonitor set [count PVDZE_serverObjectMonitor,_box];
    
    
    clearWeaponCargoGlobal _box;
    clearMagazineCargoGlobal _box;
    
    // TOOLS
    _box addWeaponCargoGlobal ["ItemCrowbar", 1];
    _box addWeaponCargoGlobal ["ItemToolbox", 1];
    _box addWeaponCargoGlobal ["ItemKnife", 5];
    _box addWeaponCargoGlobal ["ItemMatchbox", 1];
    _box addWeaponCargoGlobal ["ItemGPS", 1];
    
    
    // STUFF
    _box addMagazineCargoGlobal ["ItemMorphine", 1];
    _box addMagazineCargoGlobal ["ItemPainkiller", 1];
    _box addMagazineCargoGlobal ["ItemBloodbag", 1];
    _box addMagazineCargoGlobal ["ItemKiloHemp", 20];
    
    // BACKPACKS
    _box addBackpackCargoGlobal ["DZ_British_ACU", 1];


    5. GemBox.sqf

    Code:
    //GEM BOX
    
    
    _box = _this select 0;
    _box setVariable ["ObjectID","1",true];
    _box setVariable ["permaLoot",true];
    PVDZE_serverObjectMonitor set [count PVDZE_serverObjectMonitor,_box];
    
    clearWeaponCargoGlobal _box;
    clearMagazineCargoGlobal _box;
    
    
    // GEMS
    _box addMagazineCargoGlobal ["ItemRuby", 1];
    _box addMagazineCargoGlobal ["ItemObsidian", 1];
    _box addMagazineCargoGlobal ["ItemEmerald", 1];
    _box addMagazineCargoGlobal ["ItemSapphire", 1];
    _box addMagazineCargoGlobal ["ItemGoldBar10oz", 5];


    6. FoodBox.sqf

    Code:
    //FOOD BOX
    _box = _this select 0;
    _box setVariable ["ObjectID","1",true];
    _box setVariable ["permaLoot",true];
    PVDZE_serverObjectMonitor set [count PVDZE_serverObjectMonitor,_box];
    
    
    clearWeaponCargoGlobal _box;
    clearMagazineCargoGlobal _box;
    
    
    // FOOD
    _box addMagazineCargoGlobal ["ItemSodaLemonade", 3];
    _box addMagazineCargoGlobal ["FoodCanHerpy", 2];
    _box addMagazineCargoGlobal ["ItemSodaDrwaste", 5];
    _box addMagazineCargoGlobal ["ItemSodaSmasht", 3];
    _box addMagazineCargoGlobal ["FoodCanCorn", 4];
    _box addMagazineCargoGlobal ["FoodCanDemon", 4];
    _box addMagazineCargoGlobal ["FoodCanBadguy", 1];
    _box addMagazineCargoGlobal ["FoodCanOrlok", 1];
    _box addMagazineCargoGlobal ["FoodCanGriff", 1];
    _box addMagazineCargoGlobal ["ItemSodaPepsi", 15];
    _box addMagazineCargoGlobal ["ItemSodaOrangeSherbet", 10];

    7. Open up the missionIni.sqf in the WAI folder

    add this

    Code:
    Weed_Box = compile preprocessFileLineNumbers "\z\addons\dayz_server\WAI\missions\compile\WeedBox.sqf";
    Gem_Box = compile preprocessFileLineNumbers "\z\addons\dayz_server\WAI\missions\compile\GemBox.sqf";
    Food_Box = compile preprocessFileLineNumbers "\z\addons\dayz_server\WAI\missions\compile\FoodBox.sqf";

    below this


    Code:
    Small_Gun_Box = compile preprocessFileLineNumbers "\z\addons\dayz_server\WAI\missions\compile\SmallGunBox.sqf";




    ((SCREENSHOTS))

    [​IMG]



    [​IMG]



    [​IMG]



    [​IMG]



    [​IMG]



    [​IMG]



    [​IMG]





    [​IMG]
     
    gr8_boi52 likes this.

Share This Page