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 08-30-16, 11:59 AM   #1
Kendras
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Support Need help with animation of the flags

Hello all,

I'm trying to create a big war ensign for the battleships of SH3.

Like that:



I have resized the flag, but the animation of the flag is now broken. Could someone help me in this matter ?

Thx
  Reply With Quote
Old 08-30-16, 12:16 PM   #2
Tycho
Sonar Guy
 
Join Date: Oct 2009
Location: Sofia, Bg
Posts: 384
Downloads: 264
Uploads: 1


Default

Probably, you need to export the animation frames and to resize all ones.
__________________
If you ride like lightning, you're gonna crash like thunder.
Tycho is offline   Reply With Quote
Old 08-30-16, 12:30 PM   #3
Kendras
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Quote:
Originally Posted by Tycho View Post
Probably, you need to export the animation frames and to resize all ones.
How can I do that ?? I'm completly lost ...
  Reply With Quote
Old 08-30-16, 01:39 PM   #4
Tycho
Sonar Guy
 
Join Date: Oct 2009
Location: Sofia, Bg
Posts: 384
Downloads: 264
Uploads: 1


Default

Quote:
Originally Posted by Kendras View Post
How can I do that ?? I'm completly lost ...
If you did this:
Quote:
Originally Posted by Kendras View Post
I have resized the flag, but the animation of the flag is now broken.
Most likely, you first export the 3d model with S3D. Now do it again, but look closely and you will see the possibility to export all anim frames.
__________________
If you ride like lightning, you're gonna crash like thunder.
Tycho is offline   Reply With Quote
Old 08-30-16, 09:54 PM   #5
Kendras
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Quote:
Originally Posted by Tycho View Post
Most likely, you first export the 3d model with S3D. Now do it again, but look closely and you will see the possibility to export all anim frames.
So, I have resized all the 25 frames of the flag, and imported them in the file of the battleship. In S3D, the animation of the new flag is now played with the proper size. Vry nice. But in my game, the flag just stays ... static ! The animation is not played !

What's wrong here ?
  Reply With Quote
Old 08-31-16, 08:05 AM   #6
Kendras
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Icon7

Don't know precisely what I did, but the animation is now working fine !

Just have to resize again the falg by 150 % instead of 200% (which is a bit too big)



Thank for the help!

Ah ! Another thing : i use wings 3D. Do you know how to move automatically a 3D object by setting the position of one of its vertex ? I would like to move the corner to the origin (i mean where X=0, Y=0, Z=0) for each resized frame of the flag. It's very boring to do that manually for 25 models ...
  Reply With Quote
Old 09-01-16, 11:42 AM   #7
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,214
Downloads: 793
Uploads: 10
Default

Glad you managed doing it
__________________
_____________________
|May the Force be with you!|
...\/
gap is offline   Reply With Quote
Old 01-16-17, 05:32 AM   #8
Kendras
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Icon8

Well, I don't know what I'm doing wrong, but I don't manage to make a new flag with animation. It works in S3D, but not in-game .... !



Else, in the Yamato .dat file, there isn't any node for the flag, but there is one in game ! I don't understand at all.
  Reply With Quote
Old 01-20-17, 10:51 AM   #9
Kendras
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Icon9

Still no success.

So here what i've done :

- exported all the objects of the animated model of the flag, found in Flag.dat (in Library folder), I get 26 files : one named FLG.obj, and the others are FLG_00.obj to FLG_24.obj.

 


- imported them in Wings3D, resized and exported them.

- opened the .dat file of a battleship, added a node with a 3D model, imported the animated flag by choosing FLG_00.obj

 


- added an animation controller

 


In S3D, the flag is animated when I click on "play". But not in the game !

So what's wrong, guys ?

  Reply With Quote
Old 01-20-17, 11:02 AM   #10
Jeff-Groves
Village Idiot
 
Jeff-Groves's Avatar
 
Join Date: Sep 2014
Posts: 5,319
Downloads: 130
Uploads: 0


Default

Did you set the timing on all 25 frames of the animation?
__________________
I don't do Stupid. So don't ask.
Jeff-Groves is offline   Reply With Quote
Old 01-20-17, 11:20 AM   #11
Kendras
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Quote:
Originally Posted by Jeff-Groves View Post
Did you set the timing on all 25 frames of the animation?
Yes, I chose a longer time to have a slower movment for a bigger flag :

 


The original value is :

 


But I wonder why this should not work with a different fps ?
  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:10 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.