SUBSIM Radio Room Forums

SUBSIM Radio Room Forums (https://www.subsim.com/radioroom/index.php)
-   SH4 Mission Designers' Forum (https://www.subsim.com/radioroom/forumdisplay.php?f=222)
-   -   Playable Sub Names (https://www.subsim.com/radioroom/showthread.php?t=114787)

eweber 05-17-07 09:32 AM

Playable Sub Names
 
I noticed when creating a mission, the game assigns a random name for the player's sub. I don't won't this as i'm making historical missions and need to name the sub. SH3 would do this but SH4 apparently doesn't keep the name you assign.

Does anyone know how to keep the name you give in the game?

:-? ew

BlightLightning 05-17-07 05:24 PM

Changing The Sub Name...
 
Go to "My Documents\Sh4 and pick through all the files you can edit with Note
or Word - pad. You'll get the idea

Blight

eweber 05-19-07 10:36 AM

Quote:

Originally Posted by BlightLightning
Go to "My Documents\Sh4 and pick through all the files you can edit with Note
or Word - pad. You'll get the idea

Blight

Thx Blight,

I did this and was able to rename the sub if the mission is saved in-game. But i need to have it named right at the beginning of the mission. Looks like no-dice on the one.

Noticed all the packaged missions also generate random names....

:hmm:-ew

Argus00 05-24-07 05:27 AM

For a quick fix right now, if you can't wait:

Save a game IN BASE. Then, go to mydocuments/sh4/data/cfg/savegames/<most recent savegame folder>. Open up careertrack.upc in Notepad. Look for the name of your current boat (USS DRUM, USS BALAO, etc.) and change it to your liking. Also, have a looksee in the activeplayerunits.upc file as well, I can't remember right now if the unit name shows up here as well, or not.

For a permanent fix, I'd recommend Beery's solution (thanks, Beery!!!), which is to edit the cfg file for the type/types of sub for which you want to change name. I definitely reccommend this one the next time you fire up a new career.

Beery's solution:

Quote:

Originally Posted by Beery
The easiest way to do it is before you start a career - alter the Data\Roster\American\Submarine\SSGato.cfg file so that it only has one unit entry. The file should look like this:

[UnitClass]
ClassName=SSGato
UnitType=200
AppearanceDate=19411201
DisappearanceDate=19450902
DisplayName=US Gato
[Texture 1]
TextureName=data/Submarine/NSS_Gato/NSS_Gato_T01.tga
LightmapTextureName=data/Submarine/NSS_Gato/NSS_Gato_O01.tga
StartDate=19411201
EndDate=19421231
Frequency=1
[Texture 2]
TextureName=data/Submarine/NSS_Gato/NSS_Gato_T02.tga
LightmapTextureName=data/Submarine/NSS_Gato/NSS_Gato_O01.tga
StartDate=19430101
EndDate=19450901
Frequency=1


[Unit 1]
Name=USS Wahoo (SS-238)
DOC=19411201
DOD=19450902

That will give you the USS Wahoo every time you choose a Gato in a career.



All times are GMT -5. The time now is 04:55 AM.

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.