Jump to content
Sign in to follow this  
Veltro2k

Gun fire not aligned with gun

Recommended Posts

Used point to calculate Muzzle Position in MAx. But in the game its not aligned.. :dntknw:

Share this post


Link to post
Share on other sites

Ed, we're going to need a LOT more info than that my friend.

 

Data.ini entry, which gun, screenshot, how is it not aligned (which axis, and by how much).

 

FC

Share this post


Link to post
Share on other sites

You have the MAX 2009?

In this you can add the famous

min max extents.

It's really very useful and could

much help with their problems.

Share this post


Link to post
Share on other sites

[bellyGunFwd]

SystemType=FLEXIBLE_GUN

GunTypeName=20MM_MGFF

MuzzlePosition=-0.364,7.417,-1.103

LightPosition=-0.364,7.417,-1.103

TracerLoading=5

BurstAmount=25

GunnerID=2

MaxAmmo=250

 

 

 

 

 

 

 

 

ER.jpg

Edited by Veltro2k

Share this post


Link to post
Share on other sites

You have pointed that gun in your example to the "GunnerID=2". Have you set also Gunnerstations for all flexible guns?

Maybe take a look into the SFP1/WoE An-12_Data.ini, the two guns on the rear have both the ID "1" and there´s an extra entry (pilots section) for the tail gunner, where the mesh name of the gun is set, so the game knows where to put the muzzle and how to move it! :grin:

Share this post


Link to post
Share on other sites

// Crew ---------------------------------------------------------

 

[Pilot]

SystemType=PILOT_COCKPIT

PilotModelName=WW2LuftBmrPilot

SeatID=1

SetCockpitPosition=TRUE

Position=-0.115,7.155,0.643

SeatModelName=

SeatPosition=

CanopyNodeName=Canopy

 

[CoPilot]

SystemType=PILOT_COCKPIT

PilotModelName=WW2LuftBmrPilot

SeatID=1

SetCockpitPosition=TRUE

Position=0.529,7.155,0.643

SeatModelName=

SeatPosition=

CanopyNodeName=Canopy

 

[TTGunner]

SystemType=GUNNER_STATION

SeatID=4

GunnerID=2

PilotModelName=

SetCockpitPosition=FALSE

Position=

MinExtentPosition=-0.03,5.449,1.083

MaxExtentPosition=0.079,6.601,1.545

PitchModelNodeName=TTCANON

YawModelNodeName=topturret

GunRange=2000

PitchAngleRate=45

MaxPitch=85

MinPitch=0

DefaultPitchAngle=0

YawLimited=FALSE

YawAngleRate=45

MaxYaw=

MinYaw=

DefaultYawAngle=0

 

[bellyGunnerAFT]

SystemType=GUNNER_STATION

PilotModelName=

SeatID=3

GunnerID=2

SetCockpitPosition=FALSE

Position=

MinExtentPosition=-0.41,-3.547,-1.461

MaxExtentPosition=-0.3,-2.392,-1.061

PitchModelNodeName=RBgun

YawModelNodeName=RBgun

GunRange=2000

PitchAngleRate=45

MaxPitch=5

MinPitch=-45

DefaultPitchAngle=0

YawLimited=TRUE

YawAngleRate=45

MaxYaw=210

MinYaw=150

DefaultYawAngle=180

 

 

 

[bellyGunnerFwd]

SystemType=GUNNER_STATION

PilotModelName=

SeatID=5

GunnerID=4

SetCockpitPosition=FALSE

Position=

MinExtentPosition=-0.407,6.265,-1.408

MaxExtentPosition=-0.289,7.416,-1.003

PitchModelNodeName=FBCANON

YawModelNodeName=FBCANON

GunRange=2000

PitchAngleRate=45

MaxPitch=45

MinPitch=-5

DefaultPitchAngle=10

YawLimited=TRUE

YawAngleRate=45

MaxYaw=30

MinYaw=-30

DefaultYawAngle=0

 

 

[TGunnerAft]

SystemType=GUNNER_STATION

PilotModelName=

SeatID=3

