Home   Help Search Login Register  

Author Topic: Intro / End of mission  (Read 713 times)

0 Members and 1 Guest are viewing this topic.

POINT BLANK

  • Guest
Intro / End of mission
« on: 29 Mar 2003, 18:27:55 »
Hey, this is a pretty simple question, so I'm sure everyone on these forums can answer it.....I already made a mission, but now I want to make an Intro and an end of mission scene. Is there a way that i can use the same setup from the mission (same people, vehicles and their positions) in the intro and end? Also, how would I make the introduction scene end and start the mission? Also, how do I make a mission actually end...like is there a way that I can set it to automatically end and go into the end scene after killing all enemy or something? I guess what I'm trying to ask is how to make mission objectives. All you editing people please help me out. Please explain the answers to my questions in a basic simple step-by-step process. Thanks a bunch!  

Offline OFPWiZard

  • Members
  • *
Re:Intro / End of mission
« Reply #1 on: 29 Mar 2003, 18:35:01 »
Hello

Make whatever you want in the intro and ontro then save it to single player... use triggers to make the camera view... open single player and play the mission the intro will start then the mission if you made an ontro win and if you win the mission it will play the win ontro and if you made an ontro loose and you loose it will play the loose intro...

Bye

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Intro / End of mission
« Reply #2 on: 29 Mar 2003, 19:08:20 »
This is all very straightforward .... once you get the hang of it.

Yes you can use the same setup in an Intro or Outro as the main mission.      In the main mission select what you want by dragging a box round it, hit Ctrl C to copy.   Go into the Intro and hit Ctrl V to paste.     I use a dummy unit which I put at a very identifiable place so that placement of units can be replicated exactly.     Copy and paste does not dump them in exactly the same place, so you will need to move them a little.    As long as they are selected you can move the whole lot together by moving one.

Intro - plays before the Briefing
Outro - plays after the debriefing

Cutscene - plays whenever you like, can be on mission accomplished or as soon as the mission starts.      You can do a cutscene with the camera effects ina trigger but it is MUCH BETTER to use a simple camera script.     Fortunately that is easy to do.   Read snYpir's camera tutorial and then messiah's camera.sqs tutorial.

You end a mission with a trigger.   Find the box in the trigger screen called "type" and change it to End#1.    When the trigger is fired, the mission will end.

To make the mission end from a mission accomplished cutscene, you need a variable.     The last line (before exit) in the cutscene will be something like

endmission=true

and in the mission you will have a trigger

type:  End#1
Condition:    endmission.

Now head over to the tutorial depot and download theTutorial Mission.    I created it specially for people like you.    It contains answers to all the questions in your post.   Play the mission and then study it in the mission editor.  Come back and ask if there is anything you don't understand.

If you are unfamiliar with scripts snYpir's Introduction to Code Snippets will come in handy.

snYpir's OFPEC Guide: Making Missions and my own Macguba's guide to mission editing for beginners both contain lists of tutorials which are more or less essential reading.  

Plenty of reviewed ArmA missions for you to play

POINT BLANK

  • Guest
Re:Intro / End of mission
« Reply #3 on: 29 Mar 2003, 19:16:29 »
Thanks alot for your help!

POINT BLANK

  • Guest
Re:Intro / End of mission
« Reply #4 on: 29 Mar 2003, 22:41:04 »
Hey, how do i view the tutorial mission in the mission editor?

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Intro / End of mission
« Reply #5 on: 30 Mar 2003, 10:19:58 »
Once you download and unzip the mission you should end up with a folder called Tutorial Mission.Eden.    If it went wrong, then create one and put all ten files (mission.sqm, briefing.html etc) into it.

Now move the mission folder to the right place, which is something like

C:\Program Files\Codemasters\OperationFlashpoint\Users\Yourname\missions

Start OFP, go into the Mission Editor, call up Everon and there it is.    I recommend you play it - either in the Editor, hold down the SHIFT key while you press Preview to see the Briefing - or in Single Missions before taking it to pieces.    It's not exactly ground breaking, but it is designed to be played and that is the best way to see what's in it.

It contains the answers to .... I dunno, maybe a quarter or a third of all questions posted in Editing: General.
Plenty of reviewed ArmA missions for you to play