XCOM 2
[WOTC] XpanD's Abilities And Assets
 This topic has been pinned, so it's probably important
XpanD  [developer] 29 Mar, 2022 @ 3:56pm
Range Tables
By default, XCOM 2 uses only a few range tables (short, medium, Vektor and long being the big ones) which are tied to the different weapon categories.

While mods can easily add their own tables, you have no way of seeing what you're getting in-game. We add several abilities to help show this, to be used on weapons that use a table different from their category's defaults. (see my Mass Effect Weapon Overhaul for an example)

A list of supported tables is provided below. Values start at 1 tile out, and represent the amount of aim gained/lost at a given distance. The last number in the table gets repeated indefinitely.

Table
Values (starting at 1 tile away)
Any
0
Any <15
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -20, -40, -60, -80, -100
Any <20
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -20, -40, -60, -80, -100
Long
-30, -27, -24, -21, -18, -15, -12, -9, -6, -3, 0
Lenient long
-15, -12, -10, -8, -6, -4, -2, -1, 0
Medium T1
20, 19, 17, 16, 13, 11, 9, 7, 5, 4, 3, 2, 1, 1, 1, 0
Medium T2
21, 20, 19, 17, 16, 14, 11, 9, 7, 5, 4, 3, 2, 1, 1, 1, 1, 1, 0
Medium T3
22, 22, 21, 20, 19, 17, 15, 13, 11, 9, 7, 5, 3, 2, 1, 0
Vektor T1
25, 24, 22, 21, 18, 16, 14, 12, 10, 9, 8, 7, 6, 4, 2, 1, 0
Vektor T2
26, 25, 24, 22, 21, 19, 16, 14, 12, 10, 9, 8, 7, 6, 4, 2, 1, 0
Vektor T3
27, 27, 26, 25, 24, 22, 20, 18, 16, 14, 12, 10, 8, 7, 6, 3, 2, 1, 0
SMG T1
27, 25, 23, 21, 18, 15, 12, 9, 6, 4, 3, 2, 1, 0, -1, -3, -4, -5, -6, -6, -7, -7, -8
SMG T2
28, 26, 24, 22, 19, 16, 14, 12, 9, 6, 4, 2, 1, 0, -1, -3, -4, -5, -6, -6, -7, -7, -8
SMG T3
29, 28, 27, 26, 24, 22, 19, 16, 13, 10, 7, 4, 2, 0, -1, -3, -4, -5, -6, -6, -7, -7, -8
Short
40, 35, 32, 28, 23, 19, 16, 12, 6, 2, 0, -2, -4, -7, -10, -12, -15, -17, -18, -18, -19, -19, -21, -25, -30
Sawed-off
60, 45, 30, 15, 0, -25, -50, -75, -100

Bolded tables are vanilla. SMG and sawed-off tables are both from LW2, and we call them "Short Extended" and "Very Short" respectively. For consistency and clarity, the Vektor table is called "Medium Extended".
Last edited by XpanD; 17 Jun, 2023 @ 6:40am