SUBSIM Radio Room Forums

SUBSIM Radio Room Forums (https://www.subsim.com/radioroom/index.php)
-   SH4 Mods Workshop (https://www.subsim.com/radioroom/forumdisplay.php?f=219)
-   -   [TEC] Habour issues... (https://www.subsim.com/radioroom/showthread.php?t=229829)

Senf-Man82 02-22-17 04:26 PM

Habour issues...
 
Hey folks,

does anybody know how to shift the player start postition in port? For instance in Singapor, when I want to start there, my ships rear sticks inside the quay wall! Annoyes the cr... out of me:doh:

propbeanie 02-22-17 07:41 PM

OK, I might be off a pinch (no more than 10 yards) with my memory, but try this:

1. Open the Mission Editor.
2. Load up the Campaign_Loc.mis file from Data / Campaigns / Campaign folder

Your screen may look like this:
Singapore, zooming in, full-sized window
http://i1381.photobucket.com/albums/...psm6cjjou9.jpg

3. You need to be able to see the bottom status bar of the Mission Editor, so hover your mouse over the top border of the app until you get a double-ended arrow icon, then click and drag down some, so that you make the ME window smaller. Then click and drag the title bar up a bit, so that you can see that bottom status bar:
Singapore, zooming in, down-sized window, bottom status bar now visible
http://i1381.photobucket.com/albums/...ps4uksloyw.jpg

4. You'll be using that info down there in just a bit. I've zoomed all the way in on top of the upper left dock, where it says "Singapore, and I'm holding my mouse icon about where that red dot is in this picture:
Singapore, zoomed in all the way, red dot is where the mouse is, and the read-out down in the bottom status bar - use those figures
http://i1381.photobucket.com/albums/...psghitfell.jpg

5. Now, use a text editor and open Flotillas.upc in the Data / UPCData / UPCCampaignData folder and scroll to your flotilla. As an example, I've copied the first flotilla stuff here:

[Flotilla 1.Base 1]
ID= PearlHarbor
NameDisplayable= Pearl Harbor, Hawaii
ExternalBaseName=Pearl Harbor
AvailabilityInterval= NULL, NULL
DepartureDescription1= -18954703, 2562919, 45.918098 ; Enum of available points, choose one randomly each time a patrol is started
DepartureDescription2= -18954874, 2563059, 46.252201

DepartureDescriptionOut1= -18957616, 2548824, 242.189346 ; Enum of starting points for when the player selects the option to start outside the base

6. The part in orange is where the digits are you put from the bottom of the ME status bar. Notice that for Pearl Harbor here, there are two. The semi-colon stuff on the first line is a comment. Notice that there are two lines there, DepartureDescription1 and 2, for two starting locations in the Harbor. Outside the harbor (DepartureDescriptionOut1) only has the one. The Negative number means you're East of the IDL (I think...). It does not take much to move your boat, and the only way to test what you did is to start the game a do a career and then a patrol... I can be a bother... Hopefully, I'm not steering you wrong, or forgot something... :o
:salute:

Edit: I just happened to think (:o + :doh:), if you're doing a SingleMission, it's slightly different (:har:) and easier to boot...

1. Open the Mission Editor
2. Load your Single Mission
3. Now click on the "File" menu again, and then "Merge..." about halfway down.
4. That will bring a pop-up with "Mark merge data as saveable " with a little tick box next to it. Be sure that it is NOT selected, so that you do NOT merge the data, and click "OK".
5. That brings up a file open dialog again, and now you want to choose the Campaign_LOC.mis file, as above.
6. If need be, you could also "Merge" Jap_HarborTraffic.mis, etc., just to be certain of the opposing traffic. Some of those files do have vessels "docked" along some of the quays.
6. Zoom in to your Singapore area, find your Mission's player sub, and move it as necessary.
7. If you did things correctly, Save it, and it will save just the Single Mission stuff and NOT the other "layers" you "Merged".

As always, it's best to work on copies of the files, just in case the feller giving you the instructions is incorrect, or in case you hit an incorrect button... just sayin'... :up:

Senf-Man82 02-23-17 12:15 PM

Thanks mate:up:

that did it,one more issue solved!! This is for my Takao-mod and gets me a lot further:yeah:

Leaves me with two more things to do map wise.

1st: game crashes while on delivery mission (usually first objective on axis campaign) at the point when you press the botton to send off the boat...

2nd: I am desperatly looking for a way to alter my own map contact to be able to send out a recon plane like land airbases and later in career like the jap. carriers you can click on in captain abilities.

propbeanie 02-23-17 01:52 PM

You're building this in the German campaign I take it?

As for the launching a boat, keltos01 and I have been discussing that very thing for his Climb Mount Niitaka Japanese sub campaign, built on the German side. We're thinking that the "ObjType=" setting under the [Objective XX] area of an Insertion MIS file might determine the "load-out" of the boat that you'll launch, which is the "CMD_small_boat" in the Sea folder, and in the American & German sides, the "SmallBoat.cfg" in the Roster / Country / Sea folder. Japan does NOT have one, so you'll have to add one of those in, and bring the load-out stuff over also (which I'm forgetting where that is right now... yikes :o)...

As for launching a plane, I don't know about that. I do know that CapnScurvy added an airgroup to some of the Japanese CA and CL class vessels in FotRSU, and they do spawn, just not in view of the player. I haven't ever looked into that "Call-in Recon" stuff on the German side, but probably the Japanese side doesn't have functionality built-in, but since it's in the German side, like the commando raft, can probably be copied over and the Nationality changed...

Senf-Man82 02-24-17 07:56 AM

Thanks my friend, it works now!:salute:

It seems I can learn a lot from you. I really appricate your help:yeah:

The list of things and issues to work on for my Cruiser-Mod became a lot smaller lately.
I even managed to exchange the crappy Surabaya career start with a new one, that makes much more sense for an IJN ship mod: Rabaul!:up:

Senf-Man82 02-24-17 08:19 AM

Quote:

Originally Posted by propbeanie (Post 2468339)
You're building this in the German campaign I take it?
[...]
As for launching a plane, I don't know about that. I do know that CapnScurvy added an airgroup to some of the Japanese CA and CL class vessels in FotRSU, and they do spawn, just not in view of the player. I haven't ever looked into that "Call-in Recon" stuff on the German side, but probably the Japanese side doesn't have functionality built-in, but since it's in the German side, like the commando raft, can probably be copied over and the Nationality changed...

Where would I find the files to do so:06:

propbeanie 02-24-17 10:21 AM

I haven't gotten that far into this to look for that yet. It's probably already active in Keltos01's Climb Mount Niitaka mod, but he'd have to answer that, if he knows, since Peabody did most of the work in that portion of the mod...

keltos01 02-24-17 11:15 AM

Quote:

Originally Posted by propbeanie (Post 2468481)
I haven't gotten that far into this to look for that yet. It's probably already active in Keltos01's Climb Mount Niitaka mod, but he'd have to answer that, if he knows, since Peabody did most of the work in that portion of the mod...

yep, missions and campaigns were done by Peabody, as were the movemment layers etc..

k

Senf-Man82 02-25-17 05:44 AM

Hm,

maybe he reacts o this post, we'll see. Does anyone know, if it's possible to the "end mission line" to all or some other bases?


All times are GMT -5. The time now is 09:44 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.