A tank behind a tall hill would not be able to see an enemy tank on the other side of the hill. Therefore, the first tank does not have a "line of sight" to the enemy tank. Conversely, a squad of soldiers atop the hill may be able to see both tanks, though the tanks may not be able to see them (since the tank's upward line of sight is limited).In an RPG, players may not see doors, objects or monsters located around the corner in a dungeon.Line of sight is crucial to many types of video games, including, but not limited to, first-person shooters, strategy games and role-playing video games. In simplistic games with a top-down perspective, such as roguelikes, Bresenham's line algorithm can be used to determine line of sight. In first person games such as battlefield and flight simulators an implicit min/max kd-tree may be used to efficiently evaluate terrain line of sight queries.In some live-action role-playing games, such as NERO International, line of sight is the duration for some spells and abilities. A paralyze spell, for example, only lasts as long as the caster remains within line of sight of the spell's target.In World of Warcraft players use pillars or other structures to deny "line of sight" to enemy players (of any ranged class), making it almost impossible to be harmed by them; when an enemy melee player attacks, they might also run around playing cat and mouse around the pillar.On the other hand, LoS can be used offensively, like luring a player behind a pillar in order to set a trap - his team mate, being out of LoS, won't be able to help out until he gets in LoS, which in turn takes time. This time is usually the key moment to strike and go for a kill, if said player falls in said trap.
Screenshoots :
(Part 1,Part 2,Part 3,Part 4,Part 5) |
Tidak ada komentar:
Posting Komentar