PDA

View Full Version : [REQ] Flag on the deck


Cthulhus
03-07-10, 06:23 AM
Hello,

I remember on SHIII a mod that allow you to add the flag on the deck. With a on / off possibility

Thanks :)

TheDarkWraith
04-02-10, 08:25 AM
Hello,

I remember on SHIII a mod that allow you to add the flag on the deck. With a on / off possibility

Thanks :)

is there still an interest in this?

thruster
04-02-10, 08:40 AM
is there still an interest in this?

abso-bloody-lutely! fly anything from the KM ensign to a jolly roger. hell, why not an RN ensign and play as HMS Graph? the animated example in the exhaust thread looked great, just imagine it from the pole on the wintergarden of your boat.

i'd like to see the on/off command with the XO. [you know your boat aint complete without it].

TheDarkWraith
04-02-10, 08:46 AM
abso-bloody-lutely! fly anything from the KM ensign to a jolly roger. hell, why not an RN ensign and play as HMS Graph? the animated example in the exhaust thread looked great, just imagine it from the pole on the wintergarden of your boat.

i'd like to see the on/off command with the XO. [you know your boat aint complete without it].

I'm with you. I love seeing a flag flying under my command. Ok I know my next mod to work on. I mod in small steps so first will be adding flags to the subs. Then after that is done I'll look for ways to control them better (they'll be setup like SH3 where they won't display underwater but will always be visible above water).

kemeri
04-02-10, 08:51 AM
is there still an interest in this?

I think the poll would be good on the subject.
IMHO there is no any reason to enable flag on the deck, except unrealistic eye-candy.

I would prefer a searchlight :D

TheDarkWraith
04-02-10, 09:07 AM
I think the poll would be good on the subject.
IMHO there is no any reason to enable flag on the deck, except unrealistic eye-candy.

I would prefer a searchlight :D

no poll needed. If I want it and 1 other wants it then it's time to make it :D I've already made a jackstaff to add to the subs :03:

TheDarkWraith
04-02-10, 09:24 AM
here's the jackstaff I made (even with rust on it!) for the subs:
http://www.subsim.com/radioroom/picture.php?albumid=248&pictureid=1641

The General
04-02-10, 09:28 AM
Nice work DarkWraith :up:

I have always wanted to see a flag on the Subs. Historically, how often were these flown? Just in and out of Port?

TheDarkWraith
04-02-10, 09:30 AM
Nice work :up:

I have always wanted to see a flag on the Subs. Historically, how often weere these flown? Just in and out of Port?

this probably isn't historically correct in most respects but it's something I want and some others want. One should customize their game to their liking :DL You won't be able to control when the flag is visible or not - it will always be visible but will 'disappear' as you submerge.

The General
04-02-10, 09:31 AM
You won't be able to control when the flag is visible or not - it will always be visible but will 'disappear' as you submerge.That's zero problem for me. On the model, there's already an empty flagstaff at the back of the WinterGarden though, right?

TheDarkWraith
04-02-10, 09:34 AM
That's zero problem for me. On the model, there's already an empty flagstaff at the back of the WinterGarden though, right?

most of the subs no. That's why I had to make a jackstaff. Now I have to add this jackstaff to the subs that are missing it. The 2A has a jackstaff. Is it a jackstaff or flagstaff? I should be calling it by it's correct name.

Now reflections for the flag are going to be a bit tricky. I tried making them reflect and got some awful side effects on the screen. I don't know if this is going to be possible or not.....

The General
04-02-10, 09:42 AM
most of the subs no. That's why I had to make a jackstaff. Now I have to add this jackstaff to the subs that are missing it. The 2A has a jackstaff. Is it a jackstaff or flagstaff? I should be calling it by it's correct name.

Now reflections for the flag are going to be a bit tricky. I tried making them reflect and got some awful side effects on the screen. I don't know if this is going to be possible or not.....Maybe Jackstaff was British terminology because of the Union Jack?? I get seasick in the bath and know nothing of Navy life :DL.

DarkWraith you do fantastic work and thanks for doing this :up:. I personally could live with the fact that there's no reflection but understand if you wanna do the best you can before releasing yet another teriffic Mod.

Sailor Steve
04-02-10, 09:43 AM
Technically it's a flag staff. The jack staff is for a second flag, or jack, and is mounted at the bow.
[quote]10. (Naut.)
(a) A flag, containing only the union, without the fly,
usually hoisted on a jack staff at the bowsprit cap;
-- called also union jack. The American jack is a
small blue flag, with a star for each State.
[1913 Webster]
http://onlinedictionary.datasegment.com/word/jack+staff


