![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
|
04-29-11, 12:46 PM
|
#1 |
|
Ace of the Deep
![]() Join Date: Mar 2006
Posts: 1,135
Downloads: 147
Uploads: 12
|
Hi,
I tested the scr layer save-game issue again. I can reproduce it for units in the scr layer that are rendered when you start your patrol (e.g., the units in your home port). Units in the scr layer that are only loaded/rendered later seem not to suffer from this issue. Cheers, LGN1 |
|
|
04-29-11, 01:32 PM
|
#2 |
|
Fuel Supplier
|
@LGN1,
Thanks for the update on the movements of ships in campaign_SCR.mis after save/load. Not too serious a problem, then. Stiebler.
__________________
NYGM Tonnage War Mod - More than a mod: it's an experience! |
|
|
04-29-11, 02:13 PM
|
#3 | |
|
Sea Lord
![]() Join Date: Nov 2007
Location: In sight of Stonehenge
Posts: 1,749
Downloads: 51
Uploads: 26
|
Quote:
When you save a game, the game remembers all rendered ships but relies on the _SCR/RND layer for placeholders. When you load a savegame, SH3 seems to remember waypoints for placeholders but forgets them for rendered ships, leaving them to sail blindly in a straight line. This is the closest I can come to explaining this behaviour so I'd be grateful if anyone else can shed light on the problem.
__________________
![]() All my mods are available at MediaFire: SH3 Mods Other modders SH3 mods SH4 Mods ...you can't please all of the people all of the time... |
|
|
|
04-29-11, 03:38 PM
|
#4 |
|
Ace of the Deep
![]() Join Date: Mar 2006
Posts: 1,135
Downloads: 147
Uploads: 12
|
Hi Wreford-Brown,
from my tests it seems that SH3 remembers the waypoints in a save game IF the unit is not rendered when your patrol starts. Waypoints of rnd layer units are definitely saved (this is confirmed easily with my zigzag rnd layers). As far as I know it's not possible that a rnd unit is spawned in your 'render area'. Therefore the 'scr harbor problem' does not exist for rnd units. To summarize, as I understand the problem it only exists for scr units in the 30km area around your home port. As Stiebler pointed out, in this case the problem is not very crucial. Cheers, LGN1 |
|
|
04-29-11, 03:43 PM
|
#5 | |
|
Sea Lord
![]() Join Date: Nov 2007
Location: In sight of Stonehenge
Posts: 1,749
Downloads: 51
Uploads: 26
|
Quote:
![]() Placeholders are not rendered therefore SH3 remembers waypoints. Rendered ships waypoints are 'forgotten', hence harbour problem.
__________________
![]() All my mods are available at MediaFire: SH3 Mods Other modders SH3 mods SH4 Mods ...you can't please all of the people all of the time... |
|
|
|
04-29-11, 04:02 PM
|
#6 |
|
Ace of the Deep
![]() Join Date: Mar 2006
Posts: 1,135
Downloads: 147
Uploads: 12
|
Hi Wreford-Brown,
just to make sure that we mean the same: When you are in the middle of the Atlantic and there is no ship within 30km of your boat, it means that there are no rendered ships; only 'placeholders'. Every ship that you encounter is a rendered ship that was a placeholder before. I don't think there is any problem with these ships. The problem exists only for those ships that have never changed from placeholder to rendered because they had to be rendered when your patrol started. Do you agree? Cheers, LGN1 |
|
|
04-29-11, 04:35 PM
|
#7 | |
|
Sea Lord
![]() Join Date: Nov 2007
Location: In sight of Stonehenge
Posts: 1,749
Downloads: 51
Uploads: 26
|
Quote:
__________________
![]() All my mods are available at MediaFire: SH3 Mods Other modders SH3 mods SH4 Mods ...you can't please all of the people all of the time... |
|
|
|
04-29-11, 04:37 PM
|
#8 |
|
Ace of the Deep
![]() Join Date: Mar 2006
Posts: 1,135
Downloads: 147
Uploads: 12
|
Thanks, Wreford-Brown for confirming!
I have made another test to investigate this issue further. I started a campaign and saved the game in the harbour. I reloaded the save game and the harbour patrol lost it waypoints and sailed on a straight course --> 'harbour traffic bug'. Now I started a new campaign, left the harbour area without saving and returned. I spotted the harbour patrol and saved the game. When I reloaded the resulting save game, the harbour patrol continued on its waypoints, i.e., no 'harbour traffic bug' observed. From this I conclude that the 'harbour traffic bug' is really not a property of the units in the scr layer (same unit shows this issue under certain circumstances and does not show it under different ones), but a property of units that are present when your patrol starts, i.e., units that are immediately rendered when you start your patrol. |
|
|
04-29-11, 05:15 PM
|
#9 |
|
Sea Lord
![]() Join Date: Nov 2007
Location: In sight of Stonehenge
Posts: 1,749
Downloads: 51
Uploads: 26
|
![]() When you start a new patrol there are no rendered ships and the SH3 engine has to render them from placeholders in the _SCR layer, so there is no harbour bug. If you then save the game in the harbour and load from the savegame, the ships have already been rendered once and SH3 'remembers' them as rendered ships (not placeholders) therefore you get the harbour bug. The issue is not with the _SCR file, it's with where and when you save your game, and bear in mind that ships are rendered from the SCR layer in the last few seconds before the game starts (about 95% through the load bar). RND is about 50% of the way through the load bar. It's easy enough to test - script a standalone ship (e.g. one of VonDos') into the SCR layer then disable the ship in JSGME. CTD @ 95-100% of load bar. Script into RND and CTD around the 50-60% mark. I'm also fairly sure that there are a finite number of rendered ships that a savegame can cope with: A few rendered ships - no problem, waypoints saved (try it next time you see a single merchant) More rendered ships - SH3 will remember the ships but ditch the waypoints (harbour bug). Too many rendered ships - CTD (near large convoys etc.) Unfortunately the number of ships the savegame system can cope with seems to be computer dependent. Those with top of the range computers will suffer fewer problems than those (like me) with old ones. We seem to have derailed TGW's thread so apologies to TDW (and the rest of you!). @LGN1 - if you'd like to continue this we should start our own thread for it.
__________________
![]() All my mods are available at MediaFire: SH3 Mods Other modders SH3 mods SH4 Mods ...you can't please all of the people all of the time... |
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
