SUBSIM Radio Room Forums


SUBSIM: The Web's #1 BBS for all submarine and naval simulations!

Go Back   SUBSIM Radio Room Forums > Silent Hunter 3 - 4 - 5 > SH5 Mods Workshop
Forget password? Reset here

I need forum nicknames for: Pavel Sar____, Sascha Rie____, Joseph Buc____, so I can upgrade your account. PM me. -- Neal Stevens

Reply
 
Thread Tools Display Modes
Old 04-03-2010, 11:51 PM   #1
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,993
Downloads: 146
Uploads: 5


Smile [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-2013 at 08:15 PM.
TheDarkWraith is offline   Reply With Quote
Old 04-03-2010, 11:51 PM   #2
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,993
Downloads: 146
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-2010 at 10:04 AM.
TheDarkWraith is offline   Reply With Quote
Old 04-03-2010, 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-2010, 02:13 AM   #4
Athlonic
Chief
 
Join Date: Apr 2005
Location: France
Posts: 312
Downloads: 48
Uploads: 2
Default




That ...


ROCKS !

Athlonic is offline   Reply With Quote
Old 04-04-2010, 02:27 AM   #5
Anvart
Admiral
 
Join Date: Jan 2006
Location: Russia ©, E-burg
Posts: 2,239
Downloads: 60
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'.
__________________
The best regards.
Alex ®


Last edited by Anvart; 04-04-2010 at 02:41 AM.
Anvart is offline   Reply With Quote
Old 04-04-2010, 02:45 AM   #6
kylania
Silent Hunter
 
Join Date: Aug 2006
Posts: 3,503
Downloads: 101
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-2010, 03:30 AM   #7
Subwolf
Weps
 
Join Date: Oct 2006
Location: USA/Norway
Posts: 359
Downloads: 18
Uploads: 0
Default

Nice, but not very realistic I guess, since they only raised the flag when entering or leaving ports. If there was an on/off button I'd use it
Subwolf is offline   Reply With Quote
Old 04-04-2010, 03:36 AM   #8
java`s revenge
Ace of the Deep
 
Join Date: Jan 2007
Location: at periscope depth
Posts: 1,205
Downloads: 97
Uploads: 0
Default

Great to see another sh3 mod into sh5
However i`ll wait till this mod works for all subs.
__________________
java`s revenge is offline   Reply With Quote
Old 04-04-2010, 04:28 AM   #9
ddrgn
Korvettenkapitän
 
Join Date: Apr 2005
Location: Toronto
Posts: 917
Downloads: 355
Uploads: 30
Default

Quote:
Originally Posted by java`s revenge View Post
Great to see another sh3 mod into sh5
However i`ll wait till this mod works for all subs.
Are you kidding?

Terrific work DW!

You rock sir!
ddrgn is offline   Reply With Quote
Old 04-04-2010, 04:29 AM   #10
thruster
Electrician's Mate
 
Join Date: Nov 2008
Posts: 139
Downloads: 0
Uploads: 0
Default

brilliant mod, thank you Darkwraith.
thruster is offline   Reply With Quote
Old 04-04-2010, 05:59 AM   #11
reaper7
sim2reality
 
Join Date: Jun 2007
Location: Ireland
Posts: 2,271
Downloads: 252
Uploads: 32
Default

Love it, Darn it now another task on the list preventing sim time - have to make me a new flag to fly .

Excellent work DW.
__________________
reaper7 is offline   Reply With Quote
Old 04-04-2010, 08:08 AM   #12
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,993
Downloads: 146
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-2010, 08:11 AM   #13
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,993
Downloads: 146
Uploads: 5


Default

Quote:
Originally Posted by Subwolf View Post
Nice, but not very realistic I guess, since they only raised the flag when entering or leaving ports. If there was an on/off button I'd use it
hopefully in time this will morph into having that ability or even better. I'm still learning the ins and outs of the game and what one can do/can't do with it. Every little project I do I learn more about how the game engine works Plus by releasing these projects others can look at my files and see what I did and either a) fix something I did wrong, b) find a better way to do it, or c) learn something from it and create something of their own.
TheDarkWraith is offline   Reply With Quote
Old 04-04-2010, 08:29 AM   #14
SeaWolf U-57
Ace of the Deep
 
Join Date: May 2008
Posts: 1,234
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 04-04-2010, 08:47 AM   #15
SeaWolf U-57
Ace of the Deep
 
Join Date: May 2008
Posts: 1,234
Downloads: 92
Uploads: 0
Default

TheDarkWraith please remember perfection is good Were possible.
But compromises sometimes benefits the Users with lower spec machines.
I myself am really not bothered too much about the Shadows as even running
the shadow effects in Silent Hunter 5 can cause some strange effects so I have
disabled them.
Also I only use the sub views as It would not be possible to fly around the sub
in RL.
The reflection on the water is also good but not really life threatening if missing.
It would be fantastic just to look back from the front of the Turn and see the flags
flying.
The slightly torn versions used in SH4 would look really good but any version
would be a great addition to the game.
Again thanks for all the effort you put into enhancing our game play all your mods
have help out with all the annoying aspects of the game which has helped make it
playable
SeaWolf U-57 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 08:46 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright © 1997- 2014 Subsim