|
Author
|
Topic: Bjorn, help needed for droptanks
|
Royohboy Pilot
|
posted 04-24- 04:28 PM
Bjorn,I hope you can help me here, because you're both, a DOF-expert and you know something about CTDs. I have followed you cookbook-recipe for speed-sensitive landing gears and succeeded in cooking up a DOF that detaches when activated. I have made this object the child of a droptank model that actually is a rocketpod (and thus can be loaded via loadout.ppf). onChildDetach 'dropper (the DOF that gets ripped off) the droptank is made to detach as well. The tank is dropped via the cmdDoorToggle (U). Everything works fine except for the game CTDing as soon as I drop the tank:-( Can I send you the aircraft (modified stock FW190A), so that you have a look? Peter peter.wuesten@gmx.de IP: Logged |
Royohboy Pilot
|
posted 04-24- 05:08 PM
BTW, if we get this to work we'll have not only droptanks, but also JATO-rockets, droppable gunpods, etc. at our hands.IP: Logged |
bjorn Pilot
|
posted 04-24- 06:08 PM
So... if I understand correctly, you activate the DOF on cmdDoorToggle, which causes it to be ripped off, which was intended to cause the drop tank to detach but instead gives you a CTD. Is that it?Have you tried not dropping the tank but just start a coloured debug smoke trail from the tank? Did it work? My thoughts on drop tanks have been similar to yours, but done the other way around. I thought of having a separate drop tank pod (identical in all respects to a bomb pod,) only *it* has the DOF instead. I haven't tried anything with this at all, so I don't know if it's feasible, just some speculation on my part. _ /Bjorn.
IP: Logged |
Royohboy Pilot
|
posted 04-24- 06:28 PM
Hi Bjorn,yes, that is my problem. Thanks for your hint, I'll try it. Peter IP: Logged |
Royohboy Pilot
|
posted 04-25- 10:54 AM
Bjorn,the debug-smoke turned up, I guess that means that basically it works. What's causing the CTD is onChildDetach -> obDetach. I have tried your approach afterwards (i.e. the droptank has the DOF), and this kinda works, too. Only thing is that everytime the droptank is detached the aircraft explodes (but doesn't CTD). Here's the proplist for the droptank: (obProto 'COrdPylon) (ordType 'Rocket) (obSSO) (obOrdPt 1 - 2.56634,1.05852,1.17237 ) (obDamage (obHits 10 onDmg 1 (obDetach))) (phyLBS 200) (plus ( phyRelDensity 1.000000 phyCylYInertia 2.099977,6.438003,2.096815 phyCG 0.000000,0.999996,0.000000 )) [This message has been edited by Royohboy (edited 04-25-2000).] [This message has been edited by Royohboy (edited 04-25-2000).] BTW, I think my approach looks a little more elegant (because moving part is invisible), but your approach seems to be the one to work. I have looked at the inertia-stuff, nothing negative there. [This message has been edited by Royohboy (edited 04-25-2000).] IP: Logged |
Tailslide Pilot
|
posted 04-25- 11:07 AM
Does the drop tank have inertia properties? Does it have an explode line in it's damage list? TS
IP: Logged |
Royohboy Pilot
|
posted 04-25- 11:54 AM
Look at the above property list, Tail. It has inertiy, but no explosion-line.IP: Logged |
Tailslide Pilot
|
posted 04-25- 01:29 PM
I don't mean the pylon I mean the drop tank itself. TS
IP: Logged |
Tailslide Pilot
|
posted 04-25- 01:31 PM
Oh I see the drop tank IS the pylon and you're detaching the pylon? Or is the drop tank a child of the pylon. What I'm saying is check all the children objects to see if they have an explode damage line. TS
IP: Logged |
Royohboy Pilot
|
posted 04-25- 01:49 PM
YEAH! IT WORKS!I found out what caused the explosion: After detaching the droptank was thrust against the fuselage, and the fuselage exploded, not the droptank. Adding obNoCollide to the droptank's proplist fixed it. Now for the next problem: instead of just falling down like a well-behaved bomb it flies around like a leaf in the wind, and generally upwards through the aircraft - which looks really silly. I have tried making it well-behaved by pasting airfoils from a bomb to the droptank and adding (onDetach ('airfoil1 'activate ... etc.) to the droptanks proplist. Well, it didn't work. Anybody who'd like to take a look at my droptank and experiment on his own - drop me a line. The droptank is really easy to cut and paste into your own aircraft, replacing my ugly tank with whatever you made. Peter peter.wuesten@gmx.de IP: Logged |
charmstar Pilot
|
posted 04-25- 02:37 PM
Is the inertia box defined appropriately for the tank? Also, I'd try making the tank significantly heavier, and see if that helps. It seems like you should be able to get the tank to drop correctly if you model it after the bombs...BTW, this sounds pretty sweet... good work! charm IP: Logged |
Jerry Pilot
|
posted 04-25- 03:00 PM
The empty drop tanks did flutter when dropped. I'm not sure how they managed to keep them from hitting the plane - aerodynamics, drop while pulling up, spring ejection?IP: Logged |
Mighty Pilot
|
posted 04-25- 04:07 PM
Make sure your airfoils are nice and square. Our bombs used to flutter because one of the early artists didn't know any better and placed them by hand and they weren't lined up very well.IP: Logged |
Royohboy Pilot
|
posted 04-25- 04:36 PM
BTW, Tail, aren't you admin of the OPP-forum? I have quite a couple of ideas shelved, and I'd like to work in a team with others. How do I become a member?Peter IP: Logged |
Jaguar Pilot
|
posted 04-25- 07:44 PM
I made drop tanks for the P-51, P-38, and 190. They look pretty good, and I modified the airfoils so they look AWSOME falling to the ground. Do you want them?------------------ Cheers! Jaguar The FS Hangar IP: Logged |
Robert Pilot
|
posted 04-25- 07:59 PM
Jerry! "I'm not sure how they managed to keep them from hitting the plane - aerodynamics, drop while pulling up, spring ejection?"
Your question reminds of a story that is supposed to have happened to a pilot in a J21R (Jet version), which carried droptanks on the wingtips. After a flight the mechanic asked the pilot; "Everything went OK?" "Well, I dropped the tanks, they came off, so far everything was OK." "Good." The mechanic was pleased. "But...they didnīt fly off" the pilot added. "They came rolling towards me on the wings!" This led to the addition of fins on the tanks that steered them away from the aircraft after jettison. So I guess one answer to your question is, they didnīt! /Robert [This message has been edited by Robert (edited 04-25-2000).] IP: Logged |
Royohboy Pilot
|
posted 04-26- 03:00 PM
Jaguar,yes, please send them to this address: peter.wuesten@gmx.de IP: Logged |
Mighty Pilot
|
posted 04-26- 03:57 PM
Ever see the video of a F-18 drop tank test where the tank went at a sharp angle to the side and clipped the wing of the A-4 chase plane? (Sorry, off topic)IP: Logged |
Tailslide Pilot
|
posted 04-26- 04:48 PM
Is that little gem available on the net Mighty? Royohboy, if you drop an email to Kopper he can get you setup on the OPP mailing list and the forum. Working on a plane by yourself is just too much work  TS IP: Logged |
Mighty Pilot
|
posted 04-27- 05:08 PM
I have no idea if it's on the net. I saw it on one of those Discovery/A&E video collections. (Big waste of money, BTW. At best 1/4 were worth watching. For example, one of the random shots they threw in was a guy filling the gas tank of a P-38. It lasted about two mintues. Two minutes of a guy crouched on a wing holding a fuel hose. Oh, boy.)IP: Logged |