Quote:
Originally Posted by Indigo";p="
I know to the nearest point, but usually, which edge/end part of the map? Just curious though...
But still, any hints to which INI I should fiddle with this?
|
It's a little more difficult then just fiddling with one INI, it involves two
ObjectCreationList.INI
TechBuildings.INI
First find the TechReinforcementPad in TechBuildings.INI then go to where the code looks like this...
Code:
Behavior = OCLUpdate ModuleTag_05 ; Context window is a reaction to this, no CommandSet
MinDelay = 120000
MaxDelay = 120000
CreateAtEdge = Yes ; as opposed to just creating on self
FactionTriggered = Yes ; This requires a controlling player before it works
FactionOCL = Faction:America OCL:OCL_ReinforcementPadUSAVehicle
FactionOCL = Faction:AmericaSuperWeaponGeneral OCL:OCL_SWGen_ReinforcementPadUSAVehicle
FactionOCL = Faction:AmericaLaserGeneral OCL:OCL_LGen_ReinforcementPadUSAVehicle
FactionOCL = Faction:AmericaAirForceGeneral OCL:OCL_AFGen_ReinforcementPadUSAVehicle
FactionOCL = Faction:China OCL:OCL_ReinforcementPadCHIVehicle
FactionOCL = Faction:ChinaTankGeneral OCL:OCL_TnkGen_ReinforcementPadCHIVehicle
FactionOCL = Faction:ChinaInfantryGeneral OCL:OCL_InfGen_ReinforcementPadCHIVehicle
FactionOCL = Faction:ChinaNukeGeneral OCL:OCL_NukeGen_ReinforcementPadCHIVehicle
FactionOCL = Faction:GLA OCL:OCL_ReinforcementPadGLAVehicle
FactionOCL = Faction:GLAToxinGeneral OCL:OCL_ToxGen_ReinforcementPadGLAVehicle
FactionOCL = Faction:GLADemolitionGeneral OCL:OCL_DemoGen_ReinforcementPadGLAVehicle
FactionOCL = Faction:GLAStealthGeneral OCL:OCL_StlthGen_ReinforcementPadGLAVehicle
End
You need to make your own OCL which uses a ground transport and gives you the units that you want, lets look at one of these current OCLs as an example...
Code:
ObjectCreationList OCL_ReinforcementPadUSAVehicle
DeliverPayload
Transport = AmericaJetCargoPlane
StartAtPreferredHeight = Yes
StartAtMaxSpeed = Yes
MaxAttempts = 4
DropOffset = X:0 Y:0 Z:-5
DropDelay = 400
PutInContainer = LargeParachute
Payload = AmericaTankCrusader 1
ParachuteDirectly = Yes ; will tell all contained parachutes to go ahead and bunch
; up on the target instead of parachuting to the spot below their drop point.
DeliveryDistance = 250
End
End
As you can see they're pretty simple really, all you need to do is make a copy where the transport is 'ChinaVehicleTroopCrawler' and the Payload is 'ChinaInfantryRedguard 8'. Also, comment out the 'PutInContainer' and 'ParachuteDirectly' attributes and set the Z value in the DropOffset to 0, like the following....
Code:
ObjectCreationList OCL_ChinaGroundReinforcement
DeliverPayload
Transport = ChinaVehicleTroopCrawler
StartAtPreferredHeight = Yes
StartAtMaxSpeed = Yes
MaxAttempts = 4
DropOffset = X:0 Y:0 Z:0
DropDelay = 400
;PutInContainer = LargeParachute
Payload = ChinaInfantryRedguard 8
;ParachuteDirectly = Yes ; will tell all contained parachutes to go ahead and bunch
; up on the target instead of parachuting to the spot below their drop point.
DeliveryDistance = 250
End
End
Next, simply put this new OCL into the TechReinforcementPad code above, we'll just replace the Chinese one for the moment...
Code:
Behavior = OCLUpdate ModuleTag_05 ; Context window is a reaction to this, no CommandSet
MinDelay = 120000
MaxDelay = 120000
CreateAtEdge = Yes ; as opposed to just creating on self
FactionTriggered = Yes ; This requires a controlling player before it works
FactionOCL = Faction:America OCL:OCL_ReinforcementPadUSAVehicle
FactionOCL = Faction:AmericaSuperWeaponGeneral OCL:OCL_SWGen_ReinforcementPadUSAVehicle
FactionOCL = Faction:AmericaLaserGeneral OCL:OCL_LGen_ReinforcementPadUSAVehicle
FactionOCL = Faction:AmericaAirForceGeneral OCL:OCL_AFGen_ReinforcementPadUSAVehicle
FactionOCL = Faction:China OCL:OCL_ChinaGroundReinforcement ;<------THIS IS OUR CHANGE HERE
FactionOCL = Faction:ChinaTankGeneral OCL:OCL_TnkGen_ReinforcementPadCHIVehicle
FactionOCL = Faction:ChinaInfantryGeneral OCL:OCL_InfGen_ReinforcementPadCHIVehicle
FactionOCL = Faction:ChinaNukeGeneral OCL:OCL_NukeGen_ReinforcementPadCHIVehicle
FactionOCL = Faction:GLA OCL:OCL_ReinforcementPadGLAVehicle
FactionOCL = Faction:GLAToxinGeneral OCL:OCL_ToxGen_ReinforcementPadGLAVehicle
FactionOCL = Faction:GLADemolitionGeneral OCL:OCL_DemoGen_ReinforcementPadGLAVehicle
FactionOCL = Faction:GLAStealthGeneral OCL:OCL_StlthGen_ReinforcementPadGLAVehicle
End
Note: You may need to try setting the new OCL to absolutely no payload as the troop crawler already comes with the troops, if this still doesn't work, then create a duplicate troopcrawler with no initial payload and use that instead.