I did a few tests so far.
First with range 2 and 80 for arrow but it didn't seem to have any effect (I only seem to notice the 80) neither for direct nor for falling shot. Also not difference with weather (rain/snow)
Then did 30 2 and they shot just as if it were 30, kind of ignoring the 2.
Then I changed it to 2 8 and got this error (m2tw refuses to load)
Code:
00:25:40.437 [script.err] [error] Script Error in data/export_descr_unit.txt, at line 3401, column 31
missile range of 6 is impossible with projectile arrow (max range 6)
00:25:40.437 [script.err] [error] Script Error in data/export_descr_unit.txt, at line 3403, column 21
missile range is less than the absolute minimum of 20m
00:25:40.437 [script.err] [error] Script Error in data/export_descr_unit.txt, at line 3403, column 21
failed to read statistic for unit type 'Lithuanian Cavalry'
00:25:40.437 [data.invalid] [error] DATABASE_TABLE error found : error reading record from file data/export_descr_unit.txt.
That's interesting, because that's the very first entry in the EDU using the arrow projectile. The range of velocity I put into projectile was 2 8, meaning 6 difference.
So this suggests that this is some kind of range variable.
Continuing to test.
OK I set the values to 2 20 (which is an 18 range unless I'm wrong) and noticed my archers weren't able to shoot their full range.
Errorlog gave massive output of duplicates:
Code:
00:30:10.484 [script.err] [error] Script Error in data/export_descr_unit.txt, at line 3401, column 31
missile range of 40 is impossible with projectile arrow (max range 40)
I suppose this goes back to the formula at the top of the projectile file that incorporates velocity to determine distance. Hmmmm but still this doesn't tell why there are two values...
Did some more tests including letting the enemy end up right in front of the unit as Red Spot suggested (used enemy as voulgier for that). Didn't see any visible difference in arrow speed.
Also don't seem to notice any acceleration difference between 1 75 and 75 75 when the arrow leaves the unit.
AHA! I think I finally found it.
This range is actually important for weapons that can shoot high and low volleys. What I missed in the first few tests was not measuring that particular scenario where both values are the same AND i have a unit standing in front of my archers.
At either example of 30 30 or 75 75, the archers that are blocked by the unit in front of them refuse to shoot at the target but the ones at the flank not blocked will shoot. This means that the lower velocity (and it seems it doesn't matter in which order you put the numbers) will be used to shoot high volleys and if there is no significant range difference between the two values, then the unit will not shoot into the sky at all.
That gun units still have that seems to be a relic from 1.0 days it seems.
Bookmarks