IPB

Welcome Guest ( Log In | Register )

 
Closed TopicStart new topic
Custom Map code: Better Airport Paradrops
GeneralCamo
post 4 Jan 2016, 14:37
Post #1


That person
Group Icon

Group: Project Leader
Posts: 1425
Joined: 20 September 2009
From: Cyberspace
Member No.: 417
C&C ShockWave Co-Leader



So, you feel that the current Tech Airport is not powerful enough to fit your map? So did I, so I changed it.

This is map.ini code that modifies the Tech Airport Paradrops. This can be customized as you see fit, or left as they were. Thanks to SoraZ to helping me with a slight problem. Now here is the code:
CODE
; Airport Drops are more useful
ObjectCreationList OCL_ParaTroopersUSA
  DeliverPayload
    Transport = AmericaJetCargoPlane
    StartAtPreferredHeight = Yes
    StartAtMaxSpeed = Yes
    MaxAttempts = 4
    DropOffset = X:0 Y:0 Z:-10
    DropDelay = 30        ; 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 8
    Payload = AmericaInfantryMissileDefender 4
    Payload = AmericaInfantryVanguard 4
    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
      Style             = SHADOW_ALPHA_DECAL
      OpacityMin        = 25%
      OpacityMax        = 50%
      OpacityThrobTime  = 500
      Color             = R:227 G:229 B:22 A:255
      OnlyVisibleToOwningPlayer = Yes
    End
  End
End

; -----------------------------------------------------------------------------
ObjectCreationList OCL_ParaTroopersCHI
  DeliverPayload
    Transport = ChinaJetCargoPlane
    StartAtPreferredHeight = Yes
    StartAtMaxSpeed = Yes
    MaxAttempts = 4
    DropOffset = X:0 Y:0 Z:-10
    DropDelay = 30        ; time in between each item dropped (if more than one)
    ParachuteDirectly = Yes; will tell all contained parachutes to go ahead and bunch
    PutInContainer = ChinaParachute
    Payload = ChinaInfantryRedguard 8
    Payload = ChinaInfantryTankHunter 4
    Payload = ChinaInfantryPyroTechnician 4
    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
      Style             = SHADOW_ALPHA_DECAL
      OpacityMin        = 25%
      OpacityMax        = 50%
      OpacityThrobTime  = 500
      Color             = R:227 G:229 B:22 A:255
      OnlyVisibleToOwningPlayer = Yes
    End
  End
End

; -----------------------------------------------------------------------------
ObjectCreationList OCL_ParaTroopersRUS
  DeliverPayload
    Transport = RussiaCargoHelicopter
    StartAtPreferredHeight = Yes
    StartAtMaxSpeed = Yes
    MaxAttempts = 4
    DropOffset = X:0 Y:0 Z:-10
    DropDelay = 30        ; time in between each item dropped (if more than one)
    ParachuteDirectly = Yes; will tell all contained parachutes to go ahead and bunch
    PutInContainer = RussianParachute
    Payload = RussiaInfantryConscript 8
    Payload = RussianInfantryRPGConscript 4
    Payload = RussianInfantryIglaTrooper 2
    Payload = RussianInfantryShmelTrooper 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
      Style             = SHADOW_ALPHA_DECAL
      OpacityMin        = 25%
      OpacityMax        = 50%
      OpacityThrobTime  = 500
      Color             = R:227 G:229 B:22 A:255
      OnlyVisibleToOwningPlayer = Yes
    End
  End
End

; -----------------------------------------------------------------------------
ObjectCreationList OCL_ParaTroopersGLA
  DeliverPayload
    Transport = GLAJetCargoPlane
    StartAtPreferredHeight = Yes
    StartAtMaxSpeed = Yes
    MaxAttempts = 4
    DropOffset = X:0 Y:0 Z:-10
    DropDelay = 30        ; time in between each item dropped (if more than one)
    ParachuteDirectly = Yes; will tell all contained parachutes to go ahead and bunch
    PutInContainer = GLAParachute
    Payload = GLAInfantryRebel 8
    Payload = GLAInfantryTunnelDefender 4
    Payload = GLAInfantryTerrorist 4
    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
      Style             = SHADOW_ALPHA_DECAL
      OpacityMin        = 25%
      OpacityMax        = 50%
      OpacityThrobTime  = 500
      Color             = R:227 G:229 B:22 A:255
      OnlyVisibleToOwningPlayer = Yes
    End
  End
End

; -----------------------------------------------------------------------------
ObjectCreationList OCL_ParaTroopersECA
  DeliverPayload
    Transport = EuropeJetCargoPlane
    StartAtPreferredHeight = Yes
    StartAtMaxSpeed = Yes
    MaxAttempts = 4
    DropOffset = X:0 Y:0 Z:-10
    DropDelay = 30        ; time in between each item dropped (if more than one)
    ParachuteDirectly = Yes; will tell all contained parachutes to go ahead and bunch
    PutInContainer = EuropeParachute
    Payload = EuropeInfantryFelin 10
    Payload = EuropeInfantryPanzerFaust 4
    Payload = EuropeInfantryMedic 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
      Style             = SHADOW_ALPHA_DECAL
      OpacityMin        = 25%
      OpacityMax        = 50%
      OpacityThrobTime  = 500
      Color             = R:227 G:229 B:22 A:255
      OnlyVisibleToOwningPlayer = Yes
    End
  End
End
Go to the top of the page
 
+Quote Post
M01
post 6 Jan 2016, 13:58
Post #2



Group Icon

Group: Members
Posts: 311
Joined: 23 September 2014
From: Pearl of the Orient Sea
Member No.: 10658
Yo buddy... Still Alive?



wanted to add some more types of infantry

what are the code names of other infantry

just to make it a bit diverse
Go to the top of the page
 
+Quote Post
Skitt
post 6 Jan 2016, 15:34
Post #3



Group Icon

Group: Moderator
Posts: 1641
Joined: 8 January 2015
From: Newcastle, England
Member No.: 10811
Aut vincere aut mori, Cave quid dicis, quando, et cui, De duobus malis, minus est semper eligendum.



QUOTE (M01 @ 6 Jan 2016, 12:58) *
wanted to add some more types of infantry

what are the code names of other infantry

just to make it a bit diverse


well u can load any map with worldbuilder, and go to the object list, all the inf are in there with the names u need


--------------------
Go to the top of the page
 
+Quote Post
M01
post 7 Jan 2016, 12:27
Post #4



Group Icon

Group: Members
Posts: 311
Joined: 23 September 2014
From: Pearl of the Orient Sea
Member No.: 10658
Yo buddy... Still Alive?



QUOTE (mr_Skittles @ 6 Jan 2016, 22:34) *
well u can load any map with worldbuilder, and go to the object list, all the inf are in there with the names u need


didn't thought of that first... still my many tanks
Go to the top of the page
 
+Quote Post

Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



Lo-Fi Version Time is now: 28 March 2024 - 9:10