Created
August 3, 2013 20:34
-
-
Save thesnarky1/6147879 to your computer and use it in GitHub Desktop.
fog of war idea for harkins
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Adding unknown unknowns to fog of war visibility. | |
The disposition of your forces gives you an area where you have reasonable certainty you know what's going on (the unshaded terrain). However, we have to introduce a mechanism to both make you look somewhere that's no the enemy (to accurately reflect true fog of war) and give the enemy a chance to get rogue-like and sneaky. We can do this by adding a "confusion" coefficient to the Tiles and movement functions. | |
Basic idea is to have a variable amount of "confusion" for each Tile that we'll take into account when determining visibility. This only is checked when the Tile is the last one in the player's visibility range (or maybe for closer ones if it's high?). Random number times this coefficient gives us a chance to place a potential Player (question mark) on that square. This will encourage the opponents to spend time chasing ghosts, as opposed to sitting still and waiting for them to come in. | |
In addition, this confusion coefficient will give a possibility that the Player will *not* see an enemy on that Tile. If there's high confusion (such as hiding in the trees), a player who spends time being slow and methodical can get closer to the flag without being seen. | |
Confusion for sneaking | |
rocks trees "heavy trees" "tall grass" swamp grass sand water <--terrain | |
crouch <---high---><--------Med------------><--Low--><----none------> | |
walk <--------Med------------><---------------none----------------> | |
run <----------------------------none----------------------------> | |
^ | |
| | |
Stance | |
Base confusion for randomness | |
rocks trees "heavy trees" "tall grass" swamp grass sand water <--terrain | |
<--------Med------------><---------------none----------------> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment