bootleg soldier 2 Posted March 5, 2007 Hi all, Managed to finish making my first mission for ArmA without the patch  (silly me) and the intro features some spec op action ending in them lasing an area for two harriers to come along and bomb. Anyway to get the timings right i had to start the harriers along way off the map so they appeared in the right place on the edge of the map after 83 secs. Their first (long long) waypoint was set to limited and their second was set to normal (as they come over the coast). The timing i had was perfect and after some lovely camera work and use of the FIRE " Bomblauncher" command, splat one enemy base. Anyhoo the problem..... Well the patch has changed the default speeds for the harriers (because of the new pretty cool vtol abilities). Now limited speed is too slow for me (timings wrong) + the landing lights are on lol, and normal speed is way to quick as they are there too quick and the camera timings are obviously out. (BTW please don't say just move the planes as they are way off map and i don't know how to select them again lol.) What i need help with is the "setvelocity" command  (setvelocity[300,0,0]) that i have been trying as i can't seem to get the planes to go at the speed i put in or in a straight  line, plus i am unsure in my use of it as to direction (whether or not to use wps)  agggggh Basically in simple terms how do you get a harrier to move along its waypoint which is due east 90* moving at 300 kph, then at its second wp on the coast when it turns only slightly move to about 450kph or so (only guessing at speeds will have to work it out precisely) Have read many threads and forums and still no closer. If you know what it is that i have to do please explain nice and simple for me as my scripting ability is mainly cameras. If anyone can help i'd be muchos happy as spent a long time on the intro sequence and was so gutted when i saw it out of time. Ta much Bootleg Soldier Share this post Link to post Share on other sites
Messiah 2 Posted March 5, 2007 setvelocity only pushes them at a certain acceleration in the XYZ axis instantaneously - it doesn't mean setting their speed. easiest option would be to let the harriers fly off in the direction you want them to eventually fly over the base in, towards open sea. Name the harriers something. Then place a game logic out to sea for each harrier so that if the harrier was teleported there, it would run onto the target (they fly out to sea, but they remain on the same path so dont worry) have a trigger or in your camera script then teleport the harriers to their start positons when you want them to appear on scene - no need to mess around dragging them off screen then. <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> harrier1 setpos (getpos gamelogic1) repeat for however many harriers you have. This will instantly teleport the harriers to the positions of those game logics and they will still be flying in the same direction and speed. Just move the game logics/alter the timing when you teleport them, to suit your cutscene. Share this post Link to post Share on other sites
bootleg soldier 2 Posted March 5, 2007 Your a star, cheers messiah, hoping to do many missions with some of the great units UKF will undoutedly produce for ArmA and get us Brits involved. Share this post Link to post Share on other sites