Posted by: nimitz03 - Wednesday, January 20, 2010 4:23:29 PM
first, i would like my earlier post about the particle cannon uplink command removed, such an easy fix, im kinda embarassed even posting about. im still trying to get the carpet bomb to fire from the shortcut side bar. i thought it would help by posting the code, so here goes. From commandset.ini CommandSet AmericaCommandCenterCommandSet 1 = Command_ConstructAmericaDozer 2 = Command_EmergencyRepair 3 = Command_SpySatelliteScan 4 = Command_SpyDrone 5 = Command_Paradrop 7 = Command_A10ThunderboltMissileStrike 8 = Command_SpectreGunship 9 = Command_DaisyCutter ;NOTE THIS GETS UPGRADED BELOW 10 = AirF_Command_CarpetBombFromShortcut ; WORKS FINE HERE!! 11 = Command_FireParticleUplinkCannonFromShortcut 13 = Command_SetRallyPoint 14 = Command_Sell End CommandSet SpecialPowerShortcutUSA 1 = AirF_Command_CarpetBomb ; Here is were it don't work!! 2 = Command_SpySatelliteScanFromShortcut 3 = Command_SpyDroneFromShortcut 4 = Command_ParadropFromShortcut 5 = Command_A10ThunderboltMissileStrikeFromShortcut 6 = Command_DaisyCutterFromShortcut 7 = Command_SpectreGunshipFromShortcut 8 = Command_FireParticleUplinkCannonFromShortcut 9 = Command_EmergencyRepairFromShortcut END from commandbutton.ini CommandButton AirF_Command_CarpetBomb Command = SPECIAL_POWER SpecialPower = AirF_SuperweaponCarpetBomb Options = NEED_SPECIAL_POWER_SCIENCE NEED_TARGET_POS CONTEXTMODE_COMMAND TextLabel = CONTROLBAR:CarpetBomb ButtonImage = SAB3Carpet RadiusCursorType = CARPETBOMB InvalidCursorName = GenericInvalid ButtonBorderType = ACTION ; Identifier for the User as to what kind of button this is DescriptLabel = CONTROLBAR:TooltipCarpetBomb End CommandButton AirF_Command_CarpetBombFromShortcut Command = SPECIAL_POWER_FROM_SHORTCUT SpecialPower = AirF_SuperweaponCarpetBomb Options = NEED_SPECIAL_POWER_SCIENCE NEED_TARGET_POS CONTEXTMODE_COMMAND TextLabel = OBJECT:CarpetBomb ButtonImage = SAB3Carpet RadiusCursorType = CARPETBOMB InvalidCursorName = GenericInvalid ;ButtonBorderType = ACTION ; Identifier for the User as to what kind of button this is DescriptLabel = CONTROLBAR:TooltipCarpetBomb End from specialpower.ini SpecialPower AirF_SuperweaponCarpetBomb Enum = AIRF_SPECIAL_CARPET_BOMB ReloadTime = 240000 ; in milliseconds RequiredScience = SCIENCE_AirF_CarpetBomb PublicTimer = No SharedSyncedTimer = Yes ViewObjectDuration = 40000 ViewObjectRange = 250 RadiusCursorRadius = 180 ShortcutPower = Yes ;Capable of being fired by the side-bar shortcut. AcademyClassify = ACT_SUPERPOWER ;Considered a powerful special power that a player could fire. Not for simpler unit based powers. End from objectcreationlist.ini ObjectCreationList AirF_SUPERWEAPON_CarpetBomb DeliverPayload Transport = AirF_AmericaJetB3 FormationSize = 3 FormationSpacing = 100.0 StartAtPreferredHeight = Yes StartAtMaxSpeed = Yes MaxAttempts = 1 DropOffset = X:0 Y:0 Z:-2 DropVariance = X:30 Y:40 Z:0 DropDelay = 130 ;500 ; time in between each item dropped (if more than one) Payload = CarpetBomb 12 DeliveryDistance = 500 DeliveryDecalRadius = 220 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 i hope this helps you guys help me a little better than me trying to explain it, lol. one more off the wall question, ill ask here first before i post the question, is it possible to have the daisy cutter AND the MOAB?

Posted by: Annihilationzh - Wednesday, January 20, 2010 4:57:10 PM
You have: CommandSet SpecialPowerShortcutUSA 1 = AirF_Command_CarpetBomb ; Here is were it don't work!! 2 = Command_SpySatelliteScanFromShortcut 3 = Command_SpyDroneFromShortcut 4 = Command_ParadropFromShortcut 5 = Command_A10ThunderboltMissileStrikeFromShortcut 6 = Command_DaisyCutterFromShortcut 7 = Command_SpectreGunshipFromShortcut 8 = Command_FireParticleUplinkCannonFromShortcut 9 = Command_EmergencyRepairFromShortcut END It should be: CommandSet SpecialPowerShortcutUSA 1 = AirF_Command_CarpetBombFromShortcut 2 = Command_SpySatelliteScanFromShortcut 3 = Command_SpyDroneFromShortcut 4 = Command_ParadropFromShortcut 5 = Command_A10ThunderboltMissileStrikeFromShortcut 6 = Command_DaisyCutterFromShortcut 7 = Command_SpectreGunshipFromShortcut 8 = Command_FireParticleUplinkCannonFromShortcut 9 = Command_EmergencyRepairFromShortcut END [quote]one more off the wall question, ill ask here first before i post the question, is it possible to have the daisy cutter AND the MOAB?[/quote] Yes, copy the daisy cutter, rename it and remove it's upgrade to the moab. Or if you really want to make it easy, give the leaflet drop the OCL of the daisy cutter.