Jump to content
Sign in to follow this  
GeneralCarver

AC130 Gunship Simulation Script

Recommended Posts

Well, here it is guys. I'm pretty sure I'm not the only one who was wanting something like this, so here you go. Its not the most realistic looking setup as you will see, but I think its good enough and will certainly get the job done for firepower. The big advantage is that this is a script. Anyone with a default copy of ArmA 2 can play a mission with this in it.

Now go ye forth and make some entertaining missions with this!

Download Link:

http://www.4shared.com/file/129265162/58e3fef9/gc_ac130_script.html

(from Readme included in download)

AC130 Gunship Simulation Script

Author: GeneralCarver

Version: 1

Date: 8/31/09

Created Under ArmA 2 Ver.: 1.03

Description:

This script uses stock in game elements and some scripting to simulate an AC130 Gunship. This aircraft has several weapon systems mounted which can provide direct fire support to ground operations. The script also includes a FLIR (forward looking infa red) simulation script.

Crew: 2 (pilot / gunner)

Weapons: 1) M119 105mm Howitzer, 2) M134 .30 cal minigun, 3) M197 20mm cannon.

100% Multiplayer Compatiable

Possible to use with player directed A.I., but recommend avoiding.

The script does not respawn the AC130 if it is destroyed.

How to use in game:

The C130 can be used as it normally would. To use the gunner seat, position yourself in front of the cannon on the side and search the area forward it. Look for an action "Get in ZU-23 Gunner" in your action menu. Select that action to enter the gunner seat. To use the FLIR simulation script, be in the gunning position and use your action menu to bring up the FLIR menu. To rearm the weapons, use a standard ammo truck.

WARNING:

This script does have the following limitations to be aware of. It is possible for the gunner to hit the plane, be careful where you shoot. Also, when the plane is in a steep banked turn, the gunner might not be able to move his view. However he will regain control once the C130 is back in level flight. The pilot and gunner should work together to coordinate firing. The current arrangement of the weapon system performs best during straight, level flight.

INSTALLATION:

This script requires work in Windows and in your ArmA 2 editor to integrate it with your mission.

1. Extract the sample mission "gc_ac130_script.utes" into "..\My Documents\ArmA 2 Other Profiles\YOUR PROFILE\Missions\".

2. Locate your mission in the Missions Directory and browse its folder

3. Copy the "scripts" directory, the description.ext and the init.sqf from my sample mission directory into your mission's directory.

4. Note: If you already have a description.ext or init.sqf file in your mission, use a text editor to open these files in my mission, copy the contents, and paste them into yours and save.

5. In your ArmA 2 editor open your mission.

6. use the Merge button on the right side of the screen, select my sample mission (gc_ac130_script) and hit o.k.

7. Position the C130, triggers, and static weapons where you need to for your mission.

Share this post


Link to post
Share on other sites

I can not find the palce where you get in as gunner. Where exactly is this place?

EDIT: I have placed myself as a gunner in the cannon using moveingunner.

Very good job with the script.

Edited by Beny.cz

Share this post


Link to post
Share on other sites

Yeah, its a bit tricky. If you face the REAR of the plane, get over by the cannon and step out to the left about 3 feet, then you should get the action "Get in ZU-23 as Gunner".

Using Moveingunner.. does work.. ONCE. Then when you get out in a mulitplayer game you might experience a glitch where you view does not return to your character. This was common and that is why the script is designed this way.

Also, check the briefing.. I created a Diary Note with a picture showing where you should stand roughly.

Share this post


Link to post
Share on other sites

Whenever I copy the scripts etc. to a chernarus map, it doesnt work. what am I doing wrong?

Share this post


Link to post
Share on other sites
Whenever I copy the scripts etc. to a chernarus map, it doesnt work. what am I doing wrong?

You must not be copying over the In Editor elements. You must copy over the Init.sqf, description.ext and scripts to your mission in windows, but then in the editor you need to copy the C130, triggers and static weapons used also.

Share this post


Link to post
Share on other sites
is there a way to switch the gun's side?

Yes, but it would mean modifying the scripting done on the static weapons in the game. Sorry at this time I am personally not willing to do this. But feel free to modify my script however you like. : )

---------- Post added at 06:20 PM ---------- Previous post was at 06:09 PM ----------

Whenever I copy the scripts etc. to a chernarus map, it doesnt work. what am I doing wrong?

If anyone is having trouble like this, you are not copying the files over correctly. The island has nothing to do with anything created in this script.

Edited by GeneralCarver
added quote

Share this post


Link to post
Share on other sites

I'm not having a problem getting it to work.

I am combining it with another mission though, so I was unable to use your FLIR script since many of the buton definitions were the same as the other mission (great work on the FLIR dialogue tho - works great when the mission is designed around the AC130). I am using another FLIR script that works just fine tho.

The aircraft spawns just fine and the guns attach just fine as well.

My problem is respawn. The guns respawn outside of the aircraft. Any idea on how I can get the gun to build inside the aircraft before it spawns?

Share this post


Link to post
Share on other sites

Been trying for a few hours, cant for the life of me find the "spot" where you get in the gunners seat even looking at your briefing any ideas?

Share this post


Link to post
Share on other sites

OMG this is an OLD post to dig up !

You could try LurchiderLurch's AC130 script .... it's more up to date. Search for it!

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
Sign in to follow this  

×