Mr. Forum
  • Mr. Forum
  • 50.25% (Neutral)
  • Private Topic Starter
13 years ago
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
Sponsor
Annihilationzh
13 years ago
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.
If you need help, post in the forum. You'll get help a lot faster than if you send me a PM.

I reject all buddy requests. I don't think 'buddy' needs to be made official. It's not like you're marrying me.
Mr. Forum
  • Mr. Forum
  • 50.25% (Neutral)
  • Private Topic Starter
13 years ago
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 :

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

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 :

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...........


Annihilationzh
13 years ago
You have this:
ClipSize = 0
ClipReloadTime = 0
AutoReloadsClip = RETURN_TO_BASE
It needs to be something like this:

ClipSize = 6
ClipReloadTime = 75
AutoReloadsClip = Yes

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 :


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.
If you need help, post in the forum. You'll get help a lot faster than if you send me a PM.

I reject all buddy requests. I don't think 'buddy' needs to be made official. It's not like you're marrying me.
Mr. Forum
  • Mr. Forum
  • 50.25% (Neutral)
  • Private Topic Starter
13 years ago
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 ?
Rrtaya_tsamsiyu
13 years ago
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....
one soul at a time