Pappy Boyington 0 Posted March 12, 2004 the AI flys a perfect circle around the target. the only problem wit the script for the AC47 is the targeting method (laser designator).gonna tap into the coc_us and see if i cant figure out how they did the map click targeting and mabe implement that instead for the AC47. and for the AC130 ill just leave it as laser designation Share this post Link to post Share on other sites
dinger 1 Posted March 12, 2004 you don't need to tap into coc_ua to find that out. <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> _MapClickHandler = {CoCIFMApClicked = true; CoCIFMapPoint = _pos} if ({count _x > -1} count [CoCMapClickHandlers] > 0) then {CoCMapClickHandlers = CoCMapClickHandlers + [_mapClickHandler]} else {CoCMapClickHandlers = [_MapClickHandler]} OnMapSingleClick _MapClickHandler #WaitForClick _timeout = _time + 60 @(CoCIFMapClicked or (_time > _timeout)) CoCIFMapClicked = false CoCMapClickHandlers = CoCMapClickHandlers - [_MapClickHandler] ?count CoCMapClickHAndlers > 0:OnMapSingleClick (CoCMapClickHandlers select ((count CoCMapClickHandlers)-1)) ?_time > _timeout:hint "SET AIMPOINT TIMEOUT";goto "end" _Aimpoint = [CoCIFMapPoint select 0, CoCIFMapPoint select 1, 0] #end exit Share this post Link to post Share on other sites
somebloke 0 Posted March 12, 2004 My only question is, when will it be out? Share this post Link to post Share on other sites
kdog 0 Posted March 13, 2004 very cool. good to see that somebody finally decided to give implementing a spectre a try kdog Share this post Link to post Share on other sites
Pappy Boyington 0 Posted March 13, 2004 My only question is, when will it be out? as deadmeat would say "when its done" Share this post Link to post Share on other sites
ExtracTioN 0 Posted March 13, 2004 right when it is done Share this post Link to post Share on other sites
Koolkid101 0 Posted March 13, 2004 Remember way back when everyone said it wasn't possible? Share this post Link to post Share on other sites
Colossus 2 Posted March 13, 2004 Check this site for info on the AC-130 AC-130 Share this post Link to post Share on other sites
dinger 1 Posted March 13, 2004 It's still not possible koolkid. Share this post Link to post Share on other sites
redhawk_six 0 Posted March 13, 2004 I had an idea as how to work it. Have one gunner control all guns. He'd only be able to fire one at a time, and could cycle through all the diffrent guns, just like anyother aircraft with more than one weapon type. Plain and simple. Share this post Link to post Share on other sites
somebloke 0 Posted March 13, 2004 or maybe someone could somehow script the aircraft into different sections, so you could have a gunner in each section (sort of like falkand's mod's HMS Hermes). Share this post Link to post Share on other sites
dinger 1 Posted March 13, 2004 Okay, here's how it boils down: Limitations: A) no turret on airplanes B) viewdistance insufficient for standing off on the gunship. Solutions to A: 1) Move turret with airplane Problem: It'll look like crap in MP, since the turret won't fly with the aircraft. 2) Make AC-130 a helo. Problem: ugh solution to A and B: 3) a) Make the AC-130 entirely AI-driven, with a control system that moves it around, and follows requests for targets (yeah, UA-style) b) Have all weapon systems pop out the front wtih minimum speed. c) In firing mode, a fire-control system constantly reads the aircraft's elevation ASL, the speed, and calculates the trajectory to target, throws in a little error, and publishes that information to a series of variables dynamically assigned to the aircraft. d) A Fired EH that grabs the shells, reads the corresponding variable, and flings them earthward. The problem: minigun will probably not work well. Share this post Link to post Share on other sites
Pappy Boyington 0 Posted March 13, 2004 solution to A and B:3) Â a) Make the AC-130 entirely AI-driven, with a control system that moves it around, and follows requests for targets (yeah, UA-style) Â b) Have all weapon systems pop out the front wtih minimum speed. Â c) In firing mode, a fire-control system constantly reads the aircraft's elevation ASL, the speed, and calculates the trajectory to target, throws in a little error, and publishes that information to a series of variables dynamically assigned to the aircraft. Â d) A Fired EH that grabs the shells, reads the corresponding variable, and flings them earthward. The problem: minigun will probably not work well. minigun works perfect. you are right about one thing thou. the plane DOES have to be AI drivin. but when ur butt is stuck behind a sandbag with 40 AI movin in. .that AI drivin AC130 (or AC47) will be a sight for sore eyes and if its not possible. then why do i have an AC47 making advancing VC's misison a living hell? quite a beautiful site to see those tracer rounds fired at high volecity toward the earth. Share this post Link to post Share on other sites
4 IN 1 0 Posted March 14, 2004 hummmm, seems this lovely script would shut many ppls mouth for a long~~~~ time, or through it is script, but as far as it works, who cares? Share this post Link to post Share on other sites
Trenchfeet 0 Posted March 14, 2004 @Miles Teg Quote[/b] ]The hardest part will be getting the plane flown by AI pilots to fly a circuit around the target thats only how it operates atm. An also you didn't see my post on page 1 Â to keep it short go to this link http://www.flashpoint1985.com/cgi-bin....=storch Share this post Link to post Share on other sites
HunterKiller 0 Posted March 14, 2004 u cud make a c130 with out using a turret all u need to do is make its "moveable weapons" point in a decent direction for firing i have started to make a new ac130 with a ac130 3d model thing so it shud look more realisitc than a modyfied c130! Share this post Link to post Share on other sites
Pappy Boyington 0 Posted March 15, 2004 well if extraction ever gets his butt on MSN mabe we can discuss ur addition to the "team" Â Share this post Link to post Share on other sites
ExtracTioN 0 Posted March 15, 2004 lol been bussy with work these days m8 I am just back from work again this was my last day as night work now I am gonna sleep and till next monday I am free from work so we can discuss and speak about further plans today or tommorow cause I am like drunk now really tired I hate working at night Tommorow all day or today late in evening when I wake up I am on msn m8 Share this post Link to post Share on other sites