GunnerID=1

SetCockpitPosition=FALSE

Position=

MinExtentPosition=0.041,-8.464,0.703

MaxExtentPosition=0.387,-7.146,1.172

PitchModelNodeName=RTgun

YawModelNodeName=RTgun

GunRange=2000

PitchAngleRate=65

MaxPitch=50

MinPitch=5

DefaultPitchAngle=10

YawLimited=TRUE

YawAngleRate=75

MaxYaw=200

MinYaw=160

DefaultYawAngle=180

// Internal Guns -----------------------

 

[bellyGunAft]

SystemType=FLEXIBLE_GUN

GunTypeName=7.9MM_MG17

MuzzlePosition=-0.358,-2.392,-1.178

LightPosition=-0.358,-2.392,-1.178

TracerLoading=5

BurstAmount=50

GunnerID=2

MaxAmmo=1000

 

[TurretGunAft]

SystemType=FLEXIBLE_GUN

GunTypeName=7.9MM_MG17

MuzzlePosition=0.222,-7.146,1.028

LightPosition=0.222,-7.146,1.028

TracerLoading=5

BurstAmount=50

GunnerID=1

MaxAmmo=1000

 

[bellyGunFwd]

SystemType=FLEXIBLE_GUN

GunTypeName=20MM_MGFF

MuzzlePosition=-0.364,7.417,-1.103

LightPosition=-0.364,7.417,-1.103

TracerLoading=5

BurstAmount=25

GunnerID=2

MaxAmmo=250

 

[TurretGunFwd]

SystemType=FLEXIBLE_GUN

GunTypeName=20MM_MGFF

MuzzlePosition=0.029,6.602,1.448

LightPosition=0.029,6.602,1.448

TracerLoading=5

BurstAmount=25

GunnerID=4

MaxAmmo=250

Share this post


Link to post
Share on other sites

I noticed you´ve set both pilot and copilot as "SeatID=1", maybe try to use SeatID=2 for the copilot. Not sure, but i think the game doesn´t recognize all other seat ID´s when it finds two of the same number. :dntknw:

Share this post


Link to post
Share on other sites

beging to think it has something to do with gunner ID

 

// Crew ---------------------------------------------------------

 

[Pilot]

SystemType=PILOT_COCKPIT

PilotModelName=WW2LuftBmrPilot

SeatID=1

SetCockpitPosition=TRUE

Position=-0.115,7.155,0.643

SeatModelName=

SeatPosition=

CanopyNodeName=Canopy

 

[CoPilot]

SystemType=PILOT_COCKPIT

PilotModelName=WW2LuftBmrPilot

SeatID=2

SetCockpitPosition=TRUE

Position=0.529,7.155,0.643

SeatModelName=

SeatPosition=

CanopyNodeName=Canopy

 

[TTGunner]

SystemType=GUNNER_STATION

SeatID=3

GunnerID=1

PilotModelName=

SetCockpitPosition=FALSE

Position=

MinExtentPosition=-0.03,5.449,1.083

MaxExtentPosition=0.079,6.601,1.545

PitchModelNodeName=TTCANON

YawModelNodeName=topturret

GunRange=2000

PitchAngleRate=45

MaxPitch=85

MinPitch=0

DefaultPitchAngle=0

YawLimited=FALSE

YawAngleRate=45

MaxYaw=

MinYaw=

DefaultYawAngle=0

 

[bellyGunnerAFT]

SystemType=GUNNER_STATION

PilotModelName=

SeatID=4

GunnerID=2

SetCockpitPosition=FALSE

Position=

MinExtentPosition=-0.41,-3.547,-1.461

MaxExtentPosition=-0.3,-2.392,-1.061

PitchModelNodeName=RBgun

YawModelNodeName=RBgun

GunRange=2000

PitchAngleRate=45

MaxPitch=5

MinPitch=-45

DefaultPitchAngle=0

YawLimited=TRUE

YawAngleRate=45

MaxYaw=210

MinYaw=150

DefaultYawAngle=180

 

 

 

[bellyGunnerFwd]

