Posted by: CG Apollos - Tuesday, September 19, 2006 11:14:53 AM
For the tech reinforcement pad, you can have different OCLs, like this:
;---------------------------------------
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
;---------------------------------------
Is it possible to have this same system except with command sets?
Thanks,
AuroraAlphaHL2
Posted by: fleetatks - Tuesday, September 19, 2006 4:20:02 PM
What would be the advantadge of having it as a command set?
Many. Lets say you have a neutral building and you want to give each team a special unit or upgrade there. Maybe some team-specific abilitys. There are tons of things you can do with a command set.
Posted by: CommieDog - Tuesday, September 19, 2006 8:30:59 PM
I believe that you'd have to add code to give every faction a faction-specific upgrade granted with the respective Command Center (look at how the Toxin General gets the toxin-based upgrades that way). Then you could add a whole bunch of CommandSetUpgrade modules, each corresponding to a specific faction's upgrade and intended CommandSet.
Posted by: CG Apollos - Wednesday, September 20, 2006 5:57:34 AM