IPB

Welcome Guest ( Log In | Register )

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

Posts in this topic


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 April 2024 - 15:41