Posted by: Mr. Forum - Wednesday, August 22, 2012 12:40:25 PM
Hello
I don't understand how I should modify the .INIZH file. I want to change weapons end de armor. But when I modify the file and I start the game the game crashed.
Greetings Mr. Forum
Posted by: Annihilationzh - Wednesday, August 22, 2012 1:38:41 PM
Tutorial here:
http://www.cnclabs.com/forums/cnc_postst9305_Getting-starting--Modding.aspx
If you have any problems with English, I'm more than willing to rephrase any instructions you don't understand.
Posted by: Mr. Forum - Thursday, August 23, 2012 5:29:13 AM
[u]OK thanks, now its work. But I have 2 problems/questions. 1 : I want that my king raptors have unlimited rockets. How ? This my code :
[/u]
Weapon AirF_RaptorJetMissileWeapon
PrimaryDamage = 250.0
PrimaryDamageRadius = 10.0
ScatterRadiusVsInfantry = 0.0 ;When this weapon is used against infantry, it can randomly miss by as much as this distance.
AttackRange = 450.0
MinimumAttackRange = 50.0
AcceptableAimDelta = 30
DamageType = JET_MISSILES
DeathType = EXPLODED
WeaponSpeed = 6000
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 = 0
ClipReloadTime = 0
AutoReloadsClip = RETURN_TO_BASE
ProjectileCollidesWith = STRUCTURES
AntiAirborneVehicle = Yes
AntiAirborneInfantry = Yes
ShowsAmmoPips = No
WeaponBonus = PLAYER_UPGRADE DAMAGE 112%
End
[u]And I want that my RaptorPointDefenseLaser can hit bullets. The laser can only hit rockets but I want that they can hit also bullets. How ? This my code :[/u]
Weapon AirF_RaptorPointDefenseLaser
PrimaryDamage = 10000.0
PrimaryDamageRadius = 0.0
AttackRange = 450.0
DamageType = LASER
DeathType = LASERED
WeaponSpeed = 99999999999999.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 = Yes
LaserName = AvengerPointDefenseLaserBeam
LaserBoneName = WeaponA01
FireFX = WeaponFX_PaladinPointDefenseLaser
End
Sorry for my bad Inglish...........
Posted by: Annihilationzh - Thursday, August 23, 2012 6:37:29 AM
You have this:
[code]ClipSize = 0
ClipReloadTime = 0
AutoReloadsClip = RETURN_TO_BASE[/code]
It needs to be something like this:
[code]ClipSize = 6
ClipReloadTime = 75
AutoReloadsClip = Yes[/code]
[quote]And I want that my RaptorPointDefenseLaser can hit bullets. The laser can only hit rockets but I want that they can hit also bullets. How ? This my code :[/quote]
Lasers can only hit projectiles in this game, and bullets are simply instant hit; they don't have projectiles.
So unless you change all bullets-based weapons into projectile-based weapons, it is not possible for lasers to shoot down bullets.
Posted by: Mr. Forum - Thursday, August 23, 2012 9:10:21 AM
OK thanks, and a another thing, I want to give de Comanche the same rockets as de raptors. Because now the Comanche can't hit a another Comanche and they can't hit raptors. How I do that ?
Posted by: Rrtaya_tsamsiyu - Saturday, August 25, 2012 4:03:18 AM
Change the primary Comanche weaponset to AirF_RaptorJetMissileWeapon
edit: sorry if im stealing you helping-ness, Annihilation, thought of that a sec too late, and a random deleted post would be sorta odd....