I decided to dig back into modding this morning, but I am having issues with XML modifications. Editing in game works fine, but when you change the XML either the modifications are not retained in the mod, and on the next xr decompression, I lose everything I added. Or eiher the locdata.xml strings are not applied to the game.
For the first part, I suspect there is something with mod refreshing and saving. I happned to modify a mod and uncheck before exiting and I lost my modification done in editor. Maybe unchecking or checking the mod after xml modification could change something. I'll have to test, but it took a while before my logicparams in data.xml got applied and remained in the mod after decompression.
The second issue is that my locdata.xml is retained in the mod but it's not applied. I changed glyph names, god names and resistance names with copy pasted code from my old mod which used to work, and it is simply not used. I even read the thread I posted 2 years ago, and I did everything I did at that time. Maybe the string names has been modified, I'll have to check it out.
In my old mod, I had the whole data.xml structure, now I only have the new modified stuff because creating a new mod does no copy everything. Maybe I need to copy the whole data.xml to actually override these text strings.
I don't remember from where it should be extracted, I think it's from some of the game archives if I remember correctly. I don't want to copy my old mod, because it's buggy and the modifications will not be the same.
For the first part, I suspect there is something with mod refreshing and saving. I happned to modify a mod and uncheck before exiting and I lost my modification done in editor. Maybe unchecking or checking the mod after xml modification could change something. I'll have to test, but it took a while before my logicparams in data.xml got applied and remained in the mod after decompression.
The second issue is that my locdata.xml is retained in the mod but it's not applied. I changed glyph names, god names and resistance names with copy pasted code from my old mod which used to work, and it is simply not used. I even read the thread I posted 2 years ago, and I did everything I did at that time. Maybe the string names has been modified, I'll have to check it out.
In my old mod, I had the whole data.xml structure, now I only have the new modified stuff because creating a new mod does no copy everything. Maybe I need to copy the whole data.xml to actually override these text strings.
I don't remember from where it should be extracted, I think it's from some of the game archives if I remember correctly. I don't want to copy my old mod, because it's buggy and the modifications will not be the same.