PDA

View Full Version : Choosing A Specific Submarine????


cdrsubron7
09-29-07, 08:14 PM
Just a quick question for the experts here. I'm working on a new custom mission (a war patrol actually) and want to use a specific submarine for the mission. How can I accomplish this? The submarine in question is the USS Salmon (SS-182).

tater
09-29-07, 08:30 PM
Open the .mis file with notepad or something.

You'll see your sub in there someplace:

[Unit 1]
Name=USS Sandlance
Class=SSGato
Type=200
Origin=American
Side=1
Commander=1
CargoExt=-1
CargoInt=-1
CfgDate=19440101
DeleteOnLastWaypoint=false
DockedShip=false
GameEntryDate=19411231
GameEntryTime=0
GameExitDate=19451231
GameExitTime=0
EvolveFromEntryDate=false
Long=16726248.000000
Lat=3886134.000000
Height=0.000000
Heading=50.116501
Speed=5.000000
CrewRating=3
DelayMin=0
ReportPosMin=-1
ReportPosProbability=100
RandStartRadius=0.000000
NextWP=0

Name= put the name you want there, if that line is missing, add it.

Note: if you want the sub to not be early war, make sure you set the cfg date!

Cheers,

tater

cdrsubron7
09-29-07, 09:33 PM
LOL, I wonder what I did wrong. Here's what my unit 1 one looks like, tater.


[Unit 1]
Name= _US BB Maryland PH
Class=BBColorado
Type=11
Origin=American
Side=0
Commander=0
CargoExt=-1
CargoInt=-1
CfgDate=19410901
DeleteOnLastWaypoint=false
DockedShip=true
GameEntryDate=19411101
GameEntryTime=0
GameExitDate=19411212
GameExitTime=0
EvolveFromEntryDate=false
Long=-18954414.000000
Lat=2563855.000000
Height=0.000000
Heading=220.468994
Speed=0.000000
CrewRating=3
DelayMin=0
ReportPosMin=-1
ReportPosProbability=100
RandStartRadius=0.000000
NextWP=0



I'd swear I didn't put one US BB in this mission.


BTW, thanks for taking the time to help me out, tater. :up:

tater
09-29-07, 09:36 PM
Your sub might not be unit 1. The units are serial, the 1st one you place is 1, then 2, and so forth. Your sub might be Unit 15.

Name the one you want. It'll be the one that is a US sub class ;)

tater

cdrsubron7
09-29-07, 09:42 PM
Your sub might not be unit 1. The units are serial, the 1st one you place is 1, then 2, and so forth. Your sub might be Unit 15.

Name the one you want. It'll be the one that is a US sub class ;)

tater



Ahhh, I see. Thanks for your help, tater :up:

cdrsubron7
09-29-07, 10:35 PM
[Unit 27]
Name=USS Salmon SS-182
Class=SSSalmon
Type=200
Origin=American
Side=1
Commander=1
CargoExt=-1
CargoInt=-1
CfgDate=19420101
DeleteOnLastWaypoint=true
DockedShip=true
GameEntryDate=19420101
GameEntryTime=0
GameExitDate=19451231
GameExitTime=0
EvolveFromEntryDate=false
Long=13863540.000000
Lat=-3852070.000000
Height=0.000000
Heading=274.000000
Speed=0.000000
CrewRating=3
DelayMin=0
ReportPosMin=-1
ReportPosProbability=100
RandStartRadius=0.000000
NextWP=0


I've changed the name, but still see USS Stingray SS-186 when I start the custom mission I've created. What am I missing?

tater
09-29-07, 10:39 PM
What does the sub name say under properties for the sub in the editor?

Also, is this in the briefing, os the actual sub name? The briefing text is under language localization in the editor (or open the tsr text file).

tater

cdrsubron7
09-29-07, 10:49 PM
What does the sub name say under properties for the sub in the editor?

Also, is this in the briefing, os the actual sub name? The briefing text is under language localization in the editor (or open the tsr text file).

tater


It says USS Salmon SS-182 in answer to both your questions , tater.

tater
09-29-07, 10:58 PM
can you up the mission file so i can look at it?

tater

cdrsubron7
09-29-07, 11:08 PM
can you up the mission file so i can look at it?

tater


http://files.filefront.com/WP06+Camrah+Baymis/;8679050;/fileinfo.html

tater
09-29-07, 11:26 PM
Oh, a war patrol.

Hmmm. I missed that part reading it.

Should be the same though. Open the WP03 mission, lifeguard. That sets the boat to Albacore. All the others are generic. Does that one work?

As it is, it looks fine to me, just the same as the WP03 in terms of sub name.

tater

tater
09-29-07, 11:36 PM
OK, that Albacore mission doesn't pick the sub right, either.

Looks like the WP mode pulls ships like the career does.

tater
09-29-07, 11:40 PM
Looking at Campaign.cfg, the only difference between a single mission and a single patrol is that the scripted battles (midway, etc) don't get loaded in single missions, but they do in single patrols. That and the rtb maybe.

cdrsubron7
09-30-07, 10:26 AM
Looking at Campaign.cfg, the only difference between a single mission and a single patrol is that the scripted battles (midway, etc) don't get loaded in single missions, but they do in single patrols. That and the rtb maybe.



So it's not possible to change the name of the submarine than, tater? If I get your drift right.

tater
09-30-07, 10:43 AM
Dunno, bu the devs made that one war patrol with a specific sub name---and it doesn't work.

So I bet it is not possible. What I suggested is what they did, and what you do in a single mission (where it works).

tater

tater
09-30-07, 10:50 AM
Actually, there IS a way to do it.

When you make your war patrol, JSGME it.

So you'll have modname/Data/SinglePatrols/WP6_Camrahn/WP5_Camrahn.mis right?

Also, inside Data, put /Roster/American/Submarines/SSSalmon.cfg where you've altered the roster cfg to have only ONE Salmon named, Stingray (or whatever).

To play the patrol, folks will have toload the mod, then unload it when they are done.

cdrsubron7
09-30-07, 03:06 PM
Sound like too much trouble to go through just to get one sub. I think I'll just leave it as a Salmon class sub and leave it at that. I appreciate the time you took to help me out, tater. Thanks. :yep: