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 > SH4 Mods Workshop
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 06-28-10, 06:28 AM   #1
sergei
Sea Lord
 
Join Date: May 2008
Location: London UK
Posts: 1,788
Downloads: 405
Uploads: 29
Default DATs, AOs and Animations. Help Please!

Little bit of background before i ask my question.

After a 3 month hiatus due to real life getting in the way, I've started my skinning project back up again.
I now have access to 3ds Max, so have made new AO files that I can edit and use for dazzle camo.

See screenshot


And here you can see a problem I ran into. The funnel, masts, lifeboats etc were still trying to reference the co-ordinates of the old AO file.
SO I figured out how to make an AO file that included all the additional objects that make up a ship in SH4.
Then remade the UVW files for each object, and positioned them in the correct place (using 3ds).

It's the next stage where I am running into problems.
Obviously I have to re-import each object back into the DAT with my new channel 2.
If the object is not linked to an animation this is no problem.

But some are.
Here is an example


I am trying to import 'catarg01' (the forward mast).
I am then asked if I want to import the animations as well.
I click yes. And get the error message.
It's seems to be telling me that 'catarg02' has a different number of vertices than 'catarg01'
Obviously the animation seems to connect both masts.
But why does it need the vertices of both objects to be identical?
Just to check I hadn't FUBARED anything messing around with the DAT, I checked a DAT I hadn't touched.
In it the forward mast has 1244 vertices, the aft mast has 1208.
So it's not something I have changed.

I'm at a bit of a loss as to what to do next.
I have managed to get this far using internet and SUBSIM searches.
I have done a SUBSIM search for 'animation' and 'animations', but none of the threads I found seem to go anywhere near the problem I am experiencing.

I am hoping it is something really silly, like a little checkbox somewhere I have neglected to turn on.

Any help or suggestions gratefully recieved.
Thanks
sergei is offline   Reply With Quote
Old 06-28-10, 06:44 AM   #2
skwasjer
The Old Man
 
Join Date: Apr 2007
Location: Netherlands
Posts: 1,549
Downloads: 26
Uploads: 3
Default

The two masts are not animated. S3D incorrectly assumes your OBJ-files are part of an animation sequence because the file name ends with 01 and the 2nd mast with 02. Simply choose no when it asks for import of animation and import both masts seperately
skwasjer is offline   Reply With Quote
Old 06-28-10, 06:46 AM   #3
McHibbins
Seasoned Skipper
 
Join Date: Feb 2008
Location: Good old Germany
Posts: 739
Downloads: 80
Uploads: 0
Default

OT : Man, I´m so glad that you´re back with your skinning project

On topic:I think Iambecomelife may help you with this problem. Try a PM
__________________
McHibbins is offline   Reply With Quote
Old 06-28-10, 07:01 AM   #4
sergei
Sea Lord
 
Join Date: May 2008
Location: London UK
Posts: 1,788
Downloads: 405
Uploads: 29
Default

Quote:
Originally Posted by skwasjer View Post
The two masts are not animated. S3D incorrectly assumes your OBJ-files are part of an animation sequence because the file name ends with 01 and the 2nd mast with 02. Simply choose no when it asks for import of animation and import both masts seperately
Oh great, that makes sense skwasjer.
I assumed I'd break something if I chose no.
I'll give it a go.
Thanks for the quick reply
sergei is offline   Reply With Quote
Old 06-28-10, 08:06 AM   #5
sergei
Sea Lord
 
Join Date: May 2008
Location: London UK
Posts: 1,788
Downloads: 405
Uploads: 29
Default

Update:
Yep, that worked a treat.
Although I did manage to break an animation!

Further investigation solved the problem.
I'll post a screenshot here, as it may help someone in the future.



After updating all the objects on my ship, I loaded it into the museum.
I noticed the crew were missing. Assuming this was animation related, I investigated the DAT and found that there was an animation attached to the lifeboats.
So I just re-imported the boats with the animation turned on.

Easy to see in the DAT now, isn't it
Now I know what to look for, it's blindingly obvious!
And I can now tell at a glance which objects have associated animations.

Anyway, just want to say massive kudos and respect to you skwasjer.
I'd previously only used S3D for tinkering about in the ZON and SIM files.
Now I am playing around with the DATS, I can see just how massively useful this program is.
The model preview in particular is brilliant.
Such a timesaver checking out skin changes etc. without having to load up SH4.

Thanks skwasjer.
Good work mate

PS. Good luck in the match this afternoon.

Last edited by sergei; 06-28-10 at 09:01 AM.
sergei is offline   Reply With Quote
Old 06-28-10, 09:22 AM   #6
keltos01
Silent Hunter
 
Join Date: Feb 2008
Location: Milan Italy
Posts: 4,999
Downloads: 114
Uploads: 18
Default

Quote:
Originally Posted by sergei View Post



Thanks skwasjer.
Good work mate

PS. Good luck in the match this afternoon.
seems like you got it figured out ! beautiful skin btw

keltos
__________________
"Honorable Builder of Sinking Ships"

keltos01 is offline   Reply With Quote
Old 06-29-10, 05:40 PM   #7
skwasjer
The Old Man
 
Join Date: Apr 2007
Location: Netherlands
Posts: 1,549
Downloads: 26
Uploads: 3
Default

Quote:
Originally Posted by sergei View Post
Update:
Anyway, just want to say massive kudos and respect to you skwasjer.
I'd previously only used S3D for tinkering about in the ZON and SIM files.
Now I am playing around with the DATS, I can see just how massively useful this program is.
The model preview in particular is brilliant.
Such a timesaver checking out skin changes etc. without having to load up SH4.

Thanks skwasjer.
Good work mate

PS. Good luck in the match this afternoon.
Good job! Looks good too!
skwasjer 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 09:32 AM.


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