View Single Post
Old 05-15-2004, 10:30 PM   #1 (permalink)
SJG
Senior Member
 
Join Date: Dec 2002
Location: China
Posts: 180
Default need help about air transport

Well,I want to make the transport plays anims when it's landing and taking off,so i give it a weapon like the one of troopcrawler and attach a module which make it deploy when its going to fire a weapon(like the nuke cannon).
But when ingame,when i give it the order to deploy in a selected area, it only flies towards the target and stays in the air.
Here's part of the code
Code:
    ConditionState = DEPLOYED
      Model = LmbdShuttle_STD
      Animation = LmbdShuttle_STD.LmbdShuttle_STD
      AnimationMode = LOOP
    End
    ConditionState = UNPACKING
      Model = LmbdShuttle_UDP
      Animation = LmbdShuttle_UDP.LmbdShuttle_UDP
      AnimationMode = MANUAL;ONCE
    End
    ConditionState = PACKING
      Model = LmbdShuttle_DPL
      Animation = LmbdShuttle_DPL.LmbdShuttle_DPL
      AnimationMode = MANUAL;ONCE
    End
...
  Behavior = DeployStyleAIUpdate ModuleTag_04
    Turret
      TurretTurnRate = 300
      TurretPitchRate = 300
      FirePitch = 0
      AllowsPitch = Yes
      RecenterTime = 1
      ControlledWeaponSlots = SECONDARY;PRIMARY
      NaturalTurretAngle = 0
      InitiallyDisabled = Yes
    End
    AutoAcquireEnemiesWhenIdle = No
    PackTime = 3333
    UnpackTime = 3333
    TurretsFunctionOnlyWhenDeployed = Yes
    TurretsMustCenterBeforePacking = No
    ManualDeployAnimations = Yes
  End
  Behavior = ChinookAIUpdate ModuleTag_05
     AutoAcquireEnemiesWhenIdle = Yes
  End
  Behavior = TransportContain ModuleTag_08
    Slots = 8
    DamagePercentToUnits = 100%
    AllowInsideKindOf = INFANTRY VEHICLE
    ForbidInsideKindOf = AIRCRAFT HUGE_VEHICLE
    ExitDelay = 100
    NumberOfExitPaths = 1
  End
Could anyone point out where the problem is?the code has passed the checking of WB already
SJG is offline   Reply With Quote