and more to be added: here a trick to toggle range for weapons on or off. First you need to create some auras:

**Code:**

Ranges

----

Range 50s : aura cone arc=45 25#800000

Range 100 : aura cone arc=45 100#aa0000

Range 50l : aura cone arc=45 100#ff0000

Range 20l : aura cone arc=45 40#ff0000

Range 60 : aura cone arc=45 60#aa0000

Range 30s : aura cone arc=45 15#800000

Range 100s : aura cone arc=45 50#800000

Range 300s : aura cone arc=45 150#800000

Range 50 : aura cone arc=45 50#aa0000

Range 20s : aura cone arc=45 10#800000

Range 150l : aura cone arc=45 300#ff0000

Range 60l : aura cone arc=45 120#ff0000

Range 180l : aura cone arc=45 360#ff0000

Range 180s : aura cone arc=45 90#800000

Range 30l : aura cone arc=45 60#ff0000

Range 10l : aura cone arc=45 20#ff0000

Range 60s : aura cone arc=45 30#800000

Range 120s : aura cone arc=45 60#800000

Range 15 : aura cone arc=45 15#aa0000

Range 15l : aura cone arc=45 30#ff0000

Range 10s : aura cone arc=45 5#800000

Range 100l : aura cone arc=45 200#ff0000

Range 90s : aura cone arc=45 45#800000

Range 10 : aura cone arc=45 10#aa0000

Range 150 : aura cone arc=45 150#aa0000

Range 150s : aura cone arc=45 75#800000

Range 180 : aura cone arc=45 180#aa0000

Range 20 : aura cone arc=45 20#aa0000

Range 300l : aura cone arc=45 600#ff0000

Range 300 : aura cone arc=45 300#aa0000

Range 90 : aura cone arc=45 90#aa0000

Range 35s : aura cone arc=45 18#800000

Range 90l : aura cone arc=45 180#ff0000

Range 35l : aura cone arc=45 70#ff0000

Range 15s : aura cone arc=45 8#800000

Range 120 : aura cone arc=45 120#aa0000

Range 35 : aura cone arc=45 35#aa0000

Range 30 : aura cone arc=45 30#aa0000

Range 120l : aura cone arc=45 240#ff0000

these settings are for dark heresy and actually use 3 ranges (short [x1/2], normal [x1] and long [x2]) but can be set for all systems obviously. You can use excel to create these settings fast:

Put in cell A1, A2, A3 the ranges you wish to set and in B1, B2, B3 the following formula:

**Code:**

="Range "&A1&" : aura cone arc=45 "&A1&"#aa0000"&CHAR(10)&"Range "&A1&"s : aura cone arc=45 "&ROUND(A1/2;0)&"#800000"&CHAR(10)&"Range "&A1&"l : aura cone arc=45 "&2*A1&"#ff0000"

Then create a macro called "toggle range":

**Code:**

[h:Range = json.get(PrimaryWeapon, "Range")]

[r,if(Range=="" || Range==0):"Doesn't carry ranged weapon";"Range = "+Range]<br>

[h, if(hasLightSource("Ranges", "Range "+Range)), CODE:{

[h: setLight("Ranges", "Range "+Range, 0)]

[h: setLight("Ranges", "Range "+Range+"s", 0)]

[h: setLight("Ranges", "Range "+Range+"l", 0)]

};{

[h: setLight("Ranges", "Range "+Range, 1)]

[h: setLight("Ranges", "Range "+Range+"s", 1)]

[h: setLight("Ranges", "Range "+Range+"l", 1)]

}]

et voila. You can now toggle the range of the weapons.

Note that I get my range from a json object, but you can also create the property "Range" in the token and remove the first line of code.