hmm..
are you saying that you wan't to increase the attack range for..
the battlemaster for example?
if so then
if I remember it correctly.
you will have to create a new weapon for the battlemaster in map.ini
the new weapon would have a longer attack range and do more damage than the normal battlemastertank weapon.
Weapon BattleMasterTankGun_NEW
PrimaryDamage = 100 ;60.0 - 60 was the original damage
PrimaryDamageRadius = 5.0
ScatterRadiusVsInfantry = 10.0
AttackRange = 200 ;150.0 - 150 was the original attack range
MinTargetPitch = -15
MaxTargetPitch = 15
DamageType = ARMOR_PIERCING
DeathType = NORMAL
WeaponSpeed = 400
WeaponRecoil = 5
ProjectileObject = BattleMasterTankShell
FireFX = WeaponFX_GenericTankGunNoTracerSmall
VeterancyFireFX = HEROIC WeaponFX_HeroicGenericTankGunNoTracerSmall
ProjectileDetonationFX = WeaponFX_GenericTankShellDetonation
FireSound = BattlemasterTankWeapon
RadiusDamageAffects = ALLIES ENEMIES NEUTRALS
DelayBetweenShots = 2000 ; time between shots, msec
ClipSize = 0 ; how many shots in a Clip (0 == infinite)
ClipReloadTime = 0 ; how long to reload a Clip, msec
WeaponBonus = PLAYER_UPGRADE DAMAGE 125% ; UraniumShells
; note, these only apply to units that aren't the explicit target
; (ie, units that just happen to "get in the way"... projectiles
; always collide with the Designated Target, regardless of these flags
ProjectileCollidesWith = STRUCTURES WALLS
End
then you will have to give the new weapon to the battlemaster object and just replace the old one in map.ini
Object ChinaTankBattleMaster
WeaponSet
Conditions = None
Weapon = PRIMARY BattleMasterTankGun_NEW ;was BattleMasterTankGun
End
End
you can do this to any unit..
I know this isn't the best explination out there but I tried.. and I hope I explained it correclty how to do it..
and if this isn't what you were looking for then I don't know what you were looking for hehe..
Edited by user
14 years ago |
Reason: forgot to add the attack power explination..
hmm...
if I don't reply to a topic I don't know the answer - sorry