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 04-25-07, 12:13 PM   #1
Beery
Admiral
 
Join Date: Nov 2004
Location: Silver Spring, MD, USA (but still a Yorkshireman at heart - tha can allus tell a Yorkshireman...)
Posts: 2,497
Downloads: 0
Uploads: 0
Default [REQ] How to start docked at tender by default?

I'm looking for a way to have the game start a career mission from the 'docked at tender' position by default. Is there a mod that does this or does anyone know how to mod it?
__________________
"More mysterious. Yeah.
I'll just try to think, 'Where the hell's the whiskey?'"
- Bob Harris, Lost in Translation.

"Anyrooad up, ah'll si thi"
- Missen.
Beery is offline   Reply With Quote
Old 04-25-07, 01:41 PM   #2
BBury
Torpedoman
 
Join Date: Apr 2005
Location: Texas
Posts: 118
Downloads: 7
Uploads: 0
Default

This would be good. I think it all revolves around the "collision bubble?" that limits being placed within 300 meters of another ship type object.

I'd just like to be able to radio ahead for a rendezvous with a tender for fuel or possible refit.
BBury is offline   Reply With Quote
Old 04-25-07, 02:05 PM   #3
Ducimus
Rear Admiral
 
Ducimus's Avatar
 
Join Date: May 2005
Posts: 12,987
Downloads: 67
Uploads: 2


Default

Not sure how you can change the default selection, but i can tell you how to change the locations.
Code:
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= 21438780, 3367405, 270.000000 ; Enum of starting points for when the player selects the option to start outside the base
Pretty self explanitory i think. How you get the coordinates is you open up the LND layer and search for a base name. Then copy and paste the lat,long, heading into your flotilla file, and here is where one must be careful, else this will happen:
http://www.ducimus.net/sh4/modding_oops_01.jpg
http://www.ducimus.net/sh4/modding_oops_02.jpg
Not all bases in the LND layer are over water


You can pretty much have the player start whereever you want. In the above code block, those coords for the DepartureDescriptionOut1, put the player past the international dateline, just west of midway, thereby avoiding the IDL bug. How i got those coords was i took a copy of the LND layer, placed a dummy base on it , saved the file, then opend it in wordpad, searched for the base, and got the coords. You'll pretty much have to do something similar.

The trick is starting IN bases. THe problem being that by default the editor doesnt show dock structures on the map. In SH3, there was two ways i was aware of to get this displayed. A fancy hex edited version of the editor, which tend to be propriatry and otherwise not made available for joe modder, or to copy the entire bloody game into another directory. Using the mission editor in the 2nd copy of the game, to access the first. My theory is with resouces in two locations, stuff gets overlayd or something, im not sure why it worked, but in SH3, it just did.

So however you get dock information to be displayed, then you can go about setting your starting points to get coordinate information out of.
Ducimus is offline   Reply With Quote
Old 04-25-07, 03:06 PM   #4
tater
Navy Seal
 
Join Date: Mar 2007
Location: New Mexico, USA
Posts: 9,023
Downloads: 8
Uploads: 2
Default

The merge function in the editor can be used to show the bases on the map--albeit in their kinda low res versions.

http://www.subsim.com/radioroom/showthread.php?t=111790

tater
tater is offline   Reply With Quote
Old 04-25-07, 06:04 PM   #5
Ducimus
Rear Admiral
 
Ducimus's Avatar
 
Join Date: May 2005
Posts: 12,987
Downloads: 67
Uploads: 2


Default

Sweet. Thats awesome, much less of a headache. The editor for SH4 has changed so some things are news to me. I just wish it had native 1024X768 support. Run it at that res and some of the dialaog boxes get truncated on the bottom of the screen.
Ducimus is offline   Reply With Quote
Old 04-26-07, 04:56 AM   #6
Beery
Admiral
 
Join Date: Nov 2004
Location: Silver Spring, MD, USA (but still a Yorkshireman at heart - tha can allus tell a Yorkshireman...)
Posts: 2,497
Downloads: 0
Uploads: 0
Default

I think I'm not explaining myself properly. When you start a patrol you have two options - start outside the harbour (default) or start docked at the tender (not default). I'm trying to find a way to start at the tender by default. If I plug in a new start position it's still going to try to get me to start a mission 'outside the harbour' even if I adjust all the start positions to be inside the harbour. What I want to do is change the start patrol screen's 'in harbour' start position dialog box so it's checked by default.
__________________
"More mysterious. Yeah.
I'll just try to think, 'Where the hell's the whiskey?'"
- Bob Harris, Lost in Translation.

"Anyrooad up, ah'll si thi"
- Missen.
Beery 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 05:27 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.