Outerra forum
Anteworld - Outerra Game => Tech demo, support, updates => Topic started by: murkz 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
-
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", ...);
-
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.
-
that those camera constraints are hidden in the "..." :)
-
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.
-
A bone constrained individual camera is an awesome idea.
But first off all, fixing the wingman cam would also be nice :D :Þ
-
that those camera constraints are hidden in the "..." :)
Lost a bit...
//Add camera
this.set_fps_camera_pos({x:0,y:3.5,z:2.45});
?