I'm having a problem with new superweapons, ICBM and Tomahawk Storm. Their Shortcuts are not showing up on the side bar!
Here are the Command button codes:
CommandButton SupW_Command_ICBM
Command = SPECIAL_POWER
SpecialPower = SupW_SuperweaponNeutronMissile
Options = NEED_SPECIAL_POWER_SCIENCE NEED_TARGET_POS CONTEXTMODE_COMMAND
TextLabel = CONTROLBAR:ICBM
ButtonImage = SACruiseMis
ButtonBorderType = ACTION ; Identifier for the User as to what kind of button this is
DescriptLabel = CONTROLBAR:TooltipFireNukeMissile
RadiusCursorType = NUCLEARMISSILE
InvalidCursorName = GenericInvalid
End
CommandButton SupW_Command_ICBMFromShortcut
Command = SPECIAL_POWER_FROM_SHORTCUT
SpecialPower = SupW_SuperweaponNeutronMissile
Options = NEED_SPECIAL_POWER_SCIENCE NEED_TARGET_POS CONTEXTMODE_COMMAND
TextLabel = CONTROLBAR:ICBMShortcut
ButtonImage = SACruiseMis
ButtonBorderType = ACTION ; Identifier for the User as to what kind of button this is
DescriptLabel = CONTROLBAR:TooltipFireNukeMissile
RadiusCursorType = NUCLEARMISSILE
InvalidCursorName = GenericInvalid
End
CommandButton SupW_Command_TomahawkStorm
Command = SPECIAL_POWER
SpecialPower = SupW_SuperweaponTomahawkStorm
Options = NEED_SPECIAL_POWER_SCIENCE NEED_TARGET_POS CONTEXTMODE_COMMAND
TextLabel = CONTROLBAR:TomahawkStorm
ButtonImage = SATmhkStorm
CursorName = LaserGuidedMissiles
ButtonBorderType = ACTION ; Identifier for the User as to what kind of button this is
DescriptLabel = CONTROLBAR:TooltipFireTomahawkStorm
RadiusCursorType = NUCLEARMISSILE
InvalidCursorName = GenericInvalid
End
CommandButton SupW_Command_TomahawkStormFromShortcut
Command = SPECIAL_POWER_FROM_SHORTCUT
SpecialPower = Supw_SuperweaponTomahawkStorm
Options = NEED_SPECIAL_POWER_SCIENCE NEED_TARGET_POS CONTEXTMODE_COMMAND
TextLabel = CONTROLBAR:ScudStormShortcut
ButtonImage = SATmhkStorm
ButtonBorderType = ACTION ; Identifier for the User as to what kind of button this is
DescriptLabel = CONTROLBAR:TooltipFireSCUDStorm
RadiusCursorType = NUCLEARMISSILE
InvalidCursorName = GenericInvalid
End
Here are the codes from SpecialPower.ini:
SpecialPower SupW_SuperweaponNeutronMissile
Enum = SUPW_SPECIAL_NEUTRON_MISSILE
ReloadTime = 240000 ; in milliseconds. min is 2x door/open close time!
InitiateSound = AirRaidSiren ; plays at source
InitiateAtLocationSound = AirRaidSiren ; plays at target
PublicTimer = Yes
ViewObjectDuration = 40000
ViewObjectRange = 250
RadiusCursorRadius = 210
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
SpecialPower SupW_SuperweaponTomahawkStorm
Enum = SPECIAL_SCUD_STORM
ReloadTime = 300000 ; in milliseconds. min is 2x door/open close time!
InitiateSound = ScudStormInitiated
PublicTimer = Yes
ViewObjectDuration = 40000
ViewObjectRange = 250
RadiusCursorRadius = 200
ShortcutPower = Yes
AcademyClassify = ACT_SUPERPOWER
End
Where is the problem?
Also I found some unused EVA audio files for Tomahawk Storm ("tomahawk storm ready & "tomahawk storm launched") How can I implement these in the game?
I tried to implement it via EVA.ini and Speech.ini but idk if that's all that I have to do bcz it didn't do anything to be honest.
Here are the codes:
Eva.ini:
SideSounds
Side = AmericaSuperWeaponGeneral
Sounds = EvaUSA_TomahawkStormLaunchedOurs
End
speech.ini:
DialogEvent EvaUSA_DetectedTomahawkStorm
Filename = eudetom.wav
End
DialogEvent EvaUSA_LaunchedTomahawkStorm
Filename = eutomlau.wav
End
DialogEvent EvaUSA_TomahawkStormReady
Filename = eutomrea.wav
End
Edited by user Tuesday, August 6, 2019 3:24:09 PM(UTC)
| Reason: Not specified
File Attachment(s):
1.png (1,656kb) downloaded 33 time(s).