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

Reply
 
Thread Tools Display Modes
Old 04-03-07, 10:58 PM   #46
akdavis
Samurai Navy
 
Join Date: Mar 2005
Location: Fort Worth, Texas
Posts: 597
Downloads: 0
Uploads: 0
Default

I doubt the Rumanians had anything to do with it. I suspect Ubi lawyers at play here. (Also, please note that despite the PF difficulties, at no point did they have to pull the game of the shelves or remove something via a patch. Just because something is in PF doesn't mean that it wasn't an issue, or perhaps more importantly, a potential issue from a lawyer's perspective.)
__________________
-AKD
akdavis is offline   Reply With Quote
Old 04-04-07, 08:03 AM   #47
Barkhorn1x
Captain
 
Join Date: Apr 2002
Location: Davie, FL Grid DM 23
Posts: 539
Downloads: 59
Uploads: 0
Default

Look everyone - here is the situation = we are never going to get realistic medals from UBI - we are on our own on this one.

However, the least they could do is tell us - in detail - all of the files that drive the medal award system.
Barkhorn1x is offline   Reply With Quote
Old 04-04-07, 08:13 AM   #48
Beery
Admiral
 
Join Date: Nov 2004
Location: Silver Spring, MD, USA (but still a Yorkshireman at heart - tha can allus tell a Yorkshireman...)
Posts: 2,497
Downloads: 0
Uploads: 0
Default

Quote:
Originally Posted by Barkhorn1x
Look everyone - here is the situation = we are never going to get realistic medals from UBI - we are on our own on this one.

However, the least they could do is tell us - in detail - all of the files that drive the medal award system.
I think a big part of the problem is that, unlike SH3, a lot of SH4's config files are stuck in volume files, so are inaccessible unless we can unpack them.
__________________
"More mysterious. Yeah.
I'll just try to think, 'Where the hell's the whiskey?'"
- Bob Harris, Lost in Translation.

"Anyrooad up, ah'll si thi"
- Missen.
Beery is offline   Reply With Quote
Old 04-04-07, 08:50 PM   #49
Tobowsi
Seaman
 
Join Date: Mar 2007
Posts: 36
Downloads: 0
Uploads: 0
Default

I think we can figure out what the medals are supposed to be.

In fact, I think the "Medal of valor" is supposed to be the Medal of Honor, and the "Victory Cross" is supposed to be the Navy Cross. (Bear with me while I explain.)

For my first patrol, I was sent on a photo recon mission near Tokyo. After completing the objective, I was on my way out of the bay and noticed a Fuso BB docked at one of the harbors (I'd have to look at the map again to verify the locations), and I took the liberty of sinking it. I did some hunting and when I returned from my patrol, I was awarded the "Medal of valor". I took a screenshot.

The date on the "Medal of valor" screen was Dec. 10, 1941. (even though the patrol ended in January, but I apparently sank the BB on Dec. 10th)

On the next patrol, I sank mostly merchant ships and some of the DD's providing escort. When I returned, I was awarded the "Victory cross". I took a screenshot (I've actually taken one for each medal so far)

The date on the "Victory cross" screen was Jan. 17, 1942.

For my third patrol, I was awarded the "Victory cross" again for sinking merchant ships and a few of their escorts.

On the fourth patrol, I was awarded the "Victory cross" for sinking only merchant ships.

On the last (fifth) patrol, I happened to leave Pearl a couple days before the Battle of Midway. I found two different task forces and ended up taking out various warships including carriers, battleships, and so forth (was tired of only attacking merchants, LOL). When I returned home, I was awarded the "Medal of valor".

Unfortunately, all of the medal award screens are bugged. All of the awards show me as CO of the USS Trout, which was my first boat, and the one I used for the first three patrols. (My last two patrols have been as CO of the USS Drum.) All of the "Victory cross" screens have the same date of Jan. 17, 1942. Both of the "Medal of valor" screens show the same date of Dec. 10, 1941. The only thing that did carry over correctly each time was the rank.

Well, I was looking through the career file (....My Documents\SH4\data\cfg\UPCInitial\CareerTrack.upc) and found the following sections in it....

(under [CareerTrack 1.CareerStatusLast])
PlayerCurrentMedals=NULL,CMOH,Navy Cross,Navy Cross,Navy Cross,CMOH

[CareerTrack 1.CareerStatusSave 34]
ID=ID
Reason=CSS_Award
NameDisplayable=MT_CMOH
CurrentDate=1941-12-10 15:00:00
AwardReceived=MT_CMOH

[CareerTrack 1.CareerStatusSave 64]
ID=ID
Reason=CSS_Award
NameDisplayable=MT_NavyCross
CurrentDate=1942-01-17 01:22:04
AwardReceived=MT_NavyCross

[CareerTrack 1.CareerStatusSave 101]
ID=ID
Reason=CSS_Award
NameDisplayable=MT_NavyCross
CurrentDate=1942-03-01 18:24:03
AwardReceived=MT_NavyCross

[CareerTrack 1.CareerStatusSave 146]
ID=ID
Reason=CSS_Award
NameDisplayable=MT_NavyCross
CurrentDate=1942-04-13 18:41:51
AwardReceived=MT_NavyCross

[CareerTrack 1.CareerStatusSave 166]
ID=ID
Reason=CSS_Award
NameDisplayable=MT_CMOH
CurrentDate=1942-06-02 18:12:17
AwardReceived=MT_CMOH

Those match the screenshots I have of 3 Victory crosses and 2 Medals of valor, and the dates on the first two match the Medal of valor dated Dec 10, 1941 and the Victory cross dated Jan 17, 1942. They also match the order awarded of Medal of valor, Victory cross, Victory cross, Victory cross, and Medal of valor.

If I receive any other kinds of medals, I can look through the file again and compare that to what's on the screen after the patrol (and in the medal box on the desk). I also know that some of my crew have been awarded the "submarine service medal", "wounded medal", and "patrol star" and I'll see if I can find a config file with the crewmen's names and an equivalent award name listed as well.
Tobowsi is offline   Reply With Quote
Old 04-04-07, 09:11 PM   #50
Tobowsi
Seaman
 
Join Date: Mar 2007
Posts: 36
Downloads: 0
Uploads: 0
Default

OK, I just looked at the crew management screen and then for three of my crewmen (with a representative mix of medals) and found some more medals listed.

In the same directory (My Documents\SH4\data\cfg\UPCInitial), there's a file called ActiveUserPlayerUnits.upc. Like the CareerTrack.upc file mentioned in my last post, it has a modified date of the last time I made a change/save in the game.

I have one crewman by the name of Joseph R. Mann whose only medal is the "wounded medal". Here's what I found for him (I'll snip most stuff out):

