i put all three levels of the spectre in the upgrade science command set. now i can't use it. it shows up on the purchase window i can purchase all three levels, but they don't show up on the shortcut or the command center. here's the code
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 <---Here
9 = Command_DaisyCutter
10 = AirF_Command_CarpetBomb
11 = Command_FireParticleUplinkCannonFromShortcut
13 = Command_SetRallyPoint
14 = Command_Sell
End
CommandSet SCIENCE_AMERICA_CommandSetRank3
1 = Command_PurchaseScienceSpectreGunship1
2 = Command_PurchaseScienceSpectreGunship2
3 = Command_PurchaseScienceSpectreGunship3
4 = Command_PurchaseScienceA10ThunderboltMissileStrike1
5 = Command_PurchaseScienceA10ThunderboltMissileStrike2
6 = Command_PurchaseScienceA10ThunderboltMissileStrike3
7 = Command_PurchaseScienceEmergencyRepair2
8 = Command_PurchaseScienceEmergencyRepair3
10 = Command_PurchaseScienceParadrop2
11 = Command_PurchaseScienceParadrop3
END
CommandSet SpecialPowerShortcutUSA
1 = Command_SpyDroneFromShortcut
2 = Command_ParadropFromShortcut
3 = Command_A10ThunderboltMissileStrikeFromShortcut
4 = Command_EmergencyRepairFromShortcut
5 = Command_DaisyCutterFromShortcut
6 = Command_FireParticleUplinkCannonFromShortcut
7 = Command_SpySatelliteScanFromShortcut
8 = Command_SpectreGunshipFromShortcut
9 = Command_LeafletDropFromShortcut
10 = AirF_Command_CarpetBombFromShortcut
END
From commandbutton.ini
CommandButton Command_SpectreGunship
Command = SPECIAL_POWER
SpecialPower = SuperweaponSpectreGunship
Options = NEED_SPECIAL_POWER_SCIENCE NEED_TARGET_POS CONTEXTMODE_COMMAND
Science = SCIENCE_SpectreGunshipSolo ;These will cause the buttons to change icons, nothing more
TextLabel = CONTROLBAR:SpectreGunship
ButtonImage = SASpGunship; until Samm makes a new cameo for this...
ButtonBorderType = ACTION ; Identifier for the User as to what kind of button this is
DescriptLabel = CONTROLBAR:TooltipSpectreGunship
RadiusCursorType = SPECTREGUNSHIP
InvalidCursorName = GenericInvalid
End
CommandButton Command_SpectreGunshipFromShortcut
Command = SPECIAL_POWER_FROM_SHORTCUT
SpecialPower = SuperweaponSpectreGunship
Options = NEED_SPECIAL_POWER_SCIENCE NEED_TARGET_POS CONTEXTMODE_COMMAND
Science = SCIENCE_SpectreGunshipSolo ;These will cause the buttons to change icons, nothing more
TextLabel = CONTROLBAR:SpectreGunshipFromShortcut
ButtonImage = SASpGunship; until Samm makes a new cameo for this...
ButtonBorderType = ACTION ; Identifier for the User as to what kind of button this is
DescriptLabel = CONTROLBAR:TooltipSpectreGunship
RadiusCursorType = SPECTREGUNSHIP
InvalidCursorName = GenericInvalid
End
from specialpower.ini
SpecialPower SuperweaponSpectreGunship
Enum = SPECIAL_SPECTRE_GUNSHIP
ReloadTime = 240000 ; in milliseconds
RequiredScience = SCIENCE_SpectreGunshipSolo
PublicTimer = No
SharedSyncedTimer = Yes
ViewObjectDuration = 30000
ViewObjectRange = 250
RadiusCursorRadius = 200
AcademyClassify = ACT_SUPERPOWER ;Considered a powerful special power that a player could fire. Not for simpler unit based powers.
End
from science.ini
Science SCIENCE_SpectreGunshipSolo
PrerequisiteSciences = SCIENCE_AMERICA SCIENCE_Rank3
SciencePurchasePointCost = 1
IsGrantable = Yes
DisplayName = SCIENCE:USASpectreGunship1
Description = CONTROLBAR:ToolTipUSAScienceSpectreGunship
End
Science SCIENCE_SpectreGunship1
PrerequisiteSciences = SCIENCE_AMERICA SCIENCE_Rank3
SciencePurchasePointCost = 1
IsGrantable = Yes
DisplayName = SCIENCE:USASpectreGunship1
Description = CONTROLBAR:AirF_ToolTipUSAScienceSpectreGunship
End
Science SCIENCE_SpectreGunship2
PrerequisiteSciences = SCIENCE_SpectreGunship1 SCIENCE_Rank3
SciencePurchasePointCost = 1
IsGrantable = Yes
DisplayName = SCIENCE:USASpectreGunship1
Description = CONTROLBAR:AirF_ToolTipUSAScienceSpectreGunship
End
Science SCIENCE_SpectreGunship3
PrerequisiteSciences = SCIENCE_SpectreGunship2 SCIENCE_Rank3
SciencePurchasePointCost = 1
IsGrantable = Yes
DisplayName = SCIENCE:USASpectreGunship1
Description = CONTROLBAR:AirF_ToolTipUSAScienceSpectreGunship
End
from factionbuilding.ini the modules for americacommandcenter
Behavior = SpecialAbility ModuleTag_32
SpecialPowerTemplate = SuperweaponSpectreGunship
UpdateModuleStartsAttack = Yes
End
Behavior = SpectreGunshipDeploymentUpdate ModuleTag_33
SpecialPowerTemplate = SuperweaponSpectreGunship
GunshipTemplateName = AmericaJetSpectreGunship
AttackAreaRadius = 200
CreateLocation = CREATE_AT_EDGE_FARTHEST_FROM_TARGET
;other choices are: *NEAR_SOURCE *FARTHEST_FROM_SOURCE *NEAR_TARGET
End
if there are any other files i need to post let me know.