Posted by: NewNightmare - Wednesday, August 17, 2011 4:51:39 PM
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:
[url=http://www.cnclabs.com/forums/default.aspx?g=posts&t=10448]http://www.cnclabs.com/forums/default.aspx?g=posts&t=10448[/url]
Posted by: Annihilationzh - Thursday, August 18, 2011 8:01:42 AM
Add this:
[code] WeaponLaunchBone = SECONDARY WeaponA[/code]
Below every one of these:
[code] WeaponFireFXBone = SECONDARY WeaponA[/code]
It's been a while since I messed with art code, so there's a large chance I've forgotten something.
Posted by: NewNightmare - Thursday, August 18, 2011 9:27:39 AM
Well, I tried 2 versions of that code, 1st one:
[code] WeaponFireFXBone = SECONDARY WeaponA
WeaponLaunchBone = SECONDARY WeaponA[/code]
Just this, makes the rockets fire from 1 side of the plane in a weird way (see the image)
[url=http://imageshack.us/photo/my-images/402/a10bug.jpg/]http://imageshack.us/photo/my-images/402/a10bug.jpg/[/url]
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
[code] 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[/code]
Posted by: Annihilationzh - Thursday, August 18, 2011 10:42:48 AM
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:
[code] ShotsPerBarrel = 1 ; By default, shoot one shot per barrel[/code]
Try using another missile as the projectile, that might fix the curving issue.
Posted by: NewNightmare - Thursday, August 18, 2011 11:22:21 AM
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...