mikey46 10 Posted January 30, 2015 (edited) I want to make my own cat shot/launch in the nimitz carrier but this must be for AI player, not for me. can anyone help me about this issue? I have the latest version of the Hawk's Nimitz addon. I did a lot of research but I couldn't find any script for AI players.. Can anyone send me a little sample mission for CWA? Thank you :) Edited January 31, 2015 by mikesmith46 Share this post Link to post Share on other sites
zulu1 145 Posted January 30, 2015 i want to make my own cat shot/launch in the nimitz carrier for CWA, but this must be for AI player, not me. can anyone help me about this issue? I have the latest version of the Hawk's Nimitz addon. i did a lot of reaserch but i couldn't find any script. can anyone send me a little sample mission? thank you I think I have something, but I need to check when I get home. Share this post Link to post Share on other sites
mikey46 10 Posted January 30, 2015 It would be perfect:) I'm waiting, thank you Share this post Link to post Share on other sites
zulu1 145 Posted January 31, 2015 It would be perfect:) I'm waiting, thank you I thought I had a script specific for that ship, but I guess I don't. You can play with this and see if it works. ;Not a brillant script, but one I thought a few people might find handy. ;Make a script called AITakeoff.sqs; _plane = _this select 0 _speed = _this select 1 _XDirection = (direction _plane) @(Call {(_plane setdir _XDirection); ((speed _plane) > _speed)}) exit ;Place a plane on a map, on the runway, pointing in the direction of takeoff. ;Place the below in the INIT field; ;[this,200] exec {AITakeOff.sqs} ;If you change the: ;((speed _plane) > _speed)[/quote] ;To: ;((GetPos _plane) Select 2)>30[/quote] Share this post Link to post Share on other sites
mikey46 10 Posted January 31, 2015 (edited) I finished the test flight with MAS's F/A-18E/F. I always use this aircraft on the ship. The 1st step is succesful; Aircraft took off by AI player with the code you wrote. Also plane couldn't get the speed and crashed into the sea. Because it needs the catapult script for quickly throwing. Or it needs AfterburnerOn script. should increase its speed, important that this. Otherwise plane can't take off the ship. I'm using the latest version of the Hawk's Nimitz and found some scripts in the carrier's .zip readme.. one of them; [Plane,Carrier, Launcher#] exec "\hwk_uss_Nimitz\script\catapult.sqs" But it doesn't work, with trigger, ship or plane.. Or I don't know how to run. That is the main problem. Edited January 31, 2015 by mikesmith46 Share this post Link to post Share on other sites
lexx 1363 Posted January 31, 2015 Can't you simply increase the planes velocity via script on startup? Shouldn't that "catapult" it off the ship? Share this post Link to post Share on other sites
mikey46 10 Posted January 31, 2015 (edited) I know it but want to make this with using a catapult. Because it's supposed to be like the real cat shot. Edited January 31, 2015 by mikesmith46 Share this post Link to post Share on other sites
zulu1 145 Posted January 31, 2015 There are 3 variables you need to pass to the script, you can't use it as stated in readme. plane=name of plane carrier=name of ship launcher#= either "katapult1" or "katapult2" So in the editor you need to put a name in the name slot for the plane and ship. Share this post Link to post Share on other sites
mikey46 10 Posted January 31, 2015 (edited) Okay I made it with an different way but thank you :) Edited January 31, 2015 by mikesmith46 Share this post Link to post Share on other sites