Added directional jumping, suitable for adding to a custom feat. Jump direction is based on the pc facing. There is no DC for directional jumps, you jump based purely on a roll to determine distance.
Added a jumping animation. It turns out there is a stock jump animation called "jumpback". The jumper will now play this animation in reverse, effectively making it a "jumpforward" animation. I should have a youtube video of directional jumping and the jump animation up in 20 minutes or so.
If someone wanted to develop this into a feat, I would suggest allowing the player to click a target for the jump and setting a DC based on that. For instance most adventurers would be able to successfully jump to a target 3 feet away all the time (except for that clumsy mage), while accurate jumps farther away would be higher DC. The code for assigning DC automatically is in the stock jump script. Since out of combat jumps the pc can take 10. Any targetted jump under 10 feet should be auto success.
There is no code for an intentionally jump down, something that is handled by pnp rules. If your landing spot is more than 10 feet below the jumper, the jumper takes damage. Theoretically, if this was a feat where the pc selected the target of their jump, this could be added, but the difference is only 1d6. (If you succeed on a jump down check, you take falling damage as if you had dropped 10 fewer feet than you actually did. )
Next step would be to add some sort of detection of obstructions that would stop a jump.
Modifié par kamal_, 19 octobre 2012 - 01:35 .