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-03-10, 11:51 PM   #1
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


[REL] Sub Flags for SH5

New version! v0.0.8

Sub Flags for SH5 by TheDarkWraith
version 0.0.8

This mod will add 2 flags to the sub's turms. Each flag is user customizable to whatever they want. Each flag can also be enabled/disabled so user can choose which flag(s) he/she wants to have shown (or not shown). Ensure that if you disable all flags and you want to disable the flagstaff also that you edit the .eqp file correctly. The flags are not controllable - they are static entities. When you submerge they will 'disappear' as you slip under the water. As you surface the flag(s) will become visible as they come out of the water.

Currently this mod has only been done for the 7A, 7A_AI, 7A_U30, 7B, 7B_AI, 7B_U99, 7C, 7C_AI, 7C_U552, 7C_41, and 7C_41_AI subs. The reason is because there are many problems with getting the reflections and underwater views working correctly and in the hopes that releasing this more people will look it over and maybe discover something that I'm missing. I'll continue to work on the remaining subs in the meantime.
The .dds files used for the flags can be changed to whatever the user wants. See SubFlags_0_0_8_byTheDarkWraith\data\Textures\TNorm al\tex' for the files used.
As an example, the following .dds file is for VIIA flag 1: 7A_Flag_1.dds.

Breakdown of naming convention:
7A - type of sub
Flag - denotes for flag
_1 - denotes flag 1 (top flag)
_2 - denotes flag 2 (bottom flag)

Flag 1 is the top flag. Flag 2 is the bottom flag.

The flags have their alpha channels enabled so user can do some neat tricks with the flags (weathering, tearing, tattered look, etc.)

The flagstaff that I made for this mod also needs a light map added. As I'm not sure yet how to do this it would be great if someone can either show me how or fix it. You'll notice that the flagstaff is a very dull grey in color when rendered ingame compared to the rest of the Turm.

The mod defaults to the top flag enabled only. To enable/disable flags you'll need to edit the sub's .eqp file (can be opened with Notepad). Here is an example for the VIIA (this file can be found in '\SubFlags_0_0_8_byTheDarkWraith\data\Submarine\NS S_Uboat7a\NSS_Uboat7a.eqp'). My changes start with the notation of '; Edited by TheDarkWraith':

; Edited by TheDarkWraith
[Equipment 11]
NodeName=M97
LinkName=Turm_flagstaff
; if no flags are enabled you can disable the flagstaff by setting the start date to 19451230.
; if a flag is enabled then ensure the flagstaff is visible by setting the start date to 19380101
StartDate=19380101
EndDate=19451231

[Equipment 12]
NodeName=M98
LinkName=Turm7A_Flag_1
; make the start date equal 1 less then end date to disable flag. For this a start date of 19451230 would disable the flag (this is top flag)
; make the start date equal 19380101 to enable the flag
StartDate=19380101
EndDate=19451231

[Equipment 13]
NodeName=M99
LinkName=Turm7A_Flag_2
; make the start date equal 1 less then end date to disable flag. For this a start date of 19451230 would disable the flag (this is bottom flag)
; make the start date equal 19380101 to enable the flag
StartDate=19451230
EndDate=19451231

By having Equipment 13's start date at 19451230 this disables the bottom flag (flag 2). I commented the file so it should be easy to figure out.

I've included a folder, \Flags, that contains this mods default .dds flag files. These flags were found on the internet - they are not my work but the work of others. They also include the flags from others.

This is JSGME ready. Navigate to where you unzipped the mod to and open it up. Open up the folder 'SubFlags_0_0_8_byTheDarkWraith'. Select the 'MODS' folder and right click on it. Select copy. Navigate to your '\Ubisoft\Silent Hunter 5\' folder and open it up. Right click in an empty area and select paste. Enable via JSGME. (this assumes you setup JSGME to use the 'MODS' folder as default)

This is not compatible with my FX_Update mod (both use the Sh.sdl file) and needs to be installed AFTER my FX_Update mod.

The following problems have been noticed with this mod:
- no reflections for the flags. There is a nasty visual bug when reflections are turned on. I have them disabled.
- flags are not viewable when camera is underwater and sub is surfaced and you look up to the sub. Part of the reflection problem that I don't have a solution for.

