grr... this is pissing me off... so heres what i have (tell me whats wrong please!!! )
Code:
Science SCIENCE_DozerDrop
PrerequisiteSciences = None
SciencePurchasePointCost = 0 ; note that this means "not purchasable", NOT "free"!
IsGrantable = Yes
DisplayName = SCIENCE:TempName
Description = SCIENCE:TempDescription
End
Code:
SpecialPower SuperweaponDozerDrop
Enum = SPECIAL_CRATE_DROP
ReloadTime = 1 ; in milliseconds ; This does not matter, but set it at 1 just to be sure
RequiredScience = SCIENCE_DozerDrop
PublicTimer = Yes
ViewObjectDuration = 30000
ViewObjectRange = 250
RadiusCursorRadius = 100
ShortcutPower = Yes ;Capable of being fired by the side-bar shortcut.
End
Code:
CommandButton Command_ConstructAmericaDozer
Command = UNIT_BUILD
Object = AmericaVehicleDozerSpawner
TextLabel = CONTROLBAR:ConstructAmericaDozer
ButtonImage = SACDozer
ButtonBorderType = BUILD ; Identifier for the User as to what kind of button this is
DescriptLabel = CONTROLBAR:ToolTipUSABuildDozer
End
Code:
;------------------------------------------------------------------------------
Object AmericaJetB52
;code removed to save space
Behavior = OCLSpecialPower ModuleTag_14 ; Make sure this number is unique in the unit?s code
SpecialPowerTemplate = SuperweaponDozerDrop ; the superweapon we did first
OCL = SUPERWEAPON_DozerDrop ; the OCL from ObjectCreationList.ini
CreateLocation = USE_OWNER_OBJECT
ScriptedSpecialPowerOnly = Yes ; can only be called in by the CommandBar
End
Code:
ObjectCreationList SUPERWEAPON_DozerDrop
DeliverPayload
Transport = AmericaJetCargoPlane ; This is what drops your dozer.
StartAtPreferredHeight = Yes
StartAtMaxSpeed = Yes
MaxAttempts = 4 ; How many times the transport plane will try to drop your unit. I recommend 4-5, because every once in a while, you lose one to a circling transport.
DropOffset = X:0 Y:0 Z:-5
DropDelay = 1 ;500 ; time in between each item dropped (if more than one)
PutInContainer = LargeParachute ; Because the unit needs a large parachute, after all, it?s a bulldozer!
Payload = AmericaVehicleDozer 1 ; What unit is being dropped off
DeliveryDistance = -45
DeliveryDecalRadius = 100
;This is what you normally see for a superweapon. I?m trying to get it to go away, as it paints a red circle around the building that the unit is being built from:
;DeliveryDecal
;Texture = EXTargeterAlpha
;Style = SHADOW_ALPHA_DECAL
;OpacityMin = 25%
;OpacityMax = 50%
;OpacityThrobTime = 500
;Color = R:255 G:0 B:0 A:255
;OnlyVisibleToOwningPlayer = Yes
End
End
there... thats everything... so why doesnt it work? any clues?