Outerra forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Download Outerra Tech Demo. Unofficial Outerra Discord server, MicroProse Discord server for OWS.

Author Topic: Vehicle editing  (Read 8003 times)

Planetscape

  • Newbie
  • Posts: 3
  • newbie
Vehicle editing
« on: October 21, 2012, 11:17:37 am »

Hello everyone! I've been following this great program for quite some time and today I decided to buy the alpha,
so I could play around a bit more. I would really like to edit the land vehicle engine physics so it can drive a bit faster.
I've already found a map called "jsbsim" which contains a whole lot of (at least I think) unused files. Is the file for
the UGV land vehicle somewhere among those or is it impossible to edit vehicle physics at the moment?
Logged

Chaoz

  • Full Member
  • ***
  • Posts: 156
  • newbie
Re: Vehicle editing
« Reply #1 on: October 21, 2012, 11:58:13 am »

you can edit wehicle physics in the vehicle.cfg in the outerra main directory , the jsbsim files are for aircrafts only.(Not that you couldn't drive a vehicle with it, but it sure isn't supposed to do that) :D
Logged

Planetscape

  • Newbie
  • Posts: 3
  • newbie
Re: Vehicle editing
« Reply #2 on: October 21, 2012, 12:08:02 pm »

Hello Chaoz, thanks for your quick response! I can't seem to find vehicle.cfg, I am looking in the C:\Program Files (x86)\Outerra\Anteworld folder.
Logged

Chaoz

  • Full Member
  • ***
  • Posts: 156
  • newbie
Re: Vehicle editing
« Reply #3 on: October 21, 2012, 12:10:08 pm »

did you install the test version ?
http://www.outerra.com/forum/index.php?topic=1146.0 here you will find for now the newest version
Logged

Planetscape

  • Newbie
  • Posts: 3
  • newbie
Re: Vehicle editing
« Reply #4 on: October 21, 2012, 12:20:53 pm »

Ah cheers! I'll give that a try  :)
Logged

cameni

  • Brano Kemen
  • Outerra Administrator
  • Hero Member
  • *****
  • Posts: 6721
  • No sense of urgency.
    • outerra.com
Re: Vehicle editing
« Reply #5 on: October 21, 2012, 01:28:48 pm »

Info about the vehicle.cfg is here. Note that it's just a temporary hack, and a scriptable vehicle system is coming soon - just working on it.
Logged

ZeosPantera

  • ||>>-Z-<<||
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2520
  • #1 Outerra Fan Boy
    • My Youtube
Re: Vehicle editing
« Reply #6 on: October 21, 2012, 01:50:50 pm »

I am interested in seeing how you finalize the adjustment files/editing. Will it essentially be a huge text file with 200 parameters or are multiple files each for engine torque and suspension and steering geometry and weight distribution and camera positions and transmission ratios and tire model info and aerodynamic info all going to be zipped in an obscure format for editing.

This is the big one for me so I have to make sure it is acceptable otherwise you two will have to sit in the naughty chair for a time out.
Logged
"Fear accompanies the possibility of death, Calm shepherds its certainty" - General Ka Dargo

cameni

  • Brano Kemen
  • Outerra Administrator
  • Hero Member
  • *****
  • Posts: 6721
  • No sense of urgency.
    • outerra.com
Re: Vehicle editing
« Reply #7 on: October 21, 2012, 02:28:48 pm »

Right now it's a single file. And it's a script, not an array of parameters in some fixed format.

The basic vehicle interface expects the script to provide the forces to apply to individual wheels (engine force and braking force) as well as steering angle. Technically you can compute the forces as you wish, simulating lots of things in the script already. A simple default version just assumes the engine provides some maximum force, and multiplies it with the 0..1 input value of throttle (gas), and applies to each wheel. The same with brakes using the brake input, and steering for steerable wheels. There's an underlying physics engine that simulates the vehicle, but the control of forces acting on the vehicle is on you. Things like the engine and transmission characteristics can be handled here already.

Someone can develop a whole sophisticated script universally controlling some class of vehicles, that would be requiring you to adjust some well-named values at the beginning or in a separate file to make it fit for your particular vehicle.

From our side there should later come some more advanced vehicle interfaces that will provide a better control over the physics. The basic interface now uses a simple tire model and expects you to specify things like slip coefficient and suspension coefficients etc. Additional interfaces for tires would enable you to handle the tire physics in more sophisticated way.
Logged