Contributors:
- reaper7 new german flags
- conus00 flags reworked (game defaults to his reworked flags)

Changelog:
v0.0.1 - first official release (alpha)
v0.0.2 - enabled alpha channel for both flags
v0.0.3 - added flags to VIIb and VIIc subs
v0.0.4 - added flags to AI subs VIIa, VIIa U30, VIIb, VIIb U99, VIIc, VIIc U552
v0.0.5 - added flags to VIIC41 and VIIC41 AI
v0.0.6 - flags automatically hide when submerging and reappear when surfacing (8.0m is the depth which they hide/show). This fixes the bug of flags being visible under water when looking from above water
- fixed bug of one side of flag brighter than the other at night time
v0.0.7 - removed WaterReflection controllers from all objects to reduce graphic artifacts
- flagpole now is visible underwater
- flags behavior changed when submerging due to problems with heavy seas. Flag will 'disappear' as it goes underwater and 'reappear' as it surfaces. It no longer 'snaps' to appearing/disappearing
v0.0.8 - added ambience sounds to the flags. Sound for flag1 supplied by FallshirmjAEger. Using that sound I modified it to make an offset sound for flag2 so that each flag sounds differently


TheDarkWraith





version 0.0.8 available here: http://www.gamefront.com/files/20467...eDarkWraith_7z

mediafire link: http://www.mediafire.com/?a2u2r0998bkaf6o


Last edited by TheDarkWraith; 08-14-13 at 08:15 PM.
TheDarkWraith is offline   Reply With Quote
Old 04-03-10, 11:51 PM   #2
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

reserved by TheDarkWraith

looking for help/information for the following problems:

- no reflections for the flags. There is a nasty visual bug when reflections are turned on. I have them disabled.
- flags are not viewable when camera is underwater and sub is surfaced and you look up to the sub. Part of the reflection problem that I don't have a solution for.


Next version I'll probably use the animations from the SH5 style flags as there are some nice looking flags that are tattered and torn.

Last edited by TheDarkWraith; 10-10-10 at 10:04 AM.
TheDarkWraith is offline   Reply With Quote
Old 04-03-10, 11:54 PM   #3
hwdself
Bilge Rat
 
Join Date: Feb 2010
Posts: 1
Downloads: 91
Uploads: 0
Default

good mod thankyou
hwdself is offline   Reply With Quote
Old 04-04-10, 02:13 AM   #4
Athlonic
Chief
 
Join Date: Apr 2005
Location: France
Posts: 311
Downloads: 51
Uploads: 2
Default




That ...


ROCKS !

Athlonic is offline   Reply With Quote
Old 04-04-10, 02:27 AM   #5
Anvart
Admiral
 
Join Date: Jan 2006
Location: Russia ®
Posts: 2,492
Downloads: 122
Uploads: 1
Default

Looks as part of RacerBoy's stuffs in SH3...
May be more correctly would sound 'adaptation of RacerBoy's stuff for SH5'.
__________________
Alex ®


Moses said: "Don't create yourself an idol"...

Last edited by Anvart; 04-04-10 at 02:41 AM.
Anvart is offline   Reply With Quote
Old 04-04-10, 02:45 AM   #6
kylania
Silent Hunter
 
Join Date: Aug 2006
Posts: 3,528
Downloads: 117
Uploads: 0
Default

Quote:
Originally Posted by Anvart View Post
Looks as part of RacerBoy's stuffs in SH3...
May be more correctly would sound 'is RacerBoy's stuff for SH5'.
Fixed.
__________________

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


Default

Quote:
Originally Posted by Anvart View Post
Looks as part of RacerBoy's stuffs in SH3...
May be more correctly would sound 'adaptation of RacerBoy's stuff for SH5'.
nothing wrong with that now is there
TheDarkWraith is offline   Reply With Quote
Old 04-04-10, 08:29 AM   #8
SeaWolf U-57
Ace of the Deep
 
Join Date: May 2008
Posts: 1,231
Downloads: 92
Uploads: 0
Default

