SUBSIM Radio Room Forums

SUBSIM Radio Room Forums (https://www.subsim.com/radioroom/index.php)
-   SHIII Mods Workshop (https://www.subsim.com/radioroom/forumdisplay.php?f=195)
-   -   [TEC] Plane Cant Shoot (https://www.subsim.com/radioroom/showthread.php?t=255439)

Tigerzhunters 05-15-23 05:24 AM

Plane Cant Shoot
 
Any idea Im adding some plane and it wont Shoot even they doesnt wanted engaged me only Flying Aways? Even she have Bomb:hmmm::hmmm:

propbeanie 05-15-23 08:58 AM

It could be the load-out. Make certain your loadout definition in the eqp file matches the loadout declaration in the cfg file of the plane's Air folder. If it is not that, then something is amiss with the Visual on the plane.

btw - this is another situation where Hebe Vollmaus's mySH3-Tool shines in helping a modder find issues with what they are doing. His tool does not find everything you could possibly do incorrectly, but it does catch quite a bit...

Tigerzhunters 05-15-23 09:02 AM

Well this The Cfg

; Basic Loadout definition

[Equipment 1]
NodeName=B02
LinkName=BombDummy

[Equipment 2]
NodeName=B09
LinkName=Bomb250Kg

[Equipment 3]
NodeName=B01
LinkName=BombDummy

[Equipment 4]
NodeName=B03
LinkName=BombDummy

[Equipment 5]
NodeName=B06
LinkName=BombDummy

[Equipment 6]
NodeName=B07
LinkName=BombDummy

[Equipment 7]
NodeName=B04
LinkName=BombDummy

[Equipment 8]
NodeName=B05
LinkName=BombDummy

[Equipment 9]
NodeName=B08
LinkName=BombDummy

; 1x250Kg Bomb Loadout definition

[Equipment 10]
NodeName=B04
LinkName=BombDummy
Loadout=1x250Kg Bomb

[Equipment 11]
NodeName=B09
LinkName=Bomb250Kg
Loadout=1x250Kg Bomb

[Equipment 12]
NodeName=B06
LinkName=BombDummy
Loadout=1x250Kg Bomb

[Equipment 13]
NodeName=B05
LinkName=BombDummy
Loadout=1x250Kg Bomb

[Equipment 14]
NodeName=B08
LinkName=BombDummy
Loadout=1x250Kg Bomb

[Equipment 15]
NodeName=B02
LinkName=BombDummy
Loadout=1x250Kg Bomb

[Equipment 16]
NodeName=B01
LinkName=BombDummy
Loadout=1x250Kg Bomb

[Equipment 17]
NodeName=B07
LinkName=BombDummy
Loadout=1x250Kg Bomb

[Equipment 18]
NodeName=B05
LinkName=BombDummy
Loadout=1x250Kg Bomb

well now she dropped the bomb and Wont attack me after Drop it And just flying circling in my uboat I was thinking it was bug But i try with Other Still same:hmmm::hmmm:

propbeanie 05-15-23 09:10 AM

In the planes' cfg file, there has to be a declaration for the named Loadouts, such as the "1x250Kg Bomb". There are usually multiple B0x nodes on each plane, and if you put a "BombDummy" (mod name dependent), that will entice the airplane to then "attack" with the dummy bomb, and "strafe" while doing so. Since the bomb is fake, it looks like a strafing run. In other words, you would have node B01 holding the 250kg bomb, and all of the other B nodes holding the BombDummy, as is in your definitions there for that particular plane. But that cfg file has to have the listing for that Loadout, such as
[Loadout 1]
Name=1x250Kg Bomb
Type=3
without that AND the matching entry in the eqp file, they do not function. The "default" loadout does not need a declaration in the cfg file, only the definition in the eqp, as you have there. However, since you did get an attack from the plane, then you most likely do have the declaration in the cfg file. But, do you have all of those B nodes in the dat file for the plane?

Tigerzhunters 05-15-23 09:18 AM

Quote:

Originally Posted by propbeanie (Post 2867829)
In the planes' cfg file, there has to be a declaration for the named Loadouts, such as the "1x250Kg Bomb". There are usually multiple B0x nodes on each plane, and if you put a "BombDummy" (mod name dependent), that will entice the airplane to then "attack" with the dummy bomb, and "strafe" while doing so. Since the bomb is fake, it looks like a strafing run. In other words, you would have node B01 holding the 250kg bomb, and all of the other B nodes holding the BombDummy, as is in your definitions there for that particular plane. But that cfg file has to have the listing for that Loadout, such as
[Loadout 1]
Name=1x250Kg Bomb
Type=3
without that AND the matching entry in the eqp file, they do not function. The "default" loadout does not need a declaration in the cfg file, only the definition in the eqp, as you have there. However, since you did get an attack from the plane, then you most likely do have the declaration in the cfg file. But, do you have all of those B nodes in the dat file for the plane?

[Unit]
ClassName=FBM.S402
UnitType=300
MaxSpeed=330.000000
MinSpeed=80.000000
MaxRadius=350
Length=9.8
Width=12
RenownAwarded=20

[Loadout 1]
Name=1x250Kg Bomb
Type=3

Well already tried this she only drop the bomb And wont Shoot me with Mg

Mister_M 05-15-23 12:20 PM

Quote:

Originally Posted by Tigerzhunters (Post 2867831)
she only drop the bomb And wont Shoot me with Mg

Probably because the traverse and elevation parameters of the mg are not wide enough. Try +/-15°...

And make sure that the level_bomber parameter (in plane.sim) is set to False (in order that the plane makes a diving attack).

Tigerzhunters 05-15-23 01:33 PM

https://i.ibb.co/ZNwX34n/image.png

Well is this enought?

Tigerzhunters 05-15-23 01:34 PM

Quote:

Originally Posted by Mister_M (Post 2867869)
Probably because the traverse and elevation parameters of the mg are not wide enough. Try +/-15°...

And make sure that the level_bomber parameter (in plane.sim) is set to False (in order that the plane makes a diving attack).

So im try to Clone The Hurricane Change to some french Airplane

D520 And M.S 402:hmmm:

Mister_M 05-16-23 03:26 AM

Quote:

Originally Posted by Tigerzhunters (Post 2867872)

No. Try with:

Traverse: min = 345, max = 15
Elevation: min = -15, max = 15

And speed must be very high (like 100)!

Tigerzhunters 05-16-23 07:17 AM

Quote:

Originally Posted by Mister_M (Post 2867933)
No. Try with:

Traverse: min = 345, max = 15
Elevation: min = -15, max = 15

And speed must be very high (like 100)!

Well yea She Shooting at me But from Far aways And She wasnt Diving So the Gun was Have Turret Lol

https://i.ibb.co/PmnSHXk/Capture.jpg

Mister_M 05-16-23 07:53 AM

Quote:

Originally Posted by Tigerzhunters (Post 2867967)
Well yea She Shooting at me But from Far aways And She wasnt Diving So the Gun was Have Turret Lol

To reduce the distance of fire: in data/Cfg/Sim.cfg, set [AI AA guns]/Max fire range to 1000 meters.

The mg must be a AAGun type, not a Cannon type (check this in the wpn_Cannon controller in the .sim gun file)

Tigerzhunters 05-16-23 09:42 AM

Quote:

Originally Posted by Mister_M (Post 2867970)
To reduce the distance of fire: in data/Cfg/Sim.cfg, set [AI AA guns]/Max fire range to 1000 meters.

The mg must be a AAGun type, not a Cannon type (check this in the wpn_Cannon controller in the .sim gun file)

well she was Shooting at me While not diving so The Gun Was kinda have turret? :hmmm:


All times are GMT -5. The time now is 08:01 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 1995- 2024 Subsim®
"Subsim" is a registered trademark, all rights reserved.