Jump to content
Sign in to follow this  
quack74

Weapon attachment angles?

Recommended Posts

Example:

 

[FuseStation2]
SystemType=WEAPON_STATION
StationID=11
StationGroupID=1
StationType=External
AttachmentPosition=-0.5,-2.20,0.00
AttachmentAngles=0.00,0.00,0.00
LoadLimit=200
AllowedWeaponClass=GP
AttachmentType=NATO
ModelNodeName=
PylonMass=0.001
PylonDragArea=0.00

 

I know the "AttachmentAngles"  are

 

1rst number parameter=. aim Left or right

3rd number parameter= Roll right or left

 

but for my particular (desired) application I cant get the second number parameter to angle gun up or down. In fact any change to the second parameter seems to have no effect at all.

Can the weapon stations' add-on weapons be angled up or down? or are they stuck in a fixed 0 degree y plain? I can get my add-on gun to roll right and left and angle right or left but not up or down. Any thoughts?

 

Share this post


Link to post
Share on other sites

Hello,

 

I'll see the center with negative for down and positive for up.

 

AttachmentAngles=0.00,0.00,0.00

 

Coupi

Edited by Coupi

Share this post


Link to post
Share on other sites

I tried that. But there was no movement at all.

Share this post


Link to post
Share on other sites

I tried that. But there was no movement at all.

 

 

 check all the F-4E´s i made you will find that , and it works

 

[sidewinderStation1]

SystemType=WEAPON_STATION

StationID=10

StationGroupID=2

StationType=EXTERNAL

AttachmentPosition=-2.336,0.03,-1.192

AttachmentAngles=0.0,-2.0,85.0

LoadLimit=90.72

AllowedWeaponClass=IRM

AttachmentType=USAF,NATO

ModelNodeName=missile_rails_L

PylonMass=24.95

PylonDragArea=0.001

LaunchRailNodeName=

MinExtentPosition=

MaxExtentPosition=

 

 

just a hint out of experience check that you have X.XX and not X,XX , it took me 2 days to find out what i made wrong

Share this post


Link to post
Share on other sites

I've tried a few different guns and I still can get them to aim up or down. Only side to side and roll clockwise and counter clockwise. I'm stumped. Does the gun model have to be made at the desired angle first?

Share this post


Link to post
Share on other sites

From the Aviatik DI (185Hp): (the gun is aiming 15º upwards):

 

You should change this:

 

AttachmentAngles=0.0,15.0,0.0 

 

in the [internalGun]

 

And also change 

 

GunBoreSightAngle=15.0 

 

in the [FlightControl]

 

I hope it helps you

Share this post


Link to post
Share on other sites

Stephen1918 made that Schwarzlose gun. And I believe it was made at an upward angle. I don't know why I cant get the Spandau guns to angle downward. My middle parameter doesn't seem to have any effect at all.

Share this post


Link to post
Share on other sites

Maybe the sidewinder mounts on the F-22 will help as they are pointed at a downward angle.

 

[L_IRMBay]
SystemType=WEAPON_STATION
StationID=5
StationGroupID=3
StationType=INTERNAL
AttachmentPosition=-1.347,3.902,-0.116
AttachmentAngles=-3.5,0.0,0.0
MissileRollAngle=45.0
NumWeapons=1
AttachmentPosition001=-1.347,3.902,-0.116
LoadLimit=230.00
DiameterLimit=0.2
LengthLimit=3.655
AllowedWeaponClass=IRM
AttachmentType=NATO,USAF
MovingPylon=TRUE
RotatingPylon=FALSE
ModelNodeName=Left_Rail
AutomaticDoors=TRUE
BombBayAnimationID=7
BombBayOpenTime=0.50
BombBayCloseTime=0.50
 
[R_IRMBay]
SystemType=WEAPON_STATION
StationID=6
StationGroupID=3
StationType=INTERNAL
AttachmentPosition=1.407,3.902,-0.121
AttachmentAngles=3.5,0.0,0.0
MissileRollAngle=45.0
NumWeapons=1
AttachmentPosition001=1.407,3.902,-0.121
LoadLimit=230.00
DiameterLimit=0.2
LengthLimit=3.655
AllowedWeaponClass=IRM
AttachmentType=NATO,USAF
MovingPylon=TRUE
RotatingPylon=FALSE
ModelNodeName=Right_Rail
AutomaticDoors=TRUE
BombBayAnimationID=8
BombBayOpenTime=0.50
BombBayCloseTime=0.50

Share this post


Link to post
Share on other sites

The Schwartlose for the Aviatik-Berg was made with the axis running right down the barrel. It was the only way I could get the muzzle flash to line up properly with the gun.

 

I've never had any trouble getting bombs to attach at any angle using the weapons station attachment angles. In the Voisin, the Caudron, and some others, some loadouts have the bombs racked vertically along the fuselage.

 

