Version 0.8 - 5e cone fix, PF/3.5-style distance calculations ( github link ) I believe I fixed the 5e cone problems with this update. Also, there are two new options for the --units command. PF/3.5 and 5e (gridded games only) --units| <u/units/squares/square/hexes/hex, Optional 3.5/pf/5e > -> Adding pf or 3.5 to the units command will utilize pathfinder-style distance calculations, where every other diagonal square is counted as 1.5 units . This will have two effects: The displayed distance will be in full grid increments, either 1u or typically 5ft for most games The determination of whether a token is within range will also use this calculation style. This might pick up some extra tokens that were just out of range based on the default Euclidean/Pythagorean calculations. -> Adding 5e to the units command will utilize 5e-style distance calculations, where every diagonal square is counted as 1 unit . Unlike the pf/3.5 option, this will only affect the displayed distanc e which will be in full grid increments (either 1u or typically 5ft for most games), and diagonals will only be counted as 1square (or 5ft typically). Unlike the pf/3.5 option, this will not affect whether a token is within range. 5e cones utilize a triangular template where length=max_width Examples (note commas) --units|ft //Toks in range and displayed distance uses Euclidean distance calculations --units|ft, pf //Toks in range and displayed distance uses pathfinder/3.5e distance calculations --units|ft, 3.5 //Toks in range and displayed distance uses pathfinder/3.5e distance calculations --units|u, 5e //Toks in range uses Euclidean distance calculations, displayed distance uses 5e calcs (diags only count 1 unit) Animated gif examples This first example shows a 30ft circular range. It is run first with default distance calculations, then a second time using pathfinder-style calculations. Third line from the bottom. !radar {{
--range|30ft
--wavetype|circle
--wavespacing|35
--wavedelay|50
--wavelife|200
--pinglife|3000
--layers|gm, token
--charfilter|npc_type: celestial#yellow, fiend#red, undead#blue
--LoS|yes
--title|Divine Sense
--units|ft, pf
--output|graph, table, compact
--graphoptions|grid, circles
}} This second example uses a 5e-style cone at a -45 degree angle. The first time it is run using the default distance calculations. The second time it displays the distance to target suing 5e-style calculations (diags only count 1 square). Note that determination of whether a token is "in range" is not affected. Mod is in the third from the last line !radar {{
--range|30ft
--wavetype|5e, -45
--wavespacing|35
--wavedelay|50
--wavelife|200
--pinglife|3000
--layers|gm, token
--charfilter|npc_type: celestial#yellow, fiend#red, undead#blue
--LoS|yes
--title|Divine Sense
--units|ft, 5e
--output|graph, table, compact
--graphoptions|grid, circles
}}