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

Forum Info
Forum Members: 18,643
Total Threads: 8,744
Posts: 95,520

Administrators:
DeeZire, Redemption

There are currently 21 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 07-11-2004, 01:12 AM   #1 (permalink)
Senior Member
 
Join Date: Feb 2003
Location: USA
Posts: 386
Send a message via AIM to warlord Send a message via MSN to warlord Send a message via Yahoo to warlord
Default Multiple AI Updates?

I was wondering if I could have multiple AI Updates on 1 vehicle. Reason I want that is because I want primary weapon to just be a normal turret but secondary be a deploy turret. Is there a way to tell it not to deploy whe firing primary weapon but deploy for secondary.

Here is my code for both AI Updates and hopefuly someone can help me in creating the turret code for my vehicle.

Code:
  Behavior = AIUpdateInterface ModuleTag_03
    Turret
      TurretTurnRate       = 90 ;60   // turn rate, in degrees per sec
      ControlledWeaponSlots= PRIMARY
      FiresWhileTurning = No
      RecenterTime = 2500
    End
    AutoAcquireEnemiesWhenIdle = Yes
  End
  
  Behavior = DeployStyleAIUpdate ModuleTag_04
    AltTurret
      TurretTurnRate        = 0 ; Dont Turn
      TurretPitchRate       = 0
      FirePitch             = 0            ; Instead of aiming pitchwise at the target, it will aim here
      AllowsPitch           = Yes
      RecenterTime          = 10         ; how long to wait during idle before recentering
      ControlledWeaponSlots = SECONDARY
      NaturalTurretAngle    = 0
      InitiallyDisabled     = Yes
    End
    AutoAcquireEnemiesWhenIdle = No
    PackTime = 3333
    UnpackTime = 3333
    TurretsFunctionOnlyWhenDeployed = Yes
    TurretsMustCenterBeforePacking = Yes
    ManualDeployAnimations = Yes
  End
warlord is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-11-2004, 02:57 AM   #2 (permalink)
Junior Member
 
Join Date: Apr 2003
Location: USA
Posts: 29
Default

Just a random idea:
What if one was overlordcontained? The turret entries for the overlord are seperated (because the gat one requires an upgrade).
amdahlj is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-11-2004, 03:00 AM   #3 (permalink)
Senior Member
 
Join Date: Mar 2003
Location: CANADA
Posts: 275
Default

Im betting 99% you cant have 2 or more AiUpdates.
Kuja is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-11-2004, 03:52 AM   #4 (permalink)
Senior Member
 
Join Date: Feb 2003
Location: USA
Posts: 386
Send a message via AIM to warlord Send a message via MSN to warlord Send a message via Yahoo to warlord
Default

I knew you couldnt have 2 after i posted but I need help telling 1 turret not to deploy and the other one to deploy. both turrets are the same turret on the model. I cant use the overlordcontained due to turrets being the same on model. I need to figure this out so i can finish my tank code.
warlord is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-11-2004, 04:00 AM   #5 (permalink)
Junior Member
 
Join Date: Apr 2003
Location: USA
Posts: 29
Default

Well, besides overlordcontain, I can't think of anything. It looks like your best bet is to cut it into to models unless someone comes up with another potential workaround.
amdahlj 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
Need a multiple turret example EvilTiki100 Generals & Zero Hour Editing 9 02-08-2006 08:32 AM
Multiple camouflages EchoMods.com Generals & Zero Hour Editing 45 01-19-2006 01:59 PM
Multiple production AI updates? Hostile Generals & Zero Hour Editing 5 01-28-2005 08:14 AM
Multiple .bigs? EvilViking Generals & Zero Hour Editing 6 08-31-2004 08:13 PM
C&C Crimson Dawn Updates matrixnut42 Generals & Zero Hour Editing 37 08-23-2004 08:56 PM


All times are GMT -4. The time now is 07:52 AM.


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