Rembo 0 Posted July 20, 2004 Im trying to make a cut sene on everon where a truck drives from de littel dessert land. and gets destroyd befor it gets to the first citty.. and some russians emboshing them from the mountens, then flash-back then you go to the small trainings camp. where everyone's training, then youl hear a radio speaking. 'we just got news that theres a atack on us-troops we need......' and then a officier cums and calles youre pletoon and then some ah-1's take off hadding to the eiland full of russian troops... how do i make that? Share this post Link to post Share on other sites
Junker 0 Posted July 21, 2004 Quote[/b] ]Im trying to make a cut sene Goto OFPEC and get the tutorial made by Messiah Quote[/b] ]and then a officier cums You can do that in OFP Share this post Link to post Share on other sites
aook002 0 Posted July 22, 2004 An easy way to make a camera / cutsence thingybob is to uses this code in the init field of a solider. <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">this exec "camera.sqs" Camera.sqs is the inbuilt camera made by BIS - you may find it very useful  Oh and by the way press CTRL to take the camera shot and then you will find the code in the Operation flashpoint directory. (C:/Program Files/Operation Flashpoint/Clipboard.txt) You also need a little knowledge of camera scripts but very little. #################################################################################### Edit: here's some snippets of a camera script... (Things you need to know) _camera = "camera" camcreate [0,0,0] Camera Naming _camera cameraeffect ["internal", "back"] Camera Effect _camera camSetTarget [94464.92,48079.57,-24807.21] Stuff about where camera is looking _camera camSetPos [9557.68,1460.72,18.34] Stuff about where camera is looking _camera camSetFOV 0.700 Stuff about where camera is looking _camera camCommit 0 How long it takes the camera to get to the camera shot position from the previous one. The 1st one is always best to be at 0 or you get the camera flying across half the map ) @camCommitted _camera ~6 How long you want the camera to stay at the camera shot _camera cameraeffect ["terminate", "back"] Deleting camera camdestroy _camera Deleting camera exit Exiting Script #################################################################################### Aook  Share this post Link to post Share on other sites
Rembo 0 Posted July 22, 2004 tnx if tryd but im hard on the way of getting my onw mission i also get the 1-2 teams u know a 21sld pletoon to 1 10 and 1 11 pletoon by codes so the part of combined arms is going good ( by the way ) the mission im making is called> 'Combined arms' and its around 1970 ore something like that, its beginning like the game, a copple of troops dieing counter atack u know..... when the ruskys take over morton the problems start. and the US-ah's thake of for a deathly mission (but the rest i wont tell maby il Make a DL from it if its ready..... Tnx anyway Seeya Share this post Link to post Share on other sites
Junker 0 Posted July 22, 2004 here u go, Lolsav wrote a nice little Tut for Cam Scripting. Quote[/b] ]<span style='color:red'><span style='font-size:14pt;line-height:100%'>The terrible camera.sqs thingy</span></span>my tutorial for intros/outros <span style='font-size:25pt;line-height:100%'><span style='color:darkred'>First things</span></span> Open your mission and place a unit on the map (i usually put a civilian cuz he is blue on editor and its easy to find him) and type this on his init file Ok done? Next hit <span style='color:green'>preview</span> button and u have a camera, easy eh? <span style='font-size:25pt;line-height:100%'><span style='color:darkred'>How to move the camera?</span></span> Very easy. Use it as a chopper.  W, S, A, D, plus keypad up, down, left, right to rotate the camera, the E key to move faster and the  + and - signs to zoom in or out. Done? ok, now if u press spacebar on the ground you will have a yellow box. This means the camera is locked on that target and if u dont press the keypad u can rotate, or zoom in, or whatever, always locked on that target. IF the camera is locked on a specific unit it will turn red, as the image below shows. Ok, yellow locked on ground, red on a unit. Now, i personnaly dont like to lock it on units, because if u lock it on a unit you intend to use, like one of the players, and he isnt selected on lobby, you f**k up the camera. Simple as that, cuz there are nothing to show, and the script messes it self. <span style='font-size:25pt;line-height:100%'><span style='color:darkred'>Ok i know how to move camera, but how to put that on a script?</span></span> This is the handy part You only have to move the camera to the place u want and just hit <span style='color:Green'>LEFT CONTROL</span> Just like that? YES! Now what? Easy, <span style='color:Green'>ALT TAB</span> and open <span style='color:green'>NOTEPAD</span> and <span style='color:brown'>PASTE</span>. That´s it? YES! You just have to repeat the process for each location on the map where you want the camera to travell to. <span style='font-size:25pt;line-height:100%'><span style='color:darkred'>Now i have a bunch of mambo jambo. What i do with that?</span></span> What you will see is something like this: Ok. Now notice what i have marked on the image. Those are the "thingys" u can mess with, no need to mess with the others. The script starts ordering OFP engine to start a camera, wich he gently obbeys. Then, the location where the camera should start, wich u can manually insert as [0,0,0] since it doesnt really matters with it starts. I wanted an internal view, but there are more available, just check the type of cameras u can have in mission editor, in any trigger, on effects. <span style='font-size:25pt;line-height:100%'><span style='color:darkred'>Ok now what about the other thingys u have marked on the image?</span></span> Well that is what make the camera move, slow or fast, Zoomed into to things, or zoomed out. Thats where the art of the movie maker kicks in. You have to tell the camera <span style='color:green'>how long it will take to travel</span>from a place on the map to the next. With wich type zoom. Those are the values to edit, in my humble opinion. Next you need to tell the camera to stop, to OFP to destroy it and commence the mission. Put those lines at the end of the script. <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> _camera cameraEffect ["terminate","back"] camdestroy _camera <span style='font-size:25pt;line-height:100%'><span style='color:darkred'>Ok now how do i save my movie and make it appear on the start of a mission?</span></span> Save the scrit as intro.sqs or mpintro.sqs or whatever .sqs To tell ofp to start the intro u need to make the script start to work. I personnaly like to put in my init.sqs file (a file that is preloaded automatically by OFP and it doesnt need nothing to make the script start to work), something like this <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">[] exec "intro.sqs" And thats it. Share this post Link to post Share on other sites
general 0 Posted July 23, 2004 I don't get it. I'm saving the document with the scripts as intro.sqs and then I putting this into a init field.<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">[] exec "intro.sqs" nothing happens! what's wrong? Share this post Link to post Share on other sites
aook002 0 Posted July 23, 2004 In notepad or any other text editor are you using quotation marks around the file name...so it goes something like this: Also im not sure if it would make any difference but you could try using "this" or the name of the soldier instead of []. Aook  Share this post Link to post Share on other sites
Rembo 0 Posted July 23, 2004 this is my unit edite screen where do you make it in? cus it dosnot even match yourse Share this post Link to post Share on other sites
theavonlady 2 Posted July 23, 2004 this is my unit edite screen where do you make it in? cus it dosnot even match yourse When you initially get into the editor, click on the ADVANCED button. Then, all fields will show up from now on. Share this post Link to post Share on other sites
general 0 Posted July 23, 2004 a file or a document can't have " in the name Share this post Link to post Share on other sites
general 0 Posted July 23, 2004 and I get an error message Quote[/b] ]*+#" invalid nuber in expresion Share this post Link to post Share on other sites
theavonlady 2 Posted July 23, 2004 a file or a document can't have " in the name I think that if you use quotes, Windows won't append by force the file type (TXT for example) to the file name. Share this post Link to post Share on other sites