http://en.wikipedia.org/wiki/Maritime_flag#Jacks
http://en.wikipedia.org/wiki/Jackstaff

The General
04-02-10, 09:54 AM
Technically it's a flag staff. The jack staff is for a second flag, or jack, and is mounted at the bow.
Lol, I was just thinking Sailor Steve would know the answer to this :hmmm: :DL

Would it look like this?

http://img225.imageshack.us/img225/7535/sh5img20100330223218cop.jpg (http://img225.imageshack.us/i/sh5img20100330223218cop.jpg/)

TheDarkWraith
04-02-10, 10:29 AM
Lol, I was just thinking Sailor Steve would know the answer to this :hmmm: :DL

Would it look like this?

http://img225.imageshack.us/img225/7535/sh5img20100330223218cop.jpg (http://img225.imageshack.us/i/sh5img20100330223218cop.jpg/)

that's what I'm shooting for

Redlance88
04-02-10, 11:02 AM
I would like very much to be able to fly a flag from the winter garden flagstaff, but would like the option to pass on any bow jacks, or other flags.

I don't have net cutters on my type VIIC but should any one ever add one as an option would rather it not be cluttered. personal preference not trying to start a fight.

looking forward to this mod would use it frequently.

TheDarkWraith
04-02-10, 11:09 AM
first try on import of flagstaff object worked :D Just need to scale the flagstaff correctly, flip the flag horizontally and position everything now. This was for the 7A:

http://www.subsim.com/radioroom/picture.php?albumid=248&pictureid=1648

conus00
04-02-10, 12:21 PM
Following this one with great interest!

Able72
04-02-10, 12:26 PM
subscribed, gotta have more eye candy :D

LukeFF
04-02-10, 06:56 PM
is there still an interest in this?

For me, no. The flag would be flown only when coming in and out of port. Hence it's just an object that's going to block my view when on deck and something that would be stowed for 99% of the patrol.

kylania
04-02-10, 06:58 PM
I'd love this really. Especially if you could make it a toggle somehow. The VIIC dual wintergarden conning tower appears to have a flagpole already too.

Kptlt_Lynch
04-02-10, 07:54 PM
Absolutely awsome. :up:

conus00
04-02-10, 11:11 PM
For me, no. The flag would be flown only when coming in and out of port. Hence it's just an object that's going to block my view when on deck and something that would be stowed for 99% of the patrol.

You have a point there Luke, but it would be great if this mod could work like the Antvart's (I think) flag mod for SHIII. You could use Shift+F to hoist the flag and Ctrl+F to pull it down...
Is that doable in SH5?

kylania
04-02-10, 11:24 PM
You have a point there Luke, but it would be great if this mod could work like the Antvart's (I think) flag mod for SHIII. You could use Shift+F to hoist the flag and Ctrl+F to pull it down...
Is that doable in SH5?

With scripting I wouldn't be surprised if it's possible to both be able to toggle it AND have it automatically raise when you're within X range of your home port. :DL

conus00
04-03-10, 12:04 AM
That'd be really cool.

Cthulhus
04-03-10, 04:31 AM
Thanks !! Hope you'll get some results :)

reaper7
04-03-10, 04:39 AM
With scripting I wouldn't be surprised if it's possible to both be able to toggle it AND have it automatically raise when you're within X range of your home port. :DL

Love that idea. It would make great sence to have it toggleable under your own control. :D
Great Mod. :up:

SeaWolf U-57
04-03-10, 04:39 AM
I would fly it when ever I'm surfaced :salute:

tonschk
04-03-10, 07:01 AM
The effect of the Wind on the moving Flag Dynamic Shadows in Silent Hunter 3 were :yeah: AMAZING :woot:

http://img94.imageshack.us/img94/1600/fop.png (http://img94.imageshack.us/i/fop.png/)

The General
04-03-10, 07:53 AM
WTF?! There were dynamic shadows in SH3?! Since when?! :o I played GWX like everybody else and I didn't see no shadows!

TheDarkWraith
04-03-10, 08:44 AM
WTF?! There were dynamic shadows in SH3?! Since when?! :o I played GWX like everybody else and I didn't see no shadows!

I had limited success with it. Due to too many problems with it the project was put on indefinite hold. But the ships had really good dynamic shadows when it was enabled :DL

