Private Joined: 10/15/2017(UTC) Posts: 2
Thanks: 1 times
|
Hello iam trying to modify the damage and range of a weapon.ini can i use map.ini to do that ?
|
|
|
|
Major Joined: 2/21/2015(UTC) Posts: 386 Thanks: 80 times Was thanked: 132 time(s) in 96 post(s)
|
Yes you can. For example here's the weapon the rebel uses. Code:
Weapon GLARebelMachineGun
PrimaryDamage = 5.0
PrimaryDamageRadius = 0.0 ; 0 primary radius means "hits only intended victim"
AttackRange = 100.0
DamageType = SMALL_ARMS
DeathType = NORMAL
WeaponSpeed = 999999.0 ; dist/sec (huge value == effectively instant)
ProjectileObject = NONE
FireFX = WeaponFX_GenericMachineGunFire
VeterancyFireFX = HEROIC WeaponFX_GenericMachineGunFireWithRedTracers ; Heroic rebels get different FireFX
FireSound = RebelWeapon
RadiusDamageAffects = ALLIES ENEMIES NEUTRALS
DelayBetweenShots = 100 ; time between shots, msec
ClipSize = 3 ; how many shots in a Clip (0 == infinite)
ClipReloadTime = 700 ; how long to reload a Clip, msec
WeaponBonus = PLAYER_UPGRADE DAMAGE 125% ; AP weapon upgrade
End
To increase damage change the PrimaryDamage value. To increase range change the AttackRange value. Becareful, you can't modify projectile base weapons with a map.ini or else they won't work. |
|
1 user thanked SkyMix_RMT for this useful post.
|
|
|
Users browsing this topic |
Guest
|
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.