Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Mabus2018 Offline
#1 Posted : Wednesday, June 13, 2018 4:00:36 AM(UTC)
Mabus2018
Private
Joined: 1/7/2018(UTC)
Posts: 20

Thanks: 2 times
Hi all,

I'm trying to mod the Boss General to include the USA's 'SuperweaponMOAB'

The MOAB appears as an option/upgrade in the Strategy Center, but I'm trying to find a way to make this ability available to the Boss General.

Can someone outline a step-by-step process for achieving this?

Any help would be greatly appreciated.
Sponsor
Zatsupachi Offline
#2 Posted : Wednesday, June 13, 2018 9:11:50 PM(UTC)
Zatsupachi
Major
Joined: 3/27/2015(UTC)
Posts: 443

Thanks: 4 times
Was thanked: 193 time(s) in 142 post(s)
Do you want to go straight for MOAB?

If yes:


No, you want to be like how it normally goes:
You can just look at how vanilla America does it.
Go get the upgrade button from the Strategy Center and slap it on the appropriate commandset.

Edited by user Wednesday, June 13, 2018 9:13:08 PM(UTC)  | Reason: Not specified

"It's precision_bomber."

Death Label HAS BEEN RELEASED(go get v0.99):
http://www.moddb.com/mod...oads/death-label-ver-099

Next Episode:
precision_bomber's Zero Hour SCIENCE!
Unknown Editor Offline
#3 Posted : Wednesday, June 13, 2018 10:17:35 PM(UTC)
Unknown Editor
Major
Joined: 3/22/2017(UTC)
Posts: 231
Location: Some where on the Earth

Thanks: 100 times
Was thanked: 49 time(s) in 44 post(s)
NOTE : FOLLOWING GENERICALLY WORK FOR MAP.INI FILES

Step01 :
You'll need Daisy Cutter Purchase Button :
As such , You should include it here :
Code:

CommandSet Boss_SCIENCE_CHINA_CommandSetRank8
 1 = Command_PurchaseScienceEMPPulse
 2 = Command_PurchaseScienceSpectreGunship
 3 = Command_PurchaseScienceSneakAttack
 4 = Command_PurchaseScienceDaisyCutter
END


Step02 :
You'll need to make Daisy Cutter grantable for Boss , not only America .
Code:

SCIENCE_DaisyCutter
 PrerequisiteSciences = SCIENCE_AMERICA SCIENCE_Rank5
End

So , Just Delete SCIENCE_AMERICA from the Prerequisites ...
Code:

SCIENCE_DaisyCutter
 PrerequisiteSciences = SCIENCE_Rank5
End


Step03 :
You'll need to include the MOAB upgrade somewhere VALID in Boss Structures ...
I think Particle Cannon is the thing :
A. go and check "INI\Object\BossGeneral.ini" and find out "Boss_ParticleCannonUplink" .
B. Look if it does have "ProductionUpdate" ; This update is required for any Construction or Upgrade .
- This Structure does have it but if you want to apply this to another which doesn't have , You can sure Apply the Following code
Code:

Object NAME
 AddModule
  Behavior = ProductionUpdate ModuleTag_Productive
  ; The module above is required to allow Object Construct units or Upgrade .
  End
 End
End


C. After Validating "ProductionUpdate" You'll need to add MOAB Upgrade button to structure .
So , Check for the CommandSet in ***DESIGN parameters *** of Object .
Boss_ParticleCannonUplink's is "Boss_AmericaParticleUplinkCannonCommandSet"

D. Check INI\CommandSet.ini for CommandSet , Then Add the Upgrade button to an empty place of CommandSet or You can also Replace it with what you think is no Neccessary .
Code:

CommandSet Boss_AmericaParticleUplinkCannonCommandSet
  1 = Command_FireParticleUplinkCannon
  4 = Command_UpgradeAmericaSentryDroneGun
  5 = Command_UpgradeAmericaMOAB
  6 = Command_UpgradeAmericaCompositeArmor
  8 = Command_UpgradeAmericaAdvancedTraining
 12 = Command_UpgradeChinaMines
 14 = Command_Sell
End


E. Add GrantScienceUpgrade to Grant "SCIENCE_MOAB" for Player upon the Upgrade .
Code:


Step04 :
You'll need SPECIAL POWER Support in your Command Center and Shortcut list .
To add the Support to Command Center (Can not be deployed without) Which can be other Structures too but requires the settings :
A. Add the OCLSpecialPower Module to the structure :
Code:

