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-05-13, 12:38 AM   #1
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

v1.1.363.1 released. See post #1

Finished coding in the Animations tab.

Let's start experimenting with the settings in these Animations and TrackGroups tabs so that we can figure out what they mean/do

TheDarkWraith is offline   Reply With Quote
Old 03-05-13, 08:07 AM   #2
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by TheDarkWraith View Post
v1.1.363.1 released. See post #1

Finished coding in the Animations tab.

Let's start experimenting with the settings in these Animations and TrackGroups tabs so that we can figure out what they mean/do

gap is offline   Reply With Quote
Old 03-05-13, 09:29 AM   #3
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

If you manage to discover anything in regards to the animations/track groups please post it here. Doesn't matter how trivial it may seem. A couple of small pieces of the puzzle can unlock a large piece of the puzzle Did I mention that I love puzzles?

Anything that has Flags means this:
- a value of 0x0 means no translating, no rotations, and no scaling/shearing
- a value of 0x1 means has position (translating) info
- a value of 0x2 means has orientation (rotation) info
- a value of 0x4 means has scale/shear info
The above are bit values so you can combine them. Thus a value of 0x5 would mean:
- has position (translating) info and scale/shear info but no orientation (rotation) info

TrackGroup TransformTracks:
- The name of the transform track comes from either a bone or mesh
- PositionCurve.CurveData: Controls: the three float values define the X,Y,Z offset of the object. If they are defined then these will be added to the object's original defined position. How do we know which object this is working on? The name property (the name displayed) is the name of the bone or mesh this will be applied on.
TheDarkWraith is offline   Reply With Quote
Old 03-05-13, 10:13 AM   #4
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by TheDarkWraith View Post
If you manage to discover anything in regards to the animations/track groups please post it here. Doesn't matter how trivial it may seem. A couple of small pieces of the puzzle can unlock a large piece of the puzzle Did I mention that I love puzzles?
Sure, these days I am just messing with guns elevations, which are strictly connected with their animation
gap is offline   Reply With Quote
Old 03-05-13, 11:01 AM   #5
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

what I posted about the Flags doesn't seem to always apply in the TrackGroups
TheDarkWraith is offline   Reply With Quote
Old 03-05-13, 05:36 PM   #6
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

I wrote some code that allows the app to delete VectorTracks from a TrackGroup. You will be able to either delete a VectorTrack one at a time or delete them all at once Writing the code to delete the TransformTracks currently.

As a test I deleted all the VectorTracks from an aircraft and viewed it in Granny Viewer. The animations still work so that means the TransformTracks and responsible for animations Now just have to figure out these TransformTracks. Once the code is in place to delete TransformTracks I will be able to narrow down which one (TransformTrack) is responsible for the propeller's animation and thus should make it easier to decipher these TransformTracks

Now I just have to test how the game handles this (all VectorTracks removed). I'm hoping for a certain effect

TheDarkWraith is offline   Reply With Quote
Old 03-05-13, 05:51 PM   #7
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

well that theory was shot to pieces. I was hoping that maybe by deleting all the VectorTracks the airplane would still be visible after it died (exploded). Don't understand the purpose of these VectorTracks

v1.1.365.1 released. See post #1

You now have the ability to delete VectorTracks from a TrackGroup.
TheDarkWraith is offline   Reply With Quote
Old 03-05-13, 06:02 PM   #8
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by TheDarkWraith View Post
As a test I deleted all the VectorTracks from an aircraft and viewed it in Granny Viewer. The animations still work so that means the TransformTracks and responsible for animations
Following your progress with high interest. I couldn't get the sense of the above sentence though: did you mean that TransformTracks are responsible for animations or, as it would be more logical, tha they are not?
gap is offline   Reply With Quote
Reply

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 05:01 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.