I GOT IT TO WORK (SORT OF!!!!!!)
All you need to do is do this in the pitch-offsetand yaw-offset tags in submodels.xml:
- Code: Select all
<yaw-offset>sim/model/turret/heading</yaw-offset>
<pitch-offset>sim/model/turret/pitch</pitch-offset>
the only problem is that it's the wrong way around--i.e. point left and it fires right.
I think the reaon is that the "forward" of the guns is actually the back ende--if we did something to the model like turning them around it might work.
By the way, I'm talking about the turrets.
What I might have to do about that inversion problem is set up the gun stuff in a separate file and write up some code (or ask shinovi to do it) That takes the inversion thingymawhatsit in the turrets.nas into consideration.
The problem only effects the heading, not the pitch.
Here, why don't you try it with the M-Saulnier-BB?