Object Boss_CommandCenter
 AddModule
  Behavior           = OCLSpecialPower ModuleTag_DaisyCutter
   SpecialPowerTemplate = SuperweaponDaisyCutter
   OCL                  = SUPERWEAPON_DaisyCutter
   UpgradeOCL           = SCIENCE_MOAB SUPERWEAPON_MOAB
   CreateLocation       = CREATE_AT_EDGE_NEAR_SOURCE
  End
 End
End


B. Setup the IN-Structure CommandSet , To make the availbility of Commanding Daisycutter of MOAB from a Specific Structure .
Code:

CommandSet Boss_ChinaCommandCenterCommandSet
  1 = Boss_Command_ConstructChinaDozer
  3 = Command_DaisyCutter
  5 = Command_ArtilleryBarrage
  6 = Command_EMPPulse
  7 = Command_ClusterMines
  8 = Command_SpectreGunship
  9 = Command_SneakAttack
 10 = Command_ChinaCarpetBomb
 11 = Command_UpgradeChinaRadar
 12 = Command_UpgradeChinaMines
 13 = Command_SetRallyPoint
 14 = Command_Sell
End


Also To Display Daisy cutter or MOAB in Shortcut , Easily add the Button to CommandSet :
Code:

CommandSet SpecialPowerShortcutBoss
  1 = Command_ClusterMinesFromShortcut
  2 = Command_ChinaCarpetBombFromShortcut
  3 = Command_ArtilleryBarrageFromShortcut
  4 = Command_EMPPulseFromShortcut
  5 = Command_SpectreGunshipFromShortcut
  6 = Command_SneakAttackFromShortcut
  7 = Command_FireParticleUplinkCannonFromShortcut
  8 = Command_ScudStormFromShortcut
  9 = Command_NeutronMissileFromShortcut
 10 = Command_DaisyCutterFromShortcut
END


5. Have fun and Report me if this doesn't work properly which requires my Full Apology .

Edited by user Wednesday, June 13, 2018 10:21:28 PM(UTC)  | Reason: Not specified

Asking is Not a Problem , Problem is Not to Know Something .

Operation : Dark Angel
Intro : CLICK ME TO WATCH
Sorry For the Bad Video Quality :[
AOD Map ; Coming Soon !
Annihilationzh Offline
#4 Posted : Thursday, June 14, 2018 6:38:11 AM(UTC)
Annihilationzh
General
Joined: 8/2/2008(UTC)
Posts: 1,685
United Kingdom

Thanks: 26 times
Was thanked: 417 time(s) in 285 post(s)
Originally Posted by: Unknown Editor Go to Quoted Post
NOTE : FOLLOWING GENERICALLY WORK FOR MAP.INI FILES


Been a while since I last did this, but IIRC you can simplify all that with just this:

Code:
CommandSet Boss_SCIENCE_CHINA_CommandSetRank8
 4 = Command_PurchaseScienceDaisyCutter
End

CommandSet SpecialPowerShortcutBoss
 10 = Command_DaisyCutterFromShortcut
End

CommandSet Boss_AmericaParticleUplinkCannonCommandSet
  5 = Command_UpgradeAmericaMOAB
End

CommandSet Boss_ChinaCommandCenterCommandSet
  3 = Command_DaisyCutter
End

Object Boss_CommandCenter
 AddModule
  Behavior           = OCLSpecialPower ModuleTag_DaisyCutter
   SpecialPowerTemplate = SuperweaponDaisyCutter
   OCL                  = SUPERWEAPON_DaisyCutter
   UpgradeOCL           = SCIENCE_MOAB SUPERWEAPON_MOAB
   CreateLocation       = CREATE_AT_EDGE_NEAR_SOURCE
  End
 End
End


Step02 is entirely unnecessary - the boss is already considered american.
If you need help, post in the forum. You'll get help a lot faster than if you send me a PM.

I reject all buddy requests. I don't think 'buddy' needs to be made official. It's not like you're marrying me.
Unknown Editor Offline
#5 Posted : Thursday, June 14, 2018 11:57:58 AM(UTC)
Unknown Editor
Major
Joined: 3/22/2017(UTC)
Posts: 231
Location: Some where on the Earth

Thanks: 100 times
Was thanked: 49 time(s) in 44 post(s)
Oh , I knew it . I totally forgot to include GrantScienceUpgrade
Asking is Not a Problem , Problem is Not to Know Something .

Operation : Dark Angel
Intro : CLICK ME TO WATCH
Sorry For the Bad Video Quality :[
AOD Map ; Coming Soon !
Users browsing this topic
Guest (3)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF 1.9.6.1 | YAF © 2003-2018, Yet Another Forum.NET
This page was generated in 0.965 seconds.