NewNightmare
14 years ago
Hi,
How to make the A10 fire Rocket Pod Missiles from it's wings? (Bones called WeaponA01 to 06 throw an error when set as a SECONDARY Muzzle, it fires them like raptor so far...)

All of the Code for a controlable A10 can be found here:
http://www.cnclabs.com/forums/default.aspx?g=posts&t=10448 
Sponsor
Annihilationzh
14 years ago
Add this:
      WeaponLaunchBone = SECONDARY WeaponA

Below every one of these:

      WeaponFireFXBone  = SECONDARY WeaponA

It's been a while since I messed with art code, so there's a large chance I've forgotten something.
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.
NewNightmare
14 years ago
Well, I tried 2 versions of that code, 1st one:
      WeaponFireFXBone  = SECONDARY WeaponA
      WeaponLaunchBone = SECONDARY WeaponA
Just this, makes the rockets fire from 1 side of the plane in a weird way (see the image)
http://imageshack.us/photo/my-images/402/a10bug.jpg/ 
The fire direction is so bad the rockets missed the GLA command center from full range ;/
And with 2nd code.. it just fires them the old way
      WeaponFireFXBone  = SECONDARY WeaponA01
      WeaponLaunchBone = SECONDARY WeaponA01
      WeaponFireFXBone  = SECONDARY WeaponA02
      WeaponLaunchBone = SECONDARY WeaponA02
      WeaponFireFXBone  = SECONDARY WeaponA03
      WeaponLaunchBone = SECONDARY WeaponA03
      WeaponFireFXBone  = SECONDARY WeaponA04
      WeaponLaunchBone = SECONDARY WeaponA04
      WeaponFireFXBone  = SECONDARY WeaponA05
      WeaponLaunchBone = SECONDARY WeaponA05
      WeaponFireFXBone  = SECONDARY WeaponA06
      WeaponLaunchBone = SECONDARY WeaponA06
Annihilationzh
14 years ago
EA's useless coding at work again. Sometimes it will fire from all the bones (Comanche rocket pods) and other times it doesn't, like in this case.

I can only suggest adding this to the weapon:
  ShotsPerBarrel = 1                   ; By default, shoot one shot per barrel

Try using another missile as the projectile, that might fix the curving issue.
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.
NewNightmare
14 years ago
Hard to determine whether it fixed muzzle location, but the particle swap never helped;/


EDIT
It actually did, but there still is the direction bug, just smaller, + yeah no I can see that they fire from under the wings
now the only problem left is: how to 'straighten' the bi*ches out ? is there some kind of lock-on option so the missile automatically faces target's direction ?

EDIT 2
I made it fire from under both wings, and that'll do:
I made the Secondary weapon fire from bone weapona01
and then created a tertiary weapon, which is infact the copy of the secondary, but made it fire from weapona06, it works :)
then I halved the clip size in weapon.ini and voila!

Only the fly path is still Fked...