SUBSIM Radio Room Forums



SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997

Go Back   SUBSIM Radio Room Forums > Silent Hunter 3 - 4 - 5 > SH5 Mods Workshop
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 03-09-10, 04:07 PM   #1
Heretic
Commodore
 
Join Date: Mar 2005
Location: Nebraska
Posts: 617
Downloads: 240
Uploads: 2


Default

I found this documentation on using various tools to edit GR2 files. I know very little about 3d modeling, so I don't know how much of this is of any use. I thought I'd post it here so that more knowledgable folks can provide some input as to it's usefullness.

http://gr2decode.altervista.org/docs.html
also this one
http://aoe3.heavengames.com/cgi-bin/...f=14,36458,,10
Heretic is offline   Reply With Quote
Old 03-10-10, 06:22 PM   #2
Seeadler
Pacific Aces Dev Team
 
Join Date: Mar 2001
Location: Northern Germany
Posts: 1,096
Downloads: 169
Uploads: 0


Default

Quote:
Originally Posted by Heretic View Post
I found this documentation on using various tools to edit GR2 files.
http://gr2decode.altervista.org/docs.html
With the tool from that site, it is possible to extract 3D data from GR2 and inport it into 3DSMax. The other way round from Max to GR2 should work with the Neverwinter Nights 2 Mod tools

Here I tried to get the La Pallice model into 3DSMax


BTW:
Good job devs , the La Pallice harbour layout now looks as near as in real life, although by today's time because in the 40's the harbor was a little different, but that could be possibly modded
Seeadler is offline   Reply With Quote
Old 03-30-10, 10:16 AM   #3
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Seeadler View Post
With the tool from that site, it is possible to extract 3D data from GR2 and inport it into 3DSMax. The other way round from Max to GR2 should work with the Neverwinter Nights 2 Mod tools

Here I tried to get the La Pallice model into 3DSMax


BTW:
Good job devs , the La Pallice harbour layout now looks as near as in real life, although by today's time because in the 40's the harbor was a little different, but that could be possibly modded
what tool(s) did you use specifically? How did you do it? What version of 3DS max?
TheDarkWraith is offline   Reply With Quote
Old 03-30-10, 03:36 PM   #4
Heretic
Commodore
 
Join Date: Mar 2005
Location: Nebraska
Posts: 617
Downloads: 240
Uploads: 2


Default

If a dev or someone knowledgable should happen to drop by, I'd really like know what the different values for Character Posture represent. The crew AI scripts reference values of A,B,C,D,and E for Wp:IsCharacterPosture(). Any info on what they mean would be greatly appreciated.
Heretic is offline   Reply With Quote
Old 03-30-10, 04:19 PM   #5
Madox58
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

The GR2 files are not compressed in SH5.
Open one with a Hex editor and you can see what plug-ins were used
on the 3DS Max 2010 system that exported them.

You can't read that info with Hex on a compressed file.
I can send you a compressed GR2 file if you wish to check.


However, the compressed files can be opened with Goblin.
  Reply With Quote
Old 03-31-10, 12:26 PM   #6
Anvart
Admiral
 
Join Date: Jan 2006
Location: Russia ®
Posts: 2,492
Downloads: 122
Uploads: 1
Default

Quote:
Originally Posted by privateer View Post
...
on the 3DS Max 2010 system that exported them.
...
???
3ds Max 10 <---> 3ds Max 2008
__________________
Alex ®


Moses said: "Don't create yourself an idol"...
Anvart is offline   Reply With Quote
Old 04-11-10, 04:19 PM   #7
mangaroca
Bosun
 
Join Date: Dec 2005
Location: Deep and diving...
Posts: 62
Downloads: 52
Uploads: 0
Default

Quote:
Originally Posted by Seeadler View Post
With the tool from that site, it is possible to extract 3D data from GR2 and inport it into 3DSMax. The other way round from Max to GR2 should work with the Neverwinter Nights 2 Mod tools

Here I tried to get the La Pallice model into 3DSMax


BTW:
Good job devs , the La Pallice harbour layout now looks as near as in real life, although by today's time because in the 40's the harbor was a little different, but that could be possibly modded
I substituted the granny2.dll from the EVE Online Granny Exporter with the one from SH5 dir and tried importing the IIA boat model. The operation was completed with no crash or "bad/sad" message. However, after importing an .obj file into 3DS Max 2010 I only got "part" of the model - the conning tower.

Also, the .obj file is much smaller than the corresponding .gr2 file but it could mean nothing. Nevertheless, I suspect some 3D data is missing from the converted model file. I could be importing it wrong into the 3DS Max (many options there) but I don't think it's the case.

