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 08-17-09, 02:16 PM   #1
McHub532
Seasoned Skipper
 
Join Date: Dec 2008
Location: Arizona
Posts: 665
Downloads: 104
Uploads: 0
Changing Crew Icons and Crew Names

Is there a way I can go in and put IRL friends pictures on the crew members icons and also change the crew member names to names of my IRL friends?
__________________
Thomas Jefferson - "When the people fear their government, there is tyranny; when the government fears the people, there is liberty."

McHub532 is offline   Reply With Quote
Old 08-17-09, 02:35 PM   #2
peabody
Admiral
 
Join Date: Jan 2008
Location: New York State, USA
Posts: 2,390
Downloads: 126
Uploads: 7
Default

Quote:
Originally Posted by McHub532 View Post
Is there a way I can go in and put IRL friends pictures on the crew members icons and also change the crew member names to names of my IRL friends?
Crewnames are in the UPCData/UPCCrewData/CrewMembersNames.upc but the game pick a first, middle and last name randomly from what I have been told.

For the icons, I think they are in Menu/Skins/American/Gui/Layout/CrewSystemsManagement.dds Not positive on that one.

Peabody
__________________

System Spec: Gigabyte GA-965P-DS3, PentiumD Dual Core Presler 945 3.4Ghz, Gigabyte Geforce 7600GS, 2-1GB Corsair XMS2 800Mhz in Dual Channel, 2-WD 250 SATA 3Gb/s, Onboard Realtek HD 7.1 Audio, DVD ROM, DVD burner, Hiper 580 Watt Power supply, WinXP SP2.

peabody is offline   Reply With Quote
Old 08-18-09, 12:12 PM   #3
McHub532
Seasoned Skipper
 
Join Date: Dec 2008
Location: Arizona
Posts: 665
Downloads: 104
Uploads: 0
Default

Awesome, thank you Peabody. I'll go tweak around and see if I can learn how to modify the files.


<< Edit a few minute later >>
Oh, I see. It has a list of first names and a separate list of last names and another list of middle names... it just randomly pulls out one name off each list to make up the crew. Hmm...

Maybe I can find a way to go into my saved game once they are already determined and change them there to IRL friend names. I'll give that a shot.
__________________
Thomas Jefferson - "When the people fear their government, there is tyranny; when the government fears the people, there is liberty."

McHub532 is offline   Reply With Quote
Old 08-18-09, 01:38 PM   #4
McHub532
Seasoned Skipper
 
Join Date: Dec 2008
Location: Arizona
Posts: 665
Downloads: 104
Uploads: 0
Default Crew Names Figured Out

Okay.. this is how I was able to do the crew names...

Using a program called Textpad I was able to manipulate and save the following file...

>Documents
.....>SH4 (This is the Silent Hunter folder on my computer, yours may differ)
..........>Data
...............>CFG
....................>SaveGames
.........................>000000b
..............................>UPCInitial
...................................ActiveUserPlaye rUnits.upc

The 000000b subfolder is my only saved file, I deleted all other saved files to simplify finding the correct file to manipulate.

In the file - ActiveUserPlayerUnits.upc the programing is broken down into sections of the boat.

1. Compartment 1.CrewMemberSlot 1.CrewMember

1. Compartment means the first compartment the program uses in the file and in this case it's the Stern Tube compartment.

1. CrewMemberSlot means the first person on that -shift-, or the leader of that shift. 2. CrewmemberSlot would mean the crew leader of the 2nd shift.

1. CrewMember means which member of the shift you are talking about.

The breakdown of compartments in TMO 1.8 beta are as follows.
1. Compartment = Stern Torpedo Tubes
2. Compartment = Engine Room
3. Compartment = Control Room
4. Compartment = Radio Room
5. Compartment = Forward Torpedo Tubes
6. Compartment = Hogan's Alley
7. Compartment = Foredeck Gun
8. Compartment = Rear AA Gun
9. Compartment = Tower AA Gun
10. Compartment = Foredeck AA Gun
11. Compartment = Watchman

Now, the way it breaks it down is that it goes through:
<Compartment> <Shift Leader> : For Shift 1
<Compartment> <Shift Leader> : For Shift 2
<Compartment> <Shift Leader> : For Shift 3

And then it goes into the lesser ranked guys in each shift, position 2 of Shift 1, position 3 of shift 1, etc.

When I made modifications in the file at any file -above- the saved game the names did not change. The changes had to take place in the most recent saved game in order for the changes to take effect.

---------
As far as the icons/pictures go I think that might be a dead end. The file seems to break down the icon into just a few categories.
1. Seaman
2. Petty Officer
3. Lieutenant
4. Officer

The file data where you change the names sets the image by looking at an attribute:
Image=1
Image=2
Image=3
Image=4

I think it just goes and looks up whatever image 1, 2, 3 or 4 is assigned to and puts that in the position in the game. I don't think there is any way I can put in 84 different pictures.. well.. maybe there is.. I have to research what DDS Format files are and how to modify them now.

Sorry.. just learning, everything is new and exciting.
__________________
Thomas Jefferson - "When the people fear their government, there is tyranny; when the government fears the people, there is liberty."

McHub532 is offline   Reply With Quote
Old 08-18-09, 02:30 PM   #5
McHub532
Seasoned Skipper
 
Join Date: Dec 2008
Location: Arizona
Posts: 665
Downloads: 104
Uploads: 0
Default

Okay, downloaded a program called GIMP and then had to download a pluggin so it could read/edit/save DDS format files. I then went to the crew pictures and opened up the file and it looked like this....



Now what's the idea for me to do now? Get my own picture and get it exactly the same size as the pictures shown in this file.. and then just cut/paste them over top of the pictures here.. .and save the file?
__________________
Thomas Jefferson - "When the people fear their government, there is tyranny; when the government fears the people, there is liberty."

McHub532 is offline   Reply With Quote
Old 08-18-09, 04:27 PM   #6
McHub532
Seasoned Skipper
 
Join Date: Dec 2008
Location: Arizona
Posts: 665
Downloads: 104
Uploads: 0
Default

Yep, I was right (unfortunately)....

I took a picture of myself and cut it down to the right pixel size and then slapped it into the DDS format file over top of the officer picture in the upper left of the post above.

I loaded the game and 2 different people in the submarine had my face.

You only have like 12 icons/face pictures.. and it all depends on the crew member's rank as to what icon/picture it uses for the face of the crew member.

Hmmm... Still wish I could go in and put in custom pictures of the crew members...

I guess I could have 12 different IRL friend pictures in there and I'd just have to put up with it having repeat/multiple pictures for different people.

Multiple-Personality Disorder Crew?
__________________
Thomas Jefferson - "When the people fear their government, there is tyranny; when the government fears the people, there is liberty."

McHub532 is offline   Reply With Quote
Old 08-18-09, 06:06 PM   #7
peabody
Admiral
 
Join Date: Jan 2008
Location: New York State, USA
Posts: 2,390
Downloads: 126
Uploads: 7
Default

Quote:
Originally Posted by McHub532 View Post
Multiple-Personality Disorder Crew?
Looks that way.

Peabody
__________________

System Spec: Gigabyte GA-965P-DS3, PentiumD Dual Core Presler 945 3.4Ghz, Gigabyte Geforce 7600GS, 2-1GB Corsair XMS2 800Mhz in Dual Channel, 2-WD 250 SATA 3Gb/s, Onboard Realtek HD 7.1 Audio, DVD ROM, DVD burner, Hiper 580 Watt Power supply, WinXP SP2.

peabody 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 02:57 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 1995- 2025 Subsim®
"Subsim" is a registered trademark, all rights reserved.