Log in

View Full Version : [TEC] Aircraft Bomb Load definitions FUBAR?


tater
06-05-07, 03:12 PM
So I was wondering why my CV planes in my mod never attack me.

Made a test mission. Val flies by at 50m alt (so I can look at him close with camera). 1x250kg bomb (as he should have). Also, a Kate with 4x100kg bomb. Val doesn't attack, and has NO BOMBS at all. Kate has bombs, and drops 4.

I uninstalled my "fixed bomb loads" mod and played mission again after going back and setting bomb loads in misison to 3x500 for val, and whatever the 2d load for kate was.

NO BOMB shows on Val, it doesn't attack. Change Val load to 5x250kg. Val shows a SINGLE bomb, and drops a single bomb.

Are the bomb definitions messed up? The link in the eqp files is identical, in the 5x250 load, it's in all 5 bomb slots, in my version it's only in B05, the center pylon.

Default Val 5x250kg load:
;5x250Kg loadout definition
[Equipment 11]
NodeName=B01
LinkName=Bomb250Kg
Loadout=5x250Kg Bombs

[Equipment 12]
NodeName=B02
LinkName=Bomb250Kg
Loadout=5x250Kg Bombs

[Equipment 13]
NodeName=B03
LinkName=Bomb250Kg
Loadout=5x250Kg Bombs

[Equipment 14]
NodeName=B04
LinkName=Bomb250Kg
Loadout=5x250Kg Bombs

[Equipment 15]
NodeName=B05
LinkName=Bomb250Kg
Loadout=5x250Kg Bombs

My mod with load changed to 1x250kg:
;1x250Kg Bombs loadout definition
[Equipment 6]
NodeName=B01
LinkName=NULL
Loadout=1x250Kg Bombs

[Equipment 7]
NodeName=B02
LinkName=NULL
Loadout=1x250Kg Bombs

[Equipment 8]
NodeName=B03
LinkName=NULL
Loadout=1x250Kg Bombs

[Equipment 9]
NodeName=B04
LinkName=NULL
Loadout=1x250Kg Bombs

[Equipment 10]
NodeName=B05
LinkName=Bomb250Kg
Loadout=1x250Kg Bombs

tater
06-05-07, 03:36 PM
Changed mission.

2xKate 2xVal. One each with 250kg load, 1 each with 500 kg loads (3x500 for each).

The Kate has 2 bombs and drops. The val has NO bombs, and the tail gunner shoots.


2d wave of attack 1 Val with 5x250, one kate with 4x250.
Val has 1 bomb, and attacks. Kate has NO bombs, and no crew. I checked, the default kate eqp has pilots listed for that bomb load.

Something is very wrong with the CV aircraft.

leovampire
06-05-07, 03:41 PM
Is a set up that says how much weight each plane can carry if the weight is over they don't varry anything. But I can't for the life of me read HEX stuff since I had my strokes. I just play with things util it works in the game for me. Trial and error Basicly.

Sometimes the game has to load a couple of times for things to take effect too when you make changes. Depending on what it is. I have had times when planes carry nothing as well. And you need a link name.

But try just putting this:

[Equipment 6]
NodeName=B01
LinkName=250Kg Bomb
Loadout=250Kg Bomb

Instead of this:

[Equipment 6]
NodeName=B01
LinkName=NULL
Loadout=1x250Kg Bombs

Or do this:

[Equipment 6]
NodeName=B01
LinkName=250Kg Bomb
Loadout=2x250Kg Bombs

tater
06-05-07, 03:44 PM
Then why would a Val hold 3x500 (showing one centerline bomb (vertically)), but not show or hold 1x250kg? Makes no sense. Ditto with the kate. In stock game it has 3 loads. 3x500, 4x250, and a torpedo. 3x500 it carries, but only shows and has 2, an 4x250 it not only has no bombs, but no crew. Note that I restarted the game each change.

tater
06-05-07, 03:47 PM
But try just putting this:

[Equipment 6]
NodeName=B01
LinkName=250Kg Bomb
Loadout=250Kg Bomb

Instead of this:

[Equipment 6]
NodeName=B01
LinkName=NULL
Loadout=1x250Kg Bombs

Or do this:

