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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 06-02-12, 04:12 AM   #5
radcapricorn
Helmsman
 
Join Date: Jun 2011
Posts: 105
Downloads: 181
Uploads: 0
Default

No, that is not 100 fps. That should read "100 animation keyframes". If you look at each frame in the list, you'll see there's a Time value attached to it. I'm guessing this is in seconds. So, if animation frame #99 has a Time value of 8.333, then the whole animation loop has a (100/8.333) ~= 12 fps. As time runs, the game should slowly (and smoothly) adjust flag from one animation frame to the next until it gets to last frame, where the 'next' frame would again become first one. And this whole animation loop repeats for 8.333 time units (which, again, I'm guessing are seconds).
So, to answer your question: no, running the game at less than 100 fps should not freeze the flags.

Some speculation on animations (note this is not related to this particular format):

My general knowledge about animations tells me that you should not just reduce the animations frame count. That's because model's 3D data still contains info for all 100 frames (at least it should). So if you remove some array items from Flags array, best case scenario is you'll get skipped frames as L30P4RD suggested (animation loop would sort of 'jump' to the beginning, and the flag will "jerk" from, say, a half-folded state to a calm one or whatnot). Worst case - you'll get an error (maybe even CTD, though I doubt that).

The other thing to consider here is that animation may or may not be split up into several "subloops" (i.e. different animation for different wind speed). In this case, again, just throwing away frames won't solve anything.

Speculations end here.

Now I'm wondering, are these flags always frozen, or sometimes they animate and sometimes don't?
radcapricorn is offline   Reply With Quote
 

Thread Tools
Display Modes

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 02:53 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.