IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
New science not working
Kang Rusa
post 10 Dec 2019, 9:05
Post #1



Group Icon

Group: Members
Posts: 11
Joined: 12 July 2019
From: Changchun, China
Member No.: 20240



I added a new unit, as well as the science required to unlock it. It's in the first row for the stealth general's sciences. Not sure what's the problem.

Here's what my science.ini looks like:

CODE
;//////////////////////////////////////////////////////////////////////////////
;FILE: Science.ini (SYSTEM) ////////////////////////////////////////////////////
;//////////////////////////////////////////////////////////////////////////////

;; -------------------------------------
;; INTRINSIC (Base-Level) Sciences
;; -------------------------------------

Science SCIENCE_AMERICA
PrerequisiteSciences = None
SciencePurchasePointCost = 0 ; note that this means "not purchasable", NOT "free"!
IsGrantable = No
End

Science SCIENCE_CHINA
PrerequisiteSciences = None
SciencePurchasePointCost = 0 ; note that this means "not purchasable", NOT "free"!
IsGrantable = No
End

Science SCIENCE_GLA
PrerequisiteSciences = None
SciencePurchasePointCost = 0 ; note that this means "not purchasable", NOT "free"!
IsGrantable = No
End

;; -------------------------------------
;; RANK Sciences, granted for a given rank
;; -------------------------------------

; note that omitting "SciencePurchasePointCost" means "science cannot
; normally be purchased; it must be intrinsic or otherwise directly
; granted to the player", which is true for all Rank sciences

Science SCIENCE_Rank1
PrerequisiteSciences = None
SciencePurchasePointCost = 0 ; note that this means "not purchasable", NOT "free"!
IsGrantable = No
End

Science SCIENCE_Rank2
PrerequisiteSciences = SCIENCE_Rank1
SciencePurchasePointCost = 0 ; note that this means "not purchasable", NOT "free"!
IsGrantable = No
End

Science SCIENCE_Rank3
PrerequisiteSciences = SCIENCE_Rank2
SciencePurchasePointCost = 0 ; note that this means "not purchasable", NOT "free"!
IsGrantable = No
End

Science SCIENCE_Rank4
PrerequisiteSciences = SCIENCE_Rank3
SciencePurchasePointCost = 0 ; note that this means "not purchasable", NOT "free"!
IsGrantable = No
End

Science SCIENCE_Rank5
PrerequisiteSciences = SCIENCE_Rank4
SciencePurchasePointCost = 0 ; note that this means "not purchasable", NOT "free"!
IsGrantable = No
End

Science SCIENCE_Rank6
PrerequisiteSciences = SCIENCE_Rank5
SciencePurchasePointCost = 0 ; note that this means "not purchasable", NOT "free"!
IsGrantable = No
End

Science SCIENCE_Rank7
PrerequisiteSciences = SCIENCE_Rank6
SciencePurchasePointCost = 0 ; note that this means "not purchasable", NOT "free"!
IsGrantable = No
End

Science SCIENCE_Rank8
PrerequisiteSciences = SCIENCE_Rank7
SciencePurchasePointCost = 0 ; note that this means "not purchasable", NOT "free"!
IsGrantable = No
End

;; -------------------------------------
;; AMERICA Sciences
;; -------------------------------------

; --- LEVEL 1 POWERS ---
Science SCIENCE_PaladinTank
PrerequisiteSciences = SCIENCE_AMERICA SCIENCE_Rank1
SciencePurchasePointCost = 1
IsGrantable = Yes
DisplayName = SCIENCE:USAPaladin
Description = CONTROLBAR:ToolTipUSASciencePaladin
End

Science SCIENCE_StealthFighter
PrerequisiteSciences = SCIENCE_AMERICA SCIENCE_Rank1
SciencePurchasePointCost = 1
IsGrantable = Yes
DisplayName = SCIENCE:USAStealthFighter
Description = CONTROLBAR:ToolTipUSAScienceStealthFighter
End

Science SCIENCE_SpyDrone
PrerequisiteSciences = SCIENCE_AMERICA SCIENCE_Rank1
SciencePurchasePointCost = 1
IsGrantable = Yes
DisplayName = SCIENCE:USASpyDrone
Description = CONTROLBAR:ToolTipUSAScienceSpyDrone
End

; --- LEVEL 3 POWERS ---
Science SCIENCE_Pathfinder
PrerequisiteSciences = SCIENCE_AMERICA SCIENCE_Rank3
SciencePurchasePointCost = 1
IsGrantable = Yes
DisplayName = SCIENCE:USAPathFinder
Description = CONTROLBAR:ToolTipUSASciencePathFinder
End

