Jump to content

IsJetpacking?


Recommended Posts

Does anyone know of a way to tell when the player is using a jetpack? Currently I'm just using an OnControlDown event to detect when jump is being held down, but it registers some false positives (like jumping). Is there a way to tell by checking the animations?

 

On a related note, are there F4SE control codes for primary attack and melee? I've tried using the codes from CustomControlMap.txt ("PrimaryAttack" and "Melee") but no luck.

Link to comment
Share on other sites

Jetpack start animation i have found but stopping i dont know.

 

Register("jetpackStart")

 

Try these with event.notification()

Register("JumpDown")
Register("jumpEnd")
Register("jumpFall")
Register("jumpImpactLand")
Register("jumpImpactLandToRun")
Register("jumpLand")
Register("jumpLandSoft")
Register("jumpLandToRun")
Register("jumpLandToWalk")
Register("jumpMovingFall")
Register("ImpactLand")
Register("impactLandEnd")

Register("PowerArmorHardLanding")

Link to comment
Share on other sites

OnControlUp pretty reliably tells when jetpacking ends, so that should be enough. What I'm doing is jacking up the speedmult while the player is jetpacking, which, in concert with eliminating the AP cost, turns it into a fast travel alternative and gap closer during melee combat. It handles pretty sweet at the moment. The problem is when the player presses jump and continues to hold it down, without double tapping it to jetpack - the player gets a big speedmult boost without leaving the ground. What I've done is add a jetpack sound effect, so that it's like you're running around with a jetpack speed boost. I'm not totally sure I want to fix the "bug" since it works out to be pretty fun.

Edited by Imp of the Perverse
Link to comment
Share on other sites

I've just been messing around with a bunch of different animations to see what I can get to get working events for. Unfortunately, the only animations that I've gotten to work are on this very short list. For example, I tried all melee events and not a single one of them worked. I also tried JetpackStart, with no luck either. Well, this is disappointing.

Link to comment
Share on other sites

That's good news about the WeaponFIre, I think I can use that for something, but yeah, I'm not having any luck with the jetpack related events.

 

edit - Nevermind, I need a melee event

Edited by Imp of the Perverse
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...