[Equipment 6]
NodeName=B01
LinkName=250Kg Bomb
Loadout=2x250Kg Bombs

I want only one 250kg bomb on a val, since that's all it could hold. Are you saying with 1 bomb I should not put it on B05 (the center rack), but on the wings?

Loadout=1x250Kg Bombs is the name of the loadout, right? As long as it matches the cfg, it should be fine.

Anyway, it doesn't matter since the default game has loads and they don't show up, either.

leovampire
06-05-07, 04:00 PM
Deepth charges and torpedo's all other bombs I only do for the wings and

I don't put: Loadout=1x250kg Bomb

I do: Loadout=250Kg Bomb


On some planes where the bombs should come from the center via open doors I put like.

[Equipment 8]
NodeName=Bo5
LinkName=250Kg Bomb
Loadout=8x250Kg Bomb

tater
06-05-07, 04:09 PM
OK.

The B05 is remarked as center pylon, i guess that is wrong.

Odd that when I first made my mod, I left the load as 3x500kg Bombs, but nulled out the bombs except 1 and it worked though. You could make a Loadout=250Kg Bomb but put a torpedo on, isn't the loadout name just a string used to ID the load?

i will test.

I may need to make a new version of my IJNAF fixes :D

tater
06-05-07, 04:25 PM
Odd that a torpedo would be on the wings since they were not carried on the wings. The Kate has no central pylon though.

Hmm, the fact that the 3x500 load shows a single VERTICAL bomb tells me that they treat the B05 as internal, and like a german plane, too. Allied planes usually held all bombs horizonatally, even inside.

tater
06-05-07, 04:28 PM
Wow, the stock kate has 3x500kg load listed, but guess what, only 2 bombs in the eqp. Nice work, yeesh.

The 5x250 load is interesting considering they only have the kat 4 bomb spots...

All are loaded, but the plane shows none.

leovampire
06-05-07, 05:05 PM
Somtimes you have to do a lot of playing around to get the results your looking for. Trial and error over and over and over again. Change it and then test it change it and test. That is why I take forever to get what I want. I keep a log on how much play time I have in this game and so far I am up to over 1500 hours of play time. Have no clue how much time I have devoted to making changes and adjustments inbetween all of that.

You know what I would absolutly love to see in this game/Sim? Watching aircraft take off from a carrier and or see the propellers and engine running in the day time. Would be an awsome thing to see when you come up on a task force.

tater
06-05-07, 06:38 PM
Changed Val to loadout of: Loadout=250Kg Bomb
Moved bomb off the center pylon. No bombs. Doesn't work. Tha Val is FUBAR. It only works in stock with 3 bombs, and only 1 shows. Some of the pylons must not actually be there.

Fixed the Kate by... hellifiknow, it just works now, all 3 loads.

tater
06-05-07, 06:52 PM
OK, the kat seems to have 3 bombs, not 4, was hard to count. But by altering the val bomb to position 1, it gets a bomb.

This is pretty bizarre since the Val has a load with all 5 slots filled, and shows no bombs in stock game.

Jace11
06-06-07, 01:00 PM
If the Val loadouts have their name changed, do all missions and campaign layers that contain Vals need to be redone?

I think, if it is looking for 3x500kgBombs and can't find it, it resets to basic, so they wont have any bombs.

You probably noticed this in your test missions.

tater
06-06-07, 01:45 PM
Yes, in my test missions this is indeed the case. So I'd quit between tests, unload the mod, make changes to mod, reload mod, reopen mission, reset loads, etc.

Aircraft placed on the map as scripted units, or as random groups will be unarmed with any loads modded (if the names are changed). The random encounters should not change, since the AI pulls from the available loadouts as far as I know.

So planes that appear from anything called an "airgroup," be it on a CV, or airbase, should not care. Good point though, I need to check the layers and make sure nothign is screwed up.

leovampire
06-06-07, 03:10 PM
Here is what i just experienced with a Q1W1 and I will show you the set up I have on it.

http://static.filefront.com/images/personal/l/leovampire/93141/bioipanomi.thumb250.jpg (http://gallery.filefront.com/leovampire//596649/)

as you can see here there are 2 bombs in the center

http://static.filefront.com/images/personal/l/leovampire/93141/rgyisjnysg.thumb250.jpg (http://gallery.filefront.com/leovampire//596648/)

