So it it can be done?
The hiding effect for the artillery smoke shells? As I said - of course, but only for local games.
It will not have any effects on the network games, and no side effects, as I know.
Plus what's its default?
The default value is 1 for most weapons with small projectiles (the parameter not set), and the rockets/missiles have 0 (overriding default value).
The reason for it is the wire fences in vanilla BF2 - it can be shoot through with bullets, but it stops the missiles.
Is there a reason it is set to "1" in the first place? For example to allow firing through some vegetation or something like that?
I've tested it many times, and I've seen absolutely no changes between 1 and 0, while fighting on maps with the dense vegitation.
Maybe because the players cannot be completely hidden behind the vegetation on most of maps.
So I think we can easily change this parameter to 0 for most of mg's, without side effects.
Actually I'm seeing "weaponTemplate.setFiresThroughTransparent 1" all over the place
No, for the most of handheld weapons in FH2 it set to 0.
MG34 is already set to "0" apart from the "mg34_stukaAI" which is set to "1". I wonder if there are other reasons for this settings ? I'll just set it to "0" for the moment.
As I think, the main reason for it is to bring in more atmospheric gameplay, 'cause if you set this parameter to 0 for the plane's mg, the bot will stops the firing more often - as the plane's speed is high enough, and the bots can't shoot so precisely.
There's also something compelling about having modern warfare in those WW2 maps.
To be honest, as I prefer WW2 entourage, I would love to mod FH2, to have a PR-style explosions, sounds, a new flight dynamic, etc, in a some kind of coop minimod, but this is a huge work, and the FH2 file structure is more complicated. So all that I can is to port these beautiful maps to the existed mod platform...