[7B3] Destroyers always "overshoot Y" coordinate

This forum provides information on obtaining access to Public Beta versions of X4: Foundations allowing people running those versions to provide feedback on their experiences.

Moderator: DevNet Public Moderators

Post Reply
flywlyx
Posts: 1041
Joined: Sat, 15. May 21, 03:45
x4

[7B3] Destroyers always "overshoot Y" coordinate

Post by flywlyx » Mon, 29. Apr 24, 05:09

https://youtu.be/XXA37J_5EjE?si=ldY2FGE_B4vp2yZT&t=21
Starting from 21S, destroyers tend to overshoot the Y coordinate before circling back to engage in open fire.

Code: Select all

<create_position name="$pos_yoffset" space="$target.sector" x="$targetposition.x" y="$mysectorpos.y" z="$targetposition.z"/>
         <set_value name="$dist_horizontal" exact="this.assignedcontrolled.bboxdistanceto.[$target.sector, $pos_yoffset] - ($target.size/2m)"/>

Code: Select all

<create_position name="$pos" space="$target.sector" z="$dist_horizontal - $aimdist" object="this.ship"/>

Code: Select all

<create_position name="$idealpos" space="$target.sector" x="$pos.x" y="$targetposition.y" z="$pos.z"/>
It could assist in clearing the station during movement, but it can appear quite awkward if the station module isn't obstructing the path.

Post Reply

Return to “X4: Foundations - Public Beta Feedback”