Difference between revisions of "FArrowSpeedMult"
imported>Switch foot4 |
imported>JRoush m |
||
(5 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
{| border="1" cellpadding="5" cellspacing="0" width="100%" | |||
|- | |||
!style="background:#ffdead;" width="100" | Description | |||
|style="background:#ffeded;" | | |||
The base speed at which fired arrows fly in units/sec. | |||
|- | |||
!style="background:#ffdead;" |Default value | |||
|style="background:#ffeded;" | | |||
1500.0000 | |||
|} | |||
=== Arrow Speed === | |||
The (hopefully) complete formula for arrow speed is: | |||
(Speed prop. of [[Ammo|Arrow]]) * [[fArrowSpeedMult]] * ([[fArrowWeakSpeed]] + (1 - [[fArrowWeakSpeed]])*DrawMult) | |||
Here "DrawMult" depends on how long the player holds down the fire button to draw the bow (the "draw time"): | |||
DrawMult = [[fArrowBowTimerBase]] + [[fArrowBowTimerMult]] * DrawTime , or 1.0 (whichever is less) | |||
This was worked out with a little experimentation and OBSE's [[GetProjectileSpeed]] function. Using the default settings, the player must hold down the fire button for at least 1.875 seconds to maximize arrow speed, which corresponds to the length of the default bow animation and sound effect. | |||
<b>Note:</b> Arrow speed does NOT depend on the speed property of the bow, only of the arrow. The speed property of the bow apparently determines the length of the firing animation and therefore the rate at which the player can draw and fire arrows - but not how fast those arrows will travel. | |||
<div id="catlinks"><p class='catlinks'>[[Special:Categories|Category]]: [[:Category:Settings|Settings]]</p></div> |
Latest revision as of 20:11, 5 April 2010
Description |
The base speed at which fired arrows fly in units/sec. |
---|---|
Default value |
1500.0000 |
Arrow Speed[edit | edit source]
The (hopefully) complete formula for arrow speed is:
(Speed prop. of Arrow) * fArrowSpeedMult * (fArrowWeakSpeed + (1 - fArrowWeakSpeed)*DrawMult)
Here "DrawMult" depends on how long the player holds down the fire button to draw the bow (the "draw time"):
DrawMult = fArrowBowTimerBase + fArrowBowTimerMult * DrawTime , or 1.0 (whichever is less)
This was worked out with a little experimentation and OBSE's GetProjectileSpeed function. Using the default settings, the player must hold down the fire button for at least 1.875 seconds to maximize arrow speed, which corresponds to the length of the default bow animation and sound effect.
Note: Arrow speed does NOT depend on the speed property of the bow, only of the arrow. The speed property of the bow apparently determines the length of the firing animation and therefore the rate at which the player can draw and fire arrows - but not how fast those arrows will travel.