http://static.filefront.com/images/personal/l/leovampire/93141/ltetqujfqh.thumb250.jpg (http://gallery.filefront.com/leovampire//596650/)

He droped them just as he was passing over me

http://static.filefront.com/images/personal/l/leovampire/93141/maddydisir.thumb250.jpg (http://gallery.filefront.com/leovampire//596651/)

http://static.filefront.com/images/personal/l/leovampire/93141/kokboktola.thumb250.jpg (http://gallery.filefront.com/leovampire//596652/)

What is highlited in green is what he was carrying at the time.
CFG File first:


ClassName=Q1W1
3DModelFileName=data/Air/ADB_Kyushu_Q1W1/ADB_Kyushu_Q1W1
UnitType=304
MaxSpeed=174.000000
MinSpeed=70.000000
MaxRadius=900 ;1000
Length=11.5
Width=13.8
RenownAwarded=50
CrewComplement=5
SurvivalRate=50
SurvivalPercentage=50

[Loadout 1]
Name=4xDepth Charge
Type=5

[Loadout 2]
Name=2x500Kg Bombs
Type=3

[Loadout 3]
Name=4x250Kg Bombs
Type=2

[U]Now my EQP file:

;equipment cfg file, loadout definitions are in the platform cfg file
;1,2,3,4 wing pylons, 5 center pilon

[Equipment 1]
NodeName=P01
LinkName=Pilot_Plane
StartDate=19380101
EndDate=19451231

[Equipment 2]
NodeName=P02
LinkName=Pilot_Plane
StartDate=19380101
EndDate=19451231

[Equipment 3]
NodeName=P03
LinkName=Pilot_Plane
StartDate=19380101
EndDate=19451231

[Equipment 4]
NodeName=P04
LinkName=Pilot_Plane
StartDate=19380101
EndDate=19451231

[Equipment 5]
NodeName=P05
LinkName=Pilot_Plane
StartDate=19380101
EndDate=19451231

;Basic Loadout values
[Equipment 6]
NodeName=B01
LinkName=NULL

[Equipment 7]
NodeName=B02
LinkName=NULL

[Equipment 8]
NodeName=B03
LinkName=NULL

[Equipment 9]
NodeName=B04
LinkName=NULL

[Equipment 10]
NodeName=Bo5
LinkName=NULL

;bombs loadout definition, 2x500Kg Bombs
[Equipment 11]
NodeName=B01
LinkName=Bomb500Kg
Loadout=2x500Kg Bombs

[Equipment 12]
NodeName=B02
LinkName=Bomb500Kg
Loadout=2x500Kg Bombs

[Equipment 13]
NodeName=B03
LinkName=Bomb500Kg
Loadout=2x500Kg Bombs

[Equipment 14]
NodeName=B04
LinkName=Bomb500Kg
Loadout=2x500Kg Bombs

[Equipment 15]
NodeName=B05
LinkName=Bomb500Kg
loadout=2x500Kg Bombs

[Equipment 16]
NodeName=P01
LinkName=Pilot_Plane
Loadout=2x500Kg Bombs

[Equipment 17]
NodeName=P02
LinkName=Pilot_Plane
Loadout=2x500Kg Bombs

[Equipment 18]
NodeName=P03
LinkName=Pilot_Plane
Loadout=2x500Kg Bombs

[Equipment 19]
NodeName=P04
LinkName=Pilot_Plane
Loadout=2x500Kg Bombs

[Equipment 20]
NodeName=P05
LinkName=Pilot_Plane
Loadout=2x500Kg Bombs

;bombs loadout definition, 4x250Kg Bombs
[Equipment 21]
NodeName=B01
LinkName=Bomb250Kg
Loadout=4x250Kg Bombs

[Equipment 22]
NodeName=B02
LinkName=Bomb250Kg
Loadout=4x250Kg Bombs

[Equipment 23]
NodeName=B03
LinkName=Bomb250Kg
Loadout=4x250Kg Bombs

[Equipment 24]
NodeName=B04
LinkName=Bomb250Kg
Loadout=4x250Kg Bombs

[Equipment 25]
NodeName=B05
LinkName=Bomb250Kg
Loadout=4x250Kg Bombs

