Actionmap for Flying vehicle

Scripting questions, discussions, etc
3 posts Page 1 of 1
Hodo33
Posts: 13
Joined: Fri Dec 29, 2017 4:34 pm
by Hodo33 » Tue Mar 20, 2018 7:29 pm
I managed to get my player mounted in a airplane but I can't get it to fly around. Anyone have an example action map for making a plane fly?
Jason Campbell
Posts: 250
Joined: Fri Feb 13, 2015 2:51 am
 
by Jason Campbell » Sun Mar 25, 2018 4:20 am
Hey Hodo, you need to set up the physics in your datablock. The included vehiclemaps should at least get you moving. Getting a realistic airplane is going to take a bit of work I think. Here is a flying car datablock made by someone in the old forums. This is just a cheetah with no wheels as an example and I had to alter the mounting. There is an included crappy install.txt that I threw together.

Flying Car
https://drive.google.com/open?id=13LpiBniiCX5T3uLVoycoTLDMM59eCJdw

As far as an action map, it depends on what you want to do. Something like making "w" increase engine RPM instead of "moveforward" is most likely going to take some engine changes because I believe it is just set to a basic global move. The same move that pushes your player forward.

Either way the physics are not really too good. You can take off from any speed and landing is sort of a crash. Heh.
Hodo33
Posts: 13
Joined: Fri Dec 29, 2017 4:34 pm
by Hodo33 » Fri Apr 06, 2018 3:05 am
Thanks for the reply. I got the push pop movemap figured out and yes the flight physics needs a bit of work. W or mouse wheel should set a constant power level. Other than that the plane flies, banks like it should and I put a rocket launcher on it <grin> wish I had more time to dig into the engine physics.
3 posts Page 1 of 1

Who is online

Users browsing this forum: No registered users and 1 guest