Missile Defender Paradrop HELP
I have it coded to where the game doesn't crash when started with it in my inis, but i get the little circle with the "x" in the middle no matter what I put it over. The Missile Defender has PARA animations already.
CODE
***Faction Building.ini***
Behavior = OCLSpecialPower ModuleTag_09
SpecialPowerTemplate = SuperweaponAmericaTroopdrop
OCL = SUPERWEAPON_AmericaTroopdrop
End
***Special Power.ini***
;-----------------------------------------------------------------------------
SpecialPower SuperweaponAmericaTroopdrop
Enum = SPECIAL_PARADROP_AMERICA
ReloadTime = 100 ; in milliseconds
PublicTimer = No
SharedSyncedTimer = Yes
RadiusCursorRadius = 100
End
***Science.ini***
Science SCIENCE_AmericaTroopdrop
PrerequisiteSciences = None
SciencePurchasePointCost = 0 ; note that this means "not purchasable", NOT "free"!
IsGrantable = Yes
DisplayName = SCIENCE:AmericaTroopdrop
Description = SCIENCE:ToolTipAmericaScienceTroopdrop
End
(I always add the science even if I don't want it to be on)
***OCL.ini***
; -----------------------------------------------------------------------------
; -----------------------------------------------------------------------------
ObjectCreationList SUPERWEAPON_AmericaTroopdrop
DeliverPayload
Transport = AmericaJetCargoPlane
StartAtPreferredHeight = Yes
StartAtMaxSpeed = Yes
MaxAttempts = 4
DropOffset = X:0 Y:0 Z:-10
DropDelay = 80 ; 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 = AmericaInfantryMissileDefender 10
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 = 100
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
DeliverPayload
Transport = AmericaJetCargoPlane
StartAtPreferredHeight = Yes
StartAtMaxSpeed = No
MaxAttempts = 4
DropOffset = X:0 Y:0 Z:-10
DropDelay = 80 ; 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 = AmericaInfantryMissileDefender 10
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 = 100
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
***Command Set.ini***
CommandSet AmericaAirfieldHQCommandSet
1 = Command_ConstructAmericaVehicleKasatka
2 = Command_ConstructAmericaVehicleAdv.Chinook
3 = Command_ConstructAmericaVehicleHuey
4 = Command_ConstructAmericaJetSuperStriker
5 = Command_ConstructAmericaJetQuickStrike
6 = Command_UpgradeAmericaMines
7 = Command_ConstructBlackhawk
8 = Command_AmericaNapalmStrike
9 = Command_AmericaTroopdrop
10 = Command_AmericaClusterMines
11 = Command_SetRallyPoint
12 = Command_Sell
End
***Command Button.ini***
CommandButton Command_AmericaTroopdrop
Command = SPECIAL_POWER_FROM_COMMAND_CENTER
SpecialPower = SuperweaponAmericaTroopdrop
Options = NEED_SPECIAL_POWER_SCIENCE NEED_TARGET_POS CONTEXTMODE_COMMAND
Science = SCIENCE_AmericaTroopdrop
TextLabel = GUI:SuperweaponAmericaTroopdrop
ButtonImage = SACParatroopers
;ButtonBorderType = ACTION ; Identifier for the User as to what kind of button this is
DescriptLabel = CONTROLBAR:TooltipAmericaTroopDrop
RadiusCursorType = PARADROP
InvalidCursorName = GenericInvalid
End
CommandButton Command_AmericaTroopdropFromCommandCenter
Command = SPECIAL_POWER_FROM_COMMAND_CENTER
SpecialPower = SuperweaponAmericaTroopdrop
Options = NEED_SPECIAL_POWER_SCIENCE NEED_TARGET_POS CONTEXTMODE_COMMAND
Science = SCIENCE_AmericaTroopdrop
TextLabel = GUI:SuperweaponAmericaTroopdrop
ButtonImage = SACParatroopers
;ButtonBorderType = ACTION ; Identifier for the User as to what kind of button this is
DescriptLabel = CONTROLBAR:TooltipAmericaTroopDrop
RadiusCursorType = PARADROP
InvalidCursorName = GenericInvalid
End
***Faction Unit.ini***
Behavior = OCLSpecialPower ModuleTag_02
SpecialPowerTemplate = SuperweaponAmericaTroopdrop
OCL = SUPERWEAPON_AmericaTroopdrop
CreateLocation = USE_OWNER_OBJECT
End
So can somebody please tell me how to fix this problem.
Oh and can someone please send me there inis for a cluster bomb. PLEASSSSE.
|