TheDarkWraith
04-03-10, 08:52 AM
VIIA almost complete. Have to use a different material for the flagstaff as the color is wrong. I'll have to extract the textures from the conning tower and use one of them so the color is correct. The flag is customizable (as I love options) so the end user can use whatever they want for a flag. Next up will be trying to get it to reflect and adding shadows to it....


http://www.subsim.com/radioroom/picture.php?albumid=248&pictureid=1655


http://www.subsim.com/radioroom/picture.php?albumid=248&pictureid=1656

SeaWolf U-57
04-03-10, 09:14 AM
What no second flag option that's a shame :cry:
I liked the two flags in SH3 thanks for your hard work :salute:

TheDarkWraith
04-03-10, 09:18 AM
What no second flag option that's a shame :cry:
I liked the two flags in SH3 thanks for your hard work :salute:

you want the option for two flags? It's easy to add. Ok, I'll add it.

SeaWolf U-57
04-03-10, 09:30 AM
:()1: Thankyou RB.

thruster
04-03-10, 09:33 AM
OMG, darkwraith you are a deadset genuis!:yeah:

this is brilliant. ok, i'll take the inch and now try for the mile.....->

considering the success with the flag, would it be possible to script victory pennants too, ideally linked to the mission tally in the captains log?:hmmm: [if you dont ask you just dont know!?]:D

:salute:

TheDarkWraith
04-03-10, 09:41 AM
OMG, darkwraith you are a deadset genuis!:yeah:

this is brilliant. ok, i'll take the inch and now try for the mile.....->

considering the success with the flag, would it be possible to script victory pennants too, ideally linked to the mission tally in the captains log?:hmmm: [if you dont ask you just dont know!?]:D:salute:

Not sure. I haven't even tried to script anything to do with the ships or subs. I know I can script UI :D Right now I'm just concentrating on getting these setup and working in game. Maybe someone who knows more than I or who has already figured out how to do what you're asking can enlighten me before I figure it out on my own (if it's even possible). The flags are functional to say it best - they need a light map added to them (both the flag and flagstaff) and some other fine tuning and tweaking.

thruster
04-03-10, 09:57 AM
thanks mate, i love your work.:rock:

TheDarkWraith
04-03-10, 09:59 AM
:()1: Thankyou RB.

I wondered how long it would take you all to figure this out....:03:

new game, new name :D

tonschk
04-03-10, 10:54 AM
. Next up will be trying to get it to reflect and adding shadows to it....




The External Dynamic Shadows of Silent Hunter 5 need some tweaks because are not yet perfect


http://img402.imageshack.us/img402/4656/tweakexternalshadows.png (http://img402.imageshack.us/i/tweakexternalshadows.png/)

SeaWolf U-57
04-03-10, 11:12 AM
I wondered how long it would take you all to figure this out....:03:

new game, new name :D

I knew for some time Talent like yours is hard to hide :yeah:

New game New name New start I hope there is no hard feelings :06:
great to see you doing what you are good at again :salute:

TheDarkWraith
04-03-10, 11:17 AM
I knew for some time Talent like yours is hard to hide :yeah:

New game New name New start I hope there is no hard feelings :06:
great to see you doing what you are good at again :salute:

you said it right, new start no hard feelings :)

TheDarkWraith
04-03-10, 11:26 AM
What no second flag option that's a shame :cry:

http://www.subsim.com/radioroom/picture.php?albumid=248&pictureid=1658

http://www.subsim.com/radioroom/picture.php?albumid=248&pictureid=1657

now just have to make them reflect on the water (tried already but had nasty visual bug) and figure out how to add light maps to everything. Thinking about giving the second flag a differnent animation sequence so it doesn't 'mirror' the other flag all the time.

conus00
04-03-10, 12:20 PM
Very impressive.
I've got few questions:

