Jump to content

Recommended Posts

how do I calculate this, having some problems with the tail turret

PitchAngleRate=60
MaxPitch=90
MinPitch=-90
DefaultPitchAngle=0
YawLimited=TRUE
YawAngleRate=60
MaxYaw= 300
MinYaw= 60
DefaultYawAngle=180

 

 

yaw.jpg

Edited by Veltro2k

Share this post


Link to post
Share on other sites

The problem is that you want to adjust the Yaw angles of the turret to fit between those points?

If so I would measure the limits by moving around the turret in 3ds studio max with the rotation tool, or just try different values of limits that are at the same angular distance to 180 degrees since it looks like a tail turret. Does this answer your question?

Share this post


Link to post
Share on other sites

I did, but for some reason the guns stay to the right, and don't engage

np.jpg

np1.jpg

Share this post


Link to post
Share on other sites

Maybe the problem is in the rest of the Gunners INI data, I can take a look if you want.

Share this post


Link to post
Share on other sites

np.jpg

Share this post


Link to post
Share on other sites

tail always stay  in this position

img00014.JPG

Share this post


Link to post
Share on other sites

You have:

MaxYaw=210

MinYaw=-150 --> shouldn't this be at 150 (not negative)

180 is straight, 150 is min (-30) and 210 max (+30)

 

Share this post


Link to post
Share on other sites

I would try writing the angles like this:

MaxYaw = 210

MinYaw = 150

Min and Max Yaw defines the beginning and the end of the angle interval respectively, the turret will only move between these two angles, I have been watching some INIs and they could either go positive or negative but it must have the same sign. (In case of negative values that would be: MinYaw = -210; MaxYaw = -150; DefaultYawAngle = -180)

As for the orientation of the turret, I don't find anything to explain it unfortunately, I would be curious to see the local axis of the mesh in its default 0 angle possition, maybe it is because of a missalignment between the turret and it own set of axis.

Share this post


Link to post
Share on other sites

YawLimited=TRUE
YawAngleRate=75
MaxYaw=210
MinYaw=150
DefaultYawAngle=180

with this

guns face wrong way

img00015.JPG

Share this post


Link to post
Share on other sites

Be sure to have the pivoting axis well aligned with the turret, and in the position of 0 to all angles, (looking forward) even if it is also a tailgun, because it is going to be the reference position for the angles of the INI. Like this:

60901ff9b1a08_Exampleturret.thumb.jpg.ac2d2236c987541719eaff94850f2778.jpg

I oriented the turret the same way for the front and rear ones, then the angles of operations are introduced by the INIs values.

Just select your yaw moving part, orient it looking at the front of the aircraft an then select "Align to World". I remember to do that when I worked with turrets.

This is the only reason why your problem happen that I can imagine hahaha

Edited by nuni
  • Like 1
  • Thanks 1

Share this post


Link to post
Share on other sites

problem solve.... 1 Was setting pivot when turrets where facing backwards

                               2. some meshes names different then the ones on the data file

 

:stars:    thanks all for the tips and suggestions

  • Like 4

Share this post


Link to post
Share on other sites

Yaaay, I am glad you got it solved! :clapping:

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×

Important Information

By using this site, you agree to our Terms of Use, Privacy Policy, and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..