• New Horizons on Maelstrom
    Maelstrom New Horizons


    Visit our website www.piratehorizons.com to quickly find download links for the newest versions of our New Horizons mods Beyond New Horizons and Maelstrom New Horizons!

Need a little Tech help w/ models

muddymonkey77

The Irish Captain
Storm Modder
I've got a bit of a problem...

I'm attempting to add new Character models to the game (build 12). I'm attempting to get JMV's Military skins and Derringer's Military skins into the game. I've put all the models and textures into the proper folder. I have tested them out with the .gm viewer, and they all show just as the should. (Correct model and texture). I then added the models the PROGRAMS/models/initmodels.c like this:

<!--quoteo--><div class='quotetop'>QUOTE</div><div class='quotemain'><!--quotec--> makeref(model,Models[n]);
model.description = "A Royal Navy Lieutenant's
uniform. Do you fancy yourself a poet?";
model.id = "brtlut3_18";
model.minrank = 2;
model.nation = ENGLAND;
model.price = 4000;
model.assigned = true;
n++;<!--QuoteEnd--></div><!--QuoteEEnd-->

Now when I start up the game, the models can be purchased but they show up blank. The character is invisible and can not move. There is also no model name under the picture of the character skin when you go into the "Choose outfit" screen. Can any of you please help me and tell me what I have done wrong?
 
The easiest way to get this working is to go to my site and download the <i>Officers and Marines Skins (English, French, Spanish)</i> file from my site. This is a Pre Build 13 compatible version of the JMV skinpack.

Are you sure you added the GM files into RESOURCE\MODELS\Characters and the .TGA.TX files in RESOURCE\Textures\Characters? Also: Make sure that the line <i>model.id</i> refers to the exact name of the GM file (without the .gm part added).
 
The GM files and the texture files are all correct. I've checked them with the GM model viewer and they appear to be right. I've checked and double checked the code...still can't figure it out.
 
Did you try the file from my site? You could upload your files on the FTP and I could have a look at it. I am very limited on my time though and I also need to finish Build 13, which is a LOT of work. <img src="style_emoticons/<#EMO_DIR#>/piratesing.gif" style="vertical-align:middle" emoid=":shock" border="0" alt="piratesing.gif" />
 
From memory the JMV and Deringer packs were compatible with an older version of the mod (B11 I think) and much of the code was incomplete... no code at all for many of the models. Thats why I made the <i>Officers and Marines Skins (English, French, Spanish)</i> mod, which includes many but not all the models from the other packs. Needed to reformat the code in initModels and give them new model.FaceId's as well as make some portraits to make them compatible with Build 12... and still compatible with the latest version, pre-Build 13.

Unless you've recoded and added new portraits, I think installing the JMV and Deringer packs as is onto the current Build will most likely result in much unwanted overwriting and cause big problems... chaos. <img src="style_emoticons/<#EMO_DIR#>/modding.gif" style="vertical-align:middle" emoid=":modding" border="0" alt="modding.gif" />

Hope this helps. <img src="style_emoticons/<#EMO_DIR#>/doff.gif" style="vertical-align:middle" emoid=":doff" border="0" alt="doff.gif" />

Cheers <img src="style_emoticons/<#EMO_DIR#>/par-ty.gif" style="vertical-align:middle" emoid=":cheers" border="0" alt="par-ty.gif" />
 
Alright, I have fixed the issue. The models and textures were fine. All of them checked out and were in the right location. I had renamed the Derringer Skins with my modders code so that they would not cancel out the original skins. The code that I had written in the PROGRAMS/models/initmodels.c also checked out. Then it hit me!

I am working with Build 12...and the initmodels.c file I had in my back up was from build 13. This is the one I used to overwrite the Build 12 one! Somewhere in the Build 13 code was the problem. So what I did was go back and re-write the whole thing from scratch....and voila!!! Everything worked out just fine. So right now I have all the military skins in the game.

* JMV's English, French, and Spanish Military Skins
* Derringer's Military Skin Pack
* All Original Military Skins

The only problem is that they don't all have portraits...but that is small potatos!
 
That is great! Could you upload your files somewhere? We do have compatible JMV skins added bu Jack Davidson, but we haven't got all versions compatible. Your work might help.

Jack Davidson did add character portraits for the JMV soldier skins in his pack.
 
Yar, now I be makin this here mod compatible wit build 12. If'n I be getting my hands on one them thar full workin' versions of unlucky thirteen...I can be making it work that thar build. So, I be waitin' on that an'll be givin her to ya once that be takin place.

(Today is talk like a pirate day)
 
Excellent! Great to hear. Looking forward to seeing them all compatible. Check the "Facemaker" thread to see who's been using what Face IDs. I used 294-316 for the English, French and Spanish Officers plus the English Marines. I think a few more IDs have been used after these ones. I think Mings has reserved a couple.

Cheers <img src="style_emoticons/<#EMO_DIR#>/par-ty.gif" style="vertical-align:middle" emoid=":cheers" border="0" alt="par-ty.gif" />
 
Back
Top