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: How do we set up an interior camera placement?  (Read 7023 times)

jonslynn

  • Member
  • **
  • Posts: 78
How do we set up an interior camera placement?
« on: May 26, 2014, 02:59:06 am »

How do we place the position of interior camera for a vehicle.  I can't find any info about it searching here.
Logged

ZeosPantera

  • ||>>-Z-<<||
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2520
  • #1 Outerra Fan Boy
    • My Youtube
Re: How do we set up an interior camera placement?
« Reply #1 on: May 26, 2014, 03:17:14 am »

It is in the Vehicles script. X Y and Z cords
Logged
"Fear accompanies the possibility of death, Calm shepherds its certainty" - General Ka Dargo

PytonPago

  • Hero Member
  • *****
  • Posts: 2284
  • It´s way too complex, dont let me try to explain !
Re: How do we set up an interior camera placement?
« Reply #2 on: May 26, 2014, 06:43:35 am »

How do we place the position of interior camera for a vehicle.  I can't find any info about it searching here.

 look at the place, where vehicle weight is defined (normally behind engine specs.) -
Code: [Select]
  return { com:{y:-0.47, z:0.31}, mass:13710, steering:2.0, steering_ecf:60, centering: 2.6, centering_ecf: 20, com: { z:0.1 } };
}

function vehicle_setup() {
    this.set_fps_camera_pos( {x: -0.51,y: 0.51, z: 2.45}); ///////// -- this here !!!
    this.automaticTransmission = false;
    this.clutchMode = ClutchMode.Manual;
« Last Edit: May 26, 2014, 06:45:13 am by PytonPago »
Logged
We are still undeveloped as long as we don´t realize, that all our science is still descriptive, and than beyond that description lies a whole new world we just haven´t even started to fully understand.

jonslynn

  • Member
  • **
  • Posts: 78
Re: How do we set up an interior camera placement?
« Reply #3 on: May 26, 2014, 07:10:10 am »

Thanks,  I see it now.  "function vehicle_setup"

Logged