Jump to content

[Outdated] [Release] 5 New Missions for (WAI 2.2.3) Update will be posted soon


Caveman2019

Recommended Posts

https://www.dropbox.com/s/8aqsf03g7bd6six/Mission for WAI.zip?dl=0

Updated Mar,5, 2019

Updated Dropbox Link

Updated Feb,19, 2019

Added Cargo mission

Fixed (static guns making goldmine mission not spawn)

Fixed (fallen satellite mission had static coords on bandit side mission.)

Updated Feb,20, 2019

Added Cargo mission to install instructions

Updated Feb,25, 2019

Added fallen satellite mission addon (link is at the bottom of the page)

INSTALL ( Assuming you already have WAI installed )

1.  Download and unzip from the link above.

2. Take the five missions from the downloaded hero and bandit folders and put them in your WAI hero and bandit folders.

 

3.  Open your config.sqf file in your WAI folder

(Hero Missions)

Add this to your other missions in the list

							["fallen_satellite",1],
							["oil_depot",1],
							["refugee",1],
							["gold_mine",1],
						        ["cargo",1],

Below this

wai_hero_missions		= [

 

So now it looks like this

******************************************************************************************************

wai_hero_missions		= [
						  ["fallen_satellite",1],
						  ["oil_depot",1],
						  ["refugee",1],
						  ["gold_mine",1],
						  ["cargo",1],

******************************************************************************************************

 

(Bandit Missions)

Add this to your other missions in the list

 

						  ["fallen_satellite",1],
						  ["oil_depot",1],
						  ["refugee",1],
						  ["gold_mine",1],
						  ["cargo",1],

Below this

wai_bandit_missions		= [ 

 

So now it looks like this

******************************************************************************************************

wai_bandit_missions		= [ 
						  ["fallen_satellite",1],
						  ["oil_depot",1],
						  ["refugee",1],
						  ["gold_mine",1],
						  ["cargo",1],

******************************************************************************************************

 

PICTURES

PEhTJzo.jpg     Oil Depot

ZwTXYTD.jpg    Gold Mine

B97NQX3.jpg    Cargo

oBSw8AB.jpg    Refugee Camp

lvaMpZ7.jpg     Fallen Satellite

 

 

 

 

FALLEN SATELLITE ADDON

 

 

Link to comment
Share on other sites

5 hours ago, khalcifer said:

how did you do the missions (arma 2 editor)?

yes

 

Click spoiler for long winded answer

Spoiler

Yeah So basically the long winded answer......

I find a nice flat spot on the map ( usually NWAF ) and then I add all the buildings and objects and arrange them how I want them to spawn as a mission. I add the weapon crate, the units, the static mounted guns and the vehicles where ever I want them to spawn too. I use most of the class names of what I add except for the units. The coords are the most important part.

So after I use the editor I save the file and open it up.

I pick one object to be the center of the mission. I usually pick the loot crate as the center position of the mission because it's usually the center position in a wai mission anyway. I copy the coords of the weapon crate from the saved map editor file and then I compare with the coords of the object that is spawning in. It will either be a higher, lower or equal number. So thats what the + and - mean.

 

((   (_position select 0)  - 6, (_position select 1)  + 8,0   ))

 

EXAMPLE

So if this was the map editor saved file

 

Land_Barracks  5502, 4380, 0

Loot Crate          5508,  4372, 0        Loot crate = BAF_BasicWeapons 

 

_vehicle_79 = objNull;
if (true) then
{
  _this = createVehicle ["Land_Barracks ", [ 5502, 4380, 0 ], [], 0, "CAN_COLLIDE"];
  _vehicle_79 = _this;
  _this setDir 1.7951497;
  _this setPos [5502, 4380, 0];
};

_vehicle_80 = objNull;
if (true) then
{
  _this = createVehicle ["BAF_BasicWeapons", [5508,  4372, 0], [], 0, "CAN_COLLIDE"];
  _vehicle_80 = _this;
  _this setPos [5508,  4372, 0];
};

BAF_BasicWeapons is the center position to the mission, because it is the crate.

 

 

 

****************************************************************************************************************

         CRATE  BARRACKS

X axis  5508   5502 =  6    Which means from the position 5508 (the loot crate)...the Barracks are  ( - 6 ) from that position

Y axis  4372  -  4380 =  - 8   Which means the position 4380 from where the loot crate is....the barracks are ( +8 ) from that position,

Height     0           0

****************************************************************************************************************

 

 

 

WAI EXAMPLE MISSION

Loot crate  (will be already set to spawn center of the mission so nothing needs to be changed there)

//Setup the crate
_crate_type = crates_medium call BIS_fnc_selectRandom;
_crate = createVehicle [_crate_type,[(_position select 0),(_position select 1),0.4], [], 0, "CAN_COLLIDE"];  <---crate at position 0 (zero)
_crate call wai_crate_setup;

//Buildings (With the objects you only need to edit the number highlighter. 
_baserunover1 = createVehicle ["Land_Barracks",[(_position select 0)  - 6, (_position select 1)  + 8,0],[], 0, "CAN_COLLIDE"]; 

 

So that is basically how you get the + \ - coords for missions which isn't what you asked, but now you know in case you didnt...lol

Same thing for spawning the Ai, static guns, and vehicles.

Yes, Arma 2 Map Editor is a big help.

 

Link to comment
Share on other sites

  • 2 months later...

Version WAI 2.2.4

After the installation I get an error

:50:05 "WAI: [Mission:[Hero] Oil Depot]: Starting... [10689.1,8461.09,0]"
 1:50:05 Error in expression < {

private ["_crate"];

_crate = _this select 0;
_crate setVariable ["ObjectID">
 1:50:05   Error position: <select 0;
_crate setVariable ["ObjectID">
 1:50:05   Error select: Type Object, expected Array,Config entry
 1:50:05 File z\addons\dayz_server\WAI\compile\functions.sqf, line 25

 

Link to comment
Share on other sites

  • 2 months later...
  • 7 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...