CAPTAIN SIM FORUM
Weapon for FSX >> Weapon for FSX >> Angle of Rounds
https://www.captainsim.org/forum/csf.pl?num=1401251000

Message started by usb on May 28th, 2014 at 4:23am

Title: Angle of Rounds
Post by usb on May 28th, 2014 at 4:23am
Can we change the angle of the rounds? Mine seem to want to angle up maybe lower so they are more horizontal to the aircraft?

Title: Re: Angle of Rounds
Post by Markoz on May 29th, 2014 at 1:38am
You can change the location and angles of all the weapons in the CSWeapon/xml file:

<Weapon>
<Gun>M61 Vulcan</Gun>
<Shell>Vulcan Bullet</Shell>
<Unlimited>0</Unlimited>
<Station name="Nose" params="0,9,0,0,-0.039,0,1200" />
<Mode name="AUTO" shotrate="100" setshots="0" sequence="1" skipFrm="0" />
<Mode name="X10" shotrate="100" setshots="100" sequence="1" skipFrm="0" />
<DefaultMode>AUTO</DefaultMode>
</Weapon>

These are the settings I changed on the A2A WOP3 Spitfire:

<Station name="Left Wing Outer" params="-4.0,0,-0.5,0,-0.017,0,200" />
<Station name="Left Wing Inner" params="-3.0,0,-0.5,0,-0.017,0,200" />
<Station name="Right Wing Inner" params="3.0,0,-0.5,0,-0.017,0,200" />
<Station name="Right Wing Outer" params="4.0,0,-0.5,0,-0.017,0,200" />

With those changes, I changed the location, and the angle of the guns (M60C) on the wings, so that at a certain range, the lined up with the gun sight reticle.

It took a lot of hard work and messing around (make a change, reload the aircraft, check out the results, then do it all again until I achieved what I want) to get what I wanted, but in the end it was well worth it. :)

Title: Re: Angle of Rounds
Post by mikealphahotel on Nov 8th, 2020 at 10:24am
I am trying to do something similar - to lower the gunsight and obviously the line of fire accordingly to line up with a Spitfire's Reflector gunsight reticle. My existing settings are:
<WeaponInfo>
        <!-- aircraft dependent weapon settings -->
        <Weapon>
            <!-- weapon sub-type section. unlimited number of -->
            <Gun>M60C</Gun>
            <!-- weapon sub-type name. must match GunInfo>Gun>Name -->
            <Shell>M60C Bullet</Shell>
            <!-- shell name. must match GunInfo>Shell>Name -->
            <Unlimited>1</Unlimited>
            <!-- unlimited ammo fire. 1-yes, 0-no -->
            <Station name="Left Wing Outer" params="-4.0,0,-0.5,0,-0.017,0,200" />
            <Station name="Left Wing Inner" params="-3.0,0,-0.5,0,-0.017,0,200" />
            <Station name="Left Wing Middle" params="-2.0,0,-0.5,0,-0.017,0,200" />
            <Station name="Right Wing Middle" params="-2.0,0,-0.5,0,-0.017,0,200" />
            <Station name="Right Wing Inner" params="3.0,0,-0.5,0,-0.017,0,200" />
            <Station name="Right Wing Outer" params="4.0,0,-0.5,0,-0.017,0,200" />
            <!-- Station position (x,y,z) meters, angle of incidence, ammo units quantity -->
            <Mode name="AUTO" shotrate="10" setshots="0" sequence="1+2+3+4+5+6" />
            <!-- fire mode section. unlimited number of. name= dispayed on HUD in weapon info string. -->
            <Mode name="X10" shotrate="10" setshots="10" sequence="1+2+3+4+5+6" />
            <DefaultMode>AUTO</DefaultMode>
            <!-- default fire mode. Any from the list above  -->

How do I lower the aiming point?

Thanks


Mike

Title: Re: Angle of Rounds
Post by Markoz on Nov 9th, 2020 at 5:44am
It's like this:

<Station name="Left Wing Outer" params="-4.0(x),0(y),-0.5(z),0(p),-0.017(h),0(b),200(qty)"/>

X = Left or Right of the Centre of Gravity (CG) of the aircraft (distance in metres)
Y = Up or Down of the Centre of Gravity (CG) of the aircraft (distance in metres)
Z = Forward or Backward of the Centre of Gravity (CG) of the aircraft (distance in metres)
P = Pitch (tilt Up or Down)
H = Heading (yaw Left or Right)
B = Bank (tilt Left or Right)
QTY = Amount/number (Quantity) of ammo/missiles

So that the setting above is:

X = 4 metres to the Left
Y = 0 metres Up/Down
Z = 0.5 metres Backward (I  think) of the centre of the aircraft
P = 0o pitch (firing on the same plane as the pitch of the aircraft)
H = -0.017o ((I  believe) pointed slightly inwards towards the aircraft centreline)
B = 0o bank ((I believe that) banking is not necessary for bullets or cannon shells (bombs aren't supported in Weapons for FSX)
QTY = 200 rounds of ammo (200 bullets)

So you will  need to mess with the Pitch, and Heading, to  get the bullets to head towards the Spitfire's Reflector Gunsite Reticle. It's a painstaking task, but in the end, satisfying to get the result you desire. I put in many hours doing a Weapon for FSX mod for the Captain Sim C-130 X-perience's AC-130 Bofor, Howitzer, and Minigun, only to lose all of it in a HDD crash. I get so upset every time I think of redoing it, and the frustration has not allowedf me to redo it. Yeah. I quit on it, which is something that rarely happens (usually once I realize that I simply can't do something anymore).

Title: Re: Angle of Rounds
Post by mikealphahotel on Nov 9th, 2020 at 3:55pm
Mark

Many thanks for your comprehensive reply.

Kind regards


Mike

CAPTAIN SIM FORUM » Powered by YaBB 2.6.0!
YaBB Forum Software © 2000-2024. All Rights Reserved.