;-------------------------------------------------------------------

Object TrainEngineVerySlow

   
  ReplaceModule    ModuleTag_03
    Behavior     = RailroadBehavior ModuleTag_03_Override
    PathPrefixName    = Railroad
    
    RunningGarrisonSpeedMax = 8
    KillSpeedMin            = 9
    Friction                = 0.995
    BigMetalBounceSound     = BuildingFallingMetal
    SmallMetalBounceSound   = VehicleImpactHeavy
    MeatyBounceSound        = InfantryCrush
    ClicketyClackSound      = TrainClicketyClack
    WhistleSound            = TrainWhistle
   

    IsLocomotive         = Yes
    SpeedMax             = 8.0
    Acceleration         = 1.005
    WaitAtStationTime    = 20000     ; twenty seconds
    Braking              = 0.97
    CrashFXTemplateName  = SpecialEffectsTrainCrashObject


    CarriageTemplateName = TrainCar03
    CarriageTemplateName = TrainCar03
    CarriageTemplateName = TrainCar03
    CarriageTemplateName = TrainCab
    End
  End
End



;------------------------------------------------------------------------------
Object TrainCar03
 
   ReplaceModule   ModuleTag_02
    Body            = ActiveBody ModuleTag_02_Override
    MaxHealth       = 10000.0
    InitialHealth   = 10000.0
    End
  End

  AddModule   ModuleTag_03_Override
    Behavior = GarrisonContain ModuleTag_03
    ContainMax          = 10
    AllowInsideKindOf   = INFANTRY VEHICLE
    EnterSound          = GarrisonEnter
    ExitSound           = GarrisonExit
    DamagePercentToUnits = 50%
    MobileGarrison      = Yes
    
    End
  End

  ReplaceModule       ModuleTag_04
   Behavior        = RailroadBehavior ModuleTag_04_Override
    IsLocomotive   = No
    PathPrefixName    = Railroad

    ;=== PARAMETERS FOR ALL CARRIAGES ===    
    RunningGarrisonSpeedMax = 8
    KillSpeedMin            = 9
    Friction                = 0.995
    BigMetalBounceSound     = BuildingFallingMetal
    SmallMetalBounceSound   = VehicleImpactHeavy
    MeatyBounceSound        = InfantryCrush
    ClicketyClackSound      = TrainClicketyClack
    End
  End
  
End


  
    
;------------------------------------------------------------------------------
Object TrainCab

  ReplaceModule   ModuleTag_02
    Body            = ActiveBody ModuleTag_02_Override
    MaxHealth       = 10000.0
    InitialHealth   = 10000.0
    End
  End


 AddModule   ModuleTag_03_Override
    Behavior = GarrisonContain ModuleTag_03
    ContainMax          = 10
    EnterSound          = GarrisonEnter
    ExitSound           = GarrisonExit
    DamagePercentToUnits = 50%
    MobileGarrison      = Yes
    End
  End
 ReplaceModule      ModuleTag_04
   Behavior        = RailroadBehavior ModuleTag_04_Override
    IsLocomotive   = No
    PathPrefixName    = Railroad

    ;=== PARAMETERS FOR ALL CARRIAGES ===    
    RunningGarrisonSpeedMax = 8
    KillSpeedMin            = 9
    Friction                = 0.995
    BigMetalBounceSound     = BuildingFallingMetal
    SmallMetalBounceSound   = VehicleImpactHeavy
    MeatyBounceSound        = InfantryCrush
    ClicketyClackSound      = TrainClicketyClack
     End
  End
End


;.........................................
InGameUI
  

  MilitaryCaptionColor           = R:27 G:101 B:31 A:255
  MilitaryCaptionPosition        = X:10 Y:40

  MilitaryCaptionTitleFont       = Arial
  MilitaryCaptionTitlePointSize  = 25
  MilitaryCaptionTitleBold       = Yes
End

