Difference between revisions of "Radius"

From Basin Wiki
Jump to navigation Jump to search
m (moved Radius to D2 Radius)
Line 1: Line 1:
Many skill descriptions (notably those for a Necromancer's Curses and a Paladin's Defensive and Offensive Auras) specify radius in yards. However, radius is specified in sub-tiles in the game code; each sub-tile is a 2/3 yard by 2/3 yard square (i.e. 2 feet by 2 feet). Below is a diagram displaying both sub-tiles and radius in yards:
+
{{D2 Nav}}
  
  
<center>http://www.theamazonbasin.com/main/forums/uploads/gallery/1221408567/gallery_3047_16_45962.png</center>
+
{|cellpadding=0 cellspacing=0
 +
|-valign=top
 +
|width=395|
 +
[[File:Sub-tile.png|left|thumb|350px|Enlargement of a single sub-tile.]]
 +
|
 +
Many skills (most notably [[D2 Curse|curses]] and [[D2 Aura|auras]]) apply effects within a radius. Skill descriptions specify radius in yards, while internally it is specified in sub-tiles: each sub-tile is a 2/3 yard by 2/3 yard (2 foot by 2 foot) square, although due to the game's [http://en.wikipedia.org/wiki/Isometric_projection isometric projection] these are rendered as rhomboids.
 +
|}
 +
 
 +
[[File:Radius.png|left|frame
 +
|Radial effects apply to any applicable unit centered over sub-tiles within displayed radius; if [[D2 Missile|missiles]] spawn within radius, effects apply to [[D2 Unit size|target]] when it collides with missile.]]
  
  
The radius of many skills increases with skill level, but skills with an invariable radius have been labelled:
+
Radius often increases with skill level, but this is not true of the following:  
  
  
{|border=1 cellspacing=0 cellpadding=3 align=center
+
{|cellpadding=0 cellspacing=0
!width=120 rowspan=2|Skill!!colspan=3|Radius
+
|-valign=top
 +
|width=396|
 +
{{Text table}}
 +
!width=62|Yards
 +
!width=106|Skill
 +
!width=150|Effect
 +
|-valign=top
 +
!rowspan=4|{{0|0}}2
 +
|[[D2 Poison Explosion|Poison Explosion]]
 +
|Cloud radius
 +
|-
 +
|[[D2 Immolation Arrow|Immolation Arrow]]
 +
|Pyre radius
 
|-
 
|-
!width=80|Sub-tiles!!width=80|Yards
+
|[[D2 Tornado|Tornado]]
 +
|Periodic damage radius
 
|-
 
|-
|Terror||align=right|4
+
|[[D2 Blades of Ice|Blades of Ice]]
|
+
|Freeze length radius
{|cellpadding=3
+
|-valign=top
|width=40 align=right|2||2/3
+
!rowspan=6|{{0|0}}2 2/3
|}
+
|[[D2 Fists of Fire|Fists of Fire]]
 +
|Explosion and pyre radius
 +
|-
 +
|[[D2 Fire Ball|Fire Ball]]
 +
|Explosion radius
 +
|-
 +
|[[D2 Terror|Terror]]
 +
|Radius
 +
|-
 +
|[[D2 Glacial Spike|Glacial Spike]]
 +
|Explosion radius
 +
|-
 +
|[[D2 Immolation Arrow|Immolation Arrow]]
 +
|Explosion radius
 +
|-
 +
|[[D2 Mind Blast|Mind Blast]]
 +
|Radius
 +
|-valign=top
 +
!rowspan=3|{{0|0}}3 1/3
 +
|[[D2 Fire Blast|Fire Blast]]
 +
|Explosion radius
 +
|-
 +
|[[D2 Exploding Arrow|Exploding Arrow]]
 +
|Explosion radius
 
|-
 
|-
|Decrepify||align=right|6
+
|[[D2 Freezing Arrow|Freezing Arrow]]
|
+
|Explosion radius
{|cellpadding=3
+
|-valign=top
|width=40 align=right|4||
+
!rowspan=5|{{0|0}}4
|}
+
|[[D2 Dragon Tail|Dragon Tail]]
 +
|Explosion radius
 
|-
 
|-
|Iron Maiden||align=right|7
+
|[[D2 Meteor|Meteor]]
|
+
|Explosion and pyre radius
{|cellpadding=3
 
|width=40 align=right|4||2/3
 
|}
 
 
|-
 
|-
|Attract||align=right|9
+
|[[D2 Decrepify|Decrepify]]
|
+
|Radius
{|cellpadding=3
 
|width=40 align=right|6
 
|}
 
 
|-
 
|-
|Redemption||align=right|16
+
|[[D2 Blades of Ice|Blades of Ice]]
|
+
|Cold damage and length radius
{|cellpadding=3
 
|width=40 align=right|10||2/3
 
|}
 
 
|-
 
|-
|
+
|[[D2 Phoenix Strike|Phoenix Strike]]
{|cellpadding=3
+
|Explosion and pyre radius
|Inner Sight
+
|-valign=top
 +
!rowspan=3|{{0|0}}4 2/3
 +
|[[D2 Molten Boulder|Molten Boulder]]
 +
|Explosion radius
 
|-
 
|-
|Slow Missiles
+
|[[D2 Iron Maiden|Iron Maiden]]
 +
|Radius
 
|-
 
|-
|Conviction
+
|[[D2 Blizzard|Blizzard]]
 +
|Radius
 
|}
 
|}
|align=right|20
 
 
|
 
|
{|cellpadding=3
+
{{Text table}}
|width=40 align=right|13||1/3
+
!width=62|Yards
|}
+
!width=106|Skill
 +
!width=150|Effect
 +
|-valign=top
 +
|-
 +
!{{0|0}}5 1/3
 +
|[[D2 Phoenix Strike|Phoenix Strike]]
 +
|Lightning jump radius
 +
|-valign=top
 +
!rowspan=2|{{0|0}}6
 +
|[[D2 Attract|Attract]]
 +
|Radius
 +
|-
 +
|[[D2 Hurricane|Hurricane]]
 +
|Radius
 +
|-valign=top
 +
!rowspan=2|{{0|0}}6 2/3
 +
|[[D2 Carrion Vine|Carrion Vine]]
 +
|Radius
 +
|-
 +
|[[D2 Solar Creeper|Solar Creeper]]
 +
|Radius
 +
|-valign=top
 +
!rowspan=2|10
 +
|[[D2 Guided Arrow|Guided Arrow]]
 +
|Search radius
 +
|-
 +
|[[D2 Bone Spirit|Bone Spirit]]
 +
|Search radius
 +
|-
 +
!10 2/3
 +
|[[D2 Redemption|Redemption]]
 +
|Radius
 +
|-valign=top
 +
!rowspan=2|11 1/3
 +
|[[D2 Thunder Storm|Thunder Storm]]
 +
|Search radius
 +
|-
 +
|[[D2 Armageddon|Armageddon]]
 +
|Radius
 +
|-valign=top
 +
!rowspan=6|13 1/3
 +
|[[D2 Inner Sight|Inner Sight]]
 +
|Radius
 +
|-
 +
|[[D2 Slow Missiles|Slow Missiles]]
 +
|Radius
 +
|-
 +
|[[D2 Chain Lightning|Chain Lightning]]
 +
|Search radius
 +
|-
 +
|[[D2 Lightning Strike|Lightning Strike]]
 +
|Search radius
 +
|-
 +
|[[D2 Fist of the Heavens|Fist of the Heavens]]
 +
|Holy bolt search radius
 +
|-
 +
|[[D2 Conviction|Conviction]]
 +
|Radius
 +
|-
 +
!16 2/3
 +
|[[D2 Telekinesis|Telekinesis]]
 +
|Target radius
 +
|-
 +
!18
 +
|[[D2 Dragon Flight|Dragon Flight]]
 +
|Attack range
 
|-
 
|-
|Cloak of Shadows||align=right|30
+
!20
|
+
|[[D2 Cloak of Shadows|Cloak of Shadows]]
{|cellpadding=3
+
|Radius
|width=40 align=right|20
 
 
|}
 
|}
 
|}
 
|}
  
  
Cloak of Shadows isn't labelled since its radius encompasses almost the entire visible area, with the exception of a tiny portion in the top left and right corners.
+
Since a sub-tile is a 2/3 yard by 2/3 yard square (2 feet by 2 feet), the hypotenuse of the right-angled triangles created by bisecting that square from opposite corners is the square root of 8 (2² + 2²) in feet, or ~2.83 feet. Horizontally this distance equals 32 pixels, but vertically this distance equals just 16 pixels, resulting in the following:
 
 
=Sub-tiles=
 