[Equipment 26]
NodeName=P01
LinkName=Pilot_Plane
Loadout=4x500Kg Bombs

[Equipment 27]
NodeName=P02
LinkName=Pilot_Plane
Loadout=4x500Kg Bombs

[Equipment 28]
NodeName=P03
LinkName=Pilot_Plane
Loadout=4x500Kg Bombs

[Equipment 29]
NodeName=P04
LinkName=Pilot_Plane
Loadout=4x500Kg Bombs

[Equipment 30]
NodeName=P05
LinkName=Pilot_Plane
Loadout=4x500Kg Bombs

;4xDepth Charge loadout definition
[Equipment 31]
NodeName=B01
LinkName=AirDepthCharge
Loadout=4xDepth Charge

[Equipment 32]
NodeName=B02
LinkName=AirDepthCharge
Loadout=4xDepth Charge

[Equipment 33]
NodeName=B03
LinkName=AirDepthCharge
Loadout=4xDepth Charge

[Equipment 34]
NodeName=B04
LinkName=AirDepthCharge
Loadout=4xDepth Charge

[Equipment 35]
NodeName=B05
LinkName=AirDepthCharge
Loadout=4xDepth Charge

[Equipment 36]
NodeName=P01
LinkName=Pilot_Plane
Loadout=4xDepth Charge

[Equipment 37]
NodeName=P02
LinkName=Pilot_Plane
Loadout=4xDepth Charge

[Equipment 38]
NodeName=P03
LinkName=Pilot_Plane
Loadout=4xDepth Charge

[Equipment 39]
NodeName=P04
LinkName=Pilot_Plane
Loadout=4xDepth Charge

[Equipment 40]
NodeName=P05
LinkName=Pilot_Plane
Loadout=4xDepth Charge

I hope this info helps

tater
06-06-07, 03:22 PM
So he has to have 5 bombs to actually have 2 in game?

leovampire
06-06-07, 03:26 PM
at least that is the result I just got from the changes I made. Aparently the game decieds where the bombs should go once you tell it what you want

tater
06-06-07, 03:34 PM
Then why do the stock game loads with fewer bombs than bomb-points specify the locations?

leovampire
06-06-07, 10:08 PM
I really don't understand all of the inner workings yet like you are doing it is all trial and error and sometimes the game reacts strange to what you set. Maybe if we find a way to color the bombs like that guy did with the our torpedo's it will be easier to tell what is on them exactly. I just spent several hours hiding and running from destroyers so havn't seen any more planes yet LOL!

I will let you know more as I see more in my own game.

tater
06-06-07, 11:35 PM
Heheh. Gotta love that they bother to remark the code, but do it wrong to fool us.

:damn:

:lol:

leovampire
06-07-07, 02:47 AM
First of all I seriously went through the bomb files to see exactly what was listed as what this is what I found Air Torpedo / Air DepthCharge / Bomb100Kg / Bomb250Kg / Bomb500Kg but only found 1 bomb dds and 1 torpedo dds and 1 depthcharge dds for those.

But next thing I hit a carrier task force early morning and I stayed up to let the planes come at me come dawn now only the kate's were bombing me and from so high I couldn't get a good look but they only had one bomb on the center and droped one bomb. None of the Zero's and none of the Val's bothered with me they just kept track of my direction.

I even got a pic of the bomb before it exploaded in the water. Which I will show you in a second but here is a theory. What if the Kate is only supose to have a center load and the others wing loads? If that is the case are we supose to set them up with NULL in the spot's they are not supose to have them?

http://static.filefront.com/images/personal/l/leovampire/93141/vmaqwqogqr.thumb250.jpg (http://gallery.filefront.com/leovampire//597091/)

It is hard to see but the bomb in in the very center of the plane

http://static.filefront.com/images/personal/l/leovampire/93141/mmgwlzzwvn.thumb250.jpg (http://gallery.filefront.com/leovampire//597090/)

tater
06-07-07, 08:06 AM
The Val also has a center load in game, though it holds the bomb vertically.

tater

leovampire
06-07-07, 03:00 PM
Other than a torpedo was 1 500KgBomb it never once carried a double load and the zero and Val didn't carry a single double load I set up with the loadout on all the B0 spots on the plane.

