Page 2 of 2
RE: Aircraft Weapon Filters
Posted: Sat Feb 03, 2018 6:09 am
by RichardAckermann
The conversion of alt devices is calculated on AC load capacity if I remember correctly.
The hardcoded torpedo replacement for japan uses dual 250Kg bombs and fills the rest with dual 60 Kg bombs if fit.
You may change the AC load capacity to check if the number of alt devices is changing according to that.
ORIGINAL: Dili
That is what OP is doing. But he says when he sets the squadron to fire torpedoes the aircraft drops both.
Yes, I confirmed the same behaviour at least for japanese AC.
For some reason, the engine calculates
Filter = 2;
( Filter & 4 ) == TRUE && (Filter & 2 ) == TRUE
on having an airgroup "Using torpedos"
That result should only happen on filter = 6, or more precise on having filter bit 0x02 and 0x04 set to "1"
RE: Aircraft Weapon Filters
Posted: Sat Feb 03, 2018 11:24 am
by scopejockey
"( Filter & 4 ) == TRUE && (Filter & 2 ) == TRUE
on having an airgroup "Using torpedos"
Thanks.
RE: Aircraft Weapon Filters
Posted: Sat Feb 03, 2018 1:18 pm
by Dili
So any fix must be made by michaelm? or is there anyone that can look at it?
RE: Aircraft Weapon Filters
Posted: Sat Feb 03, 2018 2:08 pm
by RichardAckermann
Yes, Michaelm is the one to take a look at this and determine if it is something to fix. I think all other coders working on WITP AE have left for other projects. Yet since Michaelm is also gone for now, it maybe never looked at.
There is, by the way, another issue related to this. Airgroups having torpedoes with a filter value set are dropping those torps on missions like ground attack. At least it was so back when I tested for how the filters work.
I guess the cause is a conflict with the hardcoded torp replacements.
RE: Aircraft Weapon Filters
Posted: Sat Feb 03, 2018 2:54 pm
by Dili
This is surprising since the 2 and 4 fields are the most important.
So what is the functional solution? i mean use 2+4= 6 with torpedoes or that also can't work?
If so this means that weapon filters are useless for aircraft that have torpedoes?
RE: Aircraft Weapon Filters
Posted: Sat Feb 03, 2018 3:40 pm
by scopejockey
"If so this means that weapon filters are useless for aircraft that have torpedoes?"
1, 8, 16, 32 and 64 are not.
But for 4 it looks like it. A bit frustrating.
A setup like this works:
An example I have been using for B5N2.
1x 45cm torpedo filter 2
1x 800kg AP bomb filter 16 (was using 20, but 4 does not work for me)
6x 60kg GP bomb filter 40
3x 250kg GP bomb filter 65
Everything works fine, just no option to navy strike with bomb(s).
RE: Aircraft Weapon Filters
Posted: Sat Feb 03, 2018 3:51 pm
by scopejockey
he conversion of alt devices is calculated on AC load capacity if I remember correctly.
I think it may be a default number of bombs, not based on AC Max Load. I have some aircraft I have not edited yet. If primary weapon is a torpedo it uses 2x the default device ID (208 or 210 for Japanese). My G3Ms (not edited) are dropping
two torpedoes on airfields (I have JAAF torpedoes in device ID 208 and 210). The weight of both torpedoes is double the G3M Max Load.
This is why I wanted 2 and 4 to work. Each nation has it's own bombs and torpedoes. I did not want all Allied torpedoes to default to the same 500lb bomb and IJN.IJA to default to same 250kg bomb.
RE: Aircraft Weapon Filters
Posted: Sat Feb 03, 2018 4:10 pm
by Dili
ORIGINAL: scopejockey
"If so this means that weapon filters are useless for aircraft that have torpedoes?"
1, 8, 16, 32 and 64 are not.
But for 4 it looks like it. A bit frustrating.
A setup like this works:
An example I have been using for B5N2.
1x 45cm torpedo filter 2
1x 800kg AP bomb filter 16 (was using 20, but 4 does not work for me)
6x 60kg GP bomb filter 40
3x 250kg GP bomb filter 65
Everything works fine, just no option to navy strike with bomb(s).
Thanks.
A- So what happens if you do not set to use torpedoes in squadron interface?
B -or if you set but the HQ have no torpedoes?
RE: Aircraft Weapon Filters
Posted: Sun Feb 04, 2018 7:12 am
by RichardAckermann
ORIGINAL: Dili
This is surprising since the 2 and 4 fields are the most important.
So what is the functional solution? i mean use 2+4= 6 with torpedoes or that also can't work?
If so this means that weapon filters are useless for aircraft that have torpedoes?
I did not find a functional solution to make the weapon filters work for craft that use torpedos.
Maybe there is a workaround using the "alternate use" and "alternate device" values of the devices itself.
I guess this filter behaviour is still at this state because there are voices that insist on this is working as it should.
I do not agree, as having one missiontype using two filter values at the same time does contradict logic.
Also, it is quite complicated to setup a good filter calculation. For my "WITP 2" I had the same issues as seen in AE before I finally got it working.
RE: Aircraft Weapon Filters
Posted: Sun Feb 04, 2018 10:21 am
by Dili
So the game uses as alternate the device slot 208 for Axis and device slot 210 for Allies?
RE: Aircraft Weapon Filters
Posted: Sun Feb 04, 2018 2:11 pm
by RichardAckermann
I do not remember the device slots used for this. It's been quite some time since I took a look at this.
RE: Aircraft Weapon Filters
Posted: Sun Feb 04, 2018 4:16 pm
by Dili
Sorry 209 and 210. 209 have 800kg AP bomb, 210 have 2000lb AP bomb
RE: Aircraft Weapon Filters
Posted: Wed Apr 11, 2018 11:42 am
by Admiral DadMan
I am a modding aircraft loadouts to specify ordinance by mission. I read the following threads:
Aircraft Loads
Mark 17 Depth Charge
I am experiencing the "torpedo bomber naval attack double weapon loadout" issue described earlier in
this thread:
Post #1
To test the issue, I set
Lexington and
Enterprise in separate TFs in the same hex.
Enterprise carries torpedoes,
Lexington does not in order to test what happens when no torps are available here is what I get:
Lexington:
6 Hexes/Naval Attack/Use Torpedos/10000ft
*12 x TBD-1 Devastator bombing from 10000 feet * Naval Attack: 1 x 250 lb SAP Bomb, 1 x 500 lb SAP Bomb
6 Hexes/Naval Attack/Use Bombs/10000ft
*10 x TBD-1 Devastator bombing from 10000 feet * Naval Attack: 1 x 250 lb SAP Bomb, 1 x 500 lb SAP Bomb
3 Hexes/Naval Attack/Use Torpedos/10000ft
*9 x TBD-1 Devastator bombing from 10000 feet Naval Attack: 1 x 1000 lb SAP Bomb
3 Hexes/Naval Attack/Use Bombs/10000ft
*8 x TBD-1 Devastator bombing from 10000 feet Naval Attack: 1 x 1000 lb SAP Bomb
Enterprise:
6 Hexes/Naval Attack/Use Torpedos/10000ft
*14 x TBD-1 Devastator bombing from 10000 feet * Naval Attack: 1 x 250 lb SAP Bomb, 1 x 500 lb SAP Bomb
6 Hexes/Naval Attack/Use Bombs/10000ft
*11 x TBD-1 Devastator bombing from 10000 feet * Naval Attack: 1 x 250 lb SAP Bomb, 1 x 500 lb SAP Bomb
3 Hexes/Naval Attack/Use Torpedos/10000ft
*9 x TBD-1 Devastator launching torpedoes at 200 feet Naval Attack: 1 x 22.5in Mk13 AerTorp, 1 x 1000 lb SAP Bomb
3 Hexes/Naval Attack/Use Bombs/10000ft
*11 x TBD-1 Devastator bombing from 10000 feet Naval Attack: 1 x 1000 lb SAP Bomb
Should I be looking at "Alt Device"/"Alt Use" settings?
"ALT USE" device data field

