Quantcast
Channel: Project Reality Forums - PR:BF2 Bugs
Viewing all articles
Browse latest Browse all 2537

v1.1 MaterialManagerSettings - Potential typos

$
0
0
Another bugreport caused by my script running into an exception:
In the material\materialmanagersettings.con the following Cells differ from all others:

Line 9902:
Code:

MaterialManager.createCell 48 111
MaterialManager.damageMod 0
MaterialManager.setSoundTemplate 0 S_Knife_Metal_Surface
MaterialManager.setEffectTemplate e_knife_metalsolid

Line 53338:
Code:

MaterialManager.createCell 176 17
MaterialManager.damageMod 0.015
MaterialManager.setDecalTemplate 0 decal_l_glass_vehicle
MaterialManager.setSoundTemplate 0 S_Glass_Large
MaterialManager.setEffectTemplate e_bhit_20mm_glass

The difference is that their "setEffectTemplate" lines are missing the "0" parameter in between.
I do not know what this middle parameter actually does, only that it is always there in any mod I know and that it is always zero. I also do not know if it actually causes issues ingame, at the most it probably causes a missing effect if you hit some materials, hardly game-breaking.

Anyway, should be easy to verify and fix if necessary, so here goes.

If someone knows what the middle "0" is actually good for, I also would appreciate an explanation on that :idea: .

Viewing all articles
Browse latest Browse all 2537

Trending Articles