As this is primarily a modding issue I thought it best to open a topic here rather than in the technical forums.
When Testing my new Fun with Researchers mod I found that the last new model I added would not appear in the Tailor shops, after checking and ensuring the code was all good, which it is(there was a typo error that I fixed) I thought it may have something to do with it being the last model in the initModels files so I cut and paste my Jack Reworked Portugese model below the problem model and still no go. After 20 new games and more time browsing the Tailor shops than I took in creating the problem model I decided in desperation to just copy and duplicate the problem model code below itself. Now with two copies of the exact same code in my initmodels I load up and sure enough the model is now available, I load up a couple more new games to ensure it wasn't just a probability/chance issue and the model is there in the Oxbay Tailor everytime. I remove my doubled up code and woosh the model is nowhere to be found again.
Best I can figure it the cause may well be something to do with the fact that the model is assigned the ENGLAND value like most of the other models ingame and though we haven't yet approached the Hard Code max models we may have stumbled across a max ENGLAND models. So I tested this theory by cutting my England Jack and pasting below the original problem model and removing my duplicate code, sure enough now the original problem model appears and the England Jack does not. I did a quick count and on my POTC (which is Build 12.1 + Pieter's 21 November 2005 Update + My Taegan n Cat Mod and my Fun with Researcher mod which add 5 and 4 new ENGLAND models respectively) and I ended up with a total of 43 models assigned ENGLAND and a further 19 models assigned PORTUGAL which sometimes is for some reason considered England by the Game this brings the total to 62 making the possible limit 61. Remember though the first model I tried under the original problem model was my portugese Jack and he still appeared in game whilst the problem model did not therefore it is almost definately a limit related only and directly to the ENGLAND nation assignment which would make the limit of valid models 42. All of this is well and good but the question remains why when I double the dissapearing models code does it all of a sudden work fine, is another model dropping off to compensate? and further what is causing this problem in the first place, is it the Tailor mod, the changes NK made to how initModels operates, a hard coded limit or something soft coded we haven't come across yet?
Anyway it will take a better coder than me to figure this out, in the meantime I am removing my England Jack (I was never happy with how the country representative Jack's turned out anyway) from my initmodels to compensate. For the next update though we may need to go through all of the models and change some of the country values or worst case remove some of the lesser used ones, I would be happy to volunteer to do this but I warn you I will definately be subjective in my selection and I haven't really been around long enough to have a feel for what is popular within the community. It would obviously be better if we could solve the bug/limit but that would require coders which are skarce at the best of times.
Hopefully we can figure something out together that works for everybody.
Cheers,
Daede.
When Testing my new Fun with Researchers mod I found that the last new model I added would not appear in the Tailor shops, after checking and ensuring the code was all good, which it is(there was a typo error that I fixed) I thought it may have something to do with it being the last model in the initModels files so I cut and paste my Jack Reworked Portugese model below the problem model and still no go. After 20 new games and more time browsing the Tailor shops than I took in creating the problem model I decided in desperation to just copy and duplicate the problem model code below itself. Now with two copies of the exact same code in my initmodels I load up and sure enough the model is now available, I load up a couple more new games to ensure it wasn't just a probability/chance issue and the model is there in the Oxbay Tailor everytime. I remove my doubled up code and woosh the model is nowhere to be found again.
Best I can figure it the cause may well be something to do with the fact that the model is assigned the ENGLAND value like most of the other models ingame and though we haven't yet approached the Hard Code max models we may have stumbled across a max ENGLAND models. So I tested this theory by cutting my England Jack and pasting below the original problem model and removing my duplicate code, sure enough now the original problem model appears and the England Jack does not. I did a quick count and on my POTC (which is Build 12.1 + Pieter's 21 November 2005 Update + My Taegan n Cat Mod and my Fun with Researcher mod which add 5 and 4 new ENGLAND models respectively) and I ended up with a total of 43 models assigned ENGLAND and a further 19 models assigned PORTUGAL which sometimes is for some reason considered England by the Game this brings the total to 62 making the possible limit 61. Remember though the first model I tried under the original problem model was my portugese Jack and he still appeared in game whilst the problem model did not therefore it is almost definately a limit related only and directly to the ENGLAND nation assignment which would make the limit of valid models 42. All of this is well and good but the question remains why when I double the dissapearing models code does it all of a sudden work fine, is another model dropping off to compensate? and further what is causing this problem in the first place, is it the Tailor mod, the changes NK made to how initModels operates, a hard coded limit or something soft coded we haven't come across yet?
Anyway it will take a better coder than me to figure this out, in the meantime I am removing my England Jack (I was never happy with how the country representative Jack's turned out anyway) from my initmodels to compensate. For the next update though we may need to go through all of the models and change some of the country values or worst case remove some of the lesser used ones, I would be happy to volunteer to do this but I warn you I will definately be subjective in my selection and I haven't really been around long enough to have a feel for what is popular within the community. It would obviously be better if we could solve the bug/limit but that would require coders which are skarce at the best of times.
Hopefully we can figure something out together that works for everybody.
Cheers,
Daede.