Jump to content


Photo

Game crashes after editing ZH INI codes


  • Please log in to reply
No replies to this topic

#1 Slenderman135

Slenderman135
  • New Members
  • 2 posts

Posted 28 September 2013 - 04:24 AM

Hello all,
 
I'm learning to eidit the INI codes in a zero hour mod Reborn V6 data folder in the main directory.  I have edited some of the INI folders and somehow the game started to crash on startup.  I have only edited select parts that I thought would be okay.  It worked fine until I edited something that I don't know that made the game start crashing :sad2: :  Here is a some of the files that I edited:

USA Rogue General INI Folder:
 ; ***DESIGN parameters ***
  DisplayName           = OBJECT:Humvee
  Side                  = AmericaRogueGeneral
  EditorSorting         = VEHICLE
  TransportSlotCount    = 1(this was originally 3)                 ;how many "slots" we take in a transport (0 == not transportable)

; ***DESIGN parameters ***
  DisplayName      = OBJECT:PaladinDouble
  Side = AmericaRogueGeneral
  EditorSorting   = VEHICLE
  TransportSlotCount = 1                 ;how many "slots" we take in a transport (0 == not transportable)

 ; *** ENGINEERING Parameters ***
  RadarPriority = UNIT
  KindOf = PRELOAD SELECTABLE CAN_ATTACK ATTACK_NEEDS_LINE_OF_SIGHT CAN_CAST_REFLECTIONS VEHICLE SCORE PARACHUTABLE
  
  Body = ActiveBody ModuleTag_02
    MaxHealth       = 750.0(Max and InitialHealth where increased)
    InitialHealth   = 750.0

; ***DESIGN parameters ***
  DisplayName      = OBJECT:Tomahawk
  Side = AmericaRogueGeneral
  EditorSorting   = VEHICLE
  TransportSlotCount = 1                 ;how many "slots" we take in a transport (0 == not transportable)

; *** ENGINEERING Parameters ***
  RadarPriority = UNIT
  KindOf = PRELOAD SELECTABLE DONT_AUTO_CRUSH_INFANTRY CAN_ATTACK CAN_CAST_REFLECTIONS VEHICLE SCORE

  Body = ActiveBody ModuleTag_02
    MaxHealth       = 380.0(Increased from 280)
    InitialHealth   = 380.0
USa Rogue General INI Folder continued:
 ; ***DESIGN parameters ***
  DisplayName            = OBJECT:Battleship
  Side                   = America
  EditorSorting          = VEHICLE
  TransportSlotCount     = 1                 ;how many "slots" we take in a transport (0 == not transportable)
  ExperienceValue         = 500 500 1000 1500  ;Experience point value at each level
  ExperienceRequired      = 0 500 1000 2000   ;Experience points needed to gain each level
  IsTrainable             = Yes             ;Can gain experience
  CommandSet             = BattleShipCommandSet
  WeaponSet
    Conditions           = None 
    Weapon               = PRIMARY BattleShipGunReal
    Weapon               = SECONDARY BattleShipGunReal
    Weapon               = SECONDARY BattleShipGunReal
    AutoChooseSources    = PRIMARY    FROM_SCRIPT FROM_PLAYER FROM_AI
    AutoChooseSources    = SECONDARY  FROM_SCRIPT FROM_PLAYER FROM_AI
  End
  MaxSimultaneousOfType = 100(changed from 3)


Mainly all I edited in the INI folders in change the Trasport slot count for ground vehicals, increased their health and change some of the build limit of some of the naval ships.  It worked fine when I just changed the Transport slot count number, then after I changed the build limit plus increased health on some of the vehicals, it started crashing when I launched the mod from the mod folder.  I have one other mod with this but it has worked fine until now.  Also I want to add that I changed the healing amount for most of the GLA vehicals to 4 instead of 2.

GLA Terror Leader INI Folder:
Behavior = AutoHealBehavior ModuleTag_08
    HealingAmount = 4
    HealingDelay = 1000 ; msec
    TriggeredBy = Upgrade_GLAJunkRepair
  End
 China Rogue Genaral INI Folder:
; ***DESIGN parameters ***
  DisplayName         = OBJECT:SuperOverlord
  Side                = ChinaRogueGeneral
  EditorSorting       = VEHICLE
  TransportSlotCount  = 1                 ;how many "slots" we take in a transport (0 == not transportable)
 
; *** ENGINEERING Parameters ***
  RadarPriority = UNIT
  KindOf = PRELOAD SELECTABLE CAN_ATTACK ATTACK_NEEDS_LINE_OF_SIGHT CAN_CAST_REFLECTIONS VEHICLE SCORE HUGE_VEHICLE
  
  Body = ActiveBody ModuleTag_02
    MaxHealth       = 2500.0(Increased Health)
    InitialHealth   = 2500.0

Edited by Slenderman135, 28 September 2013 - 04:24 AM.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users