![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
|
11-05-25, 09:05 PM
|
#1 |
|
Engineer
![]() Join Date: Sep 2014
Location: Land of Corn
Posts: 210
Downloads: 63
Uploads: 0
|
Hello Subsim my friend wants me to make a UFO Airplane Mod for him I already have a model that I can use but I'm not sure what controls turrets angle of restriction (when a gun can no longer turn because somethings in the way) because I want to keep them in one place so they shoot down so I can make it shoot some kind in a ring of guns on the bottom or just 1 gun that has the shell for a 16 inch or something. My issue is I can't find in the files what controls what stops how far a gun can rotate until its considered blocked like with ships where thats controlled in obj_turret. Does anyone know what controls how far a gun on an airplane is allowed to rotate before it is stopped or "blocked"
|
|
|
11-06-25, 03:55 AM
|
#2 |
|
Chief
![]() Join Date: Jul 2005
Location: AM93
Posts: 319
Downloads: 99
Uploads: 0
|
wpn_Cannon -> obj_Turret -> Traverse -> min & max
|
|
|
11-06-25, 10:55 AM
|
#3 |
|
Engineer
![]() Join Date: Sep 2014
Location: Land of Corn
Posts: 210
Downloads: 63
Uploads: 0
|
I tried adding that in before to the airplane but it didn't work what was I doing wrong?
Edit: Thank you for helping and I managed to make the guns on this JU88 as an example able to rotate completely through the x-axis but all guns are still limited to a certain threshold on the Y axis and won't cross over it. This probably isn't necessary for what I want to do but I still want to know why it won't cross the Y axis over a certain point even though I set the min to -360 and max to 360 for basically both traverse and elevation respectfully. Example of what I did so far: ![]() All guns should be shooting through the material of the plane at the ships but they don't and you can see them shooting through some of the material of the plane but not over the Y axis Last edited by Bladekill1298; 11-06-25 at 10:59 PM. |
|
|
11-10-25, 04:07 PM
|
#4 | |
|
Ace of the Deep
![]() |
Quote:
Don't do that! ![]() For traverse : min=0, max=360 For elevation: min=-90, max=90 |
|
|
|
11-14-25, 10:13 PM
|
#5 |
|
Engineer
![]() Join Date: Sep 2014
Location: Land of Corn
Posts: 210
Downloads: 63
Uploads: 0
|
|
|
|
11-15-25, 09:37 AM
|
#6 | |
|
Ace of the Deep
![]() |
Quote:
Yes. It may be even safer to set elevation as: min=-89, max=89 |
|
|
|
![]() |
|
|
