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

Reply
 
Thread Tools Display Modes
Old 04-13-11, 11:23 PM   #91
Madox58
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Makes us a couple of SLACKERS don't it?
  Reply With Quote
Old 04-13-11, 11:58 PM   #92
DivingDuck
Grey Wolf
 
Join Date: Jul 2006
Location: Germany
Posts: 879
Downloads: 10
Uploads: 1
Default

Slackers we are.



I am the second from the left, first row. LOL.



Regards,
Diving Slacker Duck
DivingDuck is offline   Reply With Quote
Old 04-14-11, 01:50 AM   #93
Hans Witteman
Kaleun of U-3
 
Join Date: Sep 2008
Location: somewhere in 1939
Posts: 1,815
Downloads: 123
Uploads: 0
Default

Hi shipmates,

I am still not discouraged Believe me doing all crew animations would not be that long for me because i did a lot of character animation on another project and those loop are not long to do because the way interpolation controller work on bone system.

After our mod is release i could get on that but before investing time doing it i just want to be sure we can put them in game after?

Best regards Hans
__________________




Hans Witteman is offline   Reply With Quote
Old 04-14-11, 09:51 AM   #94
DivingDuck
Grey Wolf
 
Join Date: Jul 2006
Location: Germany
Posts: 879
Downloads: 10
Uploads: 1
Default

Moin Privateer,

you´ve talked about exporting and successfully re-importing MAD2 after hex editing. I reckon you´ve hex-cut the obsolete tex coords before exporting?

DD
DivingDuck is offline   Reply With Quote
Old 04-14-11, 09:56 AM   #95
Hitman
Pacific Aces Dev Team
 
Hitman's Avatar
 
Join Date: Sep 2002
Location: Spain
Posts: 5,991
Downloads: 109
Uploads: 2


Default

"Texas Chainsaw modders"
__________________
One day I will return to sea ...
Hitman is offline   Reply With Quote
Old 04-14-11, 09:56 AM   #96
Madox58
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Nope.

Only thing I did was change the MAD2 to a MAD by changeing the 80 value to 00

so type 50 80 becomes type 50 00

Then exported the base mesh then the animations.
After the import/export in 3D Max I imported the animations first,
then the base mesh.

It plays fine in S3D.
We just don't have those extra tex coords.
  Reply With Quote
Old 04-14-11, 10:12 AM   #97
DivingDuck
Grey Wolf
 
Join Date: Jul 2006
Location: Germany
Posts: 879
Downloads: 10
Uploads: 1
Default

As seen in an earlier post of mine I´ve copied the MAD2, pasted them into a new *.dat and linked them to the <Body1> base mesh. All 88 (or so) animations work in S3D.

But, when I export a sequence and import it right back into S3D, the animation is screwed. And it does not matter whether I hex it from MAD2 to MAD first. It´s just screwed after re-import. And that´s strange as all needed data are available and are altered in a single process.

For proof of concept I´ve stripped the CH.anm to hold only a single chunk of MAD(2). I am actually filling in a completely new animation sequence to see whether it works or not. So far the new base mesh shows correctly in game. But it has not moved yet. Because of a missing call or an error of mine remains to be checked.

DD
DivingDuck is offline   Reply With Quote
Old 04-14-11, 10:19 AM   #98
Madox58
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

I exported the body01 and the animations.
I imported all of those obj files with the script I sent you.
I exported all of them with the other script.
Then re-imported to the dat.
Animation first, body01 (all 3) next.

Works fine in S3D

Here's the dats if you want to look at them
http://www.mediafire.com/?d8b5y45a2txd904
  Reply With Quote
Old 04-14-11, 10:37 AM   #99
DivingDuck
Grey Wolf
 
Join Date: Jul 2006
Location: Germany
Posts: 879
Downloads: 10
Uploads: 1
Default

Thanks Privateer. However, I was too lazy to go via Max and back. I just gave it a second try. I have proof of concept now. I just had to wait a little longer until the animation was called. It works. All other crew are screwed of course. But I´m a wee bit wiser and pleased with myself. As you said, it can be done, but only all at once or none.

