Thread: Parachute logic
View Single Post
Old 05-16-2004, 10:29 AM   #1 (permalink)
EvilViking
Senior Member
 
Join Date: Jul 2003
Location: USA
Posts: 442
Send a message via MSN to EvilViking
Default Parachute logic

Hey, just a quick question, how exactly does the parachute logic work, and how can you make a unit parachutable? I'm trying to make a superweapon that gives you a free dozer, and it works fine, exept two things:

1. The Dozer is dropped off about a Command Center's lenth away from where it's supposed to fall

2. It has not parachute, and simply falls straight down

Can anyone help out?

Oh, and as for the location of the drop, here's my OCL:

ObjectCreationList SUPERWEAPON_DozerDrop
DeliverPayload
Transport = AmericaJetCargoPlane
StartAtPreferredHeight = Yes
StartAtMaxSpeed = Yes
MaxAttempts = 4
DropOffset = X:0 Y:0 Z:-5
DropDelay = 300 ;500 ; time in between each item dropped (if more than one)
PutInContainer = AmericaParachute
Payload = AmericaVehicleDozer 1
DeliveryDistance = 250
DeliveryDecalRadius = 100
DeliveryDecal
Texture = EXTargeterAlpha
Style = SHADOW_ALPHA_DECAL
OpacityMin = 25%
OpacityMax = 50%
OpacityThrobTime = 500
Color = R:255 G:0 B:0 A:255
OnlyVisibleToOwningPlayer = Yes
End
End
End

Could changing the DropOffset = X:0 Y:0 Z:-5 to DropOffset = X:-100 Y:0 Z:-5 fix the drop location? Thanks!
EvilViking is offline   Reply With Quote