Jump to content
mikey46

CVN-68 Nimitz cat shot for AI player

Recommended Posts

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 by mikesmith46

Share this post


Link to post
Share on other sites
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
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

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 by mikesmith46

Share this post


Link to post
Share on other sites

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

I know it but want to make this with using a catapult.

Because it's supposed to be like the real cat shot.

10900059_491033557704201_5504537227666150405_o.jpg?oh=8dd487323c443332b0ddb07565794af4&oe=54CFC69A&__gda__=1422837004_4238c8c974416daf880be0947036d42e

Edited by mikesmith46

Share this post


Link to post
Share on other sites

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

Okay I made it with an different way but thank you :)

Edited by mikesmith46

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×