Science SCIENCE_Paradrop1
PrerequisiteSciences = SCIENCE_AMERICA SCIENCE_Rank3
SciencePurchasePointCost = 1
IsGrantable = Yes
DisplayName = SCIENCE:USAParaDrop1
Description = CONTROLBAR:ToolTipUSAScienceParaDrop
End

Science SCIENCE_Paradrop2
PrerequisiteSciences = SCIENCE_Paradrop1 SCIENCE_Rank3
SciencePurchasePointCost = 1
IsGrantable = Yes
DisplayName = SCIENCE:USAParaDrop2
Description = CONTROLBAR:ToolTipUSAScienceParaDrop
End

Science SCIENCE_Paradrop3
PrerequisiteSciences = SCIENCE_Paradrop2 SCIENCE_Rank3
SciencePurchasePointCost = 1
IsGrantable = Yes
DisplayName = SCIENCE:USAParaDrop3
Description = CONTROLBAR:ToolTipUSAScienceParaDrop
End

Science SCIENCE_A10ThunderboltMissileStrike1
PrerequisiteSciences = SCIENCE_AMERICA SCIENCE_Rank3
SciencePurchasePointCost = 1
IsGrantable = Yes
DisplayName = SCIENCE:USAA10Strike1
Description = CONTROLBAR:ToolTipUSAScienceA10Strike
End

Science SCIENCE_A10ThunderboltMissileStrike2
PrerequisiteSciences = SCIENCE_A10ThunderboltMissileStrike1 SCIENCE_Rank3
SciencePurchasePointCost = 1
IsGrantable = Yes
DisplayName = SCIENCE:USAA10Strike2
Description = CONTROLBAR:ToolTipUSAScienceA10Strike
End

Science SCIENCE_A10ThunderboltMissileStrike3
PrerequisiteSciences = SCIENCE_A10ThunderboltMissileStrike2 SCIENCE_Rank3
SciencePurchasePointCost = 1
IsGrantable = Yes
DisplayName = SCIENCE:USAA10Strike3
Description = CONTROLBAR:ToolTipUSAScienceA10Strike
End

Science SCIENCE_SpectreGunshipSolo
PrerequisiteSciences = SCIENCE_AMERICA SCIENCE_Rank5
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_Rank5
SciencePurchasePointCost = 1
IsGrantable = Yes
DisplayName = SCIENCE:USASpectreGunship1
Description = CONTROLBAR:AirF_ToolTipUSAScienceSpectreGunship
End


; --- LEVEL 8 POWERS ---
Science SCIENCE_DaisyCutter
PrerequisiteSciences = SCIENCE_AMERICA SCIENCE_Rank5
SciencePurchasePointCost = 1
IsGrantable = Yes
DisplayName = SCIENCE:USADaisyCutter
Description = CONTROLBAR:ToolTipUSAScienceDaisyCutter
End

Science SCIENCE_LeafletDrop
PrerequisiteSciences = SCIENCE_AMERICA SCIENCE_Rank5
SciencePurchasePointCost = 1
IsGrantable = Yes
DisplayName = SCIENCE:USALeafletDrop
Description = CONTROLBAR:ToolTipUSAScienceLeafletDrop
End

Science Early_SCIENCE_LeafletDrop
PrerequisiteSciences = SCIENCE_AMERICA SCIENCE_Rank3
SciencePurchasePointCost = 1
IsGrantable = Yes
DisplayName = SCIENCE:USALeafletDrop
Description = CONTROLBAR:ToolTipUSAScienceLeafletDrop
End

Science SCIENCE_MOAB
PrerequisiteSciences = SCIENCE_AMERICA
SciencePurchasePointCost = 0; note that this means "not purchasable", NOT "free"!
IsGrantable = Yes
End

;; -------------------------------------
;; CHINA Sciences
;; -------------------------------------

; --- LEVEL 1 POWERS ---
Science SCIENCE_RedGuardTraining
PrerequisiteSciences = SCIENCE_CHINA SCIENCE_Rank1
SciencePurchasePointCost = 1
IsGrantable = Yes
DisplayName = SCIENCE:ChinaRedGuardTraining
Description = CONTROLBAR:ToolTipChinaScienceRedGuardTraining
End

Science SCIENCE_BattlemasterTraining
PrerequisiteSciences = SCIENCE_CHINA SCIENCE_Rank1
SciencePurchasePointCost = 1
IsGrantable = Yes
DisplayName = SCIENCE:ChinaBattleMasterTraining
Description = CONTROLBAR:ToolTipChinaScienceBattlemasterTraining
End

