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-22-09, 08:36 PM   #1
seaplate hitman
Medic
 
Join Date: Jun 2009
Location: Blue Coral Sea
Posts: 168
Downloads: 305
Uploads: 0
Default how to add a start base

hello sir i would like to add a start base in my career. The purpose for the aspiration is to save game time. i know the tools is sh4mission editor .But i do not know the method,so i am looking forward to expert's help!Mang thanks for kindly help advanced.
seaplate hitman is offline   Reply With Quote
Old 08-22-09, 09:59 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 seaplate hitman View Post
hello sir i would like to add a start base in my career. The purpose for the aspiration is to save game time. i know the tools is sh4mission editor .But i do not know the method,so i am looking forward to expert's help!Mang thanks for kindly help advanced.
It depends where you want to start. If there is a base already there but it won't let you start a career then you can look at this MOD where I added Midway and see how the information is added. Just look for the entries in Careerstart.upc for Midway. The "IDLinkFlotilla=" should be set to the ID of flotilla in Flotillas.upc. And there needs to be missions for all subs.

http://www.subsim.com/radioroom/down...=1270&act=down

You need to add you base to the CareerStart.upc and Flotillas.upc. In Flotillas.upc make sure the "External BaseName= Name of the base in the mission editor".

If there isn't a base then open Mission Editor and open file/Land Units layer then go to the Campaigns/campaign folder and open the US_NavalBases.mis and add the new base to the map where you want it. Then point to the map where you want your sub to start inside or outside the harbor and look at the bottom status bar of the mission editor and copy the first two numbers and put into the Flotillas.upc as the DepartureDescription1, there will be a third number in the flotillas.upc, that is the heading of your sub.
Do the same for departureDescriptionout1 if you want to start outside the harbor.

I recommend you make a MOD to do this, do not change the original files.

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-24-09, 08:21 AM   #3
seaplate hitman
Medic
 
Join Date: Jun 2009
Location: Blue Coral Sea
Posts: 168
Downloads: 305
Uploads: 0
Default

thank you very much for you instruction in detail! i will have a try.
seaplate hitman is offline   Reply With Quote
Old 08-24-09, 08:34 AM   #4
seaplate hitman
Medic
 
Join Date: Jun 2009
Location: Blue Coral Sea
Posts: 168
Downloads: 305
Uploads: 0
Default

Sir thank you very much for you help. My goal is turning some Chinese ports into US naval base as Peal harbor. But Most Chinese ports were occupied by Japan, so What should i do?
Looking forward to your reply sincerely!

Last edited by seaplate hitman; 08-24-09 at 08:47 AM.
seaplate hitman is offline   Reply With Quote
Old 08-24-09, 11:20 AM   #5
peabody
Admiral
 
Join Date: Jan 2008
Location: New York State, USA
Posts: 2,390
Downloads: 126
Uploads: 7
Default

Quote:
Originally Posted by seaplate hitman View Post
Sir thank you very much for you help. My goal is turning some Chinese ports into US naval base as Peal harbor. But Most Chinese ports were occupied by Japan, so What should i do?
Looking forward to your reply sincerely!
That is entirely up to you where to put it. It depends on how 'historical' you want to be. You can put a base anywhere, even in the middle of the ocean. It won't be right, but it will work.

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-26-09, 03:24 PM   #6
seaplate hitman
Medic
 
Join Date: Jun 2009
Location: Blue Coral Sea
Posts: 168
Downloads: 305
Uploads: 0
Default

Ok sir . i have a try on it .but i do not know how to find the land uint layer? and at the bottom of status bar what should i can copy.
i am sorry i have no idea of these two base concept.so can you give me some help?
seaplate hitman is offline   Reply With Quote
Old 08-26-09, 04:57 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 seaplate hitman View Post
Ok sir . i have a try on it .but i do not know how to find the land uint layer? and at the bottom of status bar what should i can copy.
i am sorry i have no idea of these two base concept.so can you give me some help?
OK,Do this:

