Upgrade.ini
Code:
Upgrade Upgrade_B2C
DisplayName = UPGRADE:Grenades
Type = OBJECT
BuildTime = 8.0
BuildCost = 1500
ButtonImage = SOB2c
End
Upgrade Upgrade_B2HN
DisplayName = UPGRADE:Grenades
Type = OBJECT
BuildTime = 16.0
BuildCost = 1500
ButtonImage = SOB2hn
End
Upgrade Upgrade_B2N
DisplayName = UPGRADE:Grenades
Type = OBJECT
BuildTime = 12.0
BuildCost = 1800
ButtonImage = SOB2n
End
Weapon.ini
Code:
Weapon B2Conventional
PrimaryDamage = 40.0
PrimaryDamageRadius = 17.0
ScatterRadius = 135.0
ScatterRadiusVsInfantry = 35.0 ;When this weapon is used against infantry, it can randomly miss by as much as this distance.
AttackRange = 210 ;420.0
MinimumAttackRange = 1.0 ; used to be 100.0, but that was too large for stealthjet/missile speed
AcceptableAimDelta = 60
DamageType = EXPLOSION
DeathType = EXPLODED
WeaponSpeed = 70
ProjectileObject = GLAAngryMobRockProjectileObject
FireFX = None
ProjectileDetonationFX = WeaponFX_B52Bombs
RadiusDamageAffects = ALLIES ENEMIES NEUTRALS NOT_SIMILAR
DelayBetweenShots = 50 ; time between shots, msec
ClipSize = 130 ; how many shots in a Clip (0 == infinite)
ClipReloadTime = 130000 ; how long to reload a Clip, msec
AutoReloadsClip = RETURN_TO_BASE ; must return to base to reload this weapon
ProjectileCollidesWith = STRUCTURES
AllowAttackGarrisonedBldgs = No
AntiAirborneVehicle = No
AntiAirborneInfantry = No
ShowsAmmoPips = Yes
End
Weapon B2HeavyNukes
PrimaryDamage = 800.0
PrimaryDamageRadius = 167.0
ScatterRadius = 95.0
ScatterRadiusVsInfantry = 15.0 ;When this weapon is used against infantry, it can randomly miss by as much as this distance.
AttackRange = 110 ;420.0
MinimumAttackRange = 1.0 ; used to be 100.0, but that was too large for stealthjet/missile speed
AcceptableAimDelta = 60
DamageType = EXPLOSION
DeathType = EXPLODED
WeaponSpeed = 70
ProjectileObject = B2Bomb
FireFX = None
ProjectileDetonationFX = WeaponFX_SupaNuke
RadiusDamageAffects = ALLIES ENEMIES NEUTRALS NOT_SIMILAR
DelayBetweenShots = 290 ; time between shots, msec
ClipSize = 4 ; how many shots in a Clip (0 == infinite)
ClipReloadTime = 130000 ; how long to reload a Clip, msec
AutoReloadsClip = RETURN_TO_BASE ; must return to base to reload this weapon
ProjectileCollidesWith = STRUCTURES
AllowAttackGarrisonedBldgs = No
AntiAirborneVehicle = No
AntiAirborneInfantry = No
ShowsAmmoPips = Yes
End
Weapon B2Nukes
PrimaryDamage = 90.0
PrimaryDamageRadius = 67.0
ScatterRadius = 115.0
ScatterRadiusVsInfantry = 15.0 ;When this weapon is used against infantry, it can randomly miss by as much as this distance.
AttackRange = 130 ;420.0
MinimumAttackRange = 1.0 ; used to be 100.0, but that was too large for stealthjet/missile speed
AcceptableAimDelta = 60
DamageType = EXPLOSION
DeathType = EXPLODED
WeaponSpeed = 70
ProjectileObject = TankHunterMissile
FireFX = None
ProjectileDetonationFX = FX_ChinaVehicleNukeCannonDeathExplosion
RadiusDamageAffects = ALLIES ENEMIES NEUTRALS NOT_SIMILAR
DelayBetweenShots = 90 ; time between shots, msec
ClipSize = 15 ; how many shots in a Clip (0 == infinite)
ClipReloadTime = 130000 ; how long to reload a Clip, msec
AutoReloadsClip = RETURN_TO_BASE ; must return to base to reload this weapon
ProjectileCollidesWith = STRUCTURES
AllowAttackGarrisonedBldgs = No
AntiAirborneVehicle = No
AntiAirborneInfantry = No
ShowsAmmoPips = Yes
End
CommandButton.ini
Code:
CommandButton Command_UpgradeAmericaB2ConventionalBombs
Command = OBJECT_UPGRADE
Upgrade = Upgrade_B2C
Options = OK_FOR_MULTI_SELECT NOT_QUEUEABLE
TextLabel = CONTROLBAR:UpgradeChinaOverlordGattlingCannon
ButtonImage = SOB2c
ButtonBorderType = UPGRADE ; Identifier for the User as to what kind of button this is
DescriptLabel = CONTROLBAR:TooltipUpgradeChinaOverlordGattlingCannon
UnitSpecificSound = OverlordTankVoiceModeGattling
End
CommandButton Command_UpgradeAmericaB2HeavyNuclearBombs
Command = OBJECT_UPGRADE
Upgrade = Upgrade_B2HN
Options = OK_FOR_MULTI_SELECT NOT_QUEUEABLE
TextLabel = CONTROLBAR:UpgradeChinaOverlordGattlingCannon
ButtonImage = SOB2hn
ButtonBorderType = UPGRADE ; Identifier for the User as to what kind of button this is
DescriptLabel = CONTROLBAR:TooltipUpgradeChinaOverlordGattlingCannon
UnitSpecificSound = OverlordTankVoiceModeGattling
End
CommandButton Command_UpgradeAmericaB2NuclearBombs
Command = OBJECT_UPGRADE
Upgrade = Upgrade_B2N
Options = OK_FOR_MULTI_SELECT NOT_QUEUEABLE
TextLabel = CONTROLBAR:UpgradeChinaOverlordGattlingCannon
ButtonImage = SOB2n
ButtonBorderType = UPGRADE ; Identifier for the User as to what kind of button this is
DescriptLabel = CONTROLBAR:TooltipUpgradeChinaOverlordGattlingCannon
UnitSpecificSound = OverlordTankVoiceModeGattling
End
Commandset.ini
Code:
CommandSet AmericaB2CommandSet
1 = Command_UpgradeAmericaB2ConventionalBombs
2 = Command_UpgradeAmericaB2HeavyNuclearBombs
3 = Command_UpgradeAmericaB2NuclearBombs
End
CommandSet AmericaB2CommandSet2
9 = Command_Guard
10 = Command_AttackMove
12 = Command_Stop
End