Quote:
Originally Posted by Anvart View Post
Looks as part of RacerBoy's stuffs in SH3...
May be more correctly would sound 'adaptation of RacerBoy's stuff for SH5'.
More like Racerboys Flags mod for Silent Hunter III
Updated by TheDarkWraith to be compatible for use with Silent Hunter V


Thanks RB cant wait for the all subs version
SeaWolf U-57 is offline   Reply With Quote
Old 11-09-12, 11:18 AM   #9
Fish In The Water
Prince of
the Sea


SUBSIM
Welcome
Committee

 
Join Date: Jul 2009
Location: Watching over U-253
Posts: 3,527
Downloads: 98
Uploads: 2
Default

Another essential mod. Thanks very much!
__________________
"The whole problem with the world is that fools and fanatics are always so certain of themselves, and wiser people are so full of doubts." - Bertrand Russell.


Fish In The Water is offline   Reply With Quote
Old 11-09-12, 03:00 PM   #10
GT182
Ocean Warrior
 
GT182's Avatar
 
Join Date: May 2005
Location: New Castle of Delaware
Posts: 3,231
Downloads: 658
Uploads: 0
Default

I've been wondering if it could be possible to have the flag fly on the your Uboat only when you are within a certain distance from your home base..... in and out. I don't think Kaptains flew them while at sea on the hunt. It would be a dead giveaway and probably get you sunk faster than you could say 'Oh Crap!'
__________________
Gary

No Borders, No Language, No Culture =s No Country

I'm a Deplorable, and proud of it.
GT182 is offline   Reply With Quote
Old 01-03-16, 12:23 AM   #11
Raven_2012
Commander
 
Join Date: Jan 2010
Location: Elmira, NY
Posts: 445
Downloads: 129
Uploads: 0
Default

I wonder if I can get this to work with TWOS? I think I need to update it with the new IRAI and maybe some other things. It's just been years since I fix it to work with IRAI_0_0_39.

We will see, this was always my favorite mod.
Raven_2012 is offline   Reply With Quote
Old 02-28-16, 02:54 PM   #12
excel4004
Hans-Jürgen Hellriegel
 
excel4004's Avatar
 
Join Date: Jan 2012
Location: Germany
Posts: 372
Downloads: 262
Uploads: 0
Default

Quote:
Sub Flags for SH5 by TheDarkWraith
Thanks for this gread mod!! Looking absolutly great!



Quote:
Originally Posted by pedalboat View Post
Seeing that after 5 years no one has come up with a working flagstaff texture, I just took a free one for myself from a mod and I've been using it for months without problem (ATI HD7870 2GB)
You are not required to like this texture, there are millions of dds textures around... Better a grain of salt than nothing.


https://drive.google.com/file/d/0Byh...ew?usp=sharing
Thanks for your work, i enjoy that!
__________________
U-96
March 1942 - March 1943 * OLt.z.S. Hans-Jürgen Hellriegel

excel4004 is offline   Reply With Quote
Old 02-28-16, 03:09 PM   #13
vdr1981
Navy Seal
 
Join Date: May 2010
Location: Србија
Posts: 6,078
Downloads: 581
Uploads: 13


Default

Quote:
Originally Posted by excel4004 View Post
Thanks for this gread mod!! Looking absolutly great!

Thanks for your work, i enjoy that!
You should know that sub flags mod is not directly compatible with TWoS, some manual tweaks are required. Even then , game stability will be drastically decreased and the reason why is still unknown ...
vdr1981 is offline   Reply With Quote
Old 04-06-10, 05:01 PM   #14
Einsman
Engineer
 
Join Date: Apr 2006
Location: In one place in the Atlantic, say A Coruña, Galiza (Spain)
Posts: 214
Downloads: 187
Uploads: 0
Default

Excellent work
Einsman is offline   Reply With Quote
Old 04-07-10, 07:59 AM   #15
oscar19681
Admiral
 
Join Date: Jan 2004
Location: netherlands
Posts: 2,020
Downloads: 119
Uploads: 0
Default

does this mean that we will also see pennants? Because in sh-3 it was called flags & pennants.
__________________
we live we die but death does not ends it.

Jim Morrison 1943-1971
oscar19681 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 12:38 PM.


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.