Science SCIENCE_ClusterMines
PrerequisiteSciences = SCIENCE_CHINA SCIENCE_Rank3
SciencePurchasePointCost = 1
IsGrantable = Yes
DisplayName = SCIENCE:ChinaClusterMines
Description = CONTROLBAR:ToolTipChinaScienceClusterMines
End

Science SCIENCE_ArtilleryTraining
PrerequisiteSciences = SCIENCE_CHINA SCIENCE_Rank1
SciencePurchasePointCost = 1
IsGrantable = Yes
DisplayName = SCIENCE:ChinaArtilleryTraining
Description = CONTROLBAR:ToolTipChinaScienceARtilleryTraining
End

; --- LEVEL 3 POWERS ---
Science SCIENCE_NukeLauncher
PrerequisiteSciences = SCIENCE_CHINA SCIENCE_Rank1
SciencePurchasePointCost = 1
IsGrantable = Yes
DisplayName = SCIENCE:ChinaNukeLauncher
Description = CONTROLBAR:ToolTipChinaScienceNukeCannon
End

Science SCIENCE_ArtilleryBarrage1
PrerequisiteSciences = SCIENCE_CHINA SCIENCE_Rank3
SciencePurchasePointCost = 1
IsGrantable = Yes
DisplayName = SCIENCE:ChinaArtilleryBarrage
Description = CONTROLBAR:ToolTipChinaScienceArtilleryBarrage
End

Science SCIENCE_ArtilleryBarrage2
PrerequisiteSciences = SCIENCE_ArtilleryBarrage1 SCIENCE_Rank3
SciencePurchasePointCost = 1
IsGrantable = Yes
DisplayName = SCIENCE:ChinaArtilleryBarrage2
Description = CONTROLBAR:ToolTipChinaScienceArtilleryBarrage
End

Science SCIENCE_ArtilleryBarrage3
PrerequisiteSciences = SCIENCE_ArtilleryBarrage2 SCIENCE_Rank3
SciencePurchasePointCost = 1
IsGrantable = Yes
DisplayName = SCIENCE:ChinaArtilleryBarrage3
Description = CONTROLBAR:ToolTipChinaScienceArtilleryBarrage
End

Science SCIENCE_Frenzy1
PrerequisiteSciences = SCIENCE_CHINA SCIENCE_Rank3
SciencePurchasePointCost = 1
IsGrantable = Yes
DisplayName = SCIENCE:ChinaFrenzy
Description = CONTROLBAR:ToolTipChinaScienceFrenzy
End

Science SCIENCE_Frenzy2
PrerequisiteSciences = SCIENCE_Frenzy1 SCIENCE_Rank3
SciencePurchasePointCost = 1
IsGrantable = Yes
DisplayName = SCIENCE:ChinaFrenzy2
Description = CONTROLBAR:ToolTipChinaScienceFrenzy
End

Science SCIENCE_Frenzy3
PrerequisiteSciences = SCIENCE_Frenzy2 SCIENCE_Rank3
SciencePurchasePointCost = 1
IsGrantable = Yes
DisplayName = SCIENCE:ChinaFrenzy3
Description = CONTROLBAR:ToolTipChinaScienceFrenzy
End

Science Early_SCIENCE_Frenzy1
PrerequisiteSciences = SCIENCE_CHINA SCIENCE_Rank1
SciencePurchasePointCost = 1
IsGrantable = Yes
DisplayName = SCIENCE:ChinaFrenzy
Description = CONTROLBAR:ToolTipChinaScienceFrenzy
End

Science Early_SCIENCE_Frenzy2
PrerequisiteSciences = Early_SCIENCE_Frenzy1 SCIENCE_Rank3
SciencePurchasePointCost = 1
IsGrantable = Yes
DisplayName = SCIENCE:ChinaFrenzy2
Description = CONTROLBAR:ToolTipChinaScienceFrenzy
End

Science Early_SCIENCE_Frenzy3
PrerequisiteSciences = Early_SCIENCE_Frenzy2 SCIENCE_Rank3
SciencePurchasePointCost = 1
IsGrantable = Yes
DisplayName = SCIENCE:ChinaFrenzy3
Description = CONTROLBAR:ToolTipChinaScienceFrenzy
End

Science SCIENCE_CashHack1
PrerequisiteSciences = SCIENCE_CHINA SCIENCE_Rank3
SciencePurchasePointCost = 1
IsGrantable = Yes
DisplayName = SCIENCE:ChinaCashHack1
Description = CONTROLBAR:ToolTipChinaScienceCashHack
End

Science SCIENCE_CashHack2
PrerequisiteSciences = SCIENCE_CashHack1 SCIENCE_Rank3
SciencePurchasePointCost = 1
IsGrantable = Yes
DisplayName = SCIENCE:ChinaCashHack2
Description = CONTROLBAR:ToolTipChinaScienceCashHack
End

