also eigentlich müssen die funktionieren
hast du die scripts richtig in die karte eingebunden?
vieleicht hat auch einer in der ini was um geschrieben
hier is se nochmal
;;;Used to give Airfields (USA) the Carpetbomb button
CommandSet AmericaAirfieldCommandSet
1 = Command_ConstructAmericaJetRaptor
2 = Command_ConstructAmericaVehicleComanche
3 = Command_ConstructAmericaJetAurora
4 = Command_ConstructAmericaJetStealthFighter
7 = Command_UpgradeComancheRocketPods
8 = Command_UpgradeAmericaLaserMissiles
9 = Command_CarpetBomb
11 = Command_SetRallyPoint
12 = Command_Sell
End
;;;Here is the actual CarpetBomb mojo
Object AmericaJetB52
ReplaceModule ModuleTag_03
Body = ActiveBody ModuleTag_03_Override
MaxHealth = 200.0
InitialHealth = 200.0
End
End
VisionRange = 300.0
End
Object AmericaAirfield
AddModule
Behavior = OCLSpecialPower ModuleTag_Override01
SpecialPowerTemplate = SuperweaponCarpetBomb
OCL = SUPERWEAPON_CarpetBomb
CreateLocation = CREATE_AT_EDGE_NEAR_SOURCE
End
End
End
SpecialPower SuperweaponCarpetBomb
Enum = SPECIAL_CARPET_BOMB
ReloadTime = 300000 ; in milliseconds
RequiredScience = SCIENCE_CarpetBomb;;; Never ever ever use a required science with a public timer, since the hiddenbyscience never clears
PublicTimer = No
SharedSyncedTimer = Yes
ViewObjectDuration = 40000
ViewObjectRange = 250
RadiusCursorRadius = 100
End
ObjectCreationList SUPERWEAPON_CarpetBomb
DeliverPayload
Transport = AmericaJetB52
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 = CarpetBomb 8
DeliveryDistance = 400
DeliveryDecalRadius = 100
DeliveryDecal
Texture = SCCA10Strike_USA
Style = SHADOW_ALPHA_DECAL
OpacityMin = 25%
OpacityMax = 50%
OpacityThrobTime = 500
Color = R:255 G:156 B:0 A:255
OnlyVisibleToOwningPlayer = Yes
End
End
End
;Upgrade definition for CarpetBomb
Upgrade Upgrade_USACarpetBomb
DisplayName = UPGRADE:CarpetBomb
BuildTime = 60.0
BuildCost = 8000
ButtonImage = SSCarpetBomb
ResearchSound = DragonTankVoiceUpgradeBlackNapalm
End
CommandButton Command_UpgradeAmericaCarpetBomb
Command = PLAYER_UPGRADE
Upgrade = Upgrade_USACarpetBomb
TextLabel = CONTROLBAR:UpgradeUSACarpetBomb
ButtonImage = SSCarpetBomb
ButtonBorderType = UPGRADE ; Identifier for the User as to what kind of button this is
DescriptLabel = CONTROLBAR:TooltipUpgradeUSACarpetBomb
End
CommandSet AmericaStrategyCenterCommandSet
1 = Command_InitiateBattlePlanBombardment
3 = Command_InitiateBattlePlanHoldTheLine
5 = Command_InitiateBattlePlanSearchAndDestroy
7 = Command_UpgradeAmericaCarpetBomb
8 = Command_UpgradeAmericaCompositeArmor
9 = Command_UpgradeAmericaAdvancedTraining
10 = Command_UpgradeAmericaDroneArmor
11 = Command_StrategyCenter_Stop
12 = Command_Sell
End
;;;And trying out TerrorCell as well
Object GLABarracks
AddModule
Behavior = OCLSpecialPower ModuleTag_88
SpecialPowerTemplate = SuperweaponTerrorCell
OCL = SUPERWEAPON_TerrorCell
CreateLocation = CREATE_AT_LOCATION
End
End
End
SpecialPower SuperweaponTerrorCell
Enum = SPECIAL_TERROR_CELL
ReloadTime = 320000 ; in milliseconds
RequiredScience = SCIENCE_TerrorCell
PublicTimer = No
SharedSyncedTimer = Yes
InitiateSound = TerrorCellActivated
End
CommandButton Command_TerrorCellCustom
Command = SPECIAL_POWER
SpecialPower = SuperweaponTerrorCell
Options = NEED_SPECIAL_POWER_SCIENCE NEED_TARGET_POS CONTEXTMODE_COMMAND
TextLabel = CONTROLBAR:TerrorCell
ButtonImage = SUTerrorist
ButtonBorderType = ACTION ; Identifier for the User as to what kind of button this is
DescriptLabel = CONTROLBAR:TooltipTerrorCell
RadiusCursorType = AMBUSH
InvalidCursorName = GenericInvalid
End
ObjectCreationList SUPERWEAPON_TerrorCell
CreateObject
ObjectNames = GLAInfantryTerrorist
Count = 12
SpreadFormation = Yes
MinDistanceAFormation = 20.0
MinDistanceBFormation = 30.0
MaxDistanceFormation = 400.0
FadeIn = Yes
FadeTime = 3000
FadeSound = TerrorCellActivated
End
End
;;;Used to give GLA the Terrorcell button
CommandSet GLABarracksCommandSet
8 = Command_TerrorCellCustom
11 = Command_SetRallyPoint
12 = Command_Sell
End
;Upgrade definition for TerrorCell
Upgrade Upgrade_GLATerrorCell
DisplayName = UPGRADE:TerrorCell
BuildTime = 70.0
BuildCost = 7500
ButtonImage = SUTerrorist
ResearchSound = DragonTankVoiceUpgradeBlackNapalm
End
CommandButton Command_UpgradeGLATerrorCell
Command = PLAYER_UPGRADE
Upgrade = Upgrade_GLATerrorCell
TextLabel = CONTROLBAR:UpgradeGLATerrorCell
ButtonImage = SUTerrorist
ButtonBorderType = UPGRADE ; Identifier for the User as to what kind of button this is
DescriptLabel = CONTROLBAR:TooltipUpgradeGLATerrorCell
End
CommandSet GLAPalaceCommandSet
1 = Command_StructureExit
2 = Command_StructureExit
3 = Command_StructureExit
4 = Command_StructureExit
5 = Command_StructureExit
6 = Command_Evacuate
7 = Command_UpgradeGLATerrorCell
8 = Command_UpgradeGLAArmTheMob
9 = Command_UpgradeGLACamouflage
10 = Command_UpgradeGLAToxinShells
11 = Command_UpgradeGLAAnthraxBeta
12 = Command_Sell
End
;;;Napalm Strike mojo
ObjectCreationList SUPERWEAPON_NapalmStrike
DeliverPayload
Transport = ChinaJetMIGNapalmStriker
FormationSize = 9
FormationSpacing = 35.0
StartAtPreferredHeight = Yes
StartAtMaxSpeed = Yes
MaxAttempts = 1
DropOffset = X:0 Y:0 Z:-10
DropDelay = 0
Payload = NapalmMissile 10
FireWeapon = Yes
DeliveryDistance = 300
WeaponConvergenceFactor = 1.0
DeliveryDecalRadius = 100
DeliveryDecal
Texture = SCCNapalmStrike_China
Style = SHADOW_ALPHA_DECAL
OpacityMin = 25%
OpacityMax = 50%
OpacityThrobTime = 500
Color = R:255 G:156 B:0 A:255
OnlyVisibleToOwningPlayer = Yes
End
End
End
;;;Trying an upgrade to get NapalmStrike
Upgrade Upgrade_ChinaNapalmStrike
DisplayName = UPGRADE:NapalmStrike
BuildTime = 60.0
BuildCost = 8000
ButtonImage = SNFirestorm
ResearchSound = DragonTankVoiceUpgradeBlackNapalm
End
CommandButton Command_UpgradeChinaNapalmStrike
Command = PLAYER_UPGRADE
Upgrade = Upgrade_ChinaNapalmStrike
TextLabel = CONTROLBAR:UpgradeChinaNapalmStrike
ButtonImage = SNFirestorm
ButtonBorderType = UPGRADE ; Identifier for the User as to what kind of button this is
DescriptLabel = CONTROLBAR:TooltipUpgradeChinaNapalmStrike
End
;;;Used to give the Upgrade for Napalm Strike to Comm Center (testing purposes)
CommandSet ChinaCommandCenterCommandSet
1 = Command_ConstructChinaDozer
3 = Command_NapalmStrike
4 = Command_ClusterMines
5 = Command_CashHack
6 = Command_ArtilleryBarrage
7 = Command_EmergencyRepair
8 = Command_EMPPulse
9 = Command_UpgradeChinaRadar
10 = Command_UpgradeChinaMines
11 = Command_SetRallyPoint
12 = Command_Sell
End
CommandSet ChinaPropagandaCenterCommandSet
8 = Command_UpgradeChinaNapalmStrike
End
SpecialPower SuperweaponNapalmStrike
Enum = SPECIAL_NAPALM_STRIKE
;PreparationTime = 320000
ReloadTime = 280000 ; in milliseconds
RequiredScience = SCIENCE_NapalmStrike
PublicTimer = Yes
SharedSyncedTimer = Yes
ViewObjectDuration = 30000
ViewObjectRange = 250
RadiusCursorRadius = 100
;;;Prerequisites
;;;Object = AmericaWarFactory
;UpgradeCameo1 = Upgrade_ChinaNapalmStrike
;UpgradeCameo2 = NONE
;UpgradeCameo3 = NONE
;UpgradeCameo4 = NONE
;UpgradeCameo5 = NONE
End
;;;Doesn't work ATM, intended to create a NapalmStrike button after purchase
;Object ChinaCommandCenter
;AddModule
;Behavior = ObjectCreationUpgrade ModuleTag_86
; UpgradeObject = SUPERWEAPON_NapalmStrike
; TriggeredBy = Upgrade_ChinaNapalmStrike
;End
__________________
|