1. You don't want to change the original files, so you can copy the originals somewhere, but the best way is to make a MOD.
2 Making a MOD:
1. Somewhere on your harddrive or on a second hard drive is you have one make a folder. Name it "New Naval Base"
2. Inside "New Naval Base" add a folder call it "Data"
3. Inside the Data folder create a folder called "Campaigns" NOTE the s on the end of Campaigns.
4. Inside Campaigns folder create a folder called "Campaign" NOTE no s on the end.
5. Inside this folder you need to copy the file from SH4 called "USNavalBases.mis" You will find it in your Ubisoft/Silent Hunter Wolves of the Pacific/Data/Campaigns/Campaign folder. Copy it to the Campaign folder you just created so you are not working on the original.

Making the base.

1. Open Mission Editor
2. Go to File/Open Land Units Layer



3. Go to the folders you created and open "US_NavalBases.mis". DO NOT open from the game files, open the one you created.
4. You will have a map of all the US bases.
5. Go to the right and click on Land, then click the + beside "American" and find NB Naval Base and drag it where you want it on the map. You can move it after it is placed (but not while the 'hand' is seleted in the toolbar. Uncheck the hand before you move it) When you drop it on the map a window will open, in the box at the bottom name the base whatever you want. This is the name you will link to from the "External BaseName="



You can save with "File/Save Land Units Layer as.. and save as the USNavalBases.mis you created in the folders you set up.

Copy The "New Naval Bases" folder you created to the MODS folder and enable with JSGME. At this point you will have a base on the map but you can only refit, you can not start a career here or dock here. Start the game and test it, if the base is there you are ready to make it usable for a career start. Close the game and then disable the MOD.

To make it a base you can start a career from you have to follow the directions from the other post for CareerStart.upc and Flotillas.upc files.

So to do that you need starting locations.

6. Now to get starting locations for the sub in mission editor, just put the mouse pointer where you want the sub to start and look at the bottom of the page and you will see four numbers, you want the first two.



Write them down, and they will be used for the Depart locations. At this point it won't matter on the depart inside and outside the base because there are no docks at this point. So just pick three locations and put the numbers in this section of the Flotillas.upc, the third number is the heading for the sub, you can make this up depending what way you want the sub to face.:

DepartureDescription1= -18954703, 2562919, 45.918098
DepartureDescription2= -18954874, 2563059, 46.252201
DepartureDescriptionOut1= -18957616, 2548824, 242.189346

If the numbers have a minus sign in front of them, make sure you put it in or your sub could end up on the moon.


Now the easiest way to proceed, download the Midway mod above. Open your "New Naval Base" folder, open your 'Data' folder. Now in a separate window Open my "MidwayCareer" folder, Open my "Data" folder. Copy the UPCData folder in my Data folder to your Data folder. Now you have combined your base mod with my career start MOD.

Now open the UPCData folder and make the changes to the names Midway to your base name and putting in your start location numbers instead of mine.

Make sure the "IDLinkFlotilla=" in the CareerStart.upc should be set to the ID of flotilla in Flotillas.upc.
and

Make sure "External BaseName= Name of the base in the mission editor" That will be the name you typed into the window when you dropped the base on the map, and it must MATCH EXACTLY.

Good luck.

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-27-09, 09:02 AM   #8
seaplate hitman
Medic
 
Join Date: Jun 2009
Location: Blue Coral Sea
Posts: 168
Downloads: 305
Uploads: 0
Default

Many thanks for your kindly help. As what you said ,i still in the middle of hardship . you say put the mouse pointer where i would like the sub start,i will find 4 numbers in the bottom of this page.But in fact i can not find the 4 numbers .And the next one . The picture you showed is shiled in my web, so i can not have straight way to get a handle of the operation.i have send a private message to you .Imploring you can send me the picutres in the manner of attachment by mail .my mailbox boca2000@live.cn I am from China. nice to meet you sir! Appreciate your hard work!
seaplate hitman 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 11:52 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.