I've been having a look through all of this and trying various things. I'm also going through the camera files using CG File Explorer looking for some of the different terminology used to find more ways of adjusting the camera.
My aim is to attach the camera
to the current user player instead of the ball itself. This should not only stop the micro movement of the camera in relation to the ball, but should also stop the dynamic zooming in and out (Thanks
@6ons1 for your research on this)
I've noticed every time I try and attach the camera to 'Player' instead of 'ActiveBall' it will automatically send the camera to my Keeper no matter what the TargetId is below it. The last line in bold is the line which seems irrelevant when using 'Player'.
<FIFAExpressionProperty>
<property name="PropertyName" type="string" value="targetType" />
<ExpressionTree.Variable>
<property name="int" type="int" value="-1" />
<property name="enumType" type="string" value="ObjectTypes" />
<property name="enumValue" type="string" value="Player" />
</ExpressionTree.Variable>
</FIFAExpressionProperty>
<FIFAExpressionProperty>
<property name="PropertyName" type="string" value="targetId" />
<Muse.Fifa.ActionVariable>
<property name="VariableName" type="string" value="ReactingPlayerId" />
The closest I've come to having it work is attaching the camera to the referee using the below lines. My theory works in that the camera isn't zooming in and out and it's following the ref smoothly. The only problem is that the ref isn't always where the ball is so it's not really a viable option.
<FIFAExpressionProperty>
<property name="PropertyName" type="string" value="targetType" />
<ExpressionTree.Variable>
<property name="int" type="int" value="1" />
<property name="enumType" type="string" value="ObjectTypes" />
<property name="enumValue" type="string" value="Referee" />
</ExpressionTree.Variable>
</FIFAExpressionProperty>
<FIFAExpressionProperty>
<property name="PropertyName" type="string" value="targetId" />
<ExpressionTree.Variable>
<property name="int" type="int" value="0" />
<property name="enumType" type="string" value="OfficialsIds" />
<property name="enumValue" type="string" value="Referee" />
</ExpressionTree.Variable>