BL Coding Problem with merging of weapon_descriptions.xml

Users who are viewing this thread


Sergeant at Arms
I have a modified version of a weapon_descriptions.xml file in my mod. When i add something into this file e.g. crafting pieces, everything works fine. But when i delete some lines e.g. "<WeaponFlag value="NotUsableWithOneHand"/>" it looks like this changes are not being saved.

When i replace weapon_descriptions.xml in the Native folder with my modified file, everything works as intended and i see all changes i have made.

My thoughts are that weapon_descriptions from Native and from my mod are being merged together. All deleted lines are being added back.

Is there any way to make the engine overwrite this file and not to merge it?


try place it before native , since weapon_descriptions.xml is in native folder

I fix a same problem in my mod which change something in sandbox core
Upvote 0
Top Bottom