(1) Will you release both versions - one and two flags? (personally I'm not fan of two of them)

(2) Is it gonna be possible to hoist/unhoist flag?

(3) Are you planning on adding it to other subs (VIIB, VIIC41 etc.)?

TheDarkWraith
04-03-10, 12:22 PM
Very impressive.
I've got few questions:

(1) Will you release both versions - one and two flags? (personally I'm not fan of two of them)

(2) Is it gonna be possible to hoist/unhoist flag?

(3) Are you planning on adding it to other subs (VIIB, VIIC41 etc.)?


1 - you'll be able to choose whether you want one, both, or none visible

2 - at the current time no

3 - yes, to all subs

gutted
04-03-10, 12:28 PM
This is awesome!

:rock:

conus00
04-03-10, 12:46 PM
1 - you'll be able to choose whether you want one, both, or none visible

2 - at the current time no

3 - yes, to all subs

Almost perfect! :yeah:

What happens to the flag in the case that you dive?
The reason I'm asking is that in SH3 there was a bug that flag's animation just froze and was frozen for the rest of the patrol (unless you unhoisted and hoisted again)

TheDarkWraith
04-03-10, 12:51 PM
Almost perfect! :yeah:

What happens to the flag in the case that you dive?
The reason I'm asking is that in SH3 there was a bug that flag's animation just froze and was frozen for the rest of the patrol (unless you unhoisted and hoisted again)

that must have been Anvart's version of the flags (I recall that he was the only one that I was aware of that did a remake of mine and I could be totally incorrect here)? In my version the flags never froze.
In this one the flags stay animated and disappear as you submerge and re-appear as you surface.

SeaWolf U-57
04-03-10, 12:55 PM
Racerboys Flags & pennants never had a problem
they were not displayed underwater they just disappeared
I'm not over bothered about the shadows because the flags
will look good anyway :rock:

conus00
04-03-10, 01:02 PM
that must have been Anvart's version of the flags (I recall that he was the only one that I was aware of that did a remake of mine and I could be totally incorrect here)? In my version the flags never froze.
In this one the flags stay animated and disappear as you submerge and re-appear as you surface.

Yes it was Anvart's version. I wasn't aware that there were more versions...
Anyway, looking forward to this one... :salute:

TheDarkWraith
04-03-10, 01:27 PM
Here are the current problems I'm trying to work out. This is the reflection problem and it appears (for now) that there will be no reflections for the flags - the flagstaff has a reflection though. There is a problem with animated meshes and reflections (ever notice that the AI ship's flags don't reflect?). You will also not be able to see the flags looking up from underwater though you will be able to see the flagstaff.

Here's the reflection problem (and I've seen this before when trying to get the dynamic shadows working in SH3. When I enabled the dynamic shadows I had this same problem with reflections). The red circled parts moves back and forth with the movement of the flags:
http://www.subsim.com/radioroom/picture.php?albumid=248&pictureid=1662

flagstaff visible looking up through water but flags are not:
http://www.subsim.com/radioroom/picture.php?albumid=248&pictureid=1659

flagstaff visible underwater but flags are not:
http://www.subsim.com/radioroom/picture.php?albumid=248&pictureid=1661

BUT quirky bug that if you are above the sub and it's submerged and you look down you see the flags (not that big of a deal but rather annoying):
http://www.subsim.com/radioroom/picture.php?albumid=248&pictureid=1660

I'm going to try and use a controller that let's me replace the object with a different object on water interaction to see if it takes care of this last bug above.

armin
04-03-10, 02:07 PM
3x Hooray for flag mod :salute:

loerelau
04-03-10, 02:10 PM
Very nice! Did they use the flags in real IRL as well? I really don't know.

Sailor Steve
04-03-10, 02:27 PM
In home or friendly ports, but not usually at sea. If forced to crash dive it would take to lone to bring the flag in. One possible exception might have been early in the war when they were stopping a ship to check its papers and cargo. It was common in the sailing days to identify yourself before approaching any other ship, which is why warships fly flags in the first place.

Nisgeis
04-03-10, 02:30 PM
Can you not just use a static mesh for the reflection object? The water surface should break up any static-ness of the flag.

TheDarkWraith
04-03-10, 02:40 PM
Can you not just use a static mesh for the reflection object? The water surface should break up and static-ness of the flag.

here is the reason why I report progress and problems found while developing. Great suggestion! :yeah: Though it won't be animated it will still give some kind of reflection (now to see if it works or not)

EDIT: doesn't work. Game has problems with reflections on objects added to the sub files.

Nisgeis
04-03-10, 03:20 PM
What sort of issues - does SH5 still use the 'simplified reflection model' way of doing things?

TheDarkWraith
04-03-10, 03:24 PM
What sort of issues - does SH5 still use the 'simplified reflection model' way of doing things?

it has the exact same controller for doing reflections as SH3 used but for some reason it doesn't work correctly when I add objects to the sub files. You see a HUGE reflection all over the screen superimposed on the water. I've tried every way I can think of to make it work and it will not. Even the static object for reflection (with it's visibility set to 0) displayed the exact same problem :nope: I've tried attaching the flagstaff and flags to every object feasible on the sub and the Turm and all give the same problem.

Nisgeis
04-03-10, 03:51 PM
Have you added the flag to the reflection mesh already there - I'm not sure that a 'second' reflection node would work - some controllers don't play well if they are duplicated. The 'reflection model' is invisible and also is a single simplified mesh. At least for ships. But you know that... :-)

TheDarkWraith
04-03-10, 03:55 PM
Have you added the flag to the reflection mesh already there - I'm not sure that a 'second' reflection node would work - some controllers don't play well if they are duplicated. The 'reflection model' is invisible and also is a single simplified mesh. At least for ships. But you know that... :-)

