logo   login
right
Home Forums Downloads Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Forum Info
Forum Members: 18,581
Total Threads: 8,668
Posts: 94,540

Administrators:
DeeZire, Redemption

There are currently 47 users online.
Partner Links

Free Credit Repair

Learn the Ticket Broker Secrets
Advertisements


Generals & Zero Hour Editing Discuss any modding related issues to do with Generals and Zero Hour here.

Reply
 
LinkBack Thread Tools
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  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-16-2004, 02:27 AM   #2 (permalink)
Senior Member
 
Join Date: Jun 2003
Posts: 462
Send a message via AIM to Kelso Send a message via MSN to Kelso
Default

I dunno that air units can deploy? I never tried it but that would be my guess.
Kelso is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-16-2004, 04:40 AM   #3 (permalink)
Senior Member
 
Join Date: Aug 2003
Location: UK
Posts: 704
Send a message via MSN to Mithril
Default

Haven't looked at it closely but you have two AIUpdates there, Deploy and Chinook. Only one can be present..
Mithril is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-16-2004, 05:04 AM   #4 (permalink)
Senior Member
 
Join Date: May 2003
Location: Eindhoven, Netherlands
Posts: 2,278
Send a message via ICQ to CodeCat Send a message via MSN to CodeCat
Default

Well from what I noticed you can have more than one, but you get weird/undesired stuff. So it's still a bad idea.
CodeCat is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Unit transport... Dibelius Generals & Zero Hour Editing 2 03-18-2005 03:20 PM
Transport Contain RedLeader Generals & Zero Hour Editing 3 01-21-2005 07:36 AM
Transport behavior to get something else Mishkin Generals & Zero Hour Editing 5 09-13-2004 05:10 PM
Transport Helicoptor gameboy_one Generals & Zero Hour Editing 18 08-01-2003 06:08 PM
Transport question SilverMobius Generals & Zero Hour Editing 5 07-14-2003 04:56 PM


All times are GMT -4. The time now is 03:43 PM.


Design By: Miner Skinz.com
Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.