Jump to content
Sign in to follow this  
lichrus

Firing from the vehichle

Recommended Posts

Preview: I'm try to find in searh my issue, but i'm don't found this and i'm will start a new topic and i'm will somebody helped me. Sorry for my English...
 
Hello, BIS Community. I had a problem with the introduction of the possibility of firing from the vehicle (in commander seat, i'm want make it like in Marshall, Marid and etc.). When I'm turn Out i'm see a gun texture and body of my vehicle (look screen). How i can fixed it? How can I raise myself above the meter?
My code in this spoiler

class Turrets
{
class CommanderOptics: NewTurret
{
proxyType="CPCommander";
proxyIndex=1;
gunnerName="$STR_POSITION_COMMANDER";
primaryGunner=0;
primaryObserver=1;
gunnerOpticsShowCursor=0;
body="obsTurret";
gun="obsGun";
animationSourceBody="obsTurret";
animationSourceGun="obsGun";
animationSourceHatch="hatchCommander";
soundServo[]=
{
"A3\sounds_f\dummysound",
0.0099999998,
1,
30
};
forceHideGunner=0;
memoryPointsGetInGunner = "pos cargo"; /// specific memory points to allow choice of position
memoryPointsGetInGunnerDir = "pos cargo dir"; isPersonTurret=1; // don't work ;(
minOutElev=-10;
maxOutElev=15;
initOutElev=0;
minOutTurn=-45;
maxOutTurn=90;
initOutTurn=0;
startEngine=0;
gunBeg="";
gunEnd="";
minElev=-4;
maxElev="+20";
initElev=0;
minTurn=-360;
maxTurn="+360";
initTurn=0;
commanding=2;
viewGunnerInExternal=0;
gunnerOpticsModel="\A3\weapons_f\reticle\Optics_Commander_03_m_F";
gunnerOutOpticsModel="";
gunnerOutOpticsColor[]={0,0,0,1};
gunnerOutForceOptics=0;
gunnerOutOpticsShowCursor=0;
memoryPointGunnerOutOptics="commander_weapon_view";
memoryPointGunnerOptics="commanderview";
class ViewGunner
{
visionMode[]=
{
"Normal",
"NVG"
};
initAngleX=5;
minAngleX=-90;
maxAngleX="+90";
initAngleY=0;
minAngleY=-150;
maxAngleY="+150";
initFov=0.75;
minFov=0.75;
maxFov=0.64999998;
};
class OpticsIn
{
class Wide: ViewOptics
{
initFov=0.75;
minFov=0.75;
maxFov=0.75;
gunnerOpticsModel="\A3\weapons_f\reticle\Optics_Commander_03_m_F";
};
class Narrow: Wide
{
initFov="0.33333/ 12";
minFov=0.039000001;
maxFov=0.039000001;
gunnerOpticsModel="\A3\weapons_f\reticle\Optics_Commander_03_m_F";
};
};
gunnerAction="Gunner_out";
gunnerInAction="Gunner";
outGunnerMayFire=1;
weapons[]=
{
"SmokeLauncher"
};
magazines[]=
{
"SmokeLauncherMag",
"SmokeLauncherMag"
};
stabilizedInAxes=3;
};
};

 

Image of this shit...

f80bcc4b61098107ff8db68b0a84c2a7.png

Share this post


Link to post
Share on other sites

Can you show a image capture from Thrid view please? i think you need to elevate the ffv proxy seat in the P3d... but im not a expert... 

  • Like 1

Share this post


Link to post
Share on other sites

Can you show a image capture from Thrid view please?

 

Thank you for answer, but If i'm captured this in thrid view you will see only vehichle...

 

Can you show a image capture from Thrid view please? i think you need to elevate the ffv proxy seat in the P3d... but im not a expert... 

 

Do not prompt how to do it ? Or is there some guide on this ?

Share this post


Link to post
Share on other sites

Basically you need three animations:

 

gunnerInAction defines how gunner looks when inside the turret

gunnerAction defines how character looks when turned out, idle pose

personTurretAction defines what animation to play when turned out with weapon rised (assuming Firing from vehicles is enabled)

 

Example from our configs:

isPersonTurret 		= true;
personTurretAction 	= "vehicle_turnout_2";

Let us know if how it looks

  • Like 1

Share this post


Link to post
Share on other sites

Basically you need three animations:

 

gunnerInAction defines how gunner looks when inside the turret

gunnerAction defines how character looks when turned out, idle pose

personTurretAction defines what animation to play when turned out with weapon rised (assuming Firing from vehicles is enabled)

 

Example from our configs:

isPersonTurret 		= true;
personTurretAction 	= "vehicle_turnout_2";

Let us know if how it looks

 

Nothing has changed, here is a screenshot (Can you tell me how  elevate position?)

 

f80bcc4b61098107ff8db68b0a84c2a7.png

Share this post


Link to post
Share on other sites

have you properly placed the proxy in the model, would be the first question to ask... that doesnt look like a config problem.

Share this post


Link to post
Share on other sites

Do not prompt how to do it ? Or is there some guide on this ?

 

the Proxy, in the 3Dmodel, to create a Fire From Vehicle position, simply move up/elevate the position about 30 centimeters... proxy for FFV seats appear slightly below the rest of proxys when you load the model in the game... in my Land Rover i Have to modify the proxys position to let all at the same height.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×