View Single Post
Old 07-15-2005, 08:40 AM   #1 (permalink)
Kulturbanause
Member
 
Join Date: Jul 2005
Posts: 42
Default I hate this ... turret!!!![solved]

after 3 hours of switching between Zero Hour and my Desktop i come to you with my problem. Maybe you can help me?

Iīve downloaded a new tank and edited it to into Zero Hour. Looks very nice, it can be built , it drives around, anything seems to be ok but for an unknown reason the tank canīt rotate his Mainturret???!!! If my tank attacks an enemy the turret will stay in the same position and the shot hits the enemy, but the turret doesnīt move :tard:

Maybe you can help me here is the code of my tank:

Code:
; art parameter
...
...

  Draw = W3DTankDraw ModuleTag_01
    OkToChangeModelColor = Yes
    DefaultConditionState
      Model               = M1A2Abrams
      Turret              = Turret01
      TurretPitch = TurretEL
      WeaponFireFXBone    = PRIMARY Muzzle
      WeaponRecoilBone    = PRIMARY Barrel
      WeaponMuzzleFlash   = PRIMARY MuzzleFX
      WeaponLaunchBone    = PRIMARY Muzzle
    End
    ConditionState = REALLYDAMAGED
      Model               = M1A2Abrams_d
      Turret              = Turret01
      TurretPitch = TurretEL
      WeaponFireFXBone    = PRIMARY Muzzle
      WeaponRecoilBone    = PRIMARY Barrel
      WeaponMuzzleFlash   = PRIMARY MuzzleFX
      WeaponLaunchBone    = PRIMARY Muzzle
    End
    ConditionState = RUBBLE
      Model               = M1A2Abrams_d
      Turret              = Turret01
    End

    TrackMarks           = EXTnkTrack.tga
    TreadAnimationRate      = 2.0 ; texture to move per second
    TreadDriveSpeedFraction = 0.3 ; treads stop moving.
    TreadPivotSpeedFraction = 0.6 ; allow pivoting.
  End
...
...
; Design parameter

  WeaponSet
    Conditions = None 
    Weapon = PRIMARY Boss_M1A2Tankgun
    Weapon = SECONDARY Boss_20mmCannonWeapon
  End
  WeaponSet
    Conditions = PlAYER_UPGRADE
    Weapon = PRIMARY Boss_M1A2TankgunUpgrade
    PreferredAgainst    = PRIMARY     VEHICLE STRUCTURE
    Weapon = SECONDARY Boss_20mmCannonWeapon
  End

...
...

; engeneering paramter

  Behavior = AIUpdateInterface ModuleTag_03
    Turret
      TurretTurnRate = 60   ; turn rate, in degrees per sec
      AllowsPitch = Yes
      ControlledWeaponSlots = PRIMARY SECONDARY
    End
    AutoAcquireEnemiesWhenIdle = Yes
  End

...
...
I hope you can help me :/
Kulturbanause is offline   Reply With Quote