Thread: Stupid Errors
View Single Post
Old 02-25-2005, 06:37 PM   #1 (permalink)
Slye_Fox
Senior Member
 
Join Date: Jan 2004
Location: London, UK
Posts: 390
Send a message via AIM to Slye_Fox Send a message via MSN to Slye_Fox Send a message via Yahoo to Slye_Fox
Default Stupid Errors

error 1
ASSERTION FAILURE: [LINE: 555 in 'Data\INI\Object\airforcegeneral.ini'] Specialpower AirF_SuperweaponSpectreGunship not found!

error 2
ASSERTION FAILURE: [LINE: 28443 in 'Data\INI\Object\factionbuildings.ini'] Duplicate factionunit PatriotBinaryDataStream found!

both the files do not exist, so how can there be an error with them?

error 3
ASSERTION FAILURE: [LINE: 1203 - FILE: 'Data\INI\Object\SovietVehicle.ini'] Unknown block 'RadarPriority'

this one i don't get





this is where the 3rd error comes from

Code:
Object SovietVehicleMCV

  ; *** ART Parameters ***
  Draw = W3DTankDraw ModuleTag_01
    DefaultConditionState        
      Model               = Sov_V_MCV
    End
    ConditionState       = REALLYDAMAGED
      Model              = Sov_V_MCV
    End
    ConditionState       = RUBBLE
      Model              = Sov_V_MCV
    End

    TrackMarks           = EXTnkTrack.tga
    OkToChangeModelColor = Yes
  End

  ; ***DESIGN parameters ***
  DisplayName      = OBJECT:SovietVehicleMCV
  Side                   = Soviet
  EditorSorting          = VEHICLE
  ArmorSet
    Conditions           = None
    Armor                = TankArmor
    DamageFX             = TankDamageFX
  End
  BuildCost              = 1500
  BuildTime              = 45.0          ;in seconds    
  VisionRange            = 150
  ShroudClearingRange = 300
Prerequisites
    Object = SovietWarFactory
;    Object = SovietRepairPad
  End

  ExperienceValue        = 200 200 400 600 ;Experience point value at each level
  ExperienceRequired     = 0 200 300 600 ;Experience points needed to gain each level
  IsTrainable            = No  ;Can gain experience
  CrusherLevel           = 2  ;What can I crush?: 1 = infantry, 2 = trees, 3 = vehicles
  CrushableLevel         = 3  ;What am I?:        0 = for infantry, 1 = for trees, 2 = general vehicles
  CommandSet             = SovietMCVCommandSet
  
  ; *** AUDIO Parameters ***
  VoiceSelect         = DozerChinaVoiceSelect
  VoiceMove           = DozerChinaVoiceMove
  VoiceEnter          = DozerChinaVoiceMove
  VoiceTaskComplete   = DozerChinaVoiceBuildComplete
  SoundMoveStart      = DozerChinaMoveStart
  SoundMoveStartDamaged = DozerChinaMoveStart

  UnitSpecificSounds
    VoiceCreate       = DozerChinaVoiceCreate
    VoiceCrush        = DozerChinaVoiceCrush
    VoiceNoBuild      = DozerChinaVoiceBuildNot
    VoiceRepair       = DozerChinaVoiceRepair
    VoiceDisarm       = DozerChinaVoiceClearMine
    VoiceEnter        = DozerChinaVoiceMove
    VoiceBuildResponse = DozerChinaVoiceBuild
  End
  End

  ; *** ENGINEERING Parameters ***
  RadarPriority          = UNIT
  KindOf                 = PRELOAD SELECTABLE CAN_CAST_REFLECTIONS VEHICLE SCORE
  
  Body                   = ActiveBody ModuleTag_02
    MaxHealth       = 400
    InitialHealth   = 400
  End

  Locomotor            = SET_NORMAL MilitiaTankLocomotor
  Behavior = PhysicsBehavior ModuleTag_04
    Mass                 = 50.0
  End

  Behavior = ProductionUpdate ModuleTag_05
    ; nothing
  End

  ; Catch fire, and explode death
  Behavior = SlowDeathBehavior ModuleTag_07
    DeathTypes = ALL -CRUSHED -SPLATTED
    ProbabilityModifier  = 50
    DestructionDelay  = 2000
    DestructionDelayVariance  = 300
    FX  = INITIAL  FX_CrusaderCatchFire
    OCL = FINAL    OCL_MilitiaTankDeathEffect  
    FX  = FINAL    FX_GenericTankDeathExplosion 
  End

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

  Behavior = DestroyDie ModuleTag_09
    DeathTypes = NONE +CRUSHED +SPLATTED
  End

  Behavior = ReplaceObjectUpgrade ModuleTag_101
    ReplaceObject = SovietCommandCenter
    TriggeredBy = Upgrade_BecomeSovietCommandCenter
  End

  ; A crushing defeat
  Behavior = FXListDie ModuleTag_10
    DeathTypes = NONE +CRUSHED +SPLATTED
    DeathFX = FX_CarCrush
  End

  Behavior = CreateCrateDie ModuleTag_CratesChange
   CrateData  = SalvageCrateData
  End

  Behavior = FlammableUpdate ModuleTag_21
    AflameDuration = 5000         ; If I catch fire, I'll burn for this long...
    AflameDamageAmount = 5       ; taking this much damage...
    AflameDamageDelay = 500       ; this often.
  End

  Geometry               = BOX
  GeometryMajorRadius    = 15.0
  GeometryMinorRadius    = 10.0
  GeometryHeight         = 10.0     
  GeometryIsSmall        = Yes    
  Shadow = SHADOW_VOLUME
  ShadowSizeX = 45  ; minimum elevation angle above horizon. Used to limit shadow length

End
Slye_Fox is offline   Reply With Quote