IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
B3 Carpet Bomb
Spec
post 21 Jan 2018, 16:09
Post #1



Group Icon

Group: Members
Posts: 122
Joined: 30 June 2013
Member No.: 10007



Hi! Does anyone know how to make the B3 Carpet Bomb OCL go straight only instead of doing a U-Turn? Seems I can't figure out the code TBH

CODE
; -----------------------------------------------------------------------------
ObjectCreationList AirF_SUPERWEAPON_CarpetBombSpec

  DeliverPayload
    Transport = AirF_AmericaJetB3
    FormationSize          = 3
    FormationSpacing       = 200.0
    StartAtPreferredHeight = Yes
    StartAtMaxSpeed = Yes
    MaxAttempts = 1
    DropOffset = X:0 Y:0 Z:-2
    DropVariance = X:30 Y:40 Z:0
    DropDelay = 300 ;500      ; time in between each item dropped (if more than one)
    Payload = AirF_CarpetBomb 10
    DeliveryDistance = 500
    DeliveryDecalRadius = 180
    DeliveryDecal
      Texture           = SCCCarpBomb
      Style             = SHADOW_ALPHA_DECAL
      OpacityMin        = 25%
      OpacityMax        = 50%
      OpacityThrobTime  = 500
      Color             = R:255 G:0 B:0 A:255
      OnlyVisibleToOwningPlayer = Yes
    End
  End

  DeliverPayload
    Transport = AirF_AmericaJetB3
    FormationSize          = 3
    FormationSpacing       = 100.0
    StartAtPreferredHeight = Yes
    StartAtMaxSpeed = No
    MaxAttempts = 1
    DropOffset = X:0 Y:0 Z:-2
    DropVariance = X:30 Y:40 Z:0
    DropDelay = 300 ;500      ; time in between each item dropped (if more than one)
    Payload = AirF_CarpetBomb 10
    DeliveryDistance = 500
    DeliveryDecalRadius = 180
    DeliveryDecal
      Texture           = SCCCarpBomb
      Style             = SHADOW_ALPHA_DECAL
      OpacityMin        = 25%
      OpacityMax        = 50%
      OpacityThrobTime  = 500
      Color             = R:255 G:0 B:0 A:255
      OnlyVisibleToOwningPlayer = Yes
    End
  End
End

;------------------------------------------------------------------------
ObjectCreationList AirF_SUPERWEAPON_MOAB

  DeliverPayload
    Transport = AirF_AmericaJetB3
    FormationSize          = 3
    FormationSpacing       = 325.0
    StartAtPreferredHeight = Yes
    StartAtMaxSpeed = Yes
    MaxAttempts = 1
    DropOffset = X:0 Y:0 Z:-10
    Payload = AirF_MOAB 1
    DeliveryDistance = 180
    DeliveryDecalRadius = 180
    DeliveryDecal
      Texture           = SCCCarpBomb
      Style             = SHADOW_ALPHA_DECAL
      OpacityMin        = 25%
      OpacityMax        = 50%
      OpacityThrobTime  = 500
      Color             = R:255 G:0 B:0 A:255
      OnlyVisibleToOwningPlayer = Yes
    End
  End

  DeliverPayload
    Transport = AirF_AmericaJetB3
    StartAtPreferredHeight = Yes
    StartAtMaxSpeed = No
    MaxAttempts = 1
    DropOffset = X:0 Y:0 Z:-10
    Payload = AirF_MOAB 1
    DeliveryDistance = 200
    DeliveryDecalRadius = 180
    DeliveryDecal
      Texture           = SCCCarpBomb
      Style             = SHADOW_ALPHA_DECAL
      OpacityMin        = 25%
      OpacityMax        = 50%
      OpacityThrobTime  = 500
      Color             = R:255 G:0 B:0 A:255
      OnlyVisibleToOwningPlayer = Yes
    End
  End
End


Here is the OCL Special Power:
CODE
  Behavior    = OCLSpecialPower ModuleTag_10
    SpecialPowerTemplate = AirF_SuperweaponParticleUplinkCannon
    UpgradeOCL           = SCIENCE_MOAB AirF_SUPERWEAPON_MOAB
    OCL                  = AirF_SUPERWEAPON_CarpetBombSpec
    CreateLocation       = CREATE_AT_EDGE_NEAR_SOURCE;other choices are: *NEAR_SOURCE *FARTHEST_FROM_SOURCE *NEAR_TARGET *FARTHEST_FROM_TARGET
  End
Go to the top of the page
 
+Quote Post
Oliver
post 21 Jan 2018, 17:46
Post #2



Group Icon

Group: Dev. Team
Posts: 964
Joined: 15 August 2013
From: Portugal, Lisbon
Member No.: 10072



Locate its locomotor, that's where you change it probably, in turnrate or something like that
Go to the top of the page
 
+Quote Post
Spec
post 22 Jan 2018, 6:10
Post #3



Group Icon

Group: Members
Posts: 122
Joined: 30 June 2013
Member No.: 10007



QUOTE (Oliver @ 22 Jan 2018, 0:46) *
Locate its locomotor, that's where you change it probably, in turnrate or something like that

Thanks for the tip.. Problem Solved
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



Lo-Fi Version Time is now: 16 April 2024 - 21:27