Any idea how to get it right?

PS. I know the tendency at the moment is to learn how to EXPORT new model/model elements into a .gr2 file but importing is also... important.

Thanks!
mangaroca is offline   Reply With Quote
Old 04-11-10, 04:32 PM   #8
Arclight
Navy Seal
 
Join Date: Jun 2008
Location: Land of windmills, tulips, wooden shoes and cheese. Lots of cheese.
Posts: 8,467
Downloads: 53
Uploads: 10
Default

Not sure, but I think the boat and CT have separate models. So the game can use different CTs; change them on the fly as an upgrade during game.
__________________

Contritium praecedit superbia.
Arclight is offline   Reply With Quote
Old 04-14-10, 03:05 AM   #9
tonschk
Admiral
 
Join Date: Mar 2007
Posts: 2,200
Downloads: 172
Uploads: 0
Default

Thank you urfisch
__________________
What we do in life echoes in Eternity
tonschk is offline   Reply With Quote
Old 04-25-10, 10:14 AM   #10
wittmann
Swabbie
 
Join Date: Jun 2009
Posts: 8
Downloads: 246
Uploads: 0
Default

Hi all!

U-Jagd tools mod will not be translated to SH5?
wittmann is offline   Reply With Quote
Old 08-04-10, 09:00 PM   #11
Obelix
Seasoned Skipper
 
Join Date: Aug 2010
Location: 49°44´N 129°40´E
Posts: 665
Downloads: 124
Uploads: 7
Default

Hi people.
Guys, but how and what you do editing files *.RAW?
Need to edit the map files, but photoshop does not work properly to save the changes.
__________________
Speed squadron is the speed of the slowest ship ... but only so long as on the trail of the squadron did not sit submarines ...
Obelix is offline   Reply With Quote
Old 03-11-10, 07:32 AM   #12
gutted
The Old Man
 
Join Date: Apr 2005
Location: New Orleans, LA.
Posts: 1,353
Downloads: 470
Uploads: 10
Default

Taskbar menu items are all greyed out.

Im in windowed mode, have the main.cfg stuff enabled in MyDocuments/SH5 and i'm not trying while at a loading screen (tried at main menu, and while on patrol). I'm using XP32-bit. what did i miss?

I'm trying to get at the Script Manager.
__________________

Solution Solver 2.3.2 - Visual Targeting Tools & Aids

Last edited by gutted; 03-11-10 at 07:46 AM.
gutted is offline   Reply With Quote
Old 03-11-10, 10:17 AM   #13
Heretic
Commodore
 
Join Date: Mar 2005
Location: Nebraska
Posts: 617
Downloads: 240
Uploads: 2


Default

I've been using Granny Viewer to look at the crew models and animations. Very quick and useful. When loading the character objects, it'll display all of the meshes in one big blob, so you need to use the 'hide all meshes' command and then pick the ones you want.
Heretic is offline   Reply With Quote
Old 03-23-10, 07:33 PM   #14
Thresher
Sparky
 
Join Date: Apr 2006
Location: New Mexico, USA
Posts: 151
Downloads: 20
Uploads: 0
Default

Quote:
Originally Posted by Heretic View Post
I've been using Granny Viewer to look at the crew models and animations. . . .
Heretic,

Are you actually using GV to see the animations in data/characters/animations?

I've been able to see tons of models/meshes, but haven't figured out how to apply an animation from that folder to a model.

BTW, thanks for all the instruction and great work!
Thresher is offline   Reply With Quote
Old 03-23-10, 07:57 PM   #15
Heretic
Commodore
 
Join Date: Mar 2005
Location: Nebraska
Posts: 617
Downloads: 240
Uploads: 2


Default

Quote:
Originally Posted by Thresher View Post
Heretic,

Are you actually using GV to see the animations in data/characters/animations?

I've been able to see tons of models/meshes, but haven't figured out how to apply an animation from that folder to a model.

BTW, thanks for all the instruction and great work!

Ok. Looks like you got the meshes in. That's the CharacterBodyParts.GR2 file. I right-click on the "Mesh List" tab and select "Hide All Meshes" so I don't have that huge mass. Then left click the Mesh List tab which shows a list of all the meshes so I can select the ones I want. I usually scroll all the way to the bottom and just select the first torso, pants, and head from there.

Then left click Animation List tab. Then click the grey bar that appears under it, it'll bring up a file window. Navigate to the character\animations folder, select whichever ones you want - you can select more than one. They'll then show up under Animation List just like the meshes did under Mesh list. Left-click the animation and it'll start playing in the window. If you don't have any meshes selected, you won't be able to see anything.


Hope that helps
Heretic is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 01:38 AM.


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.