.com.unity Forums

.com.unity Forums (http://forum.shrapnelgames.com/index.php)
-   Campaigns, Scenarios & Maps (http://forum.shrapnelgames.com/forumdisplay.php?f=140)
-   -   Omaha Beach - Scen #9 (http://forum.shrapnelgames.com/showthread.php?t=53021)

dTerm October 24th, 2023 01:23 PM

Re: Omaha Beach - Scen #9
 
Quote:

Originally Posted by DRG (Post 855608)
I suspect some will feel uncomfortable pressing END GAME without saving but doing that creates an autosave.

As the testing I posted showed it can take a LONG time for this to happen in some cases and it wasn't until Don sent me his tests that I saw it this time though and then I hit my test buildings with arty harder and saw it but in his test not nearly as much arty as I used managed to make a few go away.

I suspect a lot of players may not even notice it especially ones that might play out a turn or two per sitting because their save restores the building but in the case of the END GAME procedure, autosave takes a snapshot of that point the END GAME button is pressed so starting the autosave takes you to the exact point you were when you pressed it and the buildings are restored

The message for the End game button is "End the Game and EXIT" at the top of the screen
Then you see at the bottom of the screen "Do you really want to end the game Y/N "

I may change the first message to something like

"End the Game, autosave and EXIT"

or

"End the game and Exit (The game will be saved in the Auto-Saved game slot)

Final result ( both games )

https://forum.shrapnelgames.com/atta...1&d=1697550725


While testing the fixed binary (which appears to consistently solve the junk terrain issues on my machine btw. :up:) I observed, that in single-player and hotseat games it's not the red END TURN button that creates the autosave, but the START TURN button on the Start Turn Screen, when you continue playing.

Can anyone confirm this, or am I missing something here? :pc:

DRG October 24th, 2023 04:18 PM

Re: Omaha Beach - Scen #9
 
Well this is weird. Will need to investigate further. I thought for certain that it was saving at the point the red up arrow was pressed

DRG October 24th, 2023 04:50 PM

Re: Omaha Beach - Scen #9
 
OK......

1/ I started a simple game, moved a unit then pressed the red up arrow then went to the auto-save slot and started it and that game was back to where I was before I moved the unit

2/ I started an old save game, move a unit then presses the red up arrow and started it and that game was back to where I was before I moved the unit

3/ I started a different old save game.... lets call it #3, I moved a unit then pressed the red up arrow button then went to the save game screen and started the autosave and it was old save game #3....... BEFORE I moved the unit:doh:


SO it would APPEAR your observation is correct. The autosave is being made when the game ( originally ) loads. :shock:

OK.... learned something new today........:re:

We will look into this and get the procedure strainghend out and the working adjusted for the next release

That does explain why the building were restored when loading the autosave though........

dTerm October 24th, 2023 07:07 PM

Re: Omaha Beach - Scen #9
 
Quote:

Originally Posted by DRG (Post 855641)
[...]

That does explain why the building were restored when loading the autosave though........

But from what I observed, it doesn't make any practical difference regarding this issue. It works nonetheless.

I just wanted to let you know, because of the wording for the END TURN message you changed. ;)

dTerm October 24th, 2023 07:15 PM

Re: Omaha Beach - Scen #9
 
Ah, ok, after reading you post again, I realized, that's what you mean.

:doh:

DRG October 24th, 2023 09:08 PM

Re: Omaha Beach - Scen #9
 
..........This has been a l o n g journey

DRG October 25th, 2023 03:34 AM

Re: Omaha Beach - Scen #9
 
FWIW......

I just tried a new test with the "Vanish" game that had been posted

I hammered the buildings until one disappeared then saved normally.

When I restarted, the multi-hex building that had only shown rubble had been restored. ( WITH THE RUBBLE....which is as it should be )

Anyone interested can try that and report that they see the same thing.

EDIT

This was done with MBT but the test I ran with SPWW2 did the same

This is after the multi hex building had been hammered by arty and disappeared
https://i.imgur.com/fCV2gQM.png

I then saved the game in a regular save slot then restarted

https://i.imgur.com/X645Gqp.png

The building returns on restarting the save

DRG October 25th, 2023 02:00 PM

Re: Omaha Beach - Scen #9
 
If anyone sees a building disapear check the registration hex ( typically the upper left hex of the series it had been in ) BEFORE it is saved and let me know if hovering the cursor over that hex shows it to be rough and after you save and restart does it show "paved"

The theory I am exploring now is if the registration hex is turned to rough that is when the building disappears.

After saving and restarting the building will be restored but report the hex under the registration hex is Paved

IF you build a map and place a multi over a rough hex the registration hex ( and some others usually ) will report "paved" and I think that change to rough during as bombardment might be the key to why they disappear

SO FAR I have not found a multi that shows rough under the registration hex

DRG October 25th, 2023 02:28 PM

Re: Omaha Beach - Scen #9
 
One step closer to solving this

This is a test map after bombardment. Note even though this is a lot of rubble the buildings still show


https://i.imgur.com/0jdHp5t.png



This is a test map after I placed rough on every multi hex building registration hex


https://i.imgur.com/QmOJtKI.png


It would appear if rough is created in the registration hex of a building (any building ) during a bombardment the building will disappear but re-appear after the save is restarted because the process of saving and restarting removes the temporary rough hex that was created

That's the working theory ATM

DRG October 25th, 2023 02:33 PM

Re: Omaha Beach - Scen #9
 
8 buildings placed

https://i.imgur.com/mSACNw1.png

8 buildings with rough put into the registration hex

https://i.imgur.com/uri8xgs.png


All times are GMT -4. The time now is 05:09 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.