View Single Post
Old 06-16-18, 11:39 AM   #3
propbeanie
CTD - it's not just a job
 
propbeanie's Avatar
 
Join Date: May 2016
Location: One hour from Music City USA!
Posts: 9,719
Downloads: 439
Uploads: 2


Default

Mark, to change the start position, you'll need info from the Mission Editor. When you open the ME, you'll need to make its window just a pinch shorter, so that the info bar at the bottom shows. That will display the Latitude and Longitude of where ever your mouse pointer is. The closer you zoom in, the more 'precise' the numbers displayed. What I have done with this image, is opened the ME, opened US_NavalBases.mis, merged US_HarborTraffic.mis and merged Campaign_LOC.mis - do NOT click the 'Mark merged data as saveable' tick box. Make sure that is empty so that you do NOT SAVE a merge of the files. This way though, with the "merged" files, you can see most of what else might start in Pearl. Some locations, you'll have to merge other / more files. Note the bottom info bar in this picture:



"Coords Lng: -18954... " etc. My mouse cursor was up there where there is a red circled little flower, up at the 'top' of the Navy Yard. Notice also at the end of that info bar line, that there is a "Height: -54..." That is gotten by holding down the "H" key on the keyboard, and then either moving the mouse slightly, or pressing a mouse button. Not a bad idea to see how deep the water is where you're thinking of spawning... of course, the FotRSU team "dredged" Pearl Harbor, so it's deeper in our mod than in Stock (or real life, for that matter). Anyway, you'll need those figures (Lng, Lat, heading) of where you're wanting to spawn, and then you put them in the Flotilla.upc file found in the Data / UPCData / UIPCCampaignData / folder. Choose the appropriate Flotilla. Here's the Pearl listing:
[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, chooses one randomly blah blah
DepartureDescription2= -18954874, 2563059, 46.252201
;DepartureDescriptionOut1= 21438780, 3367405, 270.000000 ; Enum of starting points for when blah blah
DepartureDescriptionOut1= -18957616, 2548824, 242.189346 ; Enum of starting points for when blah blah
The "DepartureDescriptionOut" is when you choose to start OUTSIDE the harbor, and the regular "DepartureDescription" listings are for inside the harbor. There is no preference given to the 1 and / or 2 choices. It's a random kind of thang, so if you wanted to add a DepartureDescription3= to Pearl, there ya go... OH! that third number given is the "heading" on the compass, carried to six decimals, if you want to get so precise. You might also notice that the original DepartureDescriptionOut1 has been commented out, so as not to delete the figures - just in case...

Another way to get your Lng/Lat numbers is to go ahead and place a submarine into the ME, Save the file, and then look at its placement numbers in the file in a text editor. If you look at a ship listing in an editor, you'll see these lines:
Category=0
CommandEntry=0
Long=16947500.000000
Lat=5195000.000000
Height=0.000000
DelayMin=1
That's just a random RGG's placement lines, and West of the IDL, btw, since the Long= number is not a negative figure...
__________________

"...and bollocks to the naysayer/s" - Jimbuna
propbeanie is offline   Reply With Quote