I use my own mesh and animation keyframes for the flags, not the ones the game already has. I've tried attaching the reflection controller to my original mesh, to a copy of the original mesh, to a whole new type 4/100 node, everything I can think of. Maybe someone will figure it out when I release it :06:

Nisgeis
04-03-10, 04:01 PM
What I mean is, is the model that you have added a part of the original 'reflection model' node? E.G. the original reflection model now has the flag model added to it and is still a single node? I think that's how it should be implemented.

TheDarkWraith
04-03-10, 04:05 PM
What I mean is, is the model that you have added a part of the original 'reflection model' node? E.G. the original reflection model now has the flag model added to it and is still a single node? I think that's how it should be implemented.

if I try and add it to the main Turm object that has a reflection controller added to it the game crashes.

Able72
04-03-10, 05:54 PM
Woot. Lookin forward to it.

Here's the flag I'll be flyin :D

http://t2.gstatic.com/images?q=tbn:lQWKmSqDQ493kM:http://hullconnect.com/pcmachelp/images/jolly-roger-flag.gif

TheDarkWraith
04-03-10, 06:03 PM
Woot. Lookin forward to it.

Here's the flag I'll be flyin :D

http://t2.gstatic.com/images?q=tbn:lQWKmSqDQ493kM:http://hullconnect.com/pcmachelp/images/jolly-roger-flag.gif

would you mind sending me a .dds of that skull and bones please? I like it :up:

Able72
04-03-10, 06:18 PM
I don't have a .dds of it. I'll have to figure out how to convert the image I found to that format in photoshop.

Here is the image location online. it's currently a .gif.

http://hullconnect.com/pcmachelp/images/jolly-roger-flag.gif

TheDarkWraith
04-03-10, 06:20 PM
I don't have a .dds of it. I'll have to figure out how to convert the image I found to that format in photoshop.

Here is the image location online. it's currently a .gif.

http://hullconnect.com/pcmachelp/images/jolly-roger-flag.gif

thanks! I have CS4 so I can convert it :up:

Able72
04-03-10, 06:21 PM
thanks! I have CS4 so I can convert it :up:

Excellent!!! Does this mean that this flag will be included with the mod on release as one of the options? ;)

TheDarkWraith
04-03-10, 06:50 PM
Excellent!!! Does this mean that this flag will be included with the mod on release as one of the options? ;)

I don't see why not. I'll have a folder called '\Flags' that I'll start putting flags in that I collect/are sent.

TheDarkWraith
04-03-10, 08:16 PM
ok my thinking here is to release this for just the VIIA currently in the hopes that someone can look over my code and see if they can figure out why I can't get reflections working (it was REALLY easy to do in SH3!). The more eyes on this the more possibilities there are to solving the 'problems' I have with it. What do you all say?

kylania
04-03-10, 08:33 PM
ok my thinking here is to release this for just the VIIA currently in the hopes that someone can look over my code and see if they can figure out why I can't get reflections working (it was REALLY easy to do in SH3!). The more eyes on this the more possibilities there are to solving the 'problems' I have with it. What do you all say?

No idea how to do that, but a flag on a VIIA would be nice! :up:

gutted
04-04-10, 12:35 AM
Since i just started a new career and am currently in a VIIA... thats fine with me!!!

TheDarkWraith
04-04-10, 12:38 AM
I released an alpha version (0.0.1) of this in the hopes that others might be able to assist with the problems I'm having with it. You can find it here: http://www.subsim.com/radioroom/showpost.php?p=1346859&postcount=1

Cthulhus
04-08-10, 08:44 AM
thanks !

Does it work for Type VIIB and tpe VIIC ?

:)

TheDarkWraith
04-08-10, 08:48 AM
thanks !

Does it work for Type VIIB and tpe VIIC ?

:)

currently no. Reason is I want to get the animations and some of the problems sorted out first before continuing on to other subs. That way I'm not doing double, triple, etc. rewrites and having to reposition the flags and flagstaff every time (which is a total PITA).

Cthulhus
04-08-10, 09:18 AM
Oki dokki :)