Game Development Community

Jetjump

by umberto girard · in Torque 3D Beginner · 04/16/2013 (11:07 am) · 3 replies

Hy yall, im a noob at t3d,
Ive been trying to figure out how to activate the jetjump and bind it to a key, could someone be so kind to tell me exactly what to do?
Please im going nuts
Thanks in advance

#1
04/16/2013 (12:31 pm)
Decide what key you want to bind the jump jet action to. This example will use space (instead of jumping the player will now jumpjet).

In scripts/client/default.bind.cs find the jump function and change the mvTriggerCount to 1.
// Modified for jumpjet
function jump(%val)
{
   $mvTriggerCount1++;
}
Delete config.cs if it exists.

Now, inside your player datablock modify/add these fields:
airControl = 0.3;
jetJumpForce = 8.3 * 10;  
jetJumpEnergyDrain = 0.6;  
jetMinJumpEnergy = 0;

And that's it. Be aware that jetting will conflict with alt-fire if your weapons are set up for it.
#2
04/19/2013 (2:45 pm)
Lovely thanks
#3
04/01/2014 (11:51 pm)
Many thanks, great!