### How Do You Move Up/Down?

There are no stupid questions, just stupid answers.

#### How Do You Move Up/Down?

practicing01
Posts: 53
Joined: Sat Apr 11, 2015 8:05 pm
Hello, I'm trying to move the player up/down within a no-gravity zone. Setting $mvUpAction and$mvDownAction isn't working. Any help would be appreciated, thanks.

#### Re: How Do You Move Up/Down?

Jason Campbell
Posts: 272
Joined: Fri Feb 13, 2015 2:51 am

Hello. Could you just use a physical zone like in the Outpost mission. You step into the zone and gravity becomes "0.5"

It also pushes you out with appliedForce. Look in Outpost.mis.

You could also use "Jetting" to move up and no Jet to move down.

#### Re: How Do You Move Up/Down?

Code_Man
Posts: 55
Joined: Fri Jan 26, 2018 9:12 pm
Can you just jump off the floor?

Also you could make custom commands to add an impulse to the player, this should allow for up/down movement in 0g.

Sorry to derail this thread, but i want to ask another question and dont really feel like making a new thread, but how can i make a bot crouch/jump/etc?

#### Re: How Do You Move Up/Down?

Duion
Posts: 1133
Joined: Sun Feb 08, 2015 1:51 am

Wasn't there a hotkey for keyboard for moving up and down since you cannot do that with the arrow keys?

#### Re: How Do You Move Up/Down?

fLUnKnhaXYU
Posts: 53
Joined: Wed Nov 15, 2017 8:19 am
practicing01,
In the console , just using
%obj.setvelocity("0 0 10");

works with the defaultPlayer datablock settings for mass(120) , density(1.3) and drag(1.1) and the gravity mod of the physical zone set to 0 . I didnt bind a key to it but you could try it . Of course , you can change that z value(10) to whatever . 10 seemed fairly quick .

Code_Man
As for the Crouch animation just using
 %obj.setActionThread(pistol_crouch_root , 0 , 0);


in the console did fine The bot would move in the crouch position from this point . I was having a bit of trouble selecting the bot , I dont know why , made me imagine of some way to access bots or groups of bots from a list of bots added using the NavMesh and possibly assigning animations to multiple bots .

#### Who is online

Users browsing this forum: No registered users and 5 guests