Jump to content
  • 0

Custom WAI Mission, How to do it. need help


Thug

Question

7 answers to this question

Recommended Posts

  • 0
  On 10/28/2016 at 8:56 PM, Thug said:

@theduke I want to learn everything. I love working in editor. My short term goal is to learn how to make a custom mission. My long term goal is to start making custom missions. 

Expand  

Hop in my TS later tonight. I managed to do alot. The only thing i was not able to do is the buildings spawn location and such...

Ill explain what i know

Link to comment
Share on other sites

  • 0

hey guys @theduke && @Thug do not forgot the epoch events! :D  its more easy than missions.. cuz you can play with the script base in one single file. :)

Using rubbletown base you can do anything.... buildings, AI

Check liines in red for buildings:

  Reveal hidden contents

 

Link to comment
Share on other sites

  • 0

@juandayz Thanks for the input.

One of my problems is I don't understand how to come up with something like is:

_baserunover = createVehicle ["Land_a_stationhouse_ruins",[(_position select 0) - 5, (_position select 1) + 16,-0.12],[], 0, "CAN_COLLIDE"];
_baserunover setDir 0;

two things I see in it, it is creating a stationhouse ruins and the direction it is facing. 

Where do you come up with the information that is in this line.  Editor? How does it know where to place the stationhouse?

I dont want to just copy and paste. I would like to know how, when, and where, if you understand me

Link to comment
Share on other sites

  • 0

@Thug u also use the structure of arma2oa editor 3d to spawns buildings

for example in rubbletown:

_baserunover = createVehicle ["Land_a_stationhouse_ruins",[(_position select 0) - 5, (_position select 1) + 16,-0.12],[], 0, "CAN_COLLIDE"];
_baserunover setDir 0;

This create a building on a pre-defined position.

But you can make it more easy through arma2oa editor 3d, place the objet, save the mission and open it..

then use this structure:

_Objet1 = objNull;
if (true) then
{
  _this = createVehicle [""Land_a_stationhouse_ruins", [13389.101, 13777.706, -0.00015497208], [], 0, "CAN_COLLIDE"];
  _Objet1 = _this;
  _this setDir 132.02759;
  _this setPos [13389.101, 13777.706, -0.00015497208];
};

 

 

 

 

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Discord

×
×
  • Create New...