Thread: [TEC] Plane Cant Shoot
View Single Post
Old 05-15-23, 09:18 AM   #5
Tigerzhunters
Frogman
 
Join Date: Feb 2023
Location: Indonesia-Jakarta
Posts: 298
Downloads: 96
Uploads: 0


Default

Quote:
Originally Posted by propbeanie View Post
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
__________________
Rasulullah SAW. said: “A Syaheed will be forgiven for all his sins, except Debt
Tigerzhunters is offline   Reply With Quote