PDA

View Full Version : ac-130 gunship target spoting



rjtwins
Aug 11 2009, 20:39
Hello arma modders

i,m a bit new to modding and made a ac-130 gunship using the atach to
see :


AC-130J gunship

1st from back : m119

this attachto [gunship,[3,-5,-5]]; this setdir 90; deleteCollection this

2nd from back : spg 9

this attachto [gunship,[3,-3,-5]]; this setdir 90; deleteCollection this

2nd from front : spg9

this attachto [gunship,[3,-1,-5]]; this setdir 90; deleteCollection this

1st from front : Su 23 (ajusted by myself so it realy shoots ad these hight,)

this attachto [gunship,[4,3,-5]]; this setdir 9

all the guns fire at all kinds of targets.
for the su 23 ajustment, i chanced the range and burst amount a bit so the AI fires.

i incountered only one problem i cannot solve, the ac-130 fly's at 700m and can't see it's targets so it won't fire at anything.
it will only fire when a team member on the ground spots the targets, how to solve this ??

i want to use it in a costum mission so the ac can be called for support.

greating rjtwins

luckyhendrix
Aug 11 2009, 20:44
Try this,
put a trigger over the zone you want you're ac130 to attack,
condition. : True

On act.{gunner1 reveal _x}foreach units thislist;{gunner2 reveal _x}foreach units thislist;...

rjtwins
Aug 11 2009, 20:58
for the x needs to be a coordenated (i think) (can you give an example please)

redrumNL
Aug 12 2009, 19:37
Maybe if you use this..

this flyinheight 500

rjtwins
Aug 13 2009, 08:22
maby but i want it to fly realy high like the real ac130, it would be a bit unrealistic if it would fly at just 500 ft.
i already use that code to let it fly at 650.

---------- Post added at 08:22 AM ---------- Previous post was at 07:08 AM ----------

i,m also need a 40/50 mm gun, if anyone has an addon i can use.
it will replace the spg9.

redrumNL
Aug 13 2009, 11:47
Oke, i thought you just want to fly lower so you can see the targets.
But you want to fly skyhigh and still see the targets?
U use FLIR function camera sight? maybe then you see enemy better..
http://www.youtube.com/watch?v=gfOT-0-P4PI

Just wanna help you make it work :P
I luv to see working AC130 gunship in arma 2..

rjtwins
Aug 13 2009, 13:19
tanks but that was not the problem, I can see the tagets but the ai only recognizez them as unkown man.
the gunship is flown by IA.
btw : is there any way to add a scope to a static defence opject ??
via script/ config or ini ??

greatings rjtwins

Apocal
Aug 13 2009, 13:51
MK19 or AGS30 probably works better as a Bofors substitute.

rjtwins
Aug 14 2009, 10:05
yes but they only fire a single round at there taget, I WANT DEATH AND DESTRUCTIN.
i already soved this thought, made a copy of the m119 and gave it 40mm shels withe fire burst of 10 a time.
same wihte the su 23 only then in burst of 25.

rjtwins
Aug 15 2009, 13:37
this is what is the end result :

code:


AC-130J gunship

1st from back : m119 40mm (copied and then modiefied so it fires in burst of 10)
this attachto [gunship,[0,-3,-7]]; this setdir 90; deleteCollection this

2nd from back : m119 40mm (copied and then modiefied so it fires in burst of 10)
this attachto [gunship,[0,0,-7]]; this setdir 90; deleteCollection this

2nd from front : m119
this attachto [gunship,[0,3,-7]]; this setdir 90; deleteCollection this

1st from front : Su 23 (ajusted by myself so it realy shoots ad these hight and so it fires burst of 25)
this attachto [gunship,[0,7,-7]]; this setdir 90; deleteCollection this


i used a AI player as spotter withe a join trigger
to make the AI teamember to be ingnored "invisible" by other enemy AI

code:


deletecollection this; this setcaptive true; removeallweapons this


:Dtanks to all who have posted on thes thread.:D

Schilly
Aug 15 2009, 18:34
rjtwins any possibility of a demo mission of what you have going on here? Or is it some sort of crazy secret mission lol

Cionara
Aug 16 2009, 12:29
Hope you release the mission soon :D

icfhoop
Aug 16 2009, 16:32
rjtwins any possibility of a demo mission of what you have going on here? Or is it some sort of crazy secret mission lol

i 2nd that notion please do :)

Soul_Assassin
Aug 16 2009, 18:52
maby but i want it to fly realy high like the real ac130, it would be a bit unrealistic if it would fly at just 500 ft.
i already use that code to let it fly at 650.

---------- Post added at 08:22 AM ---------- Previous post was at 07:08 AM ----------

i,m also need a 40/50 mm gun, if anyone has an addon i can use.
it will replace the spg9.

ArmA shows altitude in meters so a value of 500 is abit over 1500ft.

rjtwins
Aug 17 2009, 13:23
I woud realy like to release somethink but in fack i have just started the mission, i,m not even done tweeking the weapon config.
For example whem the 40 mm fires it sometime hits the wing of the aircraft.

first : and i need some help on how to copy weapons from the weapons.pbo (already extracted ajsuted repacked) and :confused:make a new one :confused:so i don't have to post the whole weapons.bpo (wich is a bit messed up because i ajust everything the hole time :D:D).

second : does enyone have experience withe the join/ join and lead command, and i do not just mean wat you can find on the wike.
i have created a spotter but he has to be killed when a trigger is completed, at that same trigger another spotter must be added to the groep of witch to ac130 is a member and new waypoints must be added at the same time.
if this is posible please explain cafuly i,m not that gived scripter.

about the mission :
i plan to use it for an array of deferend mission, now woking on an all out assault on an russian occupied chenauruss.
i needed tha ac just to create some firework and totaly mess up some armored units.

rjtwins
Aug 23 2009, 20:51
For everyone still interestid i have finished the addon
here is a link :

http://rapidshare.com/files/270667220/AC-130_spooky_II_gunship.rar.html


and here the test mission :

http://rapidshare.com/files/270672751/AC-130U_spooky_II_gunship_test_mission.rar.html


it is an rapid share free link and is only active for 90 days an 10 downloads.
if anybody can mirror it pleas do so.

PS the readme is not completely acurat it is not pissible (the way i created the weapons) to make an ac130 gunship in the 2d editor

greatins rjtwins