I have 2 PC's and have the original game loaded in the second one with no patches and the Kate in that one at the top says a center Pylon but in the EQP it never lists a B05 just B01 B02 B03 and B04. And for the torpedo loadout this is what it looks like:

[equipment 15]
Nodename=B01
Linkname=NULL
loadout=Torpedo

[equipment 16]
nodename=B02
linkname=NULL
loadout=Torpedo

[equipment 17]
nodename=B03
linkname=NULL
loadout=Torpedo

[equipment 18]
nodename=B04
linkname=SH_Torpedo_MK13
loadout=Torpedo

[Equipment 19]
NodeName=P01
LinkName=Pilot_Plane
Loadout=Torpedo_Mk13

[Equipment 20]
NodeName=P02
LinkName=Pilot_Plane
Loadout=Torpedo_Mk13

[Equipment 21]
NodeName=P03
LinkName=Pilot_Plane
Loadout=Torpedo_Mk13

Almost like it only has 4 pylons not 5 and it used B04 as a center pylon. And for one of the bomb load outs it has:

[Equipment 17]
NodeName=B01
LinkName=NULL
Loadout=3x500Kg Bomb

[Equipment 18]
NodeName=B02
LinkName=Bomb500Kg
Loadout=3x500Kg Bomb

[Equipment 19]
NodeName=B03
LinkName=NULL
Loadout=3x500Kg Bomb

[Equipment 20]
NodeName=B04
LinkName=Bomb500Kg
Loadout=3x500Kg Bombs

I would figure if they want 3 there would be 3 spots used not 2

So the Kate uses 4 pylons and the Val uses 5 in the original files

tater
06-07-07, 03:10 PM
There is a camera mod that frees the external camera to higher altitudes someplace. I need to find that to look at the planes. I always test with planes I place on the map myself at very low alt so I can see them, lol.

leovampire
06-07-07, 03:28 PM
Beery's Camera Mod 3

I just didn't like the effects I got things looked strange view wise on everything once I installed it but it may be the high resilution I use.

leovampire
06-07-07, 09:01 PM
One no matter what I do for combinations 100kg bombs dosn't work what so ever.

I think only 250kg and 500kg's are actualy working in the game.

Second Kate's only have 1 hard point to carry anything from under the main body. No matter what I do it only carries 1 bomb or 1 torpedo and it will not carry anything if I set it up with 100kg bombs

http://static.filefront.com/images/personal/l/leovampire/93141/wnfkzkgsux.thumb250.jpg (http://gallery.filefront.com/leovampire//598277/)

http://static.filefront.com/images/personal/l/leovampire/93141/ydwibpyegq.thumb250.jpg (http://gallery.filefront.com/leovampire//598276/)

tater
06-07-07, 09:27 PM
Odd, cause my 4x100kg load on the Kate carries 3 (all under fuselage as they should be).

leovampire
06-07-07, 09:48 PM
Show me how it is set up please. Because I am trying to get a Zero to carry the 100kg bombs and so far nothing

tater
06-07-07, 10:01 PM
;equipment cfg file, loadout definitions are in the platform cfg file
;1,2,3,4 wing pylons, 5 center pilon

;Basic Loadout values
[Equipment 1]
NodeName=B01
LinkName=NULL

[Equipment 2]
NodeName=B02
LinkName=NULL

[Equipment 3]
NodeName=B03
LinkName=NULL

[Equipment 4]
NodeName=B04
LinkName=NULL

;1x500Kg Bombs loadout definition
[Equipment 5]
NodeName=B01
LinkName=NULL
Loadout=1x500Kg Bombs

[Equipment 6]
NodeName=B02
LinkName=NULL
Loadout=1x500Kg Bombs

[Equipment 7]
NodeName=B03
LinkName=NULL
Loadout=1x500Kg Bombs

[Equipment 8]
NodeName=B04
LinkName=Bomb500Kg
Loadout=1x500Kg Bombs


;4x100Kg loadout definition
[Equipment 9]
NodeName=B01
LinkName=Bomb100Kg
Loadout=4x100Kg Bombs

[Equipment 10]
NodeName=B02
LinkName=Bomb100Kg
Loadout=4x100Kg Bombs

