![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
![]() |
#1 |
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
|
![]()
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. |
![]() |
![]() |
![]() |
#2 |
Torpedoman
![]() Join Date: Apr 2005
Location: Texas
Posts: 118
Downloads: 7
Uploads: 0
|
![]()
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. |
![]() |
![]() |
![]() |
#3 |
Rear Admiral
![]() |
![]()
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 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. |
![]() |
![]() |
![]() |
#4 |
Navy Seal
![]() Join Date: Mar 2007
Location: New Mexico, USA
Posts: 9,023
Downloads: 8
Uploads: 2
|
![]()
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 |
![]() |
![]() |
![]() |
#5 |
Rear Admiral
![]() |
![]()
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.
|
![]() |
![]() |
![]() |
#6 |
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
|
![]()
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. |
![]() |
![]() |
![]() |
#7 | ||
Sea Lord
![]() Join Date: Feb 2007
Location: A Swede in Frankfurt am Main
Posts: 1,897
Downloads: 4
Uploads: 0
|
![]()
Had a look in the "menu" and "menu_1024_768" docs...
In the "menu_1024_768" starts at line Quote:
Name=CkSetAsDefaultAction [G4D I7] Name=Selection DefaultAction [G4D I8] Name=CkDocked [G4D I9] Name=Selection Docked [G4D I10] Name=CkOutside Ends at line [G4D I21] I think there is stuff there one could tweak. I think maybe playing with the " [G4D I10] Name=CkOutside" could help you further. In the "menu" I only found this Quote:
EDIT: thinking a bit more about this I wonder if this will help as its mainly "graphic" interfaces. I guess you could get rid of the tic box for "outside, but you would still get that screen... AFAIK, the one you ticked will remain ticked for the next time, but you would still get that screen, and I guess that's what you want to get rid of right?. Always just start docked, without having to select. EDIT: thinking some more...maybe by just using ; you could try to simply null out that code block :p...did not try myself but could be worth a try. I am not 100% but I think you don't want to use the "menu_1024_768" in your mod...maybe in this case there is no way around it... Last edited by CaptainCox; 04-26-07 at 08:01 AM. |
||
![]() |
![]() |
![]() |
#8 |
Neptune's daughter
![]() Join Date: Apr 2007
Posts: 325
Downloads: 164
Uploads: 0
|
Hi
Maybe I'm a little off topic here, but in SH4 ( or SH3 for that matter ) is there a way of STARTING a mission ALREADY IN / NEAR your designated mission area? i.e. cutting out the long process of trawling all the way there? If not directly (because the mission area is always different) what about an SHIV one that always starts you in the middle of the phillipean sea, and a SHIII one that starts you just off the Irish West coast? Thanks! |
![]() |
![]() |
![]() |
#9 |
Ocean Warrior
![]() Join Date: Dec 2005
Location: Norway
Posts: 3,234
Downloads: 11
Uploads: 0
|
![]()
Would be a nice idea for the next patch, to just have the system bypass the menu onc
__________________
|
![]() |
![]() |
![]() |
#10 | |
Helmsman
![]() Join Date: Apr 2007
Posts: 103
Downloads: 0
Uploads: 0
|
![]() Quote:
|
|
![]() |
![]() |
![]() |
#11 |
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
|
![]()
There is no easy way to start at the destination since the destinations are randomly generated. It would be possible if the campaign game was reduced to a linear campaign, but I'm not sure who would want that.
__________________
"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. |
![]() |
![]() |
![]() |
#12 |
Neptune's daughter
![]() Join Date: Apr 2007
Posts: 325
Downloads: 164
Uploads: 0
|
Hi Beery
No, if you re-read my post I did say that I guesed because the mission destinations are always different, maybe a FIXED starting position could be modded - one that put you alot closer to the action ( i.e. SH3 Just off the West Irish Coast and SH4 In the center of the Phillipean sea) so that transit time to the mission co-ords takes less time than all that from going around the aussie continent or all the way from pearl harbour etc.. Surely that can be modded? If you could find out the map co-ords and hard code them to be the starting position... I'm no modder but can someone help? It seems like a really useful (for those who want it) mod that bridges between the two. |
![]() |
![]() |
![]() |
Thread Tools | |
Display Modes | |
|
|