[UserPlayerUnit 1.Compartment 1.CrewMemberSlot 1.CrewMember]
ID=HPOTorp
NameDisplayable=Joseph R. Mann
(snip)
Medals=Bronze Star
(snip)

Luke W. Brown has only the "patrol star". Here's what I found for him:

[UserPlayerUnit 1.Compartment 2.CrewMemberSlot 3.CrewMember]
ID=CPOEng
NameDisplayable=Luke W. Brown
(snip)
Medals=Silver Star
(snip)

Fitzhugh Roger Bell has the "submarine service medal", the "wounded medal", and the "patrol star". Here's what's shown for him:

[UserPlayerUnit 1.Compartment 3.CrewMemberSlot 1.CrewMember]
ID=HOFFComm
NameDisplayable=Fitzhugh Roger Bell
(snip)
Medals=Silver Star,Bronze Star,Purple Heart
(snip)


So from these three guys, it looks to me like:
"wounded medal" = Bronze Star
"patrol star" = Silver Star
"submarine service medal" = Purple Heart

I know, it's messed up, but those are the medals shown on the crew management screen and that's what the files say...

If you all can confirm any other medals, that'd be cool, but this is what I've found so far.
Tobowsi is offline   Reply With Quote
Old 04-04-07, 10:34 PM   #51
Tobowsi
Seaman
 
