Jump to content
killjoe_R3F

Gunner AI in vehicle don't fire

Recommended Posts

I don't know why Gunner AI in my addon vehicle don't fire : I can't find the paremeter or the combination of parameters in vehicule config or turret config that make Ai fire at target.

I' ve noticed that the main gun aim at ground as if it could not raise to aim at target...

 

any advice or idea ?

Share this post


Link to post
Share on other sites

Fixed problem R3F VBMR 12.7 and R3F VBMR LG40mm 

Replace the following lines in the config:

minElev = -25;
initElev = 25;

by 

initElev = 25;
minElev = 25;

 

+++ ORIGINAL

 

class Turrets : Turrets {
            class MainTurretVBMR : MainTurret {
                body = "mainTurret";
                gun = "mainGun";
                weapons[] = {HMG_127_LSV_01, "SmokeLauncher"};
                magazines[] = {"500Rnd_127x99_mag_Tracer_Green", "500Rnd_127x99_mag_Tracer_Green", "500Rnd_127x99_mag_Tracer_Green", "SmokeLauncherMag", "SmokeLauncherMag"};
                soundServo[] = {"A3\Sounds_F\vehicles\armor\APC\noises\servo_APC_gunner", 0.1, 1, 30};
                soundServoVertical[] = {"A3\Sounds_F\vehicles\armor\APC\noises\servo_APC_gunner_vertical", 0.1, 1, 30};
                commanding = 0;
                primaryGunner = 1;
                minElev = -25;
                initElev = 25;
                maxElev = 80;


        class Turrets : Turrets {
            class MainTurretVBMR : MainTurret {
                body = "mainTurret";
                gun = "mainGun";
                weapons[] = {"GMG_40mm", "SmokeLauncher"};
                magazines[] = {"200Rnd_40mm_G_belt", "SmokeLauncherMag", "SmokeLauncherMag"};
                soundServo[] = {"A3\Sounds_F\vehicles\armor\APC\noises\servo_APC_gunner", 0.1, 1, 30};
                soundServoVertical[] = {"A3\Sounds_F\vehicles\armor\APC\noises\servo_APC_gunner_vertical", 0.1, 1, 30};
                commanding = 0;
                primaryGunner = 1;
                minElev = -25;
                initElev = 25;
                maxElev = 80;

 

+++ EXCHANGE

 

 

class Turrets : Turrets {
            class MainTurretVBMR : MainTurret {
                body = "mainTurret";
                gun = "mainGun";
                weapons[] = {HMG_127_LSV_01, "SmokeLauncher"};
                magazines[] = {"500Rnd_127x99_mag_Tracer_Green", "500Rnd_127x99_mag_Tracer_Green", "500Rnd_127x99_mag_Tracer_Green", "SmokeLauncherMag", "SmokeLauncherMag"};
                soundServo[] = {"A3\Sounds_F\vehicles\armor\APC\noises\servo_APC_gunner", 0.1, 1, 30};
                soundServoVertical[] = {"A3\Sounds_F\vehicles\armor\APC\noises\servo_APC_gunner_vertical", 0.1, 1, 30};
                commanding = 0;
                primaryGunner = 1;            
                initElev = 25;   <-----------------------
                minElev = 25;  <-----------------------
                maxElev = 80;


        class Turrets : Turrets {
            class MainTurretVBMR : MainTurret {
                body = "mainTurret";
                gun = "mainGun";
                weapons[] = {"GMG_40mm", "SmokeLauncher"};
                magazines[] = {"200Rnd_40mm_G_belt", "SmokeLauncherMag", "SmokeLauncherMag"};
                soundServo[] = {"A3\Sounds_F\vehicles\armor\APC\noises\servo_APC_gunner", 0.1, 1, 30};
                soundServoVertical[] = {"A3\Sounds_F\vehicles\armor\APC\noises\servo_APC_gunner_vertical", 0.1, 1, 30};
                commanding = 0;
                primaryGunner = 1;
                initElev = 25;               <------------------------
                minElev = 25;             <-----------------------
                maxElev = 80;

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

×