Author Topic: Tank turret non moving.  (Read 724 times)

Hello, I was workingo n the Preist Howitzer tank and I have a model done but I have a problem. I don't want the turret to turn 360 degrees. Do you know what I should edit in the tank script to make it only move up and down?

aah, the preist. if you have played battlefield 1942, thats an awesome tank.

the gun is able to move side to side a little, but not a whole lot.

are you going to give it more range than the tank?


I would really like to know how to do this.

Fine... I'll read through and see if I can find anything.

Edit:

Try messing around with these lines under the player datablock:
Code: [Select]
   minLookAngle = -1.5708;
   maxLookAngle = 1.5708;
   maxFreelookAngle = 3.0;
I think that might be what controls it.

« Last Edit: May 21, 2009, 09:48:17 PM by AGlass0fMilk »

Fine... I'll read through and see if I can find anything.

Edit:

Try messing around with these lines under the player datablock:
Code: [Select]
   minLookAngle = -1.5708;
   maxLookAngle = 1.5708;
   maxFreelookAngle = 3.0;
I think that might be what controls it.


Ok, I got the turret to stop moving, I just need to make it so it will not spin.