smokezalot16
9 years ago
i need to know how i can add chinese nuclear carpet bombing to US airforce General. Here is the Nuke carpet bomb science -
Science Early_SCIENCE_ChinaCarpetBombNuke
PrerequisiteSciences = SCIENCE_CHINA SCIENCE_Rank5
SciencePurchasePointCost = 3
IsGrantable = Yes
DisplayName = SCIENCE:ChinaCarpetBombNuke
Description = CONTROLBAR:ToolTipChinaScienceCarpetBombNuke
End

Here is Where i want to put it
CommandSet AirF_SCIENCE_AMERICA_CommandSetRank3
1 = Command_PurchaseScienceLeafletDrop
2 = Command_PurchaseSciencePathfinder
4 = Command_PurchaseScienceHelicopterReinforcements1
5 = Command_PurchaseScienceHelicopterReinforcements2
6 = Command_PurchaseScienceHelicopterReinforcements3
8 = Command_PurchaseScienceSpectreGunship1
9 = Command_PurchaseScienceSpectreGunship2
10 = Early_Command_PurchaseScienceEmergencyRepair2
11 = Early_Command_PurchaseScienceEmergencyRepair3
13 = AirF_Command_PurchaseScienceA10ThunderboltMissileStrike1
14 = AirF_Command_PurchaseScienceA10ThunderboltMissileStrike2
15 = AirF_Command_PurchaseScienceA10ThunderboltMissileStrike3
END
I want to get rid of 1 = Command_PurchaseScienceLeafletDrop and put Early_Command_PurchaseScienceCarpetBombNuke , I dont know Why It says "Early_Command" is this a problem? Should I Delete the "Early_" Part? Any Help would be Appriciated - Thank you
Sponsor
Zatsupachi
9 years ago
-You can make a copy of that SCIENCE. And change SCIENCE_CHINA to SCIENCE_AMERICA.

-Add the PurchaseScience button to that CommandSet

-The PurchaseScience your looking for is probably Nuke_SCIENCE_CHINA_CommandSetRank8.

-Then add the OCLSpecialPower from Nuke_ChinaCommandCenter to the correct CommandCenter.

-Then update that CommandCenter's CommandSet with Nuke_Command_ChinaCarpetBomb on that CommandCenter's CommandSet.

-And update AirF_SpecialPowerShortcutUSA with Nuke_Command_ChinaCarpetBombFromShortcut.
"It's precision_bomber."
Death Label HAS BEEN RELEASED(go get v0.99):
http://www.moddb.com/mods/death-label/downloads/death-label-ver-099 
Next Episode:
precision_bomber's Zero Hour SCIENCE!
smokezalot16
9 years ago
Thanks guys you helped me figure it out - one more question .. whats a module tag? i know i need it for generals power to work but one of the powers im trying to use doesnt have a module tag i can just copy and paste from a faction command center ini. any idea what it is and how i might create one? Does the moduletag number mean any thing? HELP . and thank you šŸ˜„
klingondragon
9 years ago
All modules should have a unique module tag. EA uses ascending numbers. Often modders use very high numbersĀ or add letters to the tags to ensure they don't conflict with existing modules.

smokezalot16
9 years ago
is there any way to open up the list of module tags? i use Final.big , is it availible in there at all?
klingondragon
9 years ago
It really doesn't matter what the tag is. It matters what the module behavior is.
  Behavior = PhysicsBehavior ModuleTag_07
    Mass = 5.0
  End

Zatsupachi
9 years ago
http://www.cnclabs.com/forums/cnc_postst12909_List-of-INI-modules.aspx 
"It's precision_bomber."
Death Label HAS BEEN RELEASED(go get v0.99):
http://www.moddb.com/mods/death-label/downloads/death-label-ver-099 
Next Episode:
precision_bomber's Zero Hour SCIENCE!
klingondragon
9 years ago
Again, Those aren't actually the module tags.
CommieDog
9 years ago

is there any way to open up the list of module tags? i use Final.big , is it availible in there at all?

Originally Posted by: smokezalot16 


Any string can be a module tag, as long as it's unique. The following module is valid:
  Behavior = PhysicsBehavior MyModIsTheBestestModEVAR
    Mass = 5.0
  End

UserPostedImage 
CommieDog: Because someone has to do your dirty work for you