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: Camera question  (Read 7868 times)

murkz

  • Full Member
  • ***
  • Posts: 152
    • The Antisocial Gamer
Camera question
« on: April 30, 2013, 02:37:09 am »

Hi Outerrans,

Is it possible to add more cameras?

I was thinking for the tanks, where we can switch between driver, commander, radio operator, loader etc...

Jeff

angrypig

  • Sr. Member
  • ****
  • Posts: 454
Re: Camera question
« Reply #1 on: April 30, 2013, 06:37:30 am »

It's possible but such functionality isn't available in the API now. My proposal is to attach the camera to a bone. It means you can create a dummy object in MAX/Blender orient it to initial position/rotation and then mark it as bone in importer. Then in the script you will be able to call this.add_camera_attach_point("bone name", ...);
Logged

deathevor

  • Sr. Member
  • ****
  • Posts: 265
  • User
    • Sk-Films
Re: Camera question
« Reply #2 on: April 30, 2013, 10:33:47 am »

Just was thinking to ask about the same question :)

One thing to mention - it wouldbe good if the camera rotation angle (orientation properties) can be specified (Locked, Unlocked, Limited + degrees)

  • Basically if it's second Pilot - then camera unlocked and controlled by mouse.
  • If it's a Wing camera or Gear camera - then locked - just watching the same direction as it was set up.
  • And if it's small window in a tank or the passenger in airliner (with no 360 interiors) then the camera can be limited. So pointed specified  direction, can be controlled but within the specified angle.
Logged
VFx Artist/Supervisor, Private Pilot - www.sk-films.com

angrypig

  • Sr. Member
  • ****
  • Posts: 454
Re: Camera question
« Reply #3 on: April 30, 2013, 10:40:34 am »

that those camera constraints are hidden in the "..." :)
Logged

ZeosPantera

  • ||>>-Z-<<||
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2520
  • #1 Outerra Fan Boy
    • My Youtube
Re: Camera question
« Reply #4 on: April 30, 2013, 01:14:25 pm »

I always imagined camera's could be set in game and saved. Go into UFO mode around a set vehicle, adjust the FOV and positioning and press a key combo.
Logged
"Fear accompanies the possibility of death, Calm shepherds its certainty" - General Ka Dargo

necro

  • Sr. Member
  • ****
  • Posts: 451
    • google+ Blog
Re: Camera question
« Reply #5 on: April 30, 2013, 01:36:43 pm »

A bone constrained individual camera is an awesome idea.

But first off all, fixing the wingman cam would also be nice :D
Logged

deathevor

  • Sr. Member
  • ****
  • Posts: 265
  • User
    • Sk-Films
Re: Camera question
« Reply #6 on: April 30, 2013, 03:16:08 pm »

that those camera constraints are hidden in the "..." :)

Lost a bit...

Code: [Select]
//Add camera
  this.set_fps_camera_pos({x:0,y:3.5,z:2.45});
?
 
Logged
VFx Artist/Supervisor, Private Pilot - www.sk-films.com