Join Date: Mar 2007
Posts: 36
Downloads: 0
Uploads: 0
Default

OK, some more research here... LOL. (I keep adding new posts in case you've already read the previous ones in the meantime)

I went into SH4 and did a save game so I could ensure I knew which set of files was the one I wanted to edit.

So under "...\My Documents\SH4\data\cfg\SaveGames" I found the folder with the latest timestamp. In that folder, there is an ActiveUserPlayerUnits.upc file. There is also a UPCInitial folder with an ActiveUserPlayerUnits.upc file in that directory as well, so I changed that one.

In the "...\My Documents\SH4\data\cfg\UserPlayerContext" folder there is a file called Medals.upc which contains the following info:

Quote:
[Medal 1]
ID=Purple Heart
TreeType=USNavy
NameDisplayable=Purple Heart
MedalType=MT_PurpleHeart

[Medal 2]
ID=CMOH
TreeType=USNavy
NameDisplayable=Congressional Medal of Honor
MedalType=MT_CMOH

[Medal 3]
ID=Navy Cross
TreeType=USNavy
NameDisplayable=Navy Cross
MedalType=MT_NavyCross

[Medal 4]
ID=Dist Service Medal
TreeType=USNavy
NameDisplayable=Navy Distinguished Service Medal
MedalType=MT_DistSerMedal

[Medal 5]
ID=Silver Star
TreeType=USNavy
NameDisplayable=Silver Star
MedalType=MT_SilverStar

[Medal 6]
ID=Bronze Star
TreeType=USNavy
NameDisplayable=Bronze Star
MedalType=MT_BronzeStar
From looking at the CareerTrack.upc and ActiveUserPlayerUnits.upc files and how the medals in there appear to go off the "ID" tag, I decided to go into the ActiveUserPlayerUnits.upc file for the latest game save and modify some crewmembers who previously had no medals whatsoever to see if I could confirm some things.

So I found Kevin N. Peterson in the "units" file and said that "Medals=CMOH".

I found Duncan J. Lee and said that "Medals=Navy Cross".

Then I went and found Augustus A. Acker and said that "Medals=Dist Service Medal".

I made those medal modifications in both ActiveUserPlayerUnits.upc files in the savegame directory, both under the main directory and the UPCInitial directory. (...\SaveGames\[number]\ActiveUserPlayerUnits.upc and ...\SaveGames\[number]\UPCInitial\ActiveUserPlayerUnits.upc)

I then went into SH4 and loaded the latest save I had made to see if my changes took effect and what the results would be. When I looked at the three crewmen I had "awarded", I found the following:

Kevin N. Peterson had the Victory cross. ("Medals=CMOH")
Duncan J. Lee had the Medal of valor. ("Medals=Navy Cross")
Augustus A. Acker had the Campaign star. ("Medals=Dist Service Medal")

OK, something's screwy here. In my own CareerTrack file, it showed I had received a CMOH when the screenshot showed a Medal of valor. Now for the crewmen, telling the game to give Kevin N. Peterson the CMOH ends up showing a Victory cross on the crew management screen. Also vice versa. I tell the game to give Duncan J. Lee a Navy Cross and it shows him with the Medal of valor, yet in my CareerTrack file, when it says I got a Navy Cross, it showed me a screenshot after a patrol saying I was awarded a Victory cross. If the management screen followed the same medals as I've seen awarded to me after patrols, Kevin N. Peterson should be showing a Medal of valor and Duncan J. Lee should be showing a Victory cross.

It appears that the Campaign star might be the Navy Distinguished Service Medal.

However, there seems to be a conflict between my own CareerTrack file and the crew's ActiveUserPlayerUnits file. There's also that question on why the config file would say "Bronze Star" and the crew would have a "Wounded medal" or why the config would say "Purple Heart" and the crew would show a "Submarine service medal".

It'd be nice if the devs would actually fix these things, but anyway, I thought I'd share what I've found up until now.
Tobowsi is offline   Reply With Quote
Old 04-04-07, 11:10 PM   #52
akdavis
Samurai Navy
 
Join Date: Mar 2005
Location: Fort Worth, Texas
Posts: 597
Downloads: 0
Uploads: 0
Default

Hmm...this bears the hallmarks of good work being hurriedly undone.
__________________
-AKD
akdavis is offline   Reply With Quote
Old 04-04-07, 11:16 PM   #53
fullmetaledges
Chief
 
Join Date: Jul 2006
Location: Utah
Posts: 314
Downloads: 120
Uploads: 0
Default

@ Tobowsi I did all the samethings you have before releasing this mod, thats why I changed the order.
fullmetaledges is offline   Reply With Quote
Old 04-04-07, 11:52 PM   #54
jmjohnson36
Engineer
 
Join Date: Mar 2007
Location: Kansas City, KS
Posts: 203
Downloads: 10
Uploads: 0
Default Above is correct

As a Military Veteran of 18 years, the display of US Military medals in NOT illegal, matter of fact you now can display military Medals and badges on civilian clothes... as long as you display them correctly.

I am the winner of the Purple Heart, Bronze Star, and several others.
US ARMY 1985-2003
__________________
"Be my friend or be a mushroom cloud."~If I was President...Iran would have a nuke...they just wouldnt like the delivery method...
<AHREF="http://www.subsim.com/radioroom/showthread.php?t=120621"_blank">JSGME Quick Reference</A>

Major US ARMY RANGERS
1985-2003
jmjohnson36 is offline   Reply With Quote
Old 04-04-07, 11:53 PM   #55
Tobowsi
Seaman
 
Join Date: Mar 2007
Posts: 36
Downloads: 0
Uploads: 0
Default

Quote:
Originally Posted by fullmetaledges
@ Tobowsi I did all the samethings you have before releasing this mod, thats why I changed the order.
Just making sure, because from what I've seen, it shows a different order that what I saw in the original post. Guess I missed the update.

I saw the original menu.txt file as saying:
5150=Medals
5151=Submarine service medal
5152=Wounded medal
5153=Patrol star
5154=Medal of valor
5155=Campaign star
5156=Victory cross

Your original post shows:
5150=Medals
5151=Purple Heart
5152=Bronze Star
5153=Silver Star
5154=Navy Distinguished Service Medal
5155=Navy Cross
5156=Medal of Honor

From the files I looked at, the first half match up but it's looking like it could be
5154=Medal of Honor
5155=Navy Distinguished Service Medal
5156=Navy Cross

That's if the CareerTrack file (and awards shown to player after patrols) is correct rather than the crew file when it comes to the CMOH and Navy Cross. Even so, the crew screen shows a Campaign star when the .upc file has the Dist Service Medal.

The game had awarded me Medals of valor when the CareerTrack file said I got Medals of Honor and your menu.txt hinted MOV's were Distinguished Service Medals, and I had received Victory crosses when the CareerTrack file said I got Navy Crosses and your menu.txt file hinted those were Medals of Honor.

I noticed a discrepancy and saw talk of not being able to find .cfg and other files related to medals, noticed these things, and thought I'd mention them (especially since these files aren't even on the same drive as the game on my system, so they probably wouldn't show up in a search of game files for other people as well).

Didn't intend to step on any toes, just add some info that may not have been seen otherwise because of the different location of the data.
Tobowsi is offline   Reply With Quote
Old 04-04-07, 11:54 PM   #56
fullmetaledges
Chief
 
Join Date: Jul 2006
Location: Utah
Posts: 314
Downloads: 120
Uploads: 0
Default

Quote:
Originally Posted by jmjohnson36
As a Military Veteran of 18 years, the display of US Military medals in NOT illegal, matter of fact you now can display military Medals and badges on civilian clothes... as long as you display them correctly.

I am the winner of the Purple Heart, Bronze Star, and several others.
US ARMY 1985-2003
I didn't know that but why would I want to do such a thing
fullmetaledges is offline   Reply With Quote
Old 04-05-07, 12:01 AM   #57
fullmetaledges
Chief
 
Join Date: Jul 2006
Location: Utah
Posts: 314
Downloads: 120
Uploads: 0
Default

Quote:
Originally Posted by Tobowsi
Quote:
Originally Posted by fullmetaledges
@ Tobowsi I did all the samethings you have before releasing this mod, thats why I changed the order.
Just making sure, because from what I've seen, it shows a different order that what I saw in the original post. Guess I missed the update.

I saw the original menu.txt file as saying:
5150=Medals
5151=Submarine service medal
5152=Wounded medal
5153=Patrol star
5154=Medal of valor
5155=Campaign star
5156=Victory cross

Your original post shows:
5150=Medals
5151=Purple Heart
5152=Bronze Star
5153=Silver Star
5154=Navy Distinguished Service Medal
5155=Navy Cross
5156=Medal of Honor

From the files I looked at, the first half match up but it's looking like it could be
5154=Medal of Honor
5155=Navy Distinguished Service Medal
5156=Navy Cross

That's if the CareerTrack file (and awards shown to player after patrols) is correct rather than the crew file when it comes to the CMOH and Navy Cross. Even so, the crew screen shows a Campaign star when the .upc file has the Dist Service Medal.

The game had awarded me Medals of valor when the CareerTrack file said I got Medals of Honor and your menu.txt hinted MOV's were Distinguished Service Medals, and I had received Victory crosses when the CareerTrack file said I got Navy Crosses and your menu.txt file hinted those were Medals of Honor.

I noticed a discrepancy and saw talk of not being able to find .cfg and other files related to medals, noticed these things, and thought I'd mention them (especially since these files aren't even on the same drive as the game on my system, so they probably wouldn't show up in a search of game files for other people as well).

Didn't intend to step on any toes, just add some info that may not have been seen otherwise because of the different location of the data.
not at all, good work the file that I would really like to find tho is the one that tells the game how many tons you need to sink for each medal. I changed the order because this file hasn't been found and in the original order the game seemed to hold the navy cross as the highest award. I have been having successful patrols and my crew and I seem to be getting the right awards. Mostly bronze stars for my crew.
fullmetaledges is offline   Reply With Quote
Old 04-05-07, 12:01 AM   #58
jmjohnson36
Engineer
 
Join Date: Mar 2007
Location: Kansas City, KS
Posts: 203
Downloads: 10
Uploads: 0
Default :)

