Okay, let me see if I have this right, have you added the Paladin tank to the Air Force General? If so, follow the instructions below. Although you may have done some of them, it just so that you can find what you're doing wrong. If you still can't get it working, upload you mod files in a .zip folder so I can check it out.
1) Go to the
CommandSet.ini & to the
AmericaStrategyCenterCommandSet. (Based that you would want to put the upgrade on the strategy center. If you want it on the particle cannon, then you'll need to create a new command set because the Air Force particle cannon uses the USA particle cannons command set.)
2) Add the
Command_UpgradeChinaNuclearTanks to an available slot, like this:
CommandSet AmericaStrategyCenterCommandSet
1 = Command_InitiateBattlePlanBombardment
2 = Command_CIAIntelligence
3 = Command_InitiateBattlePlanHoldTheLine
4 = Command_UpgradeChinaNuclearTanks ; <----------
5 = Command_InitiateBattlePlanSearchAndDestroy
6 = Command_UpgradeAmericaChemicalSuits
7 = Command_UpgradeAmericaMOAB
8 = Command_UpgradeAmericaCompositeArmor
9 = Command_UpgradeAmericaAdvancedTraining
10 = Command_UpgradeAmericaDroneArmor
11 = Command_StrategyCenter_Stop
13 = Command_UpgradeAmericaSupplyLines
14 = Command_Sell
End
3) Go to the
AmericaVehicle.ini file, (if you copied & pasted the paladin tank's code into the
AirForceGeneral.ini, then go to that instead) & to paladin tank code. Now scroll down to the
*** ENGINEERING Parameters ***4) Go down to the
Locomotor = SET_NORMAL CrusaderLocomotor line & add
Locomotor = SET_NORMAL_UPGRADED NuclearBattleMasterLocomotor just under that. (You can copy & paste the crusader locomotor to speed up for the upgrade if the paladin ask differently becuase it uses the battlemasters locomotor.)
5) Continue to scroll down to just above the geometry. Copy & paste this code there:
Behavior = LocomotorSetUpgrade ModuleTag_50
TriggeredBy = Upgrade_ChinaNuclearTanks
End
So the code should look like:
Behavior = FlammableUpdate ModuleTag_21
AflameDuration = 5000 ; If I catch fire, I'll burn for this long...
AflameDamageAmount = 3 ; taking this much damage...
AflameDamageDelay = 500 ; this often.
End
Behavior = LocomotorSetUpgrade ModuleTag_50 ; <------
TriggeredBy = Upgrade_ChinaNuclearTanks ; <------
End ; <------
Geometry = BOX
GeometryMajorRadius = 15.0
GeometryMinorRadius = 10.0
GeometryHeight = 10.0
GeometryIsSmall = Yes
Shadow = SHADOW_VOLUME
ShadowSizeX = 45 ; minimum elevation angle above horizon. Used to limit shadow length
End
I haven't tested this so if it doesn't work, let me know.
Edited by user
17 years ago |
Reason: Not specified