[Equipment 11]
NodeName=B03
LinkName=Bomb100Kg
Loadout=4x100Kg Bombss

[Equipment 12]
NodeName=B04
LinkName=Bomb100Kg
Loadout=4x100Kg Bombs

;Torpedo
[Equipment 13]
NodeName=B01
LinkName=NULL
Loadout=Torpedo

[Equipment 14]
NodeName=B02
LinkName=NULL
Loadout=Torpedo

[Equipment 15]
NodeName=B03
LinkName=NULL
Loadout=Torpedo

[Equipment 16]
NodeName=B04
LinkName=SH_Torpedo_Mk13
Loadout=Torpedo

[Equipment 17]
NodeName=P01
LinkName=Pilot_Plane
StartDate=19380101
EndDate=19451231

[Equipment 18]
NodeName=P02
LinkName=Pilot_Plane
StartDate=19380101
EndDate=19451231

[Equipment 19]
NodeName=P03
LinkName=Pilot_Plane
StartDate=19380101
EndDate=19451231

[Equipment 20]
NodeName=P01
LinkName=Pilot_Plane
Loadout=1x500Kg Bombs

[Equipment 21]
NodeName=P02
LinkName=Pilot_Plane
Loadout=1x500Kg Bombs

[Equipment 22]
NodeName=P03
LinkName=Pilot_Plane
Loadout=1x500Kg Bombs

[Equipment 23]
NodeName=P01
LinkName=Pilot_Plane
Loadout=4x100Kg Bombs

[Equipment 24]
NodeName=P02
LinkName=Pilot_Plane
Loadout=4x100Kg Bombs

[Equipment 25]
NodeName=P03
LinkName=Pilot_Plane
Loadout=4x100Kg Bombs

[Equipment 26]
NodeName=P01
LinkName=Pilot_Plane
Loadout=Torpedo

[Equipment 27]
NodeName=P02
LinkName=Pilot_Plane
Loadout=Torpedo

[Equipment 28]
NodeName=P03
LinkName=Pilot_Plane
Loadout=Torpedo

leovampire
06-07-07, 11:04 PM
you have listed 4x100kg bombs so how many do you end up with on the plane? And why no B05 if there is 5 pylons?

tater
06-07-07, 11:59 PM
The Kate's remarks claim 5, but it only has 4 <shrug>

I saw 3 bombs last time I looked (when testing the other day). I though I saw 4 earlier, but that was before I dropped the alt low enough to be sue with the external cam. So I'm sure of 3 bombs.

My Val has one bomb, hanging vertically.

leovampire
06-08-07, 02:36 AM
Plus no one will attack me with 100kg but 250kg they come out of the wood work and I also noticed that the Val has a verticle bomb in the center but I am going to see what happens with more testing tomarrow. I am right inbetween 2 carrier forces so within an hour of starting from my save I have planes galore to see what is going on with my loadouts. The ZERO's are pissing me off though maybe now that I have 250kg bombs on them they will attack will find out soon enough I know with 100's they wouldn't even come close.

tater
06-08-07, 09:02 AM
Yeah, seems to me that planes will not strafe unless they also have bombs. :-/

leovampire
06-08-07, 02:25 PM
Is if there is a light fog and they are looking for me at a low altitude. They see me at the last minute then fire there guns.

I even had one pull one of the stupid moves from the SHIII planes crash into the ocean trying to turn around to get me he was flying so low.

But seeing I can't get these dummys to use and come at me with 100kg bombs I am only going to have torpedos on the Kates. Especialy now that Val's and Zero's and FM Pete's are all going to have 250kg bombs. I'll let the big boys have the big bombs and spread out the AirDepthCharges as well. Nothing like a little variaty to add some game play and spice.

Julius Caesar
06-09-07, 05:25 AM
I even had one pull one of the stupid moves from the SHIII planes crash into the ocean trying to turn around to get me he was flying so low.



I get that a lot in SH4:

http://i28.photobucket.com/albums/c239/goldfinger35/SH4Img26-5-2007_1-1.jpg

http://i28.photobucket.com/albums/c239/goldfinger35/SH4Img26-5-2007_1.jpg

http://i28.photobucket.com/albums/c239/goldfinger35/SH4Img26-5-2007_1-2.jpg

:rock: :rock: :rock: