NWN2Wiki
Register
Advertisement

Some ranges in Neverwinter Nights 2 are standarised in ranges.2da, so are always static. These are all in meters because of the Bioware Infinity engine which NWN2 is based on, despite the descriptions for most spells (which describe actual ranges) being done in feet. The weapon ranges are unused.

Label Primary Range SecondaryRange Name
0 SpellRngPers 0 **** ****
1 SpellRngTouch 2.25 **** ****
2 SpellRngShrt 8 **** ****
3 SpellRngMed 20 **** ****
4 SpellRngLng 40 **** ****
5 WeaponRngShrt 10 **** ****
6 WeaponRngMed 30 **** ****
7 WeaponRngLng 50 **** ****
8 PercepRngShrt 10 10 6668
9 PercepRngMed 20 20 6669
10 PercepRngLng 35 20 6670
11 PercepRngDefault **** **** 6671
12 PercepRngPlayer 50 20 ****
13 PercepRngCombat 28 15 ****
14 SpellRngInf 99 **** ****
15 PercepRngMin 10 10 ****
16 PercepRngMax 35 20 ****

Spells[]

Perception[]

Rich Taylor: Primary Range is the Spot range (Visual range) Secondary Range is the Listen range (Hearing range).

If something is flagged as PercepRngDefault, instead of reading the values from the columns on that row, it looks up the creature's appearance in Appearance.2da and uses the PERCEPTIONDIST column to find out what row creatures with that appearance are supposed to use. PERCEPTIONDIST in Appearance.2da should reference back to a row in Ranges.2da from which to read the values in from.

If all else fails, a creature will be assigned the values stored in the PercepRngMin row.

Advertisement