Science SCIENCE_CashHack3
PrerequisiteSciences = SCIENCE_CashHack2 SCIENCE_Rank3
SciencePurchasePointCost = 1
IsGrantable = Yes
DisplayName = SCIENCE:ChinaCashHack3
Description = CONTROLBAR:ToolTipChinaScienceCashHack
End

; --- LEVEL 8 POWERS ---
Science SCIENCE_EMPPulse
PrerequisiteSciences = SCIENCE_CHINA SCIENCE_Rank5
SciencePurchasePointCost = 1
IsGrantable = Yes
DisplayName = SCIENCE:ChinaEMPPulse
Description = CONTROLBAR:ToolTipChinaScienceEMPPulse
End

Science SCIENCE_ChinaCarpetBomb
PrerequisiteSciences = SCIENCE_CHINA SCIENCE_Rank5
SciencePurchasePointCost = 1
IsGrantable = Yes
DisplayName = SCIENCE:ChinaCarpetBomb
Description = CONTROLBAR:ToolTipChinaScienceCarpetBomb
End

Science Early_SCIENCE_ChinaCarpetBomb
PrerequisiteSciences = SCIENCE_CHINA SCIENCE_Rank3
SciencePurchasePointCost = 1
IsGrantable = Yes
DisplayName = SCIENCE:ChinaCarpetBomb
Description = CONTROLBAR:ToolTipChinaScienceCarpetBomb
End

Science Nuke_SCIENCE_ChinaCarpetBomb
PrerequisiteSciences = SCIENCE_CHINA SCIENCE_Rank3
SciencePurchasePointCost = 1
IsGrantable = Yes
DisplayName = SCIENCE:Nuke_ChinaCarpetBomb
Description = CONTROLBAR:Nuke_ToolTipChinaScienceCarpetBomb
End

;; -------------------------------------
;; GLA Sciences
;; -------------------------------------

; --- LEVEL 1 POWERS ---
Science SCIENCE_ScudLauncher
PrerequisiteSciences = SCIENCE_GLA SCIENCE_Rank1
SciencePurchasePointCost = 1
IsGrantable = Yes
DisplayName = SCIENCE:GLASCUDLauncher
Description = CONTROLBAR:ToolTipGLAScienceSCUDLauncher
End

Science SCIENCE_MarauderTank
PrerequisiteSciences = SCIENCE_GLA SCIENCE_Rank1
SciencePurchasePointCost = 1
IsGrantable = Yes
DisplayName = SCIENCE:GLAMaruaderTank
Description = CONTROLBAR:ToolTipGLaScienceMarauderTank
End

Science SCIENCE_TechnicalTraining
PrerequisiteSciences = SCIENCE_GLA SCIENCE_Rank1
SciencePurchasePointCost = 1
IsGrantable = Yes
DisplayName = SCIENCE:GLATechnicalTraining
Description = CONTROLBAR:ToolTipGLAScienceTechnicalTraining
End

; --- LEVEL 3 POWERS ---
Science SCIENCE_Hijacker
PrerequisiteSciences = SCIENCE_GLA SCIENCE_Rank3
SciencePurchasePointCost = 1
IsGrantable = Yes
DisplayName = SCIENCE:GLAHijacker
Description = CONTROLBAR:ToolTipGLAScienceHijacker
End

Science SCIENCE_RebelAmbush1
PrerequisiteSciences = SCIENCE_GLA SCIENCE_Rank3
SciencePurchasePointCost = 1
IsGrantable = Yes
DisplayName = SCIENCE:GLARebelAmbush1
Description = CONTROLBAR:ToolTipGLAScienceRebelAmbush
End

Science SCIENCE_RebelAmbush2
PrerequisiteSciences = SCIENCE_RebelAmbush1 SCIENCE_Rank3
SciencePurchasePointCost = 1
IsGrantable = Yes
DisplayName = SCIENCE:GLARebelAmbush2
Description = CONTROLBAR:ToolTipGLAScienceRebelAmbush
End

Science SCIENCE_RebelAmbush3
PrerequisiteSciences = SCIENCE_RebelAmbush2 SCIENCE_Rank3
SciencePurchasePointCost = 1
IsGrantable = Yes
DisplayName = SCIENCE:GLARebelAmbush3
Description = CONTROLBAR:ToolTipGLAScienceRebelAmbush
End

Science Chem_SCIENCE_RebelAmbush1
PrerequisiteSciences = SCIENCE_GLA SCIENCE_Rank3
SciencePurchasePointCost = 1
IsGrantable = Yes
DisplayName = SCIENCE:GLARebelAmbush1
Description = CONTROLBAR:Chem_ToolTipGLAScienceRebelAmbush
End

