Mod Issues Specific and General in NS2
Soul_Rider
Mod Bean Join Date: 2004-06-19 Member: 29388Members, Constellation, Squad Five Blue
in Modding
Some players are having a specific issue which prevents them from playing my mod. Investigating the issue, I have found out that the problem isn't a mod issue, so I thought I'd make this post to discuss this and other mod specific issues that come up with using the current NS2 modding system, and to see if any of us can help each other to come up with solutions. I am trying to avoid workshop issues, and tool issues, and focus more on code oddities with the way NS2 is programmed, although I am sure a lot of issues will stem back to the modeling and audio pipelines.
I will mention my specific issue, but will also update it with any of your contributions to the topic. Here is an overview of my issue:
When players try and create a server with my mod, they get a file not found error. Investigating this with multiple people, it seems the error is always the same. When they try and start a server, the game mode is listed as ns2, so the game looks for ns_pits or ns2_crevice, rather than gc_pits etc. This file is not found and generates the error. I have checked a million times, and all the code relevant to the server page specifies gc_, it works on the vast majority of users, but on some they have this error. I have received copies of their workshop files, and compared them to my source files, and they are correct, but for some reason the game type is being overridden by ns2. I am unsure if this is an NS2 issue, load order issue, or a workshop issue, but any tips or advice would be gratefully received.
An issue that affects mods in general is the customisation of things like map loading screens and tool tips. I ship GorgeCraft with map loading screens and custom tooltips, but they don't load. I was previously led to believe this was due to loading order of files, but after some further investigation I believe it maybe due to the loading screens code using relative paths. I hope some further testing will provide a workaround for that.
If you have anything to contribute, whether it be an issue, or a workaround to a common problem you encountered yourself, post it in here, and I'll try and maintain this as a helpful thread, maybe even use it as a base for a wiki page to help modders.
I will mention my specific issue, but will also update it with any of your contributions to the topic. Here is an overview of my issue:
When players try and create a server with my mod, they get a file not found error. Investigating this with multiple people, it seems the error is always the same. When they try and start a server, the game mode is listed as ns2, so the game looks for ns_pits or ns2_crevice, rather than gc_pits etc. This file is not found and generates the error. I have checked a million times, and all the code relevant to the server page specifies gc_, it works on the vast majority of users, but on some they have this error. I have received copies of their workshop files, and compared them to my source files, and they are correct, but for some reason the game type is being overridden by ns2. I am unsure if this is an NS2 issue, load order issue, or a workshop issue, but any tips or advice would be gratefully received.
An issue that affects mods in general is the customisation of things like map loading screens and tool tips. I ship GorgeCraft with map loading screens and custom tooltips, but they don't load. I was previously led to believe this was due to loading order of files, but after some further investigation I believe it maybe due to the loading screens code using relative paths. I hope some further testing will provide a workaround for that.
If you have anything to contribute, whether it be an issue, or a workaround to a common problem you encountered yourself, post it in here, and I'll try and maintain this as a helpful thread, maybe even use it as a base for a wiki page to help modders.
Comments
Also, if they change the map names to ns2_pits or ns2_crevice, it will load the maps and they can play the mod without issue...