Hey all, I've been taking attempts at modifying the cloth_materials.xml file and shipping it into a module all day and haven't been getting any luck.
While modifying it in the native module does make an effect in-game, whenever I mimic the file structure into a test module I can't seem to get the modified .xml to load.
What is the syntax required to declare it in the SubModule.xml?
Here is my SubModule.xml
Above I went through the C# tutorial listed here to see if the mod loads, which it does.
But now we're at where my issue lies, and that's with the XmlName ID portion. Is the ID given required to be specific in order to overwrite? I like the format of the xml file since it's easy to modify but most methods I've seen modifying the game are through the .dll.
While modifying it in the native module does make an effect in-game, whenever I mimic the file structure into a test module I can't seem to get the modified .xml to load.
What is the syntax required to declare it in the SubModule.xml?
Here is my SubModule.xml
Code:
<Module>
<Name value=Cloth Test"/>
<Id value="ClothTest"/>
<Version value="v1.0.0"/>
<SingleplayerModule value="true"/>
<MultiplayerModule value="false"/>
<DependedModules/>
<SubModules>
<SubModule>
<Name value="ClothTest"/>
<DLLName value="ClothTest.dll"/>
<SubModuleClassType value="ClothTest.Main"/>
<Tags>
<Tag key="DedicatedServerType" value="none" />
<Tag key="IsNoRenderModeElement" value="false" />
</Tags>
</SubModule>
</SubModules>
<Xmls>
<XmlNode>
<XmlName type="1" id="NewCloth" path="cloth_materials"/>
</XmlNode>
</Xmls>
</Module>
Above I went through the C# tutorial listed here to see if the mod loads, which it does.
But now we're at where my issue lies, and that's with the XmlName ID portion. Is the ID given required to be specific in order to overwrite? I like the format of the xml file since it's easy to modify but most methods I've seen modifying the game are through the .dll.