Anth James
International
- 22 September 2017
@Nisoley You can see just after the penalty, I think @giuzioevo just wanted to eliminate the shake and camera following the scorer. It stays on the goal now and looks more natural.
@MafiaMurderBag you can just drop it in I'm fairly sure. If you want to just add the penalty cam to your existing camera settings just add the following lines to the packages\gameplay_setpiece\packages_setpiece_penaltykick.xml in your musedata-match.big
<?xml version="1.0" encoding="us-ascii"?>
<import>
<ProcessGraph.ProcessGraph>
<property name="name" type="string" value="package_gameplay_camera" />
<property name="DisplayCategory" type="string" value="gameplay" />
<property name="priority" type="int" value="0" />
<property name="sequenceflagtype" type="string" value="PERSISTENT" />
<property name="numinstancesrequired" type="int" value="4" />
<ProcessGraph.SerialNode>
<property name="Behavior" type="int" value="1" />
<FIFAPresentationNodes.CameraNode>
<EvalCoordsCollection />
<CameraSetCollection />
<FIFAExpressionProperty>
<property name="PropertyName" type="string" value="cameraViewContext" />
<ExpressionTree.Variable>
<property name="int" type="int" value="-1" />
<property name="enumType" type="string" value="CameraViewContext" />
<property name="enumValue" type="string" value="Gameplay" />
</ExpressionTree.Variable>
</FIFAExpressionProperty>
<CameraTargetCollection>
<CameraTarget>
<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="ActiveBall" />
</ExpressionTree.Variable>
</FIFAExpressionProperty>
<FIFAExpressionProperty>
<property name="PropertyName" type="string" value="targetId" />
<ExpressionTree.Variable>
<property name="int" type="int" value="0" />
</ExpressionTree.Variable>
</FIFAExpressionProperty>
<FIFAExpressionProperty>
<property name="PropertyName" type="string" value="targetComponent" />
<ExpressionTree.Variable>
<property name="int" type="int" value="0" />
<property name="enumType" type="string" value="ObjectComponents" />
<property name="enumValue" type="string" value="BallCenter" />
</ExpressionTree.Variable>
</FIFAExpressionProperty>
</CameraTarget>
</CameraTargetCollection>
<CameraCollection>
<CameraInstance>
<property name="cameraName" type="string" value="Broadcast Main" />
<property name="cameraBehavior" type="string" value="gameplaybehavior" />
<property name="cameraEvaluators" type="int" value="0" />
<property name="leadingEnabled" type="bool" value="True" />
<property name="cameraFramingOption" type="int" value="0" />
<property name="blendLength" type="float" value="10" />
<property name="blendCurve" type="int" value="4" />
<property name="blendPolicy" type="int" value="1" />
<property name="targetHeightOffset" type="float" value="20" />
<property name="zoomInitialValue" type="float" value="0.87" />
<ZoomModifierCollection>
<ZoomModifier>
<property name="zoomFinalValue" type="float" value="0.87" />
</ZoomModifier>
</ZoomModifierCollection>
<FocalDistModifierCollection />
</CameraInstance>
</CameraCollection>
<property name="transitionType" type="int" value="1" />
<property name="transitionSpeed" type="float" value="1" />
<ChildrenList />
<property name="name" type="string" value="Penalty Kick Camera" />
<property name="duration" type="float" value="65535" />
</FIFAPresentationNodes.CameraNode>
<property name="name" type="string" value="" />
<property name="duration" type="float" value="65535" />
</ProcessGraph.SerialNode>
<property name="actionvariablesdefname" type="string" value="FIFA_Setpiece" />
</ProcessGraph.ProcessGraph>
@MafiaMurderBag you can just drop it in I'm fairly sure. If you want to just add the penalty cam to your existing camera settings just add the following lines to the packages\gameplay_setpiece\packages_setpiece_penaltykick.xml in your musedata-match.big
<?xml version="1.0" encoding="us-ascii"?>
<import>
<ProcessGraph.ProcessGraph>
<property name="name" type="string" value="package_gameplay_camera" />
<property name="DisplayCategory" type="string" value="gameplay" />
<property name="priority" type="int" value="0" />
<property name="sequenceflagtype" type="string" value="PERSISTENT" />
<property name="numinstancesrequired" type="int" value="4" />
<ProcessGraph.SerialNode>
<property name="Behavior" type="int" value="1" />
<FIFAPresentationNodes.CameraNode>
<EvalCoordsCollection />
<CameraSetCollection />
<FIFAExpressionProperty>
<property name="PropertyName" type="string" value="cameraViewContext" />
<ExpressionTree.Variable>
<property name="int" type="int" value="-1" />
<property name="enumType" type="string" value="CameraViewContext" />
<property name="enumValue" type="string" value="Gameplay" />
</ExpressionTree.Variable>
</FIFAExpressionProperty>
<CameraTargetCollection>
<CameraTarget>
<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="ActiveBall" />
</ExpressionTree.Variable>
</FIFAExpressionProperty>
<FIFAExpressionProperty>
<property name="PropertyName" type="string" value="targetId" />
<ExpressionTree.Variable>
<property name="int" type="int" value="0" />
</ExpressionTree.Variable>
</FIFAExpressionProperty>
<FIFAExpressionProperty>
<property name="PropertyName" type="string" value="targetComponent" />
<ExpressionTree.Variable>
<property name="int" type="int" value="0" />
<property name="enumType" type="string" value="ObjectComponents" />
<property name="enumValue" type="string" value="BallCenter" />
</ExpressionTree.Variable>
</FIFAExpressionProperty>
</CameraTarget>
</CameraTargetCollection>
<CameraCollection>
<CameraInstance>
<property name="cameraName" type="string" value="Broadcast Main" />
<property name="cameraBehavior" type="string" value="gameplaybehavior" />
<property name="cameraEvaluators" type="int" value="0" />
<property name="leadingEnabled" type="bool" value="True" />
<property name="cameraFramingOption" type="int" value="0" />
<property name="blendLength" type="float" value="10" />
<property name="blendCurve" type="int" value="4" />
<property name="blendPolicy" type="int" value="1" />
<property name="targetHeightOffset" type="float" value="20" />
<property name="zoomInitialValue" type="float" value="0.87" />
<ZoomModifierCollection>
<ZoomModifier>
<property name="zoomFinalValue" type="float" value="0.87" />
</ZoomModifier>
</ZoomModifierCollection>
<FocalDistModifierCollection />
</CameraInstance>
</CameraCollection>
<property name="transitionType" type="int" value="1" />
<property name="transitionSpeed" type="float" value="1" />
<ChildrenList />
<property name="name" type="string" value="Penalty Kick Camera" />
<property name="duration" type="float" value="65535" />
</FIFAPresentationNodes.CameraNode>
<property name="name" type="string" value="" />
<property name="duration" type="float" value="65535" />
</ProcessGraph.SerialNode>
<property name="actionvariablesdefname" type="string" value="FIFA_Setpiece" />
</ProcessGraph.ProcessGraph>
Last edited: