OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: B-2-0 on 24 Apr 2003, 03:51:53

Title: NOOOOOO!!!!!!!!
Post by: B-2-0 on 24 Apr 2003, 03:51:53
 :noo: I am not happy!! >:(  I have just spent nearly 3 days coreographing my intro and having finished it was looking up a way to end it....what do i find....a thread that brings me crashing down like a chinook faced with 10 Shilkas!!  

INTROS DON'T WORK WITH MP MISSIONS!!!!!

Do u think i will get away with copying and pasting the lot to my main map and creating a cutscene at the start??

*Goes to find the Prozac and hair replacement treatment*
Title: Re:NOOOOOO!!!!!!!!
Post by: KTottE on 24 Apr 2003, 09:23:52
Yes, you can cut and paste it into your MP mission, but be aware that players can't click past it then, and long intros in MP will not promote happy feelings with the players, trust me.
So my suggestion is making an SP version of the mission instead, and have the intro on that.
Title: Re:NOOOOOO!!!!!!!!
Post by: B-2-0 on 25 Apr 2003, 00:55:53
 ;D  Ok, i have succesfully transfered my intro to my main map and i took your advice KTottE and shortened it :)

All i need to do now is end the intro just after my choppers touch down.

I have searched the tutes but can't find out how to end a looped vehicle cam script ???

Here is said script...

-----------------------------------------
vehiclecamstop = false
#loop


_cam = "camera" camcreate [0,0,0]

_cam cameraeffect ["internal", "left"]

_cam camsettarget Bird1

_cam camsetrelpos [5, -6, 1.2]

#commit
_cam camcommit 0


_cam camsettarget Bird2
_cam camcommit 0

~0.01

? NOT(vehiclecamstop) : goto "loop"    
 
 -----------------------------------------------

Thanx in advance :thumbsup:

P.S. Man it is hard trying to get 2 loon choppers to do what u want them to do on camera!! ;D
Title: Re:NOOOOOO!!!!!!!!
Post by: B-2-0 on 25 Apr 2003, 06:02:26
Ok, i have sussed out how to revert my intro-cutscene back to play.........here's how i did it for anyone else with the same problem.....

After the last line of the script-
? NOT(vehiclecamstop) : goto "loop"    

...i entered these two lines-
_cam cameraeffect ["terminate", "back"]

camdestroy _cam


Then i created a trigger where i wanted to revert to play and entered the following into the 'On activation' field-
vehiclecamstop = true

Et voila ;D