Help in INI files... please...
I want to give back USA SatteliteScan in Deezire mod be avaiable in the early game (don't require a generals point... back to official)
Here what i changes... but when i start the game... it won't run that means something was wrong... i need your help to find what line did i do wrong...
CommandButton.ini
---------------
CommandButton Command_SpySatelliteScan
Command = SPECIAL_POWER
SpecialPower = SpecialPowerSpySatellite
Options = NEED_TARGET_POS CONTEXTMODE_COMMAND
TextLabel = CONTROLBAR:SpySatellite
ButtonImage = SSSpySat
ButtonBorderType = ACTION ; Identifier for the User as to what kind of button this is
DescriptLabel = CONTROLBAR:TooltipFireSpySatScan
RadiusCursorType = SPYSATELLITE
InvalidCursorName = GenericInvalid
End
CommandButton Command_SpySatelliteScanFromCommandCenter
Command = SPECIAL_POWER_FROM_COMMAND_CENTER
SpecialPower = SpecialPowerSpySatellite
Options = NEED_TARGET_POS CONTEXTMODE_COMMAND
TextLabel = CONTROLBAR:NoHotKeySpySatellite
ButtonImage = SSSpySat
;ButtonBorderType = ACTION ; Identifier for the User as to what kind of button this is
DescriptLabel = CONTROLBAR:TooltipFireSpySatScan
RadiusCursorType = SPYSATELLITE
InvalidCursorName = GenericInvalid
End
SpecialPower SpecialPowerSpySatellite
Enum = SPECIAL_SPY_SATELLITE
ReloadTime = 60000 ; in milliseconds
PublicTimer = No
RadiusCursorRadius = 300 ; align with system.ini's SpySatellitePing's ShroudClearingRange
InitiateAtLocationSound = SpySatellite
End
CommandSet.ini
---------------
8 = Command_SpySatelliteScan
I want to change the general points in Deezire mod RedGuardTraining to Build SiegeSoldier (i remove the redguard training and replace it with build siege soldier)
Here what i changes... but when i start the game... it won't run that means something was wrong... i need your help to find what line did i do wrong...
CommmandButton.ini
---------------
CommandButton Command_ConstructChinaInfantrySiegeSoldier
Command = UNIT_BUILD
Options = NEED_SPECIAL_POWER_SCIENCE
SpecialPower = GeneralChinaSiegeSoldier
Object = ChinaInfantrySiegeSoldier
TextLabel = CONTROLBAR:ConstructChinaInfantrySiegeSoldier
ButtonImage = SNConscript
ButtonBorderType = BUILD
DescriptLabel = CONTROLBAR:ToolTipChinaBuildSiegeSoldier
End
CommandButton Command_PurchaseScienceSiegeSoldier
Command = PURCHASE_SCIENCE
Science = SCIENCE_PaladinTank
Object = ChinaInfantrySiegeSoldier
ButtonImage = SNConscript
ButtonBorderType = UPGRADE
UnitSpecificSound = ChooseGeneralAbility
End
Science.ini
---------------
Science SCIENCE_SiegeSoldier
PrerequisiteSciences = SCIENCE_CHINAGeneral1 SCIENCE_Rank2
SciencePurchasePointCost = 1
IsGrantable = Yes
DisplayName = SCIENCE:CHINASiegeSoldier
Description = CONTROLBAR:ToolTipChinaScienceSiegeSoldier
End
SpecialPower.ini
---------------
SpecialPower GeneralChinaSiegeSoldier
Enum = SPECIAL_INVALID
ReloadTime = 0
RequiredScience = SCIENCE_SiegeSoldier
PublicTimer = No
End
General.csf
---------------
Add "SCIENCE:CHINASiegeSoldier"
Add "CONTROLBAR:ToolTipChinaScienceSiegeSoldier"
FactionUnit.ini
---------------
Prerequisites
Object = ChinaBarracks
Science = SCIENCE_SiegeSoldier
End
CommandSet.ini
---------------
2 = Command_PurchaseScienceSiegeSoldier
Lastly i want general ability repair (deezire mod) only be avaiable/can be used by TankCommand, RedArmy and Warlord... so repair ability are special to this general
I edit them but... when i try it still can be used by other general... i need your help to find what line did i do wrong...
CommandButton.ini
---------------
CommandButton Command_EmergencyRepair3
Command = SPECIAL_POWER
SpecialPower = SuperweaponEmergencyRepair
Options = NEED_SPECIAL_POWER_SCIENCE NEED_TARGET_POS CONTEXTMODE_COMMAND
TextLabel = CONTROLBAR:EmergencyRepair
ButtonImage = SSRepair
ButtonBorderType = ACTION
DescriptLabel = CONTROLBAR:TooltipFireEmergencyRepairGLA
CursorName = DoRepair
RadiusCursorType = EMERGENCY_REPAIR
InvalidCursorName = GenericInvalid
End
CommandButton Command_EmergencyRepair4FromCommandCenter
Command = SPECIAL_POWER_FROM_COMMAND_CENTER
SpecialPower = SuperweaponEmergencyRepair
Options = NEED_SPECIAL_POWER_SCIENCE NEED_TARGET_POS CONTEXTMODE_COMMAND
TextLabel = GUI:SuperweaponEmergencyRepair
ButtonImage = SSRepair
DescriptLabel = CONTROLBAR:TooltipFireEmergencyRepairUSA
CursorName = DoRepair
RadiusCursorType = EMERGENCY_REPAIR
InvalidCursorName = GenericInvalid
End
Science.ini
---------------
Science SCIENCE_EmergencyRepair4
PrerequisiteSciences = SCIENCE_AMERICAGeneral1 SCIENCE_Rank3
SciencePurchasePointCost = 1
IsGrantable = Yes
DisplayName = SCIENCE:EmergencyRepair1
Description = CONTROLBAR:ToolTipScienceEmergencyRepairUSA
End
SpecialPower.ini
---------------
SpecialPower SuperweaponEmergencyRepair
Enum = SPECIAL_REPAIR_VEHICLES
ReloadTime = 120000
RequiredScience = SCIENCE_EmergencyRepair1
PublicTimer = No
SharedSyncedTimer = Yes
RadiusCursorRadius = 100
InitiateAtLocationSound = EmergencyRepairActivate
End
|