Private Joined: 4/19/2017(UTC) Posts: 28
Thanks: 10 times Was thanked: 3 time(s) in 3 post(s)
|
please help , this is an example , what should I add before the object ? game is keeping on ignoring whatever I change Code: Weapon ChinaInfantryTankHunterMissileLauncher
PrimaryDamage = 40.0
PrimaryDamageRadius = 5.0
ScatterRadiusVsInfantry = 10.0 ;When this weapon is used against infantry, it can randomly miss by as much as this distance.
AttackRange = 175.0
MinimumAttackRange = 5.0 ; Rockets take some distance to target, and you don't want them to blow up in your face.
DamageType = INFANTRY_MISSILE ;ignored for projectile weapons
DeathType = EXPLODED
WeaponSpeed = 600 ; ignored for projectile weapons
ProjectileObject = TankHunterMissile
ProjectileExhaust = MissileExhaust
VeterancyProjectileExhaust = HEROIC HeroicMissileExhaust
RadiusDamageAffects = ALLIES ENEMIES NEUTRALS
ScatterRadius = 0 ; This weapon will scatter somewhere within a circle of this radius, instead of hitting someone directly
DelayBetweenShots = 1000 ; time between shots, msec
ClipSize = 0 ; how many shots in a Clip (0 == infinite)
ClipReloadTime = 0 ; how long to reload a Clip, msec
AutoReloadsClip = Yes
FireSound = TankHunterWeapon
FireFX = FX_BuggyMissileIgnition
ProjectileDetonationFX = WeaponFX_RocketBuggyMissileDetonation
AntiAirborneVehicle = Yes
AntiAirborneInfantry = Yes
; 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
End
|
|
|
|
General Joined: 3/8/2016(UTC) Posts: 1,156 Thanks: 312 times Was thanked: 185 time(s) in 149 post(s)
|
Questions:
Did you Use Finalbig Here?
Did you Rename The Weapon Code?
|
|
|
|
|
Private Joined: 4/19/2017(UTC) Posts: 28
Thanks: 10 times Was thanked: 3 time(s) in 3 post(s)
|
Answers : Originally Posted by: adrianemapmaker Did you Use Finalbig Here? No, Do I have to use it even in a map.ini ? what's the benefit ? Originally Posted by: adrianemapmaker Did you Rename The Weapon Code? So If I made a new name and changed something , would the game respond to it ?
|
|
|
|
General Joined: 3/8/2016(UTC) Posts: 1,156 Thanks: 312 times Was thanked: 185 time(s) in 149 post(s)
|
Go to Factionunit.ini then make a copy of the object "Name" that you want to have that weapon and Find this Line "WeaponSet"
Your Map.ini should look like this mate:Code:
Weapon HunterMissileLauncher ; I Rename Your Weapon
PrimaryDamage = 40.0
PrimaryDamageRadius = 5.0
ScatterRadiusVsInfantry = 10.0 ;When this weapon is used against infantry, it can randomly miss by as much as this distance.
AttackRange = 175.0
MinimumAttackRange = 5.0 ; Rockets take some distance to target, and you don't want them to blow up in your face.
DamageType = INFANTRY_MISSILE ;ignored for projectile weapons
DeathType = EXPLODED
WeaponSpeed = 600 ; ignored for projectile weapons
ProjectileObject = TankHunterMissile
ProjectileExhaust = MissileExhaust
VeterancyProjectileExhaust = HEROIC HeroicMissileExhaust
RadiusDamageAffects = ALLIES ENEMIES NEUTRALS
ScatterRadius = 0 ; This weapon will scatter somewhere within a circle of this radius, instead of hitting someone directly
DelayBetweenShots = 1000 ; time between shots, msec
ClipSize = 0 ; how many shots in a Clip (0 == infinite)
ClipReloadTime = 0 ; how long to reload a Clip, msec
AutoReloadsClip = Yes
FireSound = TankHunterWeapon
FireFX = FX_BuggyMissileIgnition
ProjectileDetonationFX = WeaponFX_RocketBuggyMissileDetonation
AntiAirborneVehicle = Yes
AntiAirborneInfantry = Yes
; 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
End
Object ChinaInfantryBlahblah
WeaponSet
Conditions = None
Weapon = PRIMARY HunterMissileLauncher
End
End
Edited by user Saturday, April 29, 2017 6:32:59 AM(UTC)
| Reason: Not specified |
|
1 user thanked AdrianeMapMaker for this useful post.
|
|
|
Private Joined: 4/19/2017(UTC) Posts: 28
Thanks: 10 times Was thanked: 3 time(s) in 3 post(s)
|
Thanks a lot , it worked ^^
|
|
|
|
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.