Author Topic: Problem with firing points  (Read 981 times)

0 Members and 1 Guest are viewing this topic.

Offline Starman01

  • 213
  • Mechwarrior
    • Wing Commander Saga
Problem with firing points
Hello,

I noticed a problem with the firing points on my turrets, and I fear it might be a error in my pof-files. But since no one else ever mentioned that error, it can only be that way.  My problem is, that while the firing points are all correctly centered in the turret-barrels, the ingame shot itself
isn't created on the top of the barrel, but beside it (even if the turret-arm isn't moving).

It somehow looks like that

/====\              ***bolt***      ***bolt***    *** bolt***
|        |=====
\====/

I hope this strange drawing make clear what I'm trying to say :)

My turrets are setup like this :

The turretbase is rotating around the Z-Axis, and the turretarm is doing so also. Someone once mentioned, that he has his turret-arm rotating around the Y-Axis (or whatever PCS is using as default). Maybe I set the axis different in Truespace, but the turret is working correctly ingame (except for the location where the bolt is created). Our effect-files seem to be centered properly, so I doubt thats the problem.

Anyone got an Idea that may help me ?
MECHCOMMANDER OMNITECH

9 out of 10 voices in my head always tell me that I'm not insane. The 10th is only humming the melody of TETRIS.

 

Offline Axem

  • 211
Re: Problem with firing points
We've had this problem with our ships (well ship atm) in SoL. We noticed that the muzzleflashes were appearing above the barrel, sorta like yours shots are.

We fixed it by redoing the turret arm axes. If they weren't centered exactly as they should be, the firing point will drift off from the turret arm when its not fully upright. If you saw the turret fire when its pointing up, it would look normal.

 

Offline Nuke

  • Ka-Boom!
  • 212
  • Mutants Worship Me
Re: Problem with firing points
first off be sure you converted with the barrel and firing point facing up. if thats not the problem then check your names and your firing points, something might have confused autogen. check the turret data with pcs or modelview make sure everything looks right.  it could be that one of the turret parts has an offset center. you can usually fix this with a big box intersect. take a cube and place it at the origin you want and make sure its big enough to encompas the entire turret part, then do an intersect operation with the cube selected performing the operation on the object.
I can no longer sit back and allow communist infiltration, communist indoctrination, communist subversion, and the international communist conspiracy to sap and impurify all of our precious bodily fluids.

Nuke's Scripting SVN