Science Chem_SCIENCE_RebelAmbush2
PrerequisiteSciences = Chem_SCIENCE_RebelAmbush1 SCIENCE_Rank3
SciencePurchasePointCost = 1
IsGrantable = Yes
DisplayName = SCIENCE:GLARebelAmbush2
Description = CONTROLBAR:Chem_ToolTipGLAScienceRebelAmbush
End

Science Chem_SCIENCE_RebelAmbush3
PrerequisiteSciences = Chem_SCIENCE_RebelAmbush2 SCIENCE_Rank3
SciencePurchasePointCost = 1
IsGrantable = Yes
DisplayName = SCIENCE:GLARebelAmbush3
Description = CONTROLBAR:Chem_ToolTipGLAScienceRebelAmbush
End

Science SCIENCE_CashBounty1
PrerequisiteSciences = SCIENCE_GLA SCIENCE_Rank3
SciencePurchasePointCost = 1
IsGrantable = Yes
DisplayName = SCIENCE:GLACashBounty1
Description = CONTROLBAR:ToolTipGLAScienceCashBounty
End

Science SCIENCE_CashBounty2
PrerequisiteSciences = SCIENCE_CashBounty1 SCIENCE_Rank3
SciencePurchasePointCost = 1
IsGrantable = Yes
DisplayName = SCIENCE:GLACashBounty2
Description = CONTROLBAR:ToolTipGLAScienceCashBounty
End

Science SCIENCE_CashBounty3
PrerequisiteSciences = SCIENCE_CashBounty2 SCIENCE_Rank3
SciencePurchasePointCost = 1
IsGrantable = Yes
DisplayName = SCIENCE:GLACashBounty3
Description = CONTROLBAR:ToolTipGLAScienceCashBounty
End

; --- LEVEL 8 POWERS ---
Science SCIENCE_AnthraxBomb
PrerequisiteSciences = SCIENCE_GLA SCIENCE_Rank5
SciencePurchasePointCost = 1
IsGrantable = Yes
DisplayName = SCIENCE:GLAAnthraxBomb
Description = CONTROLBAR:ToolTipGLAScienceAnthraxBomb
End


Science SCIENCE_SneakAttack
PrerequisiteSciences = SCIENCE_GLA SCIENCE_Rank5
SciencePurchasePointCost = 1
IsGrantable = Yes
DisplayName = SCIENCE:GLASneakAttack
Description = CONTROLBAR:ToolTipGLAScienceSneakAttack
End

Science SCIENCE_GPSScrambler
PrerequisiteSciences = SCIENCE_GLA SCIENCE_Rank5 ;No country Science requirement
SciencePurchasePointCost = 1
IsGrantable = Yes
DisplayName = SCIENCE:GPSScrambler
Description = CONTROLBAR:ToolTipScienceGPSScrambler
End

Science Slth_SCIENCE_GPSScrambler
PrerequisiteSciences = SCIENCE_GLA SCIENCE_Rank3 ;No country Science requirement
SciencePurchasePointCost = 1
IsGrantable = Yes
DisplayName = SCIENCE:GPSScrambler
Description = CONTROLBAR:ToolTipScienceGPSScrambler
End

; --- LEVEL 3, Common to all sides ---
Science SCIENCE_EmergencyRepair1
PrerequisiteSciences = SCIENCE_Rank3 ;No country Science requirement
SciencePurchasePointCost = 1
IsGrantable = Yes
DisplayName = SCIENCE:EmergencyRepair1
Description = CONTROLBAR:ToolTipScienceEmergencyRepair
End

Science SCIENCE_EmergencyRepair2
PrerequisiteSciences = SCIENCE_EmergencyRepair1 SCIENCE_Rank3
SciencePurchasePointCost = 1
IsGrantable = Yes
DisplayName = SCIENCE:EmergencyRepair2
Description = CONTROLBAR:ToolTipScienceEmergencyRepair
End

Science SCIENCE_EmergencyRepair3
PrerequisiteSciences = SCIENCE_EmergencyRepair2 SCIENCE_Rank3
SciencePurchasePointCost = 1
IsGrantable = Yes
DisplayName = SCIENCE:EmergencyRepair3
Description = CONTROLBAR:ToolTipScienceEmergencyRepair
End

; --- Can buy Emergency repair earlier ---
Science Early_SCIENCE_EmergencyRepair1
PrerequisiteSciences = SCIENCE_Rank1 ;No country Science requirement
SciencePurchasePointCost = 1
IsGrantable = Yes
DisplayName = SCIENCE:EmergencyRepair1
Description = CONTROLBAR:ToolTipScienceEmergencyRepair
End

