Jump to content

Sign in to follow this  
BlackDeath-CFH

Mission question

Recommended Posts

i want to make it so once you complete the objective you go to a extraction point and the game ends in a win, but i dont want the game to end unless the objecives are complete, is there a way to do this? oh yeah.. whats a good tutorial on briefings if anyone knows any?

Share this post


Link to post
Share on other sites

ok the program works great, now all i ask for is help on the first question that i asked and my mission will be done...

Share this post


Link to post
Share on other sites

Doing ˇV Ending Objectives And Missions

Every mission needs objectives, and therefore to be completed and then end the mission in either a failure or a success!

Well, you might ask (as many people have asked me), how do I detect and end objectives and then end the mission when all objectives are complete?

Very easy!

This tutorial will teach you something ALL your missions will require to have to work properlyˇK

We will be making an extremely simple mission, which will make use of these requirements, thus, teaching you how to use themˇK

Make sure the editor is working in ˇ§Advancedˇ¨ mode. If ˇ§Easyˇ¨ is displayed at the top right corner of the editor, click on the text until it says ˇ§Advancedˇ¨.

For your information, weˇ¦ll make a mission where you have to kill two men to win objective 1 and then kill another guy to win objective 2 and thus, winning the missionˇK

1 > Inserting The Player (YOU!wink.gif

First of all, we need you there obviously

Share this post


Link to post
Share on other sites

i could read and understand the tutorial 10 times better if you didnt put those symbols in front of them.

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote </td></tr><tr><td id="QUOTE">Then click ˇ§Okˇ¨, and again click ˇ§Okˇ¨.

The ˇ§ObjStatusˇ¨ command sets a present condition to a certain objective. Please note, the FIRST objective is ˇ§1ˇ¨ and not ˇ§0ˇ¨ like some games. If you have four objectives, the first is ˇ§1ˇ¨, second ˇ§2ˇ¨, third ˇ§3ˇ¨ and last ˇ§4ˇ¨. There are other set conditions other than ˇ§DONEˇ¨, they are:

ˇ§DONEˇ¨ = Objective complete.

ˇ§FAILEDˇ¨ = Objective failed.

ˇ§HIDDENˇ¨ = Objective will not appear in mission.<span id='postcolor'>

Share this post


Link to post
Share on other sites

from what i could read it doesnt awnser my question about not being able to leave to the extraction point without completeing the objective either.

Share this post


Link to post
Share on other sites

....but it was a very good tutorial.... smile.gif

Share this post


Link to post
Share on other sites

please dont reply to the post without giving something to help, i actually want to TRY and mke this mission good... and complete it

Share this post


Link to post
Share on other sites

I assume you must be using a trigger at the extraction point, so:

The first method (may not work but will save you some time if it does, I am not on my PC at the moment defragging it)

In the condition field of the trigger put:

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">this AND "1" ObjStatus == "DONE" AND "2" ObjStatus == "DONE"<span id='postcolor'>

The second method will work if you do it correctly:

In the evac point trigger put:

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">This AND obj1 == 1 AND obj2 == 1 AND obj3 == 1<span id='postcolor'> do this until you have all your objectives there.

You will have to make obj1 equal to 1 when the first objective is complete. And the same for all the other objectives.

In your init.sqs file put:

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">

obj1 = 0

obj2 = 0

obj3 = 0

<span id='postcolor'>

That should work, not knowing your objectives etc I can't help you anymore than that.

RED

Share this post


Link to post
Share on other sites

my objective is to sneak into the base (you and your team is a squad of spetz natz) and destroy 2 tanks(named sm1 and sm2). and you have to do this unoticed because if you are seen the alarms will go off.

Share this post


Link to post
Share on other sites

Then have the evac triggers condition field as:

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">This AND not(alive sm1) AND not(alive sm2)<span id='postcolor'>

RED

Share this post


Link to post
Share on other sites

ok just one more question asked and after this you can close, delete, flame, or do whatever you want with the thread. ^_^

i used a program called "Operation Flashpoint Briefing & Overview Generator 2.0" now when i destroy the two tanks i want it to show that i completed the objective on the notepad, how do you do this?

Share this post


Link to post
Share on other sites

Sorry about it, but I didn't put those symbols there I just copied and pasted whole document from Microsoft Word and some how. I suggest that you read it over again I still think it has answer to your question.

input this code obj1c == 1 AND obj2c == 1 in condition field of you last objective, it will make the mission not end untill obj1 and obj2 are completed.

Share this post


Link to post
Share on other sites

Hey I think I know this one. smile.gifsmile.gifsmile.gif

I had that problem too, all I did after creating breafing using that tool I opened the breifing with notepad and made some changes, open it with notepad too and look for text something like:

OBJ_0

OBJ_1

OBJ_2

OBJ_3

and change that OBJ_0 to OBJ_1 so it will look like this:

OBJ_1

OBJ_2

OBJ_3 and so on.........

It worked for me tounge.giftounge.giftounge.gif

If it will work for you too please let me know.

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  

×