Home   Help Search Login Register  

Author Topic: Cutsenes inside the Missions (SOLVED)  (Read 1112 times)

0 Members and 1 Guest are viewing this topic.

Offline Flashpoint

  • Members
  • *
Cutsenes inside the Missions (SOLVED)
« on: 09 Apr 2009, 15:31:46 »
I have been asking myself for so long this but i still dont know how to add cutsenes to the middle of mission..If anyone knows then please reply.
« Last Edit: 11 Apr 2009, 12:24:02 by Flashpoint »

Offline Ext3rmin4tor

  • Members
  • *
Re: Cutsenes inside the Missions
« Reply #1 on: 09 Apr 2009, 16:44:16 »
You have to write a script with all the camera movements like a normal intro but the script is fired by a trigger. For example if you want to start your cutscene after NATO has seized a town (but this is just an example) controlled by Russians, you can create an area trigger with the following parameters:

East - Detected by NATO

TIMEOUT: 60 seconds

TYPE: None

CONDITION: (not this) and apInTown

ACTIVATION: [] exec "myCutscene.sqs"

apInTown is a boolean variable you'll have to set to true when the player or his team reaches the last waypoint in town. For example you can place a series of waypoints in the town to make the group move around it and in the last waypoint in the Activation field write apInTown = true

This trigger is thus fired when the east is not detected by NATO for 60 seconds or more in the town area (so that they think the town is under their control) and the player has reache his last waypoint. When these conditions are met, the trigger will fire the script and the cutscene starts. During a cutscene the player can't control his unit so you don't have to worry about that. Remember to set the acceleration Time to 1 during inGame cutscenes (setAccTime 1) as first line of the script since the player might have increased it before the trigger was fired.

What I don't know is if you have any experience in making cutscenes, that is, if you know how to create a camera and move it around, as well as to use "camera.sqs" to easily get shots for the camera. Can you do that or you have no experience at all?
« Last Edit: 09 Apr 2009, 16:45:48 by Ext3rmin4tor »
How can you shoot women and children?
Easy! Ya' just don't lead'em so much! Ain't war hell?!!

Offline Flashpoint

  • Members
  • *
Re: Cutsenes inside the Missions
« Reply #2 on: 09 Apr 2009, 16:56:59 »
Thank you so much! This sure helped me alot.
I actualy do know how to make video and missions and i dont got scripting problems..If i got any problems then its something that i havent used before.I know how to do very much stuff and i also got a book which has all the scripts inside..(I got all the scripts somewhere from BI page.)
« Last Edit: 09 Apr 2009, 22:28:22 by Flashpoint »