RE: Aircraft Weapon Filters
Posted: Wed Apr 11, 2018 3:10 pm
by inqistor
That was AGES ago, but I think you have to delete all alternate devices, if you are using filters. Check my MOD:
http://www.matrixgames.com/forums/fb.asp?m=3360956
I have only Japanese planes done, but everything seems to work fine.
Just to make sure:
you have to use BETA patch, because filtering doesn't work properly in latest official.
RE: Aircraft Weapon Filters
Posted: Wed Apr 11, 2018 3:44 pm
by Admiral DadMan
Your thread/mod was done before the 2015 Official patch, so what you're calling beta is now rolled out.
Thank for the recommendation though. I did look into that, and it didn't change anything.
ORIGINAL: inqistor
That was AGES ago, but I think you have to delete all alternate devices, if you are using filters. Check my MOD:
http://www.matrixgames.com/forums/fb.asp?m=3360956
I have only Japanese planes done, but everything seems to work fine.
Just to make sure:
you have to use BETA patch, because filtering doesn't work properly in latest official.
RE: Aircraft Weapon Filters
Posted: Wed Apr 11, 2018 5:53 pm
by Dili
Alfred says earlier in this topic to not use 800kg AP bomb, 2000lb AP bomb as alternate to torpedoes. Slots 209 and 210.
Are you doing that?
RE: Aircraft Weapon Filters
Posted: Wed Apr 11, 2018 6:04 pm
by Admiral DadMan
I did read Alfred's advisory. I am doing neither of those things.
I posted a screen shot of what I did.
ORIGINAL: Dili
Alfred says earlier in this topic to not use 800kg AP bomb, 2000lb AP bomb as alternate to torpedoes. Slots 209 and 210.
Are you doing that?
RE: Aircraft Weapon Filters
Posted: Wed Apr 11, 2018 6:32 pm
by Dili
Apologies i didn't paid attention to the screenshot.
Edit: did you checked Inquistor scenario and his solution?
Edit2: i see you checked it.