Science Early_SCIENCE_EmergencyRepair2
PrerequisiteSciences = Early_SCIENCE_EmergencyRepair1 SCIENCE_Rank3
SciencePurchasePointCost = 1
IsGrantable = Yes
DisplayName = SCIENCE:EmergencyRepair2
Description = CONTROLBAR:ToolTipScienceEmergencyRepair
End

Science Early_SCIENCE_EmergencyRepair3
PrerequisiteSciences = Early_SCIENCE_EmergencyRepair2 SCIENCE_Rank3
SciencePurchasePointCost = 1
IsGrantable = Yes
DisplayName = SCIENCE:EmergencyRepair3
Description = CONTROLBAR:ToolTipScienceEmergencyRepair
End

;; -------------------------------------
;; SPECIAL Sciences, not normally part of the tech tree
;; but used in solo play. Generally, they can't be purchased,
;; but they can be Granted (Use scripting "Grant Science" to
;; enable these for a particular player.)
;; -------------------------------------

Science SCIENCE_BlackMarketNuke
PrerequisiteSciences = None
SciencePurchasePointCost = 0 ; note that this means "not purchasable", NOT "free"!
IsGrantable = Yes
DisplayName = SCIENCE:TempName
Description = SCIENCE:TempDescription
End

Science SCIENCE_CrateDrop
PrerequisiteSciences = None
SciencePurchasePointCost = 0 ; note that this means "not purchasable", NOT "free"!
IsGrantable = Yes
DisplayName = SCIENCE:TempName
Description = SCIENCE:TempDescription
End

Science SCIENCE_CarpetBomb
PrerequisiteSciences = None
SciencePurchasePointCost = 0 ; note that this means "not purchasable", NOT "free"!
IsGrantable = Yes
DisplayName = SCIENCE:TempName
Description = SCIENCE:TempDescription
End

Science SCIENCE_NapalmStrike
PrerequisiteSciences = None
SciencePurchasePointCost = 0 ; note that this means "not purchasable", NOT "free"!
IsGrantable = Yes
DisplayName = SCIENCE:TempName
Description = SCIENCE:TempDescription
End

Science SCIENCE_Defector
PrerequisiteSciences = None
SciencePurchasePointCost = 0 ; note that this means "not purchasable", NOT "free"!
IsGrantable = Yes
DisplayName = SCIENCE:TempName
Description = SCIENCE:TempDescription
End

Science SCIENCE_TerrorCell
PrerequisiteSciences = None
SciencePurchasePointCost = 0 ; note that this means "not purchasable", NOT "free"!
IsGrantable = Yes
DisplayName = SCIENCE:TempName
Description = SCIENCE:TempDescription
End





;; -------------------------------------
;; GENERALS CHALLENGE SCIENCES
;; -------------------------------------

;; -------------------------------------
;; Tank General
;; -------------------------------------
; --- LEVEL 1 POWERS ---
Science SCIENCE_OverlordTraining
PrerequisiteSciences = SCIENCE_CHINA SCIENCE_Rank1
SciencePurchasePointCost = 1
IsGrantable = Yes
DisplayName = SCIENCE:ChinaOverlordTraining
Description = CONTROLBAR:ToolTipChinaScienceOverlordTraining
End

Science SCIENCE_GattlingTankTraining
PrerequisiteSciences = SCIENCE_CHINA SCIENCE_Rank1
SciencePurchasePointCost = 1
IsGrantable = Yes
DisplayName = SCIENCE:ChinaGattlingTankTraining
Description = CONTROLBAR:ToolTipChinaScienceGattlingTankTraining
End

Science SCIENCE_TankParadrop1
PrerequisiteSciences = SCIENCE_CHINA SCIENCE_Rank3
SciencePurchasePointCost = 1
IsGrantable = Yes
DisplayName = SCIENCE:ChinaTankParadrop1
Description = CONTROLBAR:ToolTipChinaScienceTankParadrop
End

Science SCIENCE_TankParadrop2
PrerequisiteSciences = SCIENCE_TankParadrop1 SCIENCE_Rank3
SciencePurchasePointCost = 1
IsGrantable = Yes
DisplayName = SCIENCE:ChinaTankParadrop2
Description = CONTROLBAR:ToolTipChinaScienceTankParadrop
End

Science SCIENCE_TankParadrop3
PrerequisiteSciences = SCIENCE_TankParadrop2 SCIENCE_Rank3
SciencePurchasePointCost = 1
IsGrantable = Yes
DisplayName = SCIENCE:ChinaTankParadrop3
Description = CONTROLBAR:ToolTipChinaScienceTankParadrop
End

