Sorry, I was just spitballing possible causes - didn't even notice the weap was a light xbow. I do know that D&D applies penalties for longer ranges, but I'm not 100% certain it's carried into the engine (point blank definitely is, though). The only hard information a quick search turns up is ranges.2da, but those appear simply to designate maximum ranges for different types of weapon, not percentile gradations (touch spells are range 2.25, NOT 2.25% of total spell range, likewise the other ranges specified):
2DA V2.0
Label PrimaryRange 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 35 20 ****
13 PercepRngMonster 28 15 ****
Baseitems.2da does show a 'prefattackdist' attack range column along with min and max ranges(only listing light xbow here, it's pref dist is 30, should the lack of code boxes render the rows illegible) :
Name label InvSlotWidth InvSlotHeight EquipableSlots CanRotateIcon ModelType Itemclass GenderSpecific Part1EnvMap Part2EnvMap Part3EnvMap DefaultModel DefaultIcon Container WeaponWield WeaponType WeaponSize RangedWeapon PrefAttackDist MinRange MaxRange NumDice DieToRoll CritThreat CritHitMult Category BaseCost Stacking ItemMultiplier Description InvSoundType MaxProps MinProps PropColumn StorePanel ReqFeat0 ReqFeat1 ReqFeat2 ReqFeat3 ReqFeat4 AC_Enchant BaseAC ArmorCheckPen BaseItemStatRef ChargesStarting RotateOnGround TenthLBS WeaponMatType AmmunitionType QBBehaviour ArcaneSpellFailure %AnimSlashL %AnimSlashR %AnimSlashS StorePanelSort ILRStackSize
7 174 lightcrossbow 2 3 0x00030 1 2 WBwXl 0 1 1 1 it_bag **** 0 6 1 2 25 30 10 100 1 8 2 2 2 35 1 2 1674 19 8 0 1 1 46 49 50 51 **** 4 0 0 5402 0 2 60 9 2 **** **** **** **** **** 29 1
I'm not certain if that's the preferred range for ai to be at, or a range which is used to detemine penalties (or even unused). I think minrange and maxrange are used to identify model part ranges, not weapon ranges.
Funky
Modifié par FunkySwerve, 09 janvier 2011 - 12:00 .