SUBSIM Radio Room Forums

SUBSIM Radio Room Forums (https://www.subsim.com/radioroom/index.php)
-   SH5 Mods Workshop (https://www.subsim.com/radioroom/forumdisplay.php?f=249)
-   -   [WIP] Type IX for sh5 (https://www.subsim.com/radioroom/showthread.php?t=233811)

Jeff-Groves 10-27-17 05:55 PM

What sensors file?

mkiii 10-27-17 06:16 PM

data/objects/sensors/ uboot sensors GR2

it has all the scopes, uzo, kdb, ghg models in it, I think its like a library file hard coded in the exe, and the cfg nodes link to the specific model depending on year avaliability and eqp upgrades

gap 10-27-17 10:30 PM

Quote:

Originally Posted by mkiii (Post 2520600)
@Gap....Even the original sensors GR2 will not open, pointers before data error...not to worry. its a minor annoyance compared to what the editor does let us do.

I am pretty sure that there is a version of GR2 Editor that can open/save the stock file thaogh I cannot tell you which version exactly: it has been a long time since I messed with that file the last time.

Quote:

Originally Posted by mkiii (Post 2520605)
data/objects/sensors/ uboot sensors GR2

it has all the scopes, uzo, kdb, ghg models in it, I think its like a library file hard coded in the exe, and the cfg nodes link to the specific model depending on year avaliability and eqp upgrades

Why do you think it is hardcoded? I don't think that file to have any special role assigned in the game code. You can store new sensors in any new library file; it will work just fine as long as you make eqp and upc files to point to it. The_Beast did that for some new sensors added with his Fixed Ubpat equipment mod, and I did the same with the GHG sensor, for making it destroyable (for Vecko's Reworked Uboat Damage Mod) :yep:

mkiii 10-28-17 02:40 AM

Quote:

Originally Posted by gap (Post 2520623)
Why do you think it is hardcoded? I don't think that file to have any special role assigned in the game code. You can store new sensors in any new library file; it will work just fine as long as you make eqp and upc files to point to it. The_Beast did that for some new sensors added with his Fixed Ubpat equipment mod, and I did the same with the GHG sensor, for making it destroyable (for Vecko's Reworked Uboat Damage Mod) :yep:

something I read in a post. could very well be wrong,
I will have a play around with doing just that, but not today, conning tower day today

gap 10-28-17 06:15 AM

Quote:

Originally Posted by mkiii (Post 2520645)
something I read in a post. could very well be wrong,
I will have a play around with doing just that, but not today, conning tower day today

Okay :up:

Talking about that, what do you know on the different Type IX variants and on the conning towers that could be fitted on them?

uboat.net, uboataces.com, u-historia.com, and wikipedia have information on hull variants and their specs. Some additional information could probably be digged from uboatarchive.net. Some decent technical drawings of the different hull variants are also available from u-historia.com. What we miss at the time being, is information on the conning towers used ad different stages of the war, as detailed as we have for the type VII :hmmm:

Will-Rommel 10-28-17 06:33 AM

Good work :ping:

mkiii 10-28-17 06:52 AM

Quote:

Originally Posted by gap (Post 2520655)
Okay :up:

Talking about that, what do you know on the different Type IX variants and on the conning towers that could be fitted on them?

uboat.net, uboataces.com, u-historia.com, and wikipedia have information on hull variants and their specs. Some additional information could probably be digged from uboatarchive.net. Some decent technical drawings of the different hull variants are also available from u-historia.com. What we miss at the time being, is information on the conning towers used ad different stages of the war, as detailed as we have for the type VII :hmmm:

I have got all those sites bookmarked Gap, plus I managed to get a copy of Eberhard Rossler`s "The U_boat" off ebay, without paying an extortionate ammount of £ for it, plus assorted other info in pdf format

gap 10-28-17 10:34 AM

Quote:

Originally Posted by mkiii (Post 2520660)
I have got all those sites bookmarked Gap, plus I managed to get a copy of Eberhard Rossler`s "The U_boat" off ebay, without paying an extortionate ammount of £ for it, plus assorted other info in pdf format

Good :up:

BTW: are you planning to add in game just one of the type IX versions, or more than one? :)

mkiii 10-28-17 01:32 PM

Quote:

Originally Posted by gap (Post 2520720)
Good :up:

BTW: are you planning to add in game just one of the type IX versions, or more than one? :)

If everything works with this one, and we manage to get it in game, which looks quite likely now, this will be IXB, To be followed by C, C40, AND D2 which I have got all the models for.

the B and C are basically the same, just details a bit different. The C40 and D2 are completely different, although they will be able to share the ct`s from the others, so will be a little less work.

from a quick look through the books, there are only 3 conning tower versions

also I was thinking it would be better using the most closely matching ct versions from the type VII, for flak gun nodes etc then it will be just moving bones around, rather than deleting unnecessary bones, (less you change,less to go wrong)

Jeff-Groves 10-28-17 04:52 PM

Quote:

Originally Posted by mkiii (Post 2520605)
data/objects/sensors/ uboot sensors GR2

it has all the scopes, uzo, kdb, ghg models in it, I think its like a library file hard coded in the exe, and the cfg nodes link to the specific model depending on year avaliability and eqp upgrades

No hard codeing involved. Just a non-standard GR2 file.
There are a lot of ways to whack the GR2 format to avoid tampering.
The early attempts started with editing the check sum. We figured that out so that was dumped by a lot of Game devs. Not just for Silent Hunter.
:haha:

Next many went to a custom format like in SWTOR. Seems a few people broke that format also.
:hmmm::03:

Haven't looked close at the sensor file to see what is going on but I'd just rip 3d models and add them to another file that can be opened and worked with easily.

gap 10-29-17 07:07 AM

Quote:

Originally Posted by mkiii (Post 2520751)
If everything works with this one, and we manage to get it in game, which looks quite likely now, this will be IXB, To be followed by C, C40, AND D2 which I have got all the models for.

the B and C are basically the same, just details a bit different. The C40 and D2 are completely different, although they will be able to share the ct`s from the others, so will be a little less work.

