Ultimate General: Gettysburg uses a rather unique Line of Sight mechanic. Today, we explain how it works and how you can use it in-game.
What is the Line of Sight (LoS)?
In many strategy games, there is a ’Fog of War (FoW)’ mechanic that defines the area visible to the player. FoW is implemented in different ways. The most common is a ‘visible radius’. Outside of this radius, you have no vision. This method is simplistic and does not simulate how hills, trees and other terrain can obstruct your view.
In Ultimate General: Gettysburg, we use a much more accurate FoW system that simulates actual Line of sight. Simply, units can spot only what they can directly see. For example, they cannot see what is behind a hill unless they climb the hill.
The map of Ultimate General: Gettysburg features accurate topographical information of the historical battlefield. Every hill, ridge, house and boulder will impact visibility in the game. Units have their spotting ranges adjusted according to their role, with generals, cavalry and artillery having higher view ranges than infantry. As you position them at strategic locations, your army’s visibility increases, while the units use their individual LoS to target local threats. Therefore, it is very important to secure multiple elevated positions to see further and cover more areas with your artillery firepower.
Tactics based on LoS
When the Confederates arrive at the battlefield with a lack of cavalry and many ridges ahead, they cannot see very far (as is true historically). On the contrary, the Union army controls the hills and has better visibility over the map with their Videttes searching for enemy movements. Cavalry is more mobile, so it can remain at the edges of the enemy’s forces, providing information for your army.
Another useful tactic is to place artillery batteries on ridges and hills to gain a wider view of the battlefield and be able to bombard the enemy from a distance. Losing the high ground can result in a decreased visibility of the battleground and reduced artillery effectiveness, as most of your cannons will not be able to aim directly at enemy forces.
LoS also gives you the ability to conceal your reserves behind hills, forested areas and houses. For instance, you can conceal part of your forces behind a ridge like Cemetery Ridge while fighting takes place on the other side. At the right moment, you can bring your fresh reserves to support your lines. You can even ambush your opponent because the LoS impacts the AI in the same way as you, so AI forces will not know exactly where your hidden forces are.
AI and LoS
As we have explained in our previous developer blog, our AI does not use any cheats or statistical bonuses, so it was extra challenging to make the AI respond properly when it has limited visibility. Despite the difficulties, we have successfully simulated the tactical evaluation of invisible areas. The AI will dispatch forces to unknown ground before player forces become visible in anticipation of the enemy. The most skilled AI personalities are able to execute these ’blind maneuvers’ more effectively, re-creating a real General’s expectations or instincts about the whereabouts of the enemy and the importance of strategic locations.
LoS graphical appearance
As seen in the images, non-visible areas are covered by the FoW. It is vital to note that when enemy units become visible, they do not ’pop-up’ as in most strategy games, but are gradually revealed . As the enemy progressively comes into vision, its flag is slowly shown, so you see its size and name. When the enemy starts to leave LoS, we see the opposite fade out effect.
If you want to see the LoS of a selected unit, you just use a keyboard shortcut, long mouse button press or finger gesture, depending on platform and its LoS is displayed in red for a short time, fading out gradually.
Additional information will follow soon with more videos. Good luck out there, generals!