Jump to content
Sign in to follow this  
Japonaattori

ArmA 2 Mission Editor Help!

Recommended Posts

Hi,

I am making an urban assault mission in ArmA 2 and I have a lot of questions about scripting and other functions, but I tried to narrow it down to a few.

So here they are:

1. I want to set buildings on fire, is that possible in Arma 2? If it is, then how to do it?

2. Basically, I need a chopper to pick up an AI squad, which is not a part of their group. I have figured out a way that an AI chopper will pick ME up, but in order to get it function properly, I need to tell my squad to board the chopper that is in the air. I simply placed a waypoint for the chopper "load" and synced with my "Get in" waypoint and then ordered my men to enter the chopper that is in the air. But I have no idea of how to make it work with an AI squad.

3. I need a script or something of how to make a mission to start and end properly. For example, when player is KIA or all of the objectives are completed.

4. I need aid in placing objectives. I want, that the objective is completed when all the enemies in the town is annihilated and the area secured.

So, as you may see, I know pretty much nothing about scripting. =) I did get some practise in it in the Dragon Rising, but since I thought that the editor sucked, I dropped it. I would really appreciate if someone could tell how to do ANY of those things. All advises are needed! :)

Thank you.

Edited by Japonaattori

Share this post


Link to post
Share on other sites

hi and welcome the forum, for your first question it is possible to set fire on a house with a script. but dont know just which script it is,need to look for that 1.

then the rest off your questions can be done in the editor with almost no scripting involved, or with a lot off scripts depense on your skills.

now, your chopper pickup works aswell with AI as with player, just sync the waypoints and the chopper will pick up the squad(you can even use a invisibel H to let the chopper land where you want him to).

for 3&4 you need the trigger function! with this you can let a mission end where and how you want it, (clearing towns or area or killing just 1 specific target)

hope its been some help and good luck with the editing:D

later

Share this post


Link to post
Share on other sites

Hi,

Thanks for the answers and your kindness =)

TBH, I just tried again the AI chopper pick and it worked :p Must've done something wrong in the first time, and now I'm embarrassed. :/

I am glad to hear that there isn't much scripting :D I didn't really learn it in the Dragon Rising, so...

But anyway, thanks for this =) I'll try the triggerfunction now and see if I can get anything out of it :rolleyes:

Share this post


Link to post
Share on other sites

Hi there and welcome.

how to end a mission?

Opfor are the bad guys in this example

1.) Create a trigger around the town

Double click the trigger to show the menu

Select Opfor and click on the not present tab in the activation field

Type of trigger: switch

In the on Act. field of the trigger type following

ap setTaskState "SUCCEEDED"; end = true; titleCut ["", "Black Out"]; titleFadeOut 20;

2.) Create a second trigger:

Select type: end 1

Condition: end

give the player a variable name, in this case I named him ap replace it with your player name.

ap setTaskState "SUCCEEDED" ----- will tick of your task in the briefing

end = true ------ will activate the trigger which ends the mission

titleCut ["", "Black Out"]; titleFadeOut 20; ---- will make the mission fade out in 20 seconds and you will come to the debriefing screen.

Get yourself Mr. Murrays Armed Assault editing guide here its also valid for ArmA II and that's a well done tutorial which will introduce you to the various aspects of mission editing

http://forums.bistudio.com/showthread.php?t=67426&highlight=Editing+guide

Hope that helps.:D

kind regards

nettrucker

Edited by nettrucker
added link

Share this post


Link to post
Share on other sites

Hi,

Thanks for this =) I'll try the trigger thing as soon as I get home and will also get the guide :D

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×