Jump to content


MatthewH86

Member Since 29 Dec 2004
Offline Last Active Aug 29 2023 07:09 PM

Topics I've Started

Is there a limit to how many

30 December 2004 - 06:41 PM

Is there a limit to how many general ability shorcuts can be put in?

I say this because some general abilities work for the command center but don't appear on the shortcuts.

Some don't appear even if I put them #1 and alter others accordingly

note I've put " <<< doesn't show", this isn't in the code

CommandSet SpecialPowerShortcutBoss
  1 = Command_SpySatelliteScanFromShortcut
  2 = Command_SpyDroneFromShortcut
  3 = Command_ClusterMinesFromShortcut
  4 = Command_ArtilleryBarrageFromShortcut
  5 = Command_EMPPulseFromShortcut
  6 = Infa_Command_ParadropFromShortcut
  7 = Command_SpectreGunshipFromShortcut
  8 = Command_FireParticleUplinkCannonFromShortcut
  9 = Command_ScudStormFromShortcut
 10 = Command_NeutronMissileFromShortcut
 11 = Command_SneakAttackFromShortcut
 12 = Nuke_Command_ChinaCarpetBombFromShortcut <<< doesn't show
END

CommandSet Boss_ChinaCommandCenterCommandSet
  1  = Boss_Command_ConstructChinaDozer
  2  = Infa_Command_Paradrop
  3  = Command_SpySatelliteScan
  4  = Command_SpyDrone
  5  = Command_ArtilleryBarrage
  6  = Command_EMPPulse
  7  = Command_ClusterMines
  8  = Command_SpectreGunship
  9  = Command_SneakAttack
  10 = Nuke_Command_ChinaCarpetBomb
  11 = Command_UpgradeChinaRadar
  12 = Command_UpgradeChinaMines
  13 = Command_SetRallyPoint
  14 = Command_Sell
End

CommandSet Boss_SCIENCE_CHINA_CommandSetRank1
  1 = Command_PurchaseScienceSpyDrone
  2 = Command_PurchaseScienceRedGuardTraining
  3 = Command_PurchaseScienceArtilleryTraining
  4 = Command_PurchaseScienceNukeLauncher
END

CommandSet Boss_SCIENCE_CHINA_CommandSetRank3
  1 = Command_PurchaseScienceClusterMines
  3 = Nuke_Command_PurchaseScienceCarpetBomb
  4 = Command_PurchaseScienceArtilleryBarrage1
  5 = Command_PurchaseScienceArtilleryBarrage2
  6 = Command_PurchaseScienceArtilleryBarrage3
  7 = Command_PurchaseScienceCashBounty1
  8 = Command_PurchaseScienceCashBounty2
  9 = Command_PurchaseScienceCashBounty3
 10 = Infa_Command_PurchaseScienceInfantryParadrop1
 11 = Infa_Command_PurchaseScienceInfantryParadrop2
 12 = Infa_Command_PurchaseScienceInfantryParadrop3
END

CommandSet Boss_SCIENCE_CHINA_CommandSetRank8
  1 = Command_PurchaseScienceEMPPulse
  2 = Command_PurchaseScienceSpectreGunship
  3 = Command_PurchaseScienceSneakAttack
;  4 = Command_PurchaseScienceGPSScrambler
END

Someone plz help a new modder!

29 December 2004 - 12:48 AM

Hey, can someone plz help me with some annoying problems?

Here goes:

1)
I've modded the Boss general to produce Superhackers and Minigunner infantry; all fine.
They come out of the barracks fine w/o chem suit upgrade.
They upgrade fine when it is researched.
But it only crashes when more are trained with the chem suit upgrade researched

???

I'll be happy to post both unit's codes if needed

2)
I added the SpyDrone and SpySatellite to the Boss; in shortcut, general upgrades, and command center in the CommandSets.ini. And added
Behavior = OCLSpecialPower ModuleTag_23
SpecialPowerTemplate = SpecialPowerSpySatellite
OCL = SUPERWEAPON_SpySatellite
CreateLocation = CREATE_AT_LOCATION
End
to the command center in BossGeneral.ini

only the spysatellite works

the other one has the red no entry cursor


Thanks in advance