Help - Search - Members - Calendar
Full Version: ROTR China Upgraded War Factory mass mobilisation
SWR Productions Forum > Game Modding and Development > Generals/Zerohour Modding
Rexus
Is there a way to control the number of units being produced? I edited the build variation line in the ChinaScienceObjects.ini but it is still producing 2 of the same unit per queue.

example:
BuildVariations = ChinaVehicleTroopCrawler_Var2

GDIZOCOM
The module for it is actually within the War Factory itself, under ProductionUpdate, not the unit in question.

Here's what I'm talking about:

CODE
  Behavior = ProductionUpdate ModuleTag_12
    QuantityModifier             = ChinaTankHopper 2
    
   ;Optimized Production Vehicles
    QuantityModifier             = ChinaTankBattleMaster_Optimized    2
    QuantityModifier             = ChinaVehicleTroopCrawler_Optimized 2
    QuantityModifier             = ChinaTankGattling_Optimized        2
    QuantityModifier             = ChinaTankHopper_Optimized          4
    
    NumDoorAnimations            = 1
    DoorOpeningTime              = 4000 ;in mSeconds
    DoorWaitOpenTime             = 2000 ;in mSeconds
    DoorCloseTime                = 4500 ;in mSeconds
    ConstructionCompleteDuration = 1500 ;in mSeconds
  End


Hope that helps!
Rexus
QUOTE (GDIZOCOM @ 2 Dec 2016, 20:17) *
The module for it is actually within the War Factory itself, under ProductionUpdate, not the unit in question.

Here's what I'm talking about:

CODE
  Behavior = ProductionUpdate ModuleTag_12
    QuantityModifier             = ChinaTankHopper 2
    
  ;Optimized Production Vehicles
    QuantityModifier             = ChinaTankBattleMaster_Optimized    2
    QuantityModifier             = ChinaVehicleTroopCrawler_Optimized 2
    QuantityModifier             = ChinaTankGattling_Optimized        2
    QuantityModifier             = ChinaTankHopper_Optimized          4
    
    NumDoorAnimations            = 1
    DoorOpeningTime              = 4000;in mSeconds
    DoorWaitOpenTime             = 2000;in mSeconds
    DoorCloseTime                = 4500;in mSeconds
    ConstructionCompleteDuration = 1500;in mSeconds
  End


Hope that helps!



Yes, that indeed worked. Thanks a lot!
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2018 Invision Power Services, Inc.