posted 07-01- 02:41 AM
Thats what I would do:Look at a Pilot.sm file (i.e. PilotSit.sm) and try to understand how chutes work (RopePts, functions etc..).
So first we got this in the Group (might cause the chrashes) of the pilot.sm:
(obProto 'CCrew)...(onDetach (obExec (Name 'bodySit Func 'Flyboy Name 'cigar Func 'Flyboy)))
..seems that the group detaches when you press ctrl+J, ok now we look into the 'cigar object:
(obFunc (Flyboy (obSmokeTrail (smkDensity .1 smkColor 220 200 180 smkLifetime 0 smkDiameter .1))))
Hmmm - no call for the chute..
'parpack-object:
(obRopePts (verts 0.5,0,0.75 4,0 0.5,0,0.75 3,0 -0.5,0,0.75 2,0 -0.5,0,0.75 1,0 ))
'parachute-object:
(obProto 'CChute) (phyLBS 50) (obDamage (obHits 50 onDmg 5 (obSmokeTrail (smkFire smkDiameter 8 smkLifetime 0)))) (obDependent 'Pilot) obFunc (Flyboy (airSection "CYL" airK 1.0 airAR 5)) (plus (phyBoxInertia 14.1906,14.1906,9.59401 phyCG -0.0129757,-0.195725,4.797 ))(obRopePts (verts 6.99438,-6.63385,-0.1672 4,0 6.81494,6.85167,-0.1672 3,0 -6.65355,7.03873,-0.1672 2,0 -6.9499,-6.70399,-0.1672 1,0 ))
So I did not exatcly know what "exec's" the 'Flyboy func in the chute, but if 'CChute is not bound to 'CCrew it might be possible to use the chute with other things.
Try it out.
LK