dim3 Forum

Full Version: Fly mode off
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Can you completely rule out fly mode?
Player script, "playerMessage" function, delete this part:
Code:
        case 2:        // flying mode is player_2

            if (!obj.setting.fly) {

                obj.setting.fly=true;

                obj.setting.inputMode=DIM3_INPUT_MODE_FLY;

                obj.motionVector.alterGravity(0);    // reset gravity because now in flying

                iface.console.write('Fly Mode On');

            }

            else {

                obj.setting.fly=false;

                obj.setting.inputMode=DIM3_INPUT_MODE_FPP;

                iface.console.write('Fly Mode Off');

            }

            return;
No more fly mode.

EDIT: Shouldn't this be in the scripting forum?
Thanks! It was really annoying me Smile
Bink Wrote:EDIT: Shouldn't this be in the scripting forum?

I don't think you had to ask, it should be Smile.

I was wondering about turning off flying as well, thanksWink
I thought it might have benn hard-coded in the engine (like edit-mode in sauerbraten)
ah, fair enough, good point Wink
Ever played assault cube? Its the best game made with the sauer engine so far, but it still has edit mode :P
Chainfist Wrote:Ever played assault cube? Its the best game made with the sauer engine so far, but it still has edit mode :P
I played assault cube and it pretty much sucked. Sad
In my opinion Sauerbraten is the best game based on the cube 2 engine.
The graphics rule, the gameplay rules, the AIs are shit and the maps are based on UT2004 maps. Classic.
Reference URL's