HeightControl Support
2 KB, 12 years ago, submitted by
This support add-on is a client as well as a server add-on.
It has some features that will enable certain vehicles to control their height like a helicopter.
The features:
Any player
- When mounting a vehicle with HC-support, the player will be notified with a bottomprint.
Players with client
- Press and hold your jump-key to give your vehicle a constant boost up (untill you let the key go).
- Press and hold your crouch-key to give your vehicle a constant boost down (untill you let the key go).
- /HChelp shows HC-controls
Players without client
- Repeatedly press jump key to ascend.
- /HChelp shows a link to this add-on and no-client HC-controls.
Misc.
- Vehicle creators can easily use this mod (more information below)
RTB vehicles using this:
- Jaydee's Vehicle_Apache
- Phydeoux's Vehicle_CivilianHeliPack
- Stratofortress' Vehicle_Blackhawk (HC support added by Marine24)
- Uxie's Vehicle_Aviator_Sub
Information regarding usage of this mod for modders:
Insert these lines in the datablock of your vehicle:
heightcontrol= 1; //Enables the heightcontrol support for this vehicle
ascendVelocity= 1.00; //The velocity it adds when a user presses/holds the jumpkey
descendVelocity= -1.00; //The velocity it extracts when a user presses/holds the jumpkey
And you succesfully added support for this add-on.
IMPORTANT:
Attention all add-on creators who use this mod.
I will soon update this with one of the most anticipated features:
Non-static Heightcontrol!
However, you might have to revise your datablocks to add a new line and adjust some values.
More information coming soon!
Important information:
Players don't have to have this mod too, though they will have less features.
Players who have this mod have access to the best features of this mod due to a client-sided script inside this add-on.
Sadly, i cannot do this otherwise.
Just wait untill vehicles get released which use this add-on.
If i were you, i would download it just in case. ;P
(They need to have the lines i state in their datablocks)
And why do I have to DL then. Is the DL for the prefs?
Sorry for so many questions, it's just that you aren't that informing.
Edit-
Oh so the codes are just for scripters.
People who run a server with this should just act as if it is a normal server add-on (which it is. ;P)
And I'm not going to rate yet ether. So ?/5
The information with the three lines of code is meant for add-on creators.
The Apache already has been officially updated to work with this add-on, so redownload the Apache or update it and you should have it.
If not, I suggest you make it work with bots as well.
I just used the script in the description to make all the helicopters in my add-ons folder have this effect them.
Although, I get this glitch when I press the crouch button to go down, it keeps going down (and eventually through the bottom of the map) until I get out...
I am currently investigating it and adding an extra security measure. ;)
Seriously, you were on the other topic saying rubbish too.
I have no idea why you say that and you do not give any reason.
Apart from that, it looks like you don't know anything, but i can see straight through your lies.
Please, stop making a fool out of yourself.
Yes.
Really useful Lordician, great job
5/5
5/5
I believe those don't have such animations.
And i wouldn't know which helicopter mod does.
Sorry mate.