Diablo II uses an [http://en.wikipedia.org/wiki/Isometric_projection isometric projection] which divides the horizontal playing surface into rhomboid tiles, each of which is composed of 5 x 5 sub-tiles. Below is an image of an individual sub-tile, magnified so that you can see the individual pixels and how the sub-tiles fit together:
 
 
 
 
 
<center>http://www.theamazonbasin.com/main/forums/uploads/gallery/1221408567/gallery_3047_16_1742.png</center>
 
  
  
=Visible Area=
+
{{Number table}}
Since a sub-tile is a 2/3 yard by 2/3 yard square (2 feet by 2 feet), this means the hypotenuse of the right-angled triangles created by bisecting that square from opposite corners is the square root of 8 (2² + 2²) in feet i.e. approximately 2.83 feet. Horizontally this distance equals 32 pixels, but vertically this distance equals just 16 pixels, resulting in the following:
+
|-valign=top align=center
 
+
!width=84 rowspan=2|Resolution
 
+
!colspan=2|Visible Area
{|border=1 cellspacing=0 cellpadding=3 align=center
 
!width=120 rowspan=2|Resolution!!colspan=2|Visible Area
 
 
|-align=center
 
|-align=center
!width=80|Pixels!!width=80|Yards
+
!width=84|Pixels
 +
!width=84|Yards
 
|-align=center
 
|-align=center
 
|640 x 480||640 x 433||18.86 x 25.51
 
|640 x 480||640 x 433||18.86 x 25.51
Line 89: Line 187:
  
  
If it seems counter-intuitive that the vertical distance in yards should be greater than the horizontal distance (since it's fewer pixels in length), take another look at the diagrams above; as an example, the radius of Inner Sight, Slow Missiles and Conviction is within the top and bottom limits of the visible area, but extends beyond these limits to the left and right.
+
If it seems counter-intuitive that vertical distance in yards should be greater than horizontal distance (since it's fewer pixels in length), take another look at the radius image above: distance from the center to the side of the screen is ~12 yards, while distance to the top is ~18 yards.
 +
 
 +
 
 +
[[Category:Diablo II]]
 +
[[Category:D2 Basics]]
 +
[[Category:D2 Skills]]
 +
[[Category:D2 Curses]]
 +
[[Category:D2 Offensive Auras]]
 +
[[Category:D2 Defensive Auras]]

Revision as of 14:21, 17 February 2011

Template:D2 Nav


Enlargement of a single sub-tile.

Many skills (most notably curses and auras) apply effects within a radius. Skill descriptions specify radius in yards, while internally it is specified in sub-tiles: each sub-tile is a 2/3 yard by 2/3 yard (2 foot by 2 foot) square, although due to the game's isometric projection these are rendered as rhomboids.

Radial effects apply to any applicable unit centered over sub-tiles within displayed radius; if missiles spawn within radius, effects apply to target when it collides with missile.


Radius often increases with skill level, but this is not true of the following:


Yards Skill Effect
02 Poison Explosion Cloud radius
Immolation Arrow Pyre radius
Tornado Periodic damage radius
Blades of Ice Freeze length radius
02 2/3 Fists of Fire Explosion and pyre radius
Fire Ball Explosion radius
Terror Radius
Glacial Spike Explosion radius
Immolation Arrow Explosion radius
Mind Blast Radius
03 1/3 Fire Blast Explosion radius
Exploding Arrow Explosion radius
Freezing Arrow Explosion radius
04 Dragon Tail Explosion radius
Meteor Explosion and pyre radius
Decrepify Radius
Blades of Ice Cold damage and length radius
Phoenix Strike Explosion and pyre radius
04 2/3 Molten Boulder Explosion radius
Iron Maiden Radius
Blizzard Radius
Yards Skill Effect
05 1/3 Phoenix Strike Lightning jump radius
06 Attract Radius
Hurricane Radius
06 2/3 Carrion Vine Radius
Solar Creeper Radius
10 Guided Arrow Search radius
Bone Spirit Search radius
10 2/3 Redemption Radius
11 1/3 Thunder Storm Search radius
Armageddon Radius
13 1/3 Inner Sight Radius
Slow Missiles Radius
Chain Lightning Search radius
Lightning Strike Search radius
Fist of the Heavens Holy bolt search radius
Conviction Radius
16 2/3 Telekinesis Target radius
18 Dragon Flight Attack range
20 Cloak of Shadows Radius


Since a sub-tile is a 2/3 yard by 2/3 yard square (2 feet by 2 feet), the hypotenuse of the right-angled triangles created by bisecting that square from opposite corners is the square root of 8 (2² + 2²) in feet, or ~2.83 feet. Horizontally this distance equals 32 pixels, but vertically this distance equals just 16 pixels, resulting in the following:


Resolution Visible Area
Pixels Yards
640 x 480 640 x 433 18.86 x 25.51
800 x 600 800 x 553 23.57 x 32.59


If it seems counter-intuitive that vertical distance in yards should be greater than horizontal distance (since it's fewer pixels in length), take another look at the radius image above: distance from the center to the side of the screen is ~12 yards, while distance to the top is ~18 yards.