[1253]cutscene development - camera_lookat - inconsistent application of distance param

Ask here if you experience technical problems with X4: Foundations.

Moderator: Moderators for English X Forum

Post Reply
kuertee
EGOSOFT
EGOSOFT
Posts: 789
Joined: Sun, 14. Dec 03, 13:05
x4

[1253]cutscene development - camera_lookat - inconsistent application of distance param

Post by kuertee » Fri, 2. Jul 21, 15:47

it looks to me that the application of the distance parameter is inconsistent.

this most basic camera_lookat cutscene of a ship moving away from a station puts the camera slightly to the left of the front of the ship and points it at the station.
during the play, the camera position is kept relative to the ship, while the station is kept in the middle of the screen - as expected of a look at camera.
note that the distance parameter in this setup is based on the ship - allowing the camera to be position just outside the ship's bounding box.

Code: Select all

<camera_lookat
	position_reference="target_object"
	lookat_reference="look_at_object"
	orient_to="object"
	yaw="315" pitch="15" distance="100%" />
HOWEVER, when a begin and end nodes are added, the distance parameter of each seems to be based on a totally different object, a much larger object (likely the station or the zone).
the cutscene setup below places the camera a long way from the ship to the point that the ship is not apparent (i.e. sufficiently visible, because its so small) in the cutscene.

Code: Select all

<camera_lookat
	position_reference="target_object"
	lookat_reference="look_at_object"
	orient_to="object"
>
	<begin yaw="315" pitch="15" distance="100%" />
	<end time="10000" yaw="405" pitch="-15" distance="100%" />
</camera_lookat>
consider applying the distance value consistently for both - for ease of cutscene development.
Mods: RPG: Reputations and Professions, Social Standings and Citizenships, Crime has Consequences, Alternatives to Death. Missions/NPCs: Emergent Missions, NPC Reactions, Mod Parts Trader, High-sec Rooms are Locked, Hacking Outcomes, More Generic Missions, Waypoint Fields for Deployment. Others: Auto-cam, Friendly Fire Tweaks, Teleport From Transporter Room, Wear and Tear. QoL: Trade Analytics, Loot Mining, Ship Scanner, Signal Leak Hunter, Station Scanner, Surface Element Targeting, etc.

Post Reply

Return to “X4: Foundations - Technical Support”