About the OCL |
About the OCL |
7 Apr 2010, 11:40
Post
#1
|
|
Level 17.4 Group: Members Posts: 763 Joined: 12 June 2009 Member No.: 131 Immaturity Incarnate |
Yes,this is about the Generals ZH ObjectCreationList.
I have a question.... How do you modify the OCL of various general's powers(The ones that create troops or something like it) make more than a single unit?(like rangers and marines unlike rangers only) I know this was made possible in SHW.Hope you can help -------------------- |
|
|
7 Apr 2010, 16:40
Post
#2
|
|
Enlima Studios Group: Project Leader Posts: 757 Joined: 11 October 2009 From: Jakarta, Indonesia Member No.: 482 |
put multiple Payload line on the DeliveryPayload module in your OCL.
like from this: CODE ; ----------------------------------------------------------------------------- ObjectCreationList SUPERWEAPON_Paradrop1 DeliverPayload Transport = AmericaJetCargoPlane StartAtPreferredHeight = Yes StartAtMaxSpeed = Yes MaxAttempts = 4 DropOffset = X:0 Y:0 Z:-10 DropDelay = 150 ; time in between each item dropped (if more than one) ParachuteDirectly = Yes; will tell all contained parachutes to go ahead and bunch PutInContainer = AmericaParachute Payload = AmericaInfantryRanger 5 DeliveryDistance = 0 ;when outbound vehicle must be this close to target to continue delivery PreOpenDistance = 300;When inbound, vehicle can be this much farther than DeliveryDistance to begin delivery DeliveryDecalRadius = 50 DeliveryDecal Texture = SCCParadrop_USA Style = SHADOW_ALPHA_DECAL OpacityMin = 25% OpacityMax = 50% OpacityThrobTime = 500 Color = R:227 G:229 B:22 A:255 OnlyVisibleToOwningPlayer = Yes End ;RequiresLivePlayer = Yes; I want to require a live player, but I'll settle for dropping neutral rangers instead End End to this: CODE ; -----------------------------------------------------------------------------
ObjectCreationList SUPERWEAPON_Paradrop1 DeliverPayload Transport = AmericaJetCargoPlane StartAtPreferredHeight = Yes StartAtMaxSpeed = Yes MaxAttempts = 4 DropOffset = X:0 Y:0 Z:-10 DropDelay = 150 ; time in between each item dropped (if more than one) ParachuteDirectly = Yes; will tell all contained parachutes to go ahead and bunch PutInContainer = AmericaParachute Payload = AmericaInfantryRanger 3 Payload = AmericaInfantryMissileDefender 2 DeliveryDistance = 0 ;when outbound vehicle must be this close to target to continue delivery PreOpenDistance = 300;When inbound, vehicle can be this much farther than DeliveryDistance to begin delivery DeliveryDecalRadius = 50 DeliveryDecal Texture = SCCParadrop_USA Style = SHADOW_ALPHA_DECAL OpacityMin = 25% OpacityMax = 50% OpacityThrobTime = 500 Color = R:227 G:229 B:22 A:255 OnlyVisibleToOwningPlayer = Yes End ;RequiresLivePlayer = Yes; I want to require a live player, but I'll settle for dropping neutral rangers instead End End -------------------- |
|
|
Lo-Fi Version | Time is now: 18 April 2024 - 7:18 |