BL Coding Problem with merging of weapon_descriptions.xml

Users who are viewing this thread

MIKA

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?
 

bu90j2

Recruit
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
2500-1647064241-1835607664.png
 
Upvote 0
Top Bottom