OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Challenger on 22 Oct 2005, 13:08:54
-
hi fellow mission makers :P
Im making a cutscene for my campaign, invloving two jets taking off from Hawk's USS Nimitz carier. i cant fathom it. wherever i place the planes, they go off the port bow and crash. any help would be great.
Challenger :-\
-
I would try setpos and right afterwards setvelocity. - That would also be a good simulation of the catapult.
But you would have to wait with showing the planes after they speeded up, to keep up the illusion.
And I don't know if the AI would prevent a crash after such a take off.
Maybe they even explode on the flight deck if OFP misunderstands their high velocity close to the ship.
-
Two things to try....
1.. Try making all pilots 'x setBehaviour "CARELESS"
2.. Try making one of the pilots the player - then do the setVelocity thing..
-
Setvelocity would be the way to go.
If you setvelocity incrementally (10, 20, 40, 80 ,160), it will look ok for the camera 8),
but if the planes travel too fast (>100 or so) before they get off the deck, they will crash.
The A.I. recovers from setvelocity just fine, so once they are off the deck, they'll fly normally :)
-
I don't know the realistic velocity of the steam catapults, but maybe it will look realistic without increments and just the right speed value.
If realistic speeds are too fast, the minimum take off speed of the OFP plane should be perfect.
-
I've been having the same problem with crashing off the port bow using cat 1 and 2. It looks as though the planes hit one another being so close. Is there a way of making them takeoff at different times instead of all at once. I've tried triggers and sync - neither one worked for me.
-
@shakes
Yes there is, mate :D. Create a master execution script. I'll call it myMasterCat.sqs.
Then type this simple block of code into it:
[myParamaters] exec "catapult.sqs"
~3
[myParamaters2] exec "catapult.sqs"
exit
myParamaters/myParamaters2 are the paramaters if your catapult script needs any, and catapult.sqs is the name of your script. ;)
[EDIT] Now Plank's going to show up here soon swear'n about how I can't spell parameters. ;D
-
Now Plank's going to show up here soon swear'n about how I can't spell parameters.
Hmmm......seems you managed to spell it ok there. >:(
Planck
-
[Offtopic]
myParamaters/myParamaters2
But not there ::)
[/Offtopic]