WB Coding Modify Base GUI XML File

正在查看此主题的用户

解决方案
its easy to modify xml file in ModuleData folder but how can i do it for GUI folder?
Hey, I was wondering this earlier today and I think I figured it out for my mod here.

If you define the XML at the same folder path relative to your module's base directory, it seems to override any previous definition of that XML file. At the mod I linked to above, I replaced the game's native definition of GUI/Prefabs/Encyclopedia/EncyclopediaSubPages/EncyclopediaClanSubPageElement.xml by simply creating that same folder path in my module.

Result:
438-1586657393-1801093095.jpeg

(note that in the native game, destroyed clans are not visually any different, but in this...
its easy to modify xml file in ModuleData folder but how can i do it for GUI folder?
Hey, I was wondering this earlier today and I think I figured it out for my mod here.

If you define the XML at the same folder path relative to your module's base directory, it seems to override any previous definition of that XML file. At the mod I linked to above, I replaced the game's native definition of GUI/Prefabs/Encyclopedia/EncyclopediaSubPages/EncyclopediaClanSubPageElement.xml by simply creating that same folder path in my module.

Result:
438-1586657393-1801093095.jpeg

(note that in the native game, destroyed clans are not visually any different, but in this above image they're grey!)
 
点赞 0
解决方案
后退
顶部 底部