;------------------------------------------------------------
; Infantry General
;------------------------------------------------------------
Science Infa_SCIENCE_RedGuardTraining
PrerequisiteSciences = SCIENCE_CHINA SCIENCE_Rank1
SciencePurchasePointCost = 1
IsGrantable = Yes
DisplayName = SCIENCE:Infa_ChinaRedGuardTraining
Description = CONTROLBAR:Infa_ToolTipChinaScienceRedGuardTraining
End

Science SCIENCE_InfantryParadrop1
PrerequisiteSciences = SCIENCE_CHINA SCIENCE_Rank3
SciencePurchasePointCost = 1
IsGrantable = Yes
DisplayName = SCIENCE:ChinaInfantryParadrop1
Description = CONTROLBAR:ToolTipChinaScienceInfantryParadrop
End

Science SCIENCE_InfantryParadrop2
PrerequisiteSciences = SCIENCE_InfantryParadrop1 SCIENCE_Rank3
SciencePurchasePointCost = 1
IsGrantable = Yes
DisplayName = SCIENCE:ChinaInfantryParadrop2
Description = CONTROLBAR:ToolTipChinaScienceInfantryParadrop
End

Science SCIENCE_InfantryParadrop3
PrerequisiteSciences = SCIENCE_InfantryParadrop2 SCIENCE_Rank3
SciencePurchasePointCost = 1
IsGrantable = Yes
DisplayName = SCIENCE:ChinaInfantryParadrop3
Description = CONTROLBAR:ToolTipChinaScienceInfantryParadrop
End

Science Infa_SCIENCE_InfantryParadrop1
PrerequisiteSciences = SCIENCE_CHINA SCIENCE_Rank3
SciencePurchasePointCost = 1
IsGrantable = Yes
DisplayName = SCIENCE:ChinaInfantryParadrop1
Description = CONTROLBAR:Infa_ToolTipChinaScienceInfantryParadrop
End

Science Infa_SCIENCE_InfantryParadrop2
PrerequisiteSciences = Infa_SCIENCE_InfantryParadrop1 SCIENCE_Rank3
SciencePurchasePointCost = 1
IsGrantable = Yes
DisplayName = SCIENCE:ChinaInfantryParadrop2
Description = CONTROLBAR:Infa_ToolTipChinaScienceInfantryParadrop
End

Science Infa_SCIENCE_InfantryParadrop3
PrerequisiteSciences = Infa_SCIENCE_InfantryParadrop2 SCIENCE_Rank3
SciencePurchasePointCost = 1
IsGrantable = Yes
DisplayName = SCIENCE:ChinaInfantryParadrop3
Description = CONTROLBAR:Infa_ToolTipChinaScienceInfantryParadrop
End

Science Nuke_SCIENCE_NukeDrop
PrerequisiteSciences = SCIENCE_CHINA SCIENCE_Rank3
SciencePurchasePointCost = 1
IsGrantable = Yes
DisplayName = SCIENCE:ChinaNukeDrop
Description = CONTROLBAR:ToolTipChinaScienceNukeDrop
End



;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; NEW AirF General SCIENCE ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;


Science AirF_SCIENCE_A10ThunderboltMissileStrike1
PrerequisiteSciences = SCIENCE_AMERICA SCIENCE_Rank1 SCIENCE_Rank3
SciencePurchasePointCost = 1
IsGrantable = Yes
DisplayName = SCIENCE:USAA10Strike1
Description = CONTROLBAR:ToolTipUSAScienceA10Strike
End

Science AirF_SCIENCE_A10ThunderboltMissileStrike2
PrerequisiteSciences = AirF_SCIENCE_A10ThunderboltMissileStrike1 SCIENCE_Rank3
SciencePurchasePointCost = 1
IsGrantable = Yes
DisplayName = SCIENCE:USAA10Strike2
Description = CONTROLBAR:ToolTipUSAScienceA10Strike
End

Science AirF_SCIENCE_A10ThunderboltMissileStrike3
PrerequisiteSciences = AirF_SCIENCE_A10ThunderboltMissileStrike2 SCIENCE_Rank3
SciencePurchasePointCost = 1
IsGrantable = Yes
DisplayName = SCIENCE:USAA10Strike3
Description = CONTROLBAR:ToolTipUSAScienceA10Strike
End

; -----------------------------------------------------------------------------
; -----------------------------------------------------------------------------
; Patch Mod starts here
; -----------------------------------------------------------------------------
; -----------------------------------------------------------------------------

