• Blitz Shadow Player
  • Caius
  • redboot
  • Rules
  • Chain of Command
  • Members
  • Supported Ladders & Games
  • Downloads
Forums
Day/night problem - Printable Version

+- Forums (https://www.theblitz.club/message_boards)
+-- Forum: The Firing Line (https://www.theblitz.club/message_boards/forumdisplay.php?fid=1)
+--- Forum: Campaign Series (https://www.theblitz.club/message_boards/forumdisplay.php?fid=8)
+--- Thread: Day/night problem (/showthread.php?tid=56413)



Day/night problem - von Manstein - 07-28-2010

I’m testing EF scenario ‘Pillau – East Prussia’s bloody end’ and problem is that from time to time when I get the turn from my opponent I can see replay in day but when my turn starts (arty fire first) it automatically change in to night. Variable visibility is off. Any ideas what it may be?


RE: Day/night problem - Huib Versloot - 07-28-2010

(07-28-2010, 01:47 AM)von Manstein Wrote: I’m testing EF scenario ‘Pillau – East Prussia’s bloody end’ and problem is that from time to time when I get the turn from my opponent I can see replay in day but when my turn starts (arty fire first) it automatically change in to night. Variable visibility is off. Any ideas what it may be?

In the bte file the day/night flag is 11 lines beneath the title. 0 = day, 1 = night. Check if it is not on 1.


RE: Day/night problem - von Manstein - 07-28-2010

(07-28-2010, 05:06 AM)Huib Versloot Wrote: In the bte file the day/night flag is 11 lines beneath the title. 0 = day, 1 = night. Check if it is not on 1.

When I get the file is 0 but after replay and save is 1. I may change it back to 0 but arty fire is still in night and I don't see any enemy units except those next to my units.


RE: Day/night problem - Huib Versloot - 07-28-2010

(07-28-2010, 06:18 AM)von Manstein Wrote:
(07-28-2010, 05:06 AM)Huib Versloot Wrote: In the bte file the day/night flag is 11 lines beneath the title. 0 = day, 1 = night. Check if it is not on 1.

When I get the file is 0 but after replay and save is 1. I may change it back to 0 but arty fire is still in night and I don't see any enemy units except those next to my units.

Is it a dusk scenario? (Check the header in the scn editor)


RE: Day/night problem - von Manstein - 07-28-2010

Yes, it's a Dusk Attack


RE: Day/night problem - Huib Versloot - 07-28-2010

(07-28-2010, 10:03 PM)von Manstein Wrote: Yes, it's a Dusk Attack

That explains it. After a number of turns it will turn to darkness with a % chance of happening. A day night or vice versa change always happens after the replay.

If you don't want that you will need to change the scenario type in the header (dusk / dawn attack are the only ones connected with automatic visibility changes). There is no code behind the other types.


RE: Day/night problem - von Manstein - 07-28-2010

So what we need to do? I've changed it to non-specific and still is night after replay.


RE: Day/night problem - Huib Versloot - 07-30-2010

(07-28-2010, 10:17 PM)von Manstein Wrote: So what we need to do? I've changed it to non-specific and still is night after replay.

Restart the game. Changes in the scn file don't affect bte files of ongoing games.


RE: Day/night problem - von Manstein - 07-30-2010

(07-30-2010, 05:56 PM)Huib Versloot Wrote: Restart the game. Changes in the scn file don't affect bte files of ongoing games.

Well it's a little bit to late for that :P But thanks for the tips cheers.