SystemType=GUNNER_STATION

PilotModelName=

SeatID=5

GunnerID=3

SetCockpitPosition=FALSE

Position=

MinExtentPosition=-0.407,6.265,-1.408

MaxExtentPosition=-0.289,7.416,-1.003

PitchModelNodeName=FBCANON

YawModelNodeName=FBCANON

GunRange=2000

PitchAngleRate=45

MaxPitch=45

MinPitch=-5

DefaultPitchAngle=10

YawLimited=TRUE

YawAngleRate=45

MaxYaw=30

MinYaw=-30

DefaultYawAngle=0

 

 

[TGunnerAft]

SystemType=GUNNER_STATION

PilotModelName=

SeatID=6

GunnerID=4

SetCockpitPosition=FALSE

Position=

MinExtentPosition=0.041,-8.464,0.703

MaxExtentPosition=0.387,-7.146,1.172

PitchModelNodeName=RTgun

YawModelNodeName=RTgun

GunRange=2000

PitchAngleRate=65

MaxPitch=50

MinPitch=5

DefaultPitchAngle=10

YawLimited=TRUE

YawAngleRate=75

MaxYaw=200

MinYaw=160

DefaultYawAngle=180

 

// Internal Guns -----------------------

 

[bellyGunAft]

SystemType=FLEXIBLE_GUN

GunTypeName=20MM_MGFF

MuzzlePosition=-0.358,-2.392,-1.178

LightPosition=-0.358,-2.392,-1.178

TracerLoading=5

BurstAmount=50

GunnerID=1

MaxAmmo=250

 

[TurretGunAft]

SystemType=FLEXIBLE_GUN

GunTypeName=7.9MM_MG17

MuzzlePosition=0.222,-7.146,1.028

LightPosition=0.222,-7.146,1.028

TracerLoading=5

BurstAmount=50

GunnerID=2

MaxAmmo=1000

 

[bellyGunFwd]

SystemType=FLEXIBLE_GUN

GunTypeName=20MM_MGFF

MuzzlePosition=-0.364,7.417,-1.103

LightPosition=-0.364,7.417,-1.103

TracerLoading=5

BurstAmount=25

GunnerID=3

MaxAmmo=250

 

[TurretGunFwd]

SystemType=FLEXIBLE_GUN

GunTypeName=20MM_MGFF

MuzzlePosition=0.029,6.602,1.448

LightPosition=0.029,6.602,1.448

TracerLoading=5

BurstAmount=25

GunnerID=4

MaxAmmo=250

Share this post


Link to post
Share on other sites

Haven´t seen that. You´re right! These ID numbers in the gun section should work then! :good:

 

[bellyGunAft]

SystemType=FLEXIBLE_GUN

GunTypeName=20MM_MGFF

MuzzlePosition=-0.358,-2.392,-1.178

LightPosition=-0.358,-2.392,-1.178

TracerLoading=5

BurstAmount=50

GunnerID=2

MaxAmmo=250

 

[TurretGunAft]

SystemType=FLEXIBLE_GUN

GunTypeName=7.9MM_MG17

MuzzlePosition=0.222,-7.146,1.028

LightPosition=0.222,-7.146,1.028

TracerLoading=5

BurstAmount=50

GunnerID=4

MaxAmmo=1000

 

[bellyGunFwd]

SystemType=FLEXIBLE_GUN

GunTypeName=20MM_MGFF

MuzzlePosition=-0.364,7.417,-1.103

LightPosition=-0.364,7.417,-1.103

TracerLoading=5

BurstAmount=25

GunnerID=3

MaxAmmo=250

 

[TurretGunFwd]

SystemType=FLEXIBLE_GUN

GunTypeName=20MM_MGFF

MuzzlePosition=0.029,6.602,1.448

LightPosition=0.029,6.602,1.448

TracerLoading=5

BurstAmount=25

GunnerID=1

MaxAmmo=250

Share this post


Link to post
Share on other sites

that was it :good: Condor is 100% modeled handed over to Banidos team for skinning :drinks:

Edited by Veltro2k

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