Author Topic: Strafe Jets  (Read 2505 times)

Another Cave Story suggestion. This might not just be used for fun, but I bet this could be used for building, too.
Think of jets that instantly set you to a set speed in the direction you're facing. Until you touch the ground, you have one second worth of constant jets. Maybe there could be a setting to remove that for building.
« Last Edit: November 17, 2014, 08:15:48 PM by GMO Ferret »

this would be amazing for so many applications

i can imagine some kind of cool platforming duel using something like this. for building it could also replace the whole crouch+jump+jet thing to go forward quickly

Oh you mean strafe jets?


That would be awesome, you should re-name the title to strafe jets because the directional jets addon is already made and its included in spacemod, but it works by jetting in the direction you face in not the way described...

Sort of like how the double jump player works, but with jets?
Alright.

if you want to event it:

onActivate >> Self >> fireRelay
onRelay >> Self >> fireRelay
onRelay >> Self >> VCEifValue "<var:pl:jetting>" == "1" ""
onVariableTrue >> Player >> addRelativeVelocity/addVelocity "stuff..."

Like how you can strafe with the katana but on a playertype?

if you want to event it:

onActivate >> Self >> fireRelay
onRelay >> Self >> fireRelay
onRelay >> Self >> VCEifValue "<var:pl:jetting>" == "1" ""
onVariableTrue >> Player >> addRelativeVelocity/addVelocity "stuff..."

That would literally shoot him left or right constantly.

if you want to event it:

onActivate >> Self >> fireRelay
onRelay >> Self >> fireRelay
onRelay >> Self >> VCEifValue "<var:pl:jetting>" == "1" ""
onVariableTrue >> Player >> addRelativeVelocity/addVelocity "stuff..."
you would need to check the angle the player is facing
you would then need to do some math and a loop/string of checks to add a set amount of velocity based on the angle

No, it sets you in the direction you're facing. The only problem is setting a limit to how long you can jump for.

No, it sets you in the direction you're facing. The only problem is setting a limit to how long you can jump for.
That's easy.

Set a variable on the player to zero.
Make an if statement detecting if the variable >= 1.
If false, then check for the jetting.
When the jets go, make it add 1, so this adds up as long as the jets are held.  When the player stops jetting, make this variable set back to 0.
If the variable >= 1, use the velocity events.
Add another if statement that detects if the variable >= 100.
If true, have a delayed cool down using toggle events, and set back to 0 once cool down is completed.

Make sense?

Also if you have the SetEventDelay event, I think you can adjust the cool down length based on the amount of "fuel" that is used.
« Last Edit: November 19, 2014, 02:15:37 AM by SWAT One »

VCE is obsolete, I stopped using it when he took it down and told people to stop using it.
Useful or not, Suggestions and Request is a section for that not to give someone an alternative solutions to what he is asking.

That's easy.

Set a variable on the player to zero.
Make an if statement detecting if the variable >= 1.
If false, then check for the jetting.
When the jets go, make it add 1, so this adds up as long as the jets are held.  When the player stops jetting, make this variable set back to 0.
If the variable >= 1, use the velocity events.
Add another if statement that detects if the variable >= 100.
If true, have a delayed cool down using toggle events, and set back to 0 once cool down is completed.

Make sense?

Also if you have the SetEventDelay event, I think you can adjust the cool down length based on the amount of "fuel" that is used.
Yeah, but I want it only to refill when you touch the ground. There's gonna be huge pits, and you'll have to make insane jumps that have you touch the ground for- Well, you get it. I can't have it be based on a set cooldown.

Yeah, but I want it only to refill when you touch the ground. There's gonna be huge pits, and you'll have to make insane jumps that have you touch the ground for- Well, you get it. I can't have it be based on a set cooldown.
or you can make it work like the default jump jets, how it adds to the fuel value constantly, but slowly

Yeah, but I want it only to refill when you touch the ground. There's gonna be huge pits, and you'll have to make insane jumps that have you touch the ground for- Well, you get it. I can't have it be based on a set cooldown.
You could make it detect if you are perfectly still for a duration of x ticks?

No edit:

for*


This isn't the help board forget
« Last Edit: November 20, 2014, 05:15:29 AM by SWAT One »