Re: Component.txt Knowledge Base
Technically, it was SJ.
Take a look at a snippet from the DUC:
Weapon Space At Range Distance Increment := 10.0
Weapon Space Min Damage At Range := 0.0
Weapon Space Max Damage At Range := 0.0
...
Weapon Space Min Damage Modifier Formula := blah formula we don't care about
Weapon Space Max Damage Modifier Formula := blah formula 2
The Damage At Range lines are exactly like SE4, except you can use decimals. They are a space-delimited listing of damage values. The range increment is moddable, as you can see from the first line. IIRC, the first value is used at ranges up to the distance increment, the second value is used at ranges up to 2x the distance increment, and so on.
Damage done at any range is the sum of the appropriate value from the Damage At Range list and the result of the Damage Modifier Formula (the damage is random between the Min and Max values).
Let's take an example:
Weapon Space At Range Distance Increment := 20.0
Weapon Space Min Damage At Range := 50.0 40.0 30.0
Weapon Space Max Damage At Range := 50.0 40.0 30.0
...
Weapon Space Min Damage Modifier Formula := iif([%Range%] < 60, (5 * ([%Level%] - 1)), 0)
Weapon Space Max Damage Modifier Formula := iif([%Range%] < 60, (5 * ([%Level%] - 1)), 0)
This is a range 60 weapon that increases damage by 5 per level. A short chart of resultant damage at range values (taken at increments of 10 to look like SE4 damages):
L1: 50 50 40 40 30 30
L2: 55 55 45 45 35 35
L3: 60 60 50 50 40 40
L4: 65 65 55 55 45 45
L5: 70 70 60 60 50 50
...
|