BUT - guns appear to be a different story. I played with both the Aviatik and with Monty CZs Nieuport (wing mounted Lewis gun version by Whiteknight, I think) and I could not get the gun to rotate up and down using the attachment angles. It would rotate along x and z, but not around y. The y angle is controlled by the GunBoreSightAngle under FlightControl, as ojcar said. Changing the GunSightBoreAngle moved the gun up and down in both planes.

 

But (again) - in both planes that was the only gun - I didn't have time to experiment with one gun attached the usual way and another gun attached through a weapon station - ojcar made a dummy gun (no LOD and doesn't fire) for some of the pusher type aircraft. You might try mounting that as the primary gun and see if the secondary gun can be controlled by the attachment angles.

Share this post


Link to post
Share on other sites

Thanks Stephen1918. I'll give that a try.

Share this post


Link to post
Share on other sites

What are you trying to do?

Share this post


Link to post
Share on other sites

is it a gun pod (per se), or the gun is part of the aircraft?

 

I know in SF/SF2 we have gun pods that the angle is pointed down (3 pods for the Su-9/11). iirc, they're called SPPU-22(something)

 

if the gun is aircraft part, what about the "AimAngles=" statement in the data ini?

(below is from the B-57)

 

 

[internalGun1]
SystemType=FIXED_GUN
GunTypeName=20MM_M39
InputName=FIRE_PRIMARY_GUN
MuzzlePosition=-4.62,0.97,0.36
LightPosition= -4.62,1.07,0.36
AimAngles= 0.266,-3.5,0.0
MaxAmmo=290
EjectShells=FALSE
MinExtentPosition=-4.55,-0.43, 0.20
MaxExtentPosition=-4.70, 0.87, 0.37

Share this post


Link to post
Share on other sites

In my weapons folder I have a "Right Spandau" machine gun. I'm trying to add two Spandau machine guns to the mid fuselage of Stephen1918's AEG C.IV. I want them to protrude through the bottom of the fuselage at about a 45 degree down, forward firing angle. I'm trying to make an AEG J.II (Hack from the AEG CIV) ground attack aircraft. The underbelly machine guns were used for ground straffing. If I can get the guns to angle down and get the boresight correct, then the AI aircraft should attack troop and vehicle targets around No Man Land

Share this post


Link to post
Share on other sites

so, it's something like this??

 

 

[WeaponData001]
TypeName=SPPU-6_45
FullName=SPPU-6 Gun Pod (-45 Deg)
ModelName=SPPU-6_45
Mass=525.000000
Diameter=0.500000
Length=3.600000
SubsonicDragCoeff=0.200000
SupersonicDragCoeff=0.770000
AttachmentType=WP,SOVIET
SpecificStationCode=
NationName=SOVIET
StartYear=1976
EndYear=2020
Availability=2
BaseQuantity=40
Exported=TRUE
ExportStartYear=1987
ExportEndYear=2020
ExportAvailability=2
WeaponDataType=3
GunTypeName=23MM_9A620
MaxRounds=400
MuzzlePosition=-0.100000,1.130000,-0.830000
LightPosition=-0.100000,1.150000,-0.850000
AimDirection=0.000000,1.000000,-0.450000   <-----
EjectShells=1
EjectPosition=0.000000,0.050000,-0.150000
EjectVelocity=0.000000,0.000000,-1.000000
 

 

this is for an external pod, (under belly for the Suhkois) but perhaps, making the MG itself the pod, and having it point at 45 degs down??

 

just throwing out ideas!

Share this post


Link to post
Share on other sites

I havnt been able to try anything the past couple of days but I will try it out tonight. Thanks guys.

Share this post


Link to post
Share on other sites

I don't have time to completely rework the Junkers J1, but I could knock out two Maxim AA guns already pointing downward at 45 degrees.  But.....would this solve your problem?

Share this post


Link to post
Share on other sites

Got it! Thanks guys. GunBoreSight was the trick.

 

 

post-33545-0-43100200-1424536005_thumb.jpg

  • Like 1

Share this post


Link to post
Share on other sites

awesome!!!!

Share this post


Link to post
Share on other sites

The AI even target ground troops and vehicles with the belly guns. It's working perfectly.

  • Like 1

Share this post


Link to post
Share on other sites

I know it's just a AEG C.IV but the AEG J.I and J.II have a similar airframe. I'm painting the C.IV as if it is a J.II. I got the underbelly Spandau's to fire and target ground objects. Makes a great ground attack plane. I also enhanced the armor specs around the fuselage and engine. The fuselage from spinner to just aft of the observer's position was armor plate.

 

 

post-33545-0-14949500-1424639544_thumb.jpgpost-33545-0-92900200-1424639545_thumb.jpgpost-33545-0-12491400-1424639547_thumb.jpgpost-33545-0-22413700-1424639549_thumb.jpg

 

Edited by quack74
  • Like 1

Share this post


Link to post
Share on other sites

That is just too cool. The modders here are truly amazing.

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
Sign in to follow this  

×

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..