Author Topic: Support_HeightControl.zip  (Read 1737 times)

Does anyone have a mirror or copy of this fantastic mod? The only place I could find it is RTB and that is down.


THe RTB archives are a good place to get the add-on for now.
I still have to get some work done on it before i will rehost it and have a topic for it here. :S

The add-on is badly made because it could have easily been done entirely server sided.

The add-on is badly made because it could have easily been done entirely server sided.
As far as i know, crouching cannot be detected when the player is in a vehicle.
Though the jumping can easily be done serverside only, yes.
As said, still reworking it, so any tips are welcome. :)
« Last Edit: November 24, 2014, 09:09:18 AM by lordician »

As far as i know, crouching cannot be detected when the player is in a vehicle.
Though the jumping can easily be done serverside only, yes.
As said, still reworking it, so any tips are welcome. :)
Never mind. I didn't consider the player being in a vehicle. There is no callback when you crouch while they're in a vehicle. You should at least make the jumping server sided and then maybe make descend the light key.

Never mind. I didn't consider the player being in a vehicle. There is no callback when you crouch while they're in a vehicle. You should at least make the jumping server sided and then maybe make descend the light key.
Descend use the light key...
Yeah that sounds good, though it doesn't have a callback for when people let go of the button i think?
I might put that in as the alternative for people without the mod/client.
I really wanna keep the crouching in as it seems more intuitive to me then the light key or something else.
And yeah, it is in vehicles, that is the whole point of the mod.
The name of the mod really doesn't do well, does it. :/

And yes, jumping key gets detected server side already.
The plan is to make it easier for other mod creators to detect if the player is pressing jump and crouch in vehicles using this mod as well.
Especially the crouch button can be useful for other mods i suppose.

Descend use the light key...
Yeah that sounds good, though it doesn't have a callback for when people let go of the button i think?
Just make it descend when their light is on and stop descending when they turn their light off?

Just check if(isObject(%client.player.light)) before the parent to see if it was they're turning their light off.

Just make it descend when their light is on and stop descending when they turn their light off?

Just check if(isObject(%client.player.light)) before the parent to see if it was they're turning their light off.
Yeah alright, guess that is good.
Though i am gonna put something so that people can disable that if people also use the light key for something else in the vehicle.
But then again, maybe they want to use space for something else, so now that i am thinking of it, i am thinking if making a seperate keybind for it will work.
And then leave the jump key and light key for those without the mod (and it being able to be disabled for the vehicles which use any or both)...

It's just, i want to keep it accessible for users without the mod, but i also want to keep as many options open for the vehicle creators as i can.