Opened 10 years ago

Closed 10 years ago

Last modified 8 years ago

#2709 closed defect (fixed)

[PATCH] Update entities visibility at the beginning of the game

Reported by: Itms Owned by: Itms
Priority: Must Have Milestone: Alpha 17
Component: Core engine Keywords: patch
Cc: Patch:

Description

The territories don't explore the map anymore when the borders change. However, the territory should still be explored at the beginning of the game.

Attachments (1)

explore_init.patch (7.3 KB ) - added by Itms 10 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 by Itms, 10 years ago

In 15612:

Hide changes to buildings in the fog-of-war.

To achieve this, mirage entities are created per player, to replace the real entities when these ones fall into the fog-of-war. These mirage entities are created on-the-fly, and destroyed when they get back in sight.
This depends heavily on the VisibilityChanged message added in r15508.

As a temporary adjustment, territories do not explore the map anymore when their borders change. See #2709.

Fixes #599

comment:2 by Stan, 10 years ago

It seems it's because you removed UpdateTerritoriesLos(); in CCmpRangeManager.cpp in r15612

comment:3 by Itms, 10 years ago

Keywords: review patch added
Summary: Update territories visibility at the beginning of the game[PATCH] Update entities visibility at the beginning of the game

I implemented this and I also added code to see entities when the "Explore Map" option is set.

by Itms, 10 years ago

Attachment: explore_init.patch added

comment:4 by Itms, 10 years ago

Resolution: fixed
Status: newclosed

In 15681:

Explore the map inside a player's territory border at the beginning of a game.
Also handle properly the "Explore Map" option with the new fogging system.

Fixes #2709

comment:5 by sanderd17, 8 years ago

Keywords: review removed
Note: See TracTickets for help on using tickets.