Thread: INI Prob
View Single Post
Old 06-04-2003, 05:29 AM   #8 (permalink)
WickedBlizzard
Senior Member
 
Join Date: Apr 2003
Location: Netherlands
Posts: 206
Send a message via MSN to WickedBlizzard
Default

Yes GLAAirfield exists with me, I put it in, I already had a close look @ the commandbutton and commandset but they are fine:

CommandSet.ini:

Code:
CommandSet GLAVehicleLightbirdCommandset
  1 = Command_TransportExit
  2 = Command_TransportExit
  3 = Command_TransportExit
  4 = Command_TransportExit
  9 = Command_AttackMove
  11 = Command_Guard
  12 = Command_Stop
CommandButton.ini:

Code:
CommandButton Command_ConstructGLAVehicleLightbird
  Command       = UNIT_BUILD
  Object        = GLAVehicleLightbird
  TextLabel     = CONTROLBAR:ConstructGLAVehicleLightbird
  ButtonImage   = SULightbird
  ButtonBorderType        = BUILD ; Identifier for the User as to what kind of button this is
  DescriptLabel           = CONTROLBAR:ToolTipGLABuildLightbird
End

FactionUnit.ini:

Code:
Object GLAVehicleLightbird

  SelectPortrait = SULightbird_L
  ButtonImage	 = SULightbird

  Draw                   = W3DModelDraw ModuleTag_01
 
    OkToChangeModelColor = Yes

 
   ConditionState = NONE
      Model = LittleBird
	Animation = LittleBird.LittleBird
      AnimationMode = LOOP
    End
    
    ConditionState = REALLYDAMAGED
      Model = LittleBird
      Animation = LittleBird.LittleBird
      AnimationMode = LOOP
    End
    
    ConditionState = RUBBLE
      Model = LittleBird
    End

  End

  ; ***DESIGN parameters ***
  DisplayName             = OBJECT:GLAVehicleLightbird
  EditorSorting           = VEHICLE
  Side                    = GLA
  TransportSlotCount      = 4 ;how many "slots" we take in a transport (0 == not transportable)
  VisionRange             = 200.0 
  ShroudClearingRange     = 200
  Prerequisites
    Object                = GLAAirfield
  End

   WeaponSet 
    Conditions        = None 
    Weapon = PRIMARY ComancheAntiTankMissileWeapon
    PreferredAgainst = PRIMARY VEHICLE BUILDING
  End

  ArmorSet
    Conditions      = None
    Armor           = AirplaneArmor
    DamageFX        = None
  End

  BuildCost               = 700
  BuildTime               = 15   
  ExperienceValue = 50 50 100 200
  ExperienceRequired = 0 100 200 400
  IsTrainable = Yes
  CommandSet              = GLAVehicleLightbirdCommandset
  SoundAmbient = ComancheAmbientLoop
  SoundAmbientRubble = NoSound
  SoundDie = ComancheVoiceFalling
  RadarPriority = UNIT
  KindOf = PRELOAD CAN_CAST_REFLECTIONS CAN_ATTACK SELECTABLE VEHICLE SCORE AIRCRAFT

  Behavior = FXListDie ModuleTag_03
    DeathFX = FX_HelicopterStartDeath
  End

  Body = ActiveBody ModuleTag_04
    MaxHealth = 220.0
    InitialHealth = 220.0
  End

  Behavior = HelicopterSlowDeathBehavior ModuleTag_05
    DestructionDelay = 99999999
    SpiralOrbitTurnRate = 140.0
    SpiralOrbitForwardSpeed = 350.0
    SpiralOrbitForwardSpeedDamping = .9999
    MaxBraking = 190
    SoundDeathLoop = ComancheDamagedLoop
    MinSelfSpin = 100
    MaxSelfSpin = 300
    SelfSpinUpdateDelay = 100
    SelfSpinUpdateAmount = 10
    FallHowFast = 12.0%
    MinBladeFlyOffDelay = 200
    MaxBladeFlyOffDelay = 200
    AttachParticle = SootySmokeTrail
    FXBlade = FX_HelicopterBladeExplosion
    OCLBlade = OCL_ComancheBladeExplosion
    FXHitGround = FX_HelicopterHitGround
    OCLHitGround = OCL_ComancheHitGround
    FXFinalBlowUp = FX_GroundedHelicopterBlowUp
    OCLFinalBlowUp = OCL_GroundedHelicopterBlowUp
    DelayFromGroundToFinalDeath = 1500
  End

  Behavior               = PhysicsBehavior ModuleTag_07
    Mass                 = 50.0
  End

  Behavior = TransitionDamageFX ModuleTag_08
    ReallyDamagedParticleSystem1 = Bone:Smoke RandomBone:Yes PSys:SmokeSmallContinuousDown
    ReallyDamagedFXList1 = Loc: X:0 Y:0 Z:0 FXList:FX_ComancheDamageTransition
  End


  Behavior = JetAIUpdate ModuleTag_09
    MinHeight = 5
    NeedsRunway = No
    KeepsParkingSpaceWhenAirborne = No
    AutoAcquireEnemiesWhenIdle = Yes 
  End

  Locomotor = SET_NORMAL ComancheLocomotor
  Locomotor = SET_TAXIING BasicHelicopterTaxiLocomotor

  Behavior = FlammableUpdate ModuleTag_21
    AflameDuration = 5000
    AflameDamageAmount = 3
    AflameDamageDelay = 500
  End

  Geometry = BOX
  GeometryMajorRadius = 20.0
  GeometryMinorRadius = 3.0
  GeometryHeight = 25.0     
  GeometryIsSmall = No
  Shadow = SHADOW_VOLUME    
  ShadowSizeX = 89

End
It all appears right to me and yes I'm aware of the fact that the model is names LittleBird but it should cause it's the filename :P. Just can't seem to solve it, neither with your tip OldFaq, thanks though everyone.

Wickster
WickedBlizzard is offline   Reply With Quote