from a quick look through the books, there are only 3 conning tower versions

also I was thinking it would be better using the most closely matching ct versions from the type VII, for flak gun nodes etc then it will be just moving bones around, rather than deleting unnecessary bones, (less you change,less to go wrong)

Sounds like a good plan, though I foresee problems with the interiors, where there are animated parts like the engine room. I have read that the IXD2 was powered by two pairs of 6-cylinder Diesel engines, but we will be probably forced to use type VII's engine room, with the standard engine configuration :hmm2:

Quote:

Originally Posted by Jeff-Groves (Post 2520770)
No hard codeing involved. Just a non-standard GR2 file.

:sign_yeah:

Quote:

Originally Posted by Jeff-Groves (Post 2520770)
There are a lot of ways to whack the GR2 format to avoid tampering.
The early attempts started with editing the check sum. We figured that out so that was dumped by a lot of Game devs. Not just for Silent Hunter.
:haha:

Next many went to a custom format like in SWTOR. Seems a few people broke that format also.
:hmmm::03:

:haha:

Quote:

Originally Posted by Jeff-Groves (Post 2520770)
Haven't looked close at the sensor file to see what is going on but I'd just rip 3d models and add them to another file that can be opened and worked with easily.

Possiblle: I have already done that many times :up:

That's not just a possibility though. Since one of the limitation of GR2 Editor is that we cannot add new models to a granny file, putting any new sensor in a separate file is also the way to go, unless you want to replace one of the yet existing equipments / equipment upgrades with the new one (a few of them aren't actually used in game).

mkiii 10-29-17 08:48 AM

well these conning towers are a nightmare, I don`t know how they are different than the hull, but as soon as I changed a texture path got section errors.
I am now using 2 versions of the editor at each step, 1 to change the meshes, and 1 to alter the material bindings, which gives me a file that will open in goblin without crashing. (how long it took to find the right combination of versions was depressing)

not tried it in game yet though, just in case I lose my temper and throw the pc through the window (believe me, its been close a few times)

@Gap not got any really clear pics of the IX diesels, but what I have, seem to show covered valve gear, in which case the animations are irrelevant, that is for the 9cyl engine though

mkiii 10-29-17 08:57 AM

Quote:

Originally Posted by gap (Post 2520843)
Sounds like a good plan, though I foresee problems with the interiors, where there are animated parts like the engine room. I have read that the IXD2 was powered by two pairs of 6-cylinder Diesel engines, but we will be probably forced to use type VII's engine room, with the standard engine configuration :hmm2:

unless it is possible to clone the engines and animations, and import 2 sets of engines into the engine room(obviously it would have to be made bigger first), but that is a problem for another day

mkiii 10-29-17 07:17 PM

https://s1.postimg.org/1gt2cs21of/IXB_copy.jpg

16hrs and finally got a conning tower on the hull, still a few things to move around bones, collision meshes, more or less all the stuff you don`t see in game, the ct looks darker because I have used different material settings, to test which looks better in game,

gap 10-30-17 10:45 AM

Quote:

Originally Posted by mkiii (Post 2520861)
well these conning towers are a nightmare, I don`t know how they are different than the hull, but as soon as I changed a texture path got section errors.
I am now using 2 versions of the editor at each step, 1 to change the meshes, and 1 to alter the material bindings, which gives me a file that will open in goblin without crashing. (how long it took to find the right combination of versions was depressing)

not tried it in game yet though, just in case I lose my temper and throw the pc through the window (believe me, its been close a few times)

I know, materials and material bindings have always been a PITA for me. Something I have learned is that, before deleting an unused material, you better save the file after having made sure that it is no more bound to any of the meshes found in the file. After that, you close the file, re-open it, and only at this point you can remove the material, but not before having crossed your fingers with one hand and knocked wood with the other :O:

Quote:

Originally Posted by mkiii (Post 2520861)
@Gap not got any really clear pics of the IX diesels, but what I have, seem to show covered valve gear, in which case the animations are irrelevant, that is for the 9cyl engine though

That would be one problem lesser though, if I am not mistaken, the 6-cyl used on Type VII u-boats and the ones fitted on the IXD2 were different engines...

Quote:

Originally Posted by mkiii (Post 2520862)
unless it is possible to clone the engines and animations, and import 2 sets of engines into the engine room(obviously it would have to be made bigger first), but that is a problem for another day

Who knows, maybe we can stick models contained in different files using prt files (sort of what is done in SHIII with 'placement' nodes) :hmmm:

Quote:

Originally Posted by mkiii (Post 2520951)
https://s1.postimg.org/1gt2cs21of/IXB_copy.jpg

16hrs and finally got a conning tower on the hull, still a few things to move around bones, collision meshes, more or less all the stuff you don`t see in game, the ct looks darker because I have used different material settings, to test which looks better in game,

Amazing! :yeah:

Don't forget the emblem faces/materials :03:


All times are GMT -5. The time now is 03:26 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 1995- 2024 Subsim®
"Subsim" is a registered trademark, all rights reserved.