Game Development Community

Binding functions/and Jet Packs?!?!?

by Anthony Rosenbaum · in General Discussion · 01/10/2002 (10:43 pm) · 2 replies

ok I am trying to review the code and I see how the t2 ppl did the jetpack/vehicle jets
Their bindings have something called mouseJet that uses the mouse button1. it then calles a mvTrigger3 (move trigger i presume) there is similar variables to acess jumping and firing already in the code.
My question is Could someone explain this trigger variable for me?
And
How would I bind the mouse to use this "thrust" only while IN a vehicle? Leaving the 2nd mouse button free, for some other action.
Anthony

#1
01/11/2002 (7:49 am)
bump
#2
01/11/2002 (10:10 am)
The mvTriggerN and other mv* variables are client side variables that are polled every 30th of a sec and converted into "moves" sent to the server. The controlled object on the server receives this as a Move* structure, the argument :processTick()

Bind the mouse to a trigger just as the mouseFire()function is in example /fps/client/scripts/default.bind.cs