Explore GameReplays...

CNC Zero Hour

Hey mapmakers, i need your help

Reply to this topic Start new topic
# 1{DD}Moqqy Apr 15 2019, 14:50 PM
How can i remove JetRaptor point defense lasers from AFG?

I Have .ini files and everything is set, i know how to use the files and copy them into the map, but the game crashes whenever i try to remove the lasers from Jetraptors..

Posts: 48


+
# 2{DD}Moqqy Apr 15 2019, 17:25 PM
Here is the script in .ini:

Weapon AirF_RaptorPointDefenseLaser
PrimaryDamage = 100.0
PrimaryDamageRadius = 0.0
AttackRange = 65.0
DamageType = LASER
DeathType = LASERED
WeaponSpeed = 999999.0 ; dist/sec
DelayBetweenShots = 250 ; time between shots, msec
;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
AcceptableAimDelta = 180 ; Don't need to turn at all.
AntiSmallMissile = Yes
AntiProjectile = No
LaserName = AvengerPointDefenseLaserBeam
LaserBoneName = WeaponA01
FireFX = WeaponFX_PaladinPointDefenseLaser
End

Weapon AirF_RaptorJetMissileWeapon
PrimaryDamage = 125.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 = 350.0
MinimumAttackRange = 100.0
AcceptableAimDelta = 30
DamageType = JET_MISSILES
DeathType = EXPLODED
WeaponSpeed = 1000
ProjectileObject = RaptorJetMissile
ProjectileExhaust = AirF_RaptorMissileExhaust
VeterancyProjectileExhaust = HEROIC HeroicMissileExhaust
FireFX = None
FireSound = RaptorJetMissileWeapon
ProjectileDetonationFX = WeaponFX_JetMissileDetonation
RadiusDamageAffects = ALLIES ENEMIES NEUTRALS NOT_SIMILAR
DelayBetweenShots = 75 ;150
ClipSize = 6
ClipReloadTime = 2000
AutoReloadsClip = RETURN_TO_BASE
ProjectileCollidesWith = STRUCTURES
AntiAirborneVehicle = Yes
AntiAirborneInfantry = No
ShowsAmmoPips = Yes
WeaponBonus = PLAYER_UPGRADE DAMAGE 112%
End

Posts: 48


+
# 3_spL_ Apr 15 2019, 22:23 PM
QUOTE({DD}Moqqy @ Apr 15 2019, 19:50 PM) *

but the game crashes whenever i try to remove the lasers from Jetraptors..

what are u changing in ini code

This post has been edited by _spL_: Apr 15 2019, 22:55 PM

Posts: 216

Game: CNC Zero Hour


+
# 4_spL_ Apr 15 2019, 23:27 PM
ok nvm
i checked it, just add this in your ini:

Object AirF_AmericaJetRaptor
RemoveModule ModuleTag_Laser_One
RemoveModule ModuleTag_22
End

Posts: 216

Game: CNC Zero Hour


+
# 5{DD}Moqqy Apr 16 2019, 14:18 PM
QUOTE(_spL_ @ Apr 15 2019, 23:27 PM) *

ok nvm
i checked it, just add this in your ini:

Object AirF_AmericaJetRaptor
RemoveModule ModuleTag_Laser_One
RemoveModule ModuleTag_22
End


Yea i got help from C&Clabs, but thanks man.

Posts: 48


+
# 6iNNoMMaBLe Apr 16 2019, 19:22 PM
Is it like normal to ask advice from maphackers on gamereplay ? lol

Posts: 95

Game: CNC Zero Hour


+
# 7{DD}Moqqy Apr 16 2019, 19:24 PM
QUOTE(iNNoMMaBLe @ Apr 16 2019, 19:22 PM) *

Is it like normal to ask advice from maphackers on gamereplay ? lol

?

Posts: 48


+
# 8iNNoMMaBLe Apr 16 2019, 19:26 PM
Oh I missread lol, my bad

Posts: 95

Game: CNC Zero Hour


+

1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)