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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 09-10-16, 01:18 PM   #11
propbeanie
CTD - it's not just a job
 
propbeanie's Avatar
 
Join Date: May 2016
Location: One hour from Music City USA!
Posts: 10,245
Downloads: 466
Uploads: 4


Default re-do of a re-do

I'm back to looking at the Animgraphs dat files, since I "re-found" CapnScurvy talking about them while I was doing my review of the thread... I'm looking in Son.dat. Who understands what happens in that file? I'm guessing it's like a look-up table for the game, to decide what ogg file to play with which animation, dependent upon values in the game, that the user influences with his keypresses, or failure to...

Right off the back, in Item 1, stock does sonar stuff, while FotRS U is doing UboatState - whatever that is...
Code:
 Son.dat
       ==Stock==                                       ==FotRS U== 
 ----------------------------------------------------------------------
1 = Stalker_Idle
    Name = Stalker_Idle
    - Conditions [15]                            - Conditions [14]
      + [0] = (xxx)                                    blah blah  
      + [1] = etc...
      .....
      - [8] = Order                                -[8] = UboatState
              Type = 2                                    Type = 2
              Expression = Order                          Expression = UboatState 
              Value = AnySonar                            Value = Prey
              GoToEntry = 6                               GoToEntry = 21
            - Actions [1]                               - Actions [x]     
                 - [0] = Playmsg                              blah blah blah
                        Name = Playmsg
                        Value = SoM_K_Yes_Sir
If the "GoToEntry" pertains to this file, FotRS #21 goes to an idle loop, that looks for things to happen (I think). Stock goes to a "Hydrophone normal sweep" routine, plays appropriate animgraph cartoons, and plays ogg files for the Sonar station...

Seems to be quite a difference in the early going. Stock v1.5 stays in "Stalker" mode, while FotRS drops into "Prey" mode. However, it looks like maybe they "cut" the original #8, because #9 in Stock is the UboatState stuff, and FotRS has the same stuff there... just a mistake?... or the elimination of some help from the Sonar station?

btw, the code box formats how it wants to also...
.
__________________

"...and bollocks to the naysayers" - Jimbuna

Last edited by propbeanie; 09-10-16 at 01:27 PM.
propbeanie is offline   Reply With Quote
 


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 12:24 AM.


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.