• Blitz Shadow Player
  • Caius
  • redboot
  • Rules
  • Chain of Command
  • Members
  • Supported Ladders & Games
  • Downloads


Day/night problem
07-28-2010, 01:47 AM,
#1
Day/night problem
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?
Quote this message in a reply
07-28-2010, 05:06 AM,
#2
RE: Day/night problem
(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.
Quote this message in a reply
07-28-2010, 06:18 AM,
#3
RE: Day/night problem
(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.
Quote this message in a reply
07-28-2010, 09:49 PM,
#4
RE: Day/night problem
(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)
Quote this message in a reply
07-28-2010, 10:03 PM,
#5
RE: Day/night problem
Yes, it's a Dusk Attack
Quote this message in a reply
07-28-2010, 10:10 PM,
#6
RE: Day/night problem
(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.
Quote this message in a reply
07-28-2010, 10:17 PM,
#7
RE: Day/night problem
So what we need to do? I've changed it to non-specific and still is night after replay.
Quote this message in a reply
07-30-2010, 05:56 PM, (This post was last modified: 07-30-2010, 05:59 PM by Huib Versloot.)
#8
RE: Day/night problem
(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.
Quote this message in a reply
07-30-2010, 06:08 PM, (This post was last modified: 07-30-2010, 06:09 PM by von Manstein.)
#9
RE: Day/night problem
(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.
Quote this message in a reply


Forum Jump:


Users browsing this thread: 5 Guest(s)