| Author |
Aircraft Control in custom scenarios? |
GlowwormGuy
Joined: Apr 21, 2002 Posts: 165 | Posted: 2003-01-17 05:02  
Hi all,
Could you guys help me script PROPERLY divebombing and torpedo bombing attacks? Whenever I program a squadron of planes to attack they either crash into the sea or do kamikaze runs on the attacked ships (particularly if they are divebombers). I can't seem to get it right.
Also, do planes ever run out of fuel? Do they ever come in to land or just circle around till they crash?
Another problem is, sometimes after a successful attack the planes just fly into mountains, particularly if the place is near land - I was scripting a Mers El Kebir type mission and it kept on happening to me!
Similarly, how do you script a squadron taking off from an aircraft carrier?
Thanks a in advance,
Mountbatten
P.S.
Glad to hear that the WW1 mod is coming along well!
 
|
horsa
Joined: Aug 01, 2002 Posts: 134 | Posted: 2003-01-17 05:27  
Taking off from Aircraft carriers - can't be done. The nearest thing is to simulate the effect by making the carrier a mobile base using command line
Airbase = number.
and then linking the base to an AIRWING group
If any aircraft come within a few feet of a carrier they explode anyway( collision routine in the code)I`ve tried asking for any ideas on avoiding this befor, but so far no one has come up with anything
Flying into mountains - Yep they're pretty dumb. It might be possible to script a change in altitude into the group orders script but I think even this option is closed if you spawn them from bases
Kamikaze - not quite sure why you're getting this. I'll get back to you.
Fuel - I think the fuel levels are predefined in their UDF
 
|
BaronVonRed
Joined: Jan 03, 2003 Posts: 577 | Posted: 2003-01-17 07:29  
Hey GlowwormGuy! Where have I seen your name before? Do you have missions posted on subsim maybe?
_________________ - The Baron
 
|
GlowwormGuy
Joined: Apr 21, 2002 Posts: 165 | Posted: 2003-01-20 22:34  
I did the 'ports mod' - it adds a truckload and a half of new port areas many of them historically accurate to design, all of them accurate to location.
And the White Cliffs of Dover!
Regards,
Mounbatten
 
|
GlowwormGuy
Joined: Apr 21, 2002 Posts: 165 | Posted: 2003-01-20 22:37  
Okay... about carrier take offs its nothing important. More critical is the aircraft kamikaze-ing into my ships particularly during divebombing attacks. I just need a template for scripting lets say torpedo attacks/level bombing/divebombing. I was trying to do Mers El Kebir (and succeeding!!) but the darn Stringbags from Ark Royal kept smashing into my (Dunkerque's) superstructure. Ditto with the divebombing planes (British DD campaign). Another frustrating thing.
Thanks in advance for any help.
Mounbtatten
 
|
GlowwormGuy
Joined: Apr 21, 2002 Posts: 165 | Posted: 2003-01-20 22:39  
Maybe its just me but don't planes die way too quickly in DC/SH2? I don't know... but aircraft groups take horrendous (100%) casualties all the time in almost every mission I've downloaded.
Should planes have more 'armor'?
Mounbatten
 
|
horsa
Joined: Aug 01, 2002 Posts: 134 | Posted: 2003-01-26 13:13  
Try attacking with large numbers of aircraft.
Groups of about 4 always seem to get picked off.
 
|
GlowwormGuy
Joined: Apr 21, 2002 Posts: 165 | Posted: 2003-01-26 22:39  
Okay... but would anyone know the correct altitudes for scheduling attacks (level/dive bombing)?
Thanks,
Mountbatten
 
|
Blowballast
Joined: Jul 17, 2002 Posts: 164 From: La Spezia - Italia
| Posted: 2003-01-27 10:11  
another strange thing about air attack:
i notice that if u make up a squadron (however, 2+ airplanes in 1 group) and tell him to make a torpedo attack...
... the squadron will launch only 1 torpedo, even if the airplanes are 2 or more.
i.e.
to launch 4 torps on 1 ship i need to use 4 differen planes\group.
it happens only to me (-> i make something wroeng) or it's normal?
_________________
www.betasom.it
Pestis eram vivus - moriens mors tua ero.
 
|