Science SCIENCE_GLASniper
PrerequisiteSciences = SCIENCE_GLA SCIENCE_Rank1
SciencePurchasePointCost = 1
IsGrantable = Yes
DisplayName = SCIENCE:GLASniper
Description = CONTROLBAR:ToolTipGLAScienceSniper
End


And here's how my stealth general's science command set looks like:

CODE
;--------------------------------------------------------------------------------
;Stealth General
;--------------------------------------------------------------------------------
CommandSet GC_Slth_SCIENCE_GLA_CommandSetRank1
1 = Command_PurchaseScienceGLASniper
2 = Command_PurchaseScienceScudLauncher
3 = Command_PurchaseScienceTechnicalTraining
4 = Early_Command_PurchaseScienceEmergencyRepair1
END
CommandSet GC_Slth_SCIENCE_GLA_CommandSetRank3
1 = Slth_Command_PurchaseScienceGPSScrambler
4 = Command_PurchaseScienceRebelAmbush1
5 = Command_PurchaseScienceRebelAmbush2
6 = Command_PurchaseScienceRebelAmbush3
7 = Command_PurchaseScienceCashBounty1
8 = Command_PurchaseScienceCashBounty2
9 = Command_PurchaseScienceCashBounty3
10 = Early_Command_PurchaseScienceEmergencyRepair2
11 = Early_Command_PurchaseScienceEmergencyRepair3
END
CommandSet GC_Slth_SCIENCE_GLA_CommandSetRank8
1 = Command_PurchaseScienceAnthraxBomb
2 = Command_PurchaseScienceSneakAttack
END


The error report says the game can't parse the latter, whatever that means. Any suggestions?
Go to the top of the page
 
+Quote Post
Zeke
post 12 Dec 2019, 2:05
Post #2


The X General
Group Icon

Group: Project Leader
Posts: 2166
Joined: 7 June 2009
From: Philippines
Member No.: 73
Uniqueness is Overrated



Where's the code for the button? Also, I think you are editing the wrong command set, iirc those are the command sets for the general's challenge version of the stealth general not the one in skirmish.


--------------------
Go to the top of the page
 
+Quote Post
Kang Rusa
post 12 Dec 2019, 5:54
Post #3



Group Icon

Group: Members
Posts: 11
Joined: 12 July 2019
From: Changchun, China
Member No.: 20240



QUOTE (Zeke @ 12 Dec 2019, 9:05) *
Where's the code for the button? Also, I think you are editing the wrong command set, iirc those are the command sets for the general's challenge version of the stealth general not the one in skirmish.


Oh? Could you please tell me where I can find the skirmish version of the command set?
Go to the top of the page
 
+Quote Post
Zeke
post 14 Dec 2019, 3:10
Post #4


The X General
Group Icon

Group: Project Leader
Posts: 2166
Joined: 7 June 2009
From: Philippines
Member No.: 73
Uniqueness is Overrated



Check PlayerTemplate.ini

Anyway, about the button codes...


--------------------
Go to the top of the page
 
+Quote Post
Kang Rusa
post 14 Dec 2019, 10:43
Post #5



Group Icon

Group: Members
Posts: 11
Joined: 12 July 2019
From: Changchun, China
Member No.: 20240



QUOTE (Zeke @ 14 Dec 2019, 10:10) *
Check PlayerTemplate.ini

Anyway, about the button codes...


Yea...I have no idea what you mean by the latter. Sorry, I'm just that much of a modding noob.
Go to the top of the page
 
+Quote Post
Zeke
post 16 Dec 2019, 1:46
Post #6


The X General
Group Icon

Group: Project Leader
Posts: 2166
Joined: 7 June 2009
From: Philippines
Member No.: 73
Uniqueness is Overrated



This is the new science you added right?
CODE
SCIENCE_GLASniper


And so you added this button to the command set right?
CODE
Command_PurchaseScienceGLASniper


So, where are the codes for it?

Or did you not make an entry for it in CommandButton.ini?

If so, then that is your problem.

This post has been edited by Zeke: 16 Dec 2019, 1:47


--------------------
Go to the top of the page
 
+Quote Post
Kang Rusa
post 6 Apr 2020, 13:18
Post #7



Group Icon

Group: Members
Posts: 11
Joined: 12 July 2019
From: Changchun, China
Member No.: 20240



QUOTE (Zeke @ 16 Dec 2019, 7:46) *
This is the new science you added right?
CODE
SCIENCE_GLASniper


And so you added this button to the command set right?
CODE
Command_PurchaseScienceGLASniper


So, where are the codes for it?

Or did you not make an entry for it in CommandButton.ini?

If so, then that is your problem.


That's probably it. Thanks! I just got back to modding, so sorry for the late reply smile.gif
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



Lo-Fi Version Time is now: 28 March 2024 - 12:04