Community Forum

Pipe Camera

Forum Overview >> Editor

Created30.06.2022 15:14

Henry Melrose (Haza747) 30.06.2022 15:14

I am trying to add a toolcamera to a pipe on a combine. I add the line in the XML and add the nodes but to no luck. Could anyone help how to add a pipe camera, preferably with a key binding. Thank you.


Bilbo Beutlin (BBeutlin) 30.06.2022 22:18
The prerequisite is, of course, that the camera exists in the vehicle.i3d. If necessary, a new camera must be set up for this: GE menu create/camera.
The implementation in the XML is very easy for driveable/enterable. Just add the camera in the vehicle.enterable.cameras section.
For your pipe camera use eg.:
<camera node=".." rotatable="false" useWorldXZRotation="false" useMirror="false" isInside="false" positionSmoothingParameter="0" useOutdoorSounds="true" />

If you have an attachable, but non-driveable/enterable, the camera must be added in vehicle.attachable.toolCameras, eg.:
<toolCamera .. (same as above) />

Notice that you cannot assign an explicite key to the added camera. The cameras are switched by your normal camera toggle key.

Henry Melrose (Haza747) 02.07.2022 12:26
Thank you very much for your help.

Note: Log in to post. Create a new account here.