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 04-20-10, 10:22 AM   #1
TheBeast
The Old Man
 
Join Date: Jan 2010
Location: Lynnwood, WA
Posts: 1,533
Downloads: 888
Uploads: 23


Default Sub Flags Simplified

**************EDIT****************
Ok, I actually cracked open the DAT for a look. Should have done this first... DOH!
You only need to remove the imbed images in the Material chunk or is that being used to resize textures.
__________________
Fear me! I am, TheBeastBelow

SHIV-MediaFire | SHV-MediaFire

Last edited by TheBeast; 04-20-10 at 10:47 AM.
TheBeast is offline   Reply With Quote
Old 04-20-10, 10:35 AM   #2
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by TheBeast View Post
I know that editing all the Mesh's and 3D Models is going to be a PITA.
I sent a PM but you didnt respond so I am posting this thought here.

Did you consider the idea of creating a new Flags_TDW.DAT file with only 2 flags in it?

Do not imbed the images in the DAT file. Add 2 Material nuggets for flag textures (i.e. FlagU_TDW.dds, FlagL_TDW.dds). Do not select to load "in Memory"(Requires game restart to change images "for normal users" if you do)
Then add the Material nuggets from above to their respective Flag 3D Model nuggets.

This will allow users to change the flag textures simply by copying the flag "DDS" textures they want to the FlagU_TDW.dds and FlagL_TDW.dds file names.
This will also save you the time and hastle of working on all of the flags currently in the stock Flags.dat file.
that's how the flags are currently setup. You change the flag by changing the .dds file for it.
Now as far as the animations for the flags, each flag has it's own animation (they are embedded in the files). I have to scale all 100 keyframes for the flag's animation one time and then I can re-embed them in the files (I can change the order of the keyframes to give each flag a different animation sequence during run). I don't have to mess with the stock Flags.dat file at all. I don't want to touch that file
TheDarkWraith is offline   Reply With Quote
Old 04-20-10, 10:52 AM   #3
TheBeast
The Old Man
 
Join Date: Jan 2010
Location: Lynnwood, WA
Posts: 1,533
Downloads: 888
Uploads: 23


Default

Yeah I see that now after actually cracking the DAT file and looking. After previous PM a few days ago when you said you had to edit all the flag meshs for all the flags in the DAT file. I assumed you had all the flags in the DAT.
__________________
Fear me! I am, TheBeastBelow

SHIV-MediaFire | SHV-MediaFire
TheBeast is offline   Reply With Quote
Old 04-20-10, 11:48 AM   #4
kylania
Silent Hunter
 
Join Date: Aug 2006
Posts: 3,528
Downloads: 118
Uploads: 0
Default

Wow reaper, those look amazing!
__________________

kylania is offline   Reply With Quote
Old 04-20-10, 11:52 AM   #5
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by kylania View Post
Wow reaper, those look amazing!
they look excellent in game also
TheDarkWraith is offline   Reply With Quote
Old 04-20-10, 01:20 PM   #6
kylania
Silent Hunter
 
Join Date: Aug 2006
Posts: 3,528
Downloads: 118
Uploads: 0
Default

Quote:
Originally Posted by TheDarkWraith View Post
they look excellent in game also
Still need to install this. You should totally add a Flag On/Off toggle button to your UI mod!
__________________

kylania is offline   Reply With Quote
Old 04-20-10, 01:23 PM   #7
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by kylania View Post
Still need to install this. You should totally add a Flag On/Off toggle button to your UI mod!
I haven't figured out how to interact with objects on the sub yet. Once I can figure that out it will open up endless possibilities. I haven't found a way in code to 'call' or 'reference' an object on the sub.
TheDarkWraith 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 04:10 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.