July 4th....or when your old and have nothing else to do...OLD Ladies dig medals LOL
__________________
"Be my friend or be a mushroom cloud."~If I was President...Iran would have a nuke...they just wouldnt like the delivery method...
<AHREF="http://www.subsim.com/radioroom/showthread.php?t=120621"_blank">JSGME Quick Reference</A>

Major US ARMY RANGERS
1985-2003
jmjohnson36 is offline   Reply With Quote
Old 04-05-07, 12:04 AM   #59
fullmetaledges
Chief
 
Join Date: Jul 2006
Location: Utah
Posts: 314
Downloads: 120
Uploads: 0
Default

oh ok, I'm not old enough to wear my vfw hat with medals on it and not feel goofy so until them it will sit in my desk.
fullmetaledges is offline   Reply With Quote
Old 04-05-07, 12:11 AM   #60
jmjohnson36
Engineer
 
Join Date: Mar 2007
Location: Kansas City, KS
Posts: 203
Downloads: 10
Uploads: 0
Default OK OK

For one in the game I won the Medal of Honor...however it is shown wrong in the rewards area, I actually am being awarded the Dist. Service Medal.....I know I have one on the wall here at my office...
__________________
"Be my friend or be a mushroom cloud."~If I was President...Iran would have a nuke...they just wouldnt like the delivery method...
<AHREF="http://www.subsim.com/radioroom/showthread.php?t=120621"_blank">JSGME Quick Reference</A>

Major US ARMY RANGERS
1985-2003
jmjohnson36 is offline   Reply With Quote
Reply


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:54 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.