@Hans:
if you are still willing to, it is possible. But I reckon the 3d modelling might be the funnier and smaller part of it.


Time to go back to 'Slacker-Mode'.

DD
DivingDuck is offline   Reply With Quote
Old 04-14-11, 10:43 AM   #100
Madox58
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default



Now that my theory has been confirmed by an outside Expert?



It's off to 'Slacker Land' for me on this issue.
  Reply With Quote
Old 04-14-11, 10:48 AM   #101
DivingDuck
Grey Wolf
 
Join Date: Jul 2006
Location: Germany
Posts: 879
Downloads: 10
Uploads: 1
Default

I´ll meet you over in 'Slacker Land'. You can´t miss me. I´m the one with a white rose in the top buttonhole.

Nice teamwork, btw.
DivingDuck is offline   Reply With Quote
Old 04-15-11, 03:32 PM   #102
Hans Witteman
Kaleun of U-3
 
Join Date: Sep 2008
Location: somewhere in 1939
Posts: 1,815
Downloads: 123
Uploads: 0
Default

Hi shipmates,

Something is still puzzle me in animation import process, i know there many way it is implemented in game like meshanimationdata, keyframe etc.

But i want to clarify a few points that would help the community to achieve stuff based on crystal clear video tutorial.

Here are the main obscure points :

If you look at Anvart FLG_GE in data\animations folder you have AnimationObject controller on it but no 3d nodes is in only AnimationObject controller that represent 3 different flag states.

My question is how do i put my animation in there so i can make my statemachines controller call it with array item playAnim?

Also no one anywhere in all the forum have clearly explain how to import animation even basic stuff in game?

Skwasjer have made a small video with a coil but he never show or tell how to put it in game.

So far the only way i was able to make animation work in game is by re using stock animation from different animation in game and then i change the keyframe parameters timing or rotational value.

This point really need to be explain to the user, why making the wonderful tool that is S3D if no one can use it power?

Best regards Hans
__________________




Hans Witteman is offline   Reply With Quote
Old 04-15-11, 06:10 PM   #103
Madox58
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

I'm not very good at tutorials but I'll see what I can whip up this weekend.
Most of what I know I figured out by studying different files in SH3 over the years.
And exchangeing thoughts and stuff with my Slacker Friend DivingDuck,
Anvart the Crazy Russian, and our missing Techno-Mage Ref.
  Reply With Quote
Old 04-16-11, 03:30 AM   #104
Anvart
Admiral
 
Join Date: Jan 2006
Location: Russia ®
Posts: 2,481
Downloads: 122
Uploads: 1
Default

Quote:
Originally Posted by Hans Witteman View Post
...
If you look at Anvart FLG_GE in data\animations folder you have AnimationObject controller on it but no 3d nodes is in only AnimationObject controller that represent 3 different flag states.

My question is how do i put my animation in there so i can make my statemachines controller call it with array item playAnim?
...
... yes, with my english ... to write a tutorial ... it would be absolute madness...
... In my case, the Flag is called through equipment (*.eqp file of sub)... node cfg#F01 ... and all others things through StateMachine (control) mechanism ...
IIRC, files with animations are placed in Animations folder...
File with models and file with StateMachineClasses are placed in Library folder.
Do not understand why you asked.
...
If you speak about your flooding and if you can use simple animations for water, you must place them in "effect-object" in interior... i think...
__________________
Alex ®


Moses said: "Don't create yourself an idol"...
Anvart is offline   Reply With Quote
Old 04-16-11, 08:04 AM   #105
DivingDuck
Grey Wolf
 
Join Date: Jul 2006
Location: Germany
Posts: 879
Downloads: 10
Uploads: 1
Default

Moin Hans,

I'll post a tut when back at home. Don't have access to any computer atm.
I have made a tut for SMC called animations only recently. It shows the dependencies of all related files and nodes. Doesn't deal with S3D though, as it was just created to understand the way the they are interlinked. I'll add a S3D part.

DD
DivingDuck 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 07:19 PM.


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