Please tell me how to do it on Flow Graph ?
I did something similar, but my sample had some sort of problems (bugs)
Please, help me!
https://www.youtube.com/watch?v=Scb4jhpo9L8
Re: Zoom & Rotation object
#4Users that are looking to do the same thing will stumble upon this topic without findingThe issue has been resolved.
valuable information, therefore If you manage to accomplish something, the community would appreciate
everyone sharing their solution.
Here is something that I have prepared in the past:
Inspect Element + Zoom Flow Graph

Note: This specific setup only works with GameSDK

Setup:
1. For this Flow Graph you will need to setup the GameTokens first.
Game Tokens:
Code: Select all
<GameTokens>
<GameTokensLibrary>
<LevelLibrary Name="Level">
<GameToken Name="Item_Inspect.Item_ID" Type="Int" Value="0" LocalOnly="1"/>
<GameToken Name="Item_Inspect.Item_Original_Location" Type="Vec3" Value="0,0,0" LocalOnly="1"/>
<GameToken Name="Item_Inspect.State_Inspecting" Type="Bool" Value="false" LocalOnly="1"/>
<GameToken Name="Item_Inspect.Item_Move_To_Camera_Speed" Type="Float" Value="1.000000" LocalOnly="1"/>
<GameToken Name="Item_Inspect.Item_Original_Rotation" Type="Vec3" Value="0,0,0" LocalOnly="1"/>
</LevelLibrary>
</GameTokensLibrary>
</GameTokens>
\GameSDK\GameSDK\levels\your_level\leveldata\GameTokens.xml
If you have already some GameTokens setup, you can just copy them over to your .xml following the structure.
You can also add them manually in Tools > Database View > GameTokens > Add New Item

2. Add the flowgraph into your level, you can drag into the view port an empty entity, right-click > create flowgraph.
Name it anything you like, then copy paste the below Flowgraph into yours.
Flow Graph: (can CTRL + v directly in the Flow Graph window)
Code: Select all
<Graph Description="" Group="">
<Nodes>
<Node Id="215" Class="Debug:InputKey" pos="-3654,3276,0">
<Inputs entityId="0" Key="f" NonDevMode="0"/>
</Node>
<Node Id="217" Class="Physics:RayCastCamera" pos="-2736,3294,0">
<Inputs offset="0,0,0" maxLength="2" ObjTypes="287" IgnoredEntity="0"/>
</Node>
<Node Id="222" Class="Math:InRange" pos="-2196,3348,0">
<Inputs In="0" Min="-1" Max="0"/>
</Node>
<Node Id="226" Class="Mission:GameTokenSet" pos="1602,3456,0">
<Inputs gametoken_Token="State_Inspecting" Value="1"/>
</Node>
<Node Id="228" Class="Mission:GameTokenSet" pos="306,3438,0">
<Inputs gametoken_Token="Item_ID" Value=""/>
</Node>
<Node Id="231" Class="Logic:Any" pos="-2196,3456,0" InHideMask="1023" OutHideMask="1">
<Inputs />
</Node>
<Node Id="233" Class="Mission:GameToken" pos="-3978,5058,0">
<Inputs gametoken_Token="State_Inspecting" compare_Value="1" FireOnStart="1" FireOnlyOnResultChange="1"/>
</Node>
<Node Id="234" Class="Input:MouseCoords" pos="-792,5148,0">
<Inputs World="0" Screen="0" Delta="1"/>
</Node>
<Node Id="235" Class="Entity:BeamEntity" pos="1044,5112,0">
<Inputs entityId="0" CoordSys="1" Position="0,0,0" Rotation="0,0,0" UseZeroRot="0" Scale="0,0,0"/>
</Node>
<Node Id="236" Class="Entity:GetPos" pos="36,5076,0">
<Inputs entityId="0" CoordSys="1"/>
</Node>
<Node Id="237" Class="Vec3:ToVec3" pos="-360,5220,0">
<Inputs x="0" y="0" z="0"/>
</Node>
<Node Id="238" Class="Logic:Any" pos="-360,5094,0" InHideMask="1023">
<Inputs />
</Node>
<Node Id="239" Class="Vec3:AddVec3" pos="594,5184,0">
<Inputs A="0,0,0" B="0,0,0"/>
</Node>
<Node Id="240" Class="Logic:Any" pos="36,5220,0" InHideMask="1023" OutHideMask="1">
<Inputs />
</Node>
<Node Id="242" Class="Logic:Any" pos="594,5094,0" InHideMask="1023">
<Inputs />
</Node>
<Node Id="245" Name="Inspecting" Class="_commentbox" pos="-3996,4762.4824,0">
<Inputs TextSize="1" Color="1,1,1" DisplayFilled="1" DisplayBox="1" SortPriority="16"/>
<ResizeBorder X="0" Y="0" Width="6570" Height="1044"/>
<NodeSize Width="6570" Height="1210.0852"/>
</Node>
<Node Id="248" Class="Mission:GameToken" pos="36,4986,0">
<Inputs gametoken_Token="Item_ID" compare_Value="" FireOnStart="1" FireOnlyOnResultChange="1"/>
</Node>
<Node Id="251" Name="Item_Inspector_(Set_State)" Class="_commentbox" pos="-3960,3087.5283,0">
<Inputs TextSize="1" Color="1,1,1" DisplayFilled="1" DisplayBox="1" SortPriority="16"/>
<ResizeBorder X="0" Y="0" Width="5976" Height="846"/>
<NodeSize Width="5976" Height="1012.0851"/>
</Node>
<Node Id="256" Name="Passes_on_Item_ID" Class="_comment" pos="36,4968,0"/>
<Node Id="264" Class="Mission:GameTokenGet" pos="-3366,3294,0">
<Inputs gametoken_Token="State_Inspecting"/>
</Node>
<Node Id="268" Class="Math:BooleanFrom" pos="-2952,3294,0">
<Inputs Value="0"/>
</Node>
<Node Id="270" Class="Entity:PropertyGet" pos="-396,3384,0">
<Inputs entityId="0" entityProperties_Property="Properties:UseMessage" perArchetype="1"/>
</Node>
<Node Id="274" Class="String:Compare" pos="-36,3384,0">
<Inputs A="" B="Inspect" IgnoreCase="1"/>
</Node>
<Node Id="275" Class="Logic:Any" pos="-396,3474,0" InHideMask="1023" OutHideMask="1">
<Inputs />
</Node>
<Node Id="276" Class="Logic:Any" pos="-36,3474,0" InHideMask="1023" OutHideMask="1">
<Inputs />
</Node>
<Node Id="277" Name="Check_if_Item_can_be_inspected" Class="_comment" pos="-396,3366,0"/>
<Node Id="278" Name="if_item_can_be_inspected" Class="_comment" pos="-36,3366,0"/>
<Node Id="279" Name="Trigger_the_Inspecting_State" Class="_comment" pos="1602,3438,0"/>
<Node Id="280" Name="Check_if_the_Entity_ID_is_Valid" Class="_comment" pos="-2196,3330,0"/>
<Node Id="281" Name="Inspection_Key" Class="_comment" pos="-3654,3384,0"/>
<Node Id="283" Class="Entity:PropertySet" pos="306,3546,0">
<Inputs entityId="0" entityProperties_Property="Properties:bUsable" Value="0" perArchetype="1"/>
</Node>
<Node Id="287" Name="Set_Inspecting_Item_ID" Class="_comment" pos="306,3420,0"/>
<Node Id="288" Name="Disable_Inspecting_Text_on_Item_while_inspecting" Class="_comment" pos="306,3528,0"/>
<Node Id="290" Class="Image:EffectDepthOfField" pos="-3276,5436,0">
<Inputs entityId="0" Enabled="0" Disabled="0" Dof_User_Active="1" Dof_User_FocusDistance="1" Dof_User_FocusRange="2" Dof_User_BlurAmount="2" Dof_MaxCoC="12" Dof_CenterWeight="1"/>
</Node>
<Node Id="292" Class="Actor:LocalPlayer" pos="-3276,5400,0">
<Inputs />
</Node>
<Node Id="297" Name="Activate_/_Deactivate_DoF_Effect" Class="_comment" pos="-3276,5382,0"/>
<Node Id="298" Class="Mission:GameToken" pos="1044,5022,0">
<Inputs gametoken_Token="Item_ID" compare_Value="" FireOnStart="1" FireOnlyOnResultChange="1"/>
</Node>
<Node Id="299" Name="Passes_on_Item_ID" Class="_comment" pos="1044,5004,0"/>
<Node Id="301" Class="Mission:GameTokenGet" pos="-3078,5184,0">
<Inputs gametoken_Token="Item_Move_To_Camera_Speed"/>
</Node>
<Node Id="304" Class="Mission:GameToken" pos="-1908,5130,0">
<Inputs gametoken_Token="Item_ID" compare_Value="" FireOnStart="1" FireOnlyOnResultChange="1"/>
</Node>
<Node Id="305" Name="Passes_on_Item_ID" Class="_comment" pos="-1908,5112,0"/>
<Node Id="307" Class="Camera:GetTransform" pos="-3492,5076,0">
<Inputs />
</Node>
<Node Id="311" Class="Vec3:AddVec3" pos="-3276,5076,0">
<Inputs A="0,0,0" B="0,0,0"/>
</Node>
<Node Id="314" Class="Input:ActionMaps:ActionFilter" pos="-3492,5184,0">
<Inputs actionFilter_Filter="no_move"/>
</Node>
<Node Id="315" Class="Input:ActionMaps:ActionFilter" pos="-3492,5274,0">
<Inputs actionFilter_Filter="no_mouse"/>
</Node>
<Node Id="316" Name="Disable_Movement" Class="_comment" pos="-3492,5166,0"/>
<Node Id="318" Name="Disable_Looking_Around" Class="_comment" pos="-3492,5256,0"/>
<Node Id="323" Class="Game:Start" pos="-1206,4950,0">
<Inputs InGame="1" InEditor="1"/>
</Node>
<Node Id="325" Class="Logic:Any" pos="-1206,5004,0" InHideMask="1023" OutHideMask="1">
<Inputs />
</Node>
<Node Id="327" Class="Mission:GameToken" pos="-2214,3564,0">
<Inputs gametoken_Token="Item_ID" compare_Value="" FireOnStart="1" FireOnlyOnResultChange="1"/>
</Node>
<Node Id="328" Name="Passes_on_Item_ID" Class="_comment" pos="-2214,3546,0"/>
<Node Id="332" Class="Mission:GameTokenGet" pos="-2790,3672,0">
<Inputs gametoken_Token="Item_Original_Location"/>
</Node>
<Node Id="334" Class="Entity:GetPos" pos="792,3438,0">
<Inputs entityId="0" CoordSys="1"/>
</Node>
<Node Id="335" Class="Mission:GameTokenSet" pos="1080,3456,0">
<Inputs gametoken_Token="Item_Original_Location" Value="1"/>
</Node>
<Node Id="336" Name="Set_Original_Item_Location_(so_we_know_where_to_put_it_back_later)" Class="_comment" pos="1080,3438,0"/>
<Node Id="337" Class="Mission:GameTokenGet" pos="-2790,3726,0">
<Inputs gametoken_Token="Item_Move_To_Camera_Speed"/>
</Node>
<Node Id="339" Class="Logic:Any" pos="-3492,5364,0" InHideMask="1023" OutHideMask="1">
<Inputs />
</Node>
<Node Id="342" Class="Mission:GameTokenSet" pos="-396,3924,0">
<Inputs gametoken_Token="Item_Original_Location" Value="0,0,0"/>
</Node>
<Node Id="344" Class="Mission:GameTokenSet" pos="-396,3852,0">
<Inputs gametoken_Token="Item_ID" Value="0"/>
</Node>
<Node Id="345" Class="Entity:PropertySet" pos="-396,3744,0">
<Inputs entityId="0" entityProperties_Property="Properties:bUsable" Value="1" perArchetype="1"/>
</Node>
<Node Id="348" Class="Mission:GameToken" pos="-396,3654,0">
<Inputs gametoken_Token="Item_ID" compare_Value="" FireOnStart="1" FireOnlyOnResultChange="1"/>
</Node>
<Node Id="349" Name="Passes_on_Item_ID" Class="_comment" pos="-396,3636,0"/>
<Node Id="350" Name="Reset_all_values_to_zero_when_we_finish_inspecting" Class="_comment" pos="-396,3618,0"/>
<Node Id="362" Class="Math:BooleanTo" pos="-3492,5454,0">
<Inputs />
</Node>
<Node Id="394" Class="Mission:GameTokenSet" pos="-396,3996,0">
<Inputs gametoken_Token="State_Inspecting" Value="0"/>
</Node>
<Node Id="395" Class="Mission:GameTokenSet" pos="1080,3564,0">
<Inputs gametoken_Token="Item_Original_Rotation" Value="1"/>
</Node>
<Node Id="396" Name="Same_with_Rotation" Class="_comment" pos="1080,3546,0"/>
<Node Id="399" Class="Mission:GameTokenGet" pos="-2790,3780,0">
<Inputs gametoken_Token="Item_Original_Rotation"/>
</Node>
<Node Id="461" Class="Interpol:Vec3" pos="-1746,3672,0">
<Inputs StartValue="0,0,0" EndValue="1,1,1" Time="1" UpdateFrequency="0" Easing="0"/>
</Node>
<Node Id="463" Class="Entity:BeamEntity" pos="-1350,3636,0">
<Inputs entityId="0" CoordSys="1" Position="0,0,0" Rotation="0,0,0" UseZeroRot="0" Scale="0,0,0"/>
</Node>
<Node Id="465" Class="Entity:GetPos" pos="-2214,3654,0">
<Inputs entityId="0" CoordSys="1"/>
</Node>
<Node Id="466" Class="Mission:GameToken" pos="-1350,3546,0">
<Inputs gametoken_Token="Item_ID" compare_Value="" FireOnStart="1" FireOnlyOnResultChange="1"/>
</Node>
<Node Id="467" Name="Passes_on_Item_ID" Class="_comment" pos="-1350,3528,0"/>
<Node Id="468" Class="Interpol:Vec3" pos="-1746,3816,0">
<Inputs StartValue="0,0,0" EndValue="1,1,1" Time="1" UpdateFrequency="0" Easing="0"/>
</Node>
<Node Id="470" Class="Logic:Any" pos="-2214,3798,0" InHideMask="1023" OutHideMask="1">
<Inputs />
</Node>
<Node Id="472" Class="Logic:Any" pos="-2214,3852,0" InHideMask="1023" OutHideMask="1">
<Inputs />
</Node>
<Node Id="474" Class="Logic:Any" pos="-2214,3906,0" InHideMask="1023" OutHideMask="1">
<Inputs />
</Node>
<Node Id="476" Class="Logic:Any" pos="-1350,3798,0">
<Inputs />
</Node>
<Node Id="480" Class="Interpol:Vec3" pos="-2376,5238,0">
<Inputs StartValue="0,0,0" EndValue="1,1,1" Time="1" UpdateFrequency="0" Easing="0"/>
</Node>
<Node Id="487" Class="Logic:Any" pos="-3078,5238,0" InHideMask="1022" OutHideMask="1">
<Inputs />
</Node>
<Node Id="489" Class="Entity:BeamEntity" pos="-1908,5220,0">
<Inputs entityId="0" CoordSys="1" Position="0,0,0" Rotation="0,0,0" UseZeroRot="0" Scale="0,0,0"/>
</Node>
<Node Id="491" Class="Mission:GameTokenGet" pos="-3078,5076,0">
<Inputs gametoken_Token="Item_Original_Location"/>
</Node>
<Node Id="493" Class="Mission:GameTokenGet" pos="-3078,5130,0">
<Inputs gametoken_Token="Item_Original_Rotation"/>
</Node>
<Node Id="497" Class="Logic:Any" pos="-2376,5382,0" InHideMask="1023" OutHideMask="1">
<Inputs />
</Node>
<Node Id="499" Class="Logic:Any" pos="-1908,5382,0">
<Inputs />
</Node>
<Node Id="503" Class="Input:MouseButtonInfo" pos="-3492,5670,0">
<Inputs MouseButton="0" MouseWheel="1"/>
</Node>
<Node Id="510" Name="Zoom_Function" Class="_comment" pos="-3492,5652,0"/>
<Node Id="514" Class="Camera:OverrideFOV" pos="-3006,5832,0">
<Inputs SetFOV="0"/>
</Node>
<Node Id="544" Class="Camera:OverrideFOV" pos="-2412,5706,0">
<Inputs SetFOV="0"/>
</Node>
<Node Id="550" Class="Math:Calculate" pos="-3006,5706,0">
<Inputs Op="3" A="-120" B="-120"/>
</Node>
<Node Id="554" Class="Math:Add" pos="-2538,5706,0">
<Inputs A="0" B="0"/>
</Node>
<Node Id="556" Class="Logic:Any" pos="-2718,5832,0" InHideMask="1023" OutHideMask="1">
<Inputs />
</Node>
<Node Id="559" Name="sensitivity" Class="_comment" pos="-2718,5688,0"/>
<Node Id="560" Class="Camera:OverrideFOV" pos="-972,4122,0">
<Inputs SetFOV="0"/>
</Node>
<Node Id="562" Class="Math:Mul" pos="-2718,5706,0">
<Inputs A="0" B="3"/>
</Node>
<Node Id="564" Class="Interpol:Float" pos="-1242,4122,0">
<Inputs StartValue="0" EndValue="55" Time="1" UpdateFrequency="0" Easing="0"/>
</Node>
<Node Id="566" Class="Camera:OverrideFOV" pos="-1746,4122,0">
<Inputs SetFOV="0"/>
</Node>
<Node Id="568" Class="Mission:GameTokenGet" pos="-1746,4194,0">
<Inputs gametoken_Token="Item_Move_To_Camera_Speed"/>
</Node>
<Node Id="570" Name="Settings_(Init)" Class="_commentbox" pos="-3960,2418.0352,0">
<Inputs TextSize="1" Color="1,1,1" DisplayFilled="1" DisplayBox="1" SortPriority="16"/>
<ResizeBorder X="0" Y="0" Width="720" Height="414"/>
<NodeSize Width="801.39752" Height="580.08514"/>
</Node>
<Node Id="573" Class="Game:Start" pos="-3942,2610,0">
<Inputs InGame="1" InEditor="1"/>
</Node>
<Node Id="575" Class="Mission:GameTokenSet" pos="-3708,2610,0">
<Inputs gametoken_Token="Item_ID" Value="0"/>
</Node>
<Node Id="576" Class="Mission:GameTokenSet" pos="-3708,2682,0">
<Inputs gametoken_Token="Item_Original_Location" Value="0"/>
</Node>
<Node Id="577" Class="Mission:GameTokenSet" pos="-3708,2754,0">
<Inputs gametoken_Token="State_Inspecting" Value="0"/>
</Node>
<Node Id="578" Class="Mission:GameTokenSet" pos="-3708,2826,0">
<Inputs gametoken_Token="Item_Move_To_Camera_Speed" Value="1"/>
</Node>
<Node Id="579" Class="Mission:GameTokenSet" pos="-3708,2898,0">
<Inputs gametoken_Token="Item_Original_Rotation" Value="0"/>
</Node>
<Node Id="581" Class="Entity:EntityInfo" pos="-2376,3132,0">
<Inputs entityId="0"/>
</Node>
<Node Id="583" Class="Logic:Any" pos="-2124,3168,0" InHideMask="1023" OutHideMask="1">
<Inputs />
</Node>
<Node Id="587" Class="String:Substring" pos="-2142,3060,0">
<Inputs String="" Int1="0" Int2="11"/>
</Node>
<Node Id="589" Class="Logic:Any" pos="-1872,3060,0">
<Inputs />
</Node>
</Nodes>
<Edges>
<Edge nodeIn="264" nodeOut="215" portIn="Trigger" portOut="Pressed" enabled="1"/>
<Edge nodeIn="222" nodeOut="217" portIn="In" portOut="entityPhysId" enabled="1"/>
<Edge nodeIn="231" nodeOut="217" portIn="in1" portOut="entityPhysId" enabled="1"/>
<Edge nodeIn="581" nodeOut="217" portIn="Get" portOut="entityPhysId" enabled="1"/>
<Edge nodeIn="581" nodeOut="217" portIn="entityId" portOut="entityPhysId" enabled="1"/>
<Edge nodeIn="270" nodeOut="222" portIn="Get" portOut="false" enabled="1"/>
<Edge nodeIn="334" nodeOut="228" portIn="Get" portOut="OutValue" enabled="1"/>
<Edge nodeIn="334" nodeOut="228" portIn="entityId" portOut="OutValue" enabled="1"/>
<Edge nodeIn="270" nodeOut="231" portIn="entityId" portOut="out" enabled="1"/>
<Edge nodeIn="275" nodeOut="231" portIn="in1" portOut="out" enabled="1"/>
<Edge nodeIn="307" nodeOut="233" portIn="Get" portOut="Equal True" enabled="1"/>
<Edge nodeIn="314" nodeOut="233" portIn="Disable" portOut="Equal False" enabled="1"/>
<Edge nodeIn="314" nodeOut="233" portIn="Enable" portOut="Equal True" enabled="1"/>
<Edge nodeIn="315" nodeOut="233" portIn="Disable" portOut="Equal False" enabled="1"/>
<Edge nodeIn="315" nodeOut="233" portIn="Enable" portOut="Equal True" enabled="1"/>
<Edge nodeIn="339" nodeOut="233" portIn="in1" portOut="Equal False" enabled="1"/>
<Edge nodeIn="362" nodeOut="233" portIn="false" portOut="Equal False" enabled="1"/>
<Edge nodeIn="362" nodeOut="233" portIn="true" portOut="Equal True" enabled="1"/>
<Edge nodeIn="503" nodeOut="233" portIn="Disable" portOut="Equal False" enabled="1"/>
<Edge nodeIn="503" nodeOut="233" portIn="Enable" portOut="Equal True" enabled="1"/>
<Edge nodeIn="237" nodeOut="234" portIn="z" portOut="DeltaScreenX" enabled="1"/>
<Edge nodeIn="237" nodeOut="234" portIn="x" portOut="DeltaScreenY" enabled="1"/>
<Edge nodeIn="238" nodeOut="234" portIn="in1" portOut="DeltaScreenX" enabled="1"/>
<Edge nodeIn="239" nodeOut="236" portIn="A" portOut="Rotate" enabled="1"/>
<Edge nodeIn="242" nodeOut="236" portIn="in1" portOut="Pos" enabled="1"/>
<Edge nodeIn="240" nodeOut="237" portIn="in1" portOut="vec3" enabled="1"/>
<Edge nodeIn="236" nodeOut="238" portIn="Get" portOut="out" enabled="1"/>
<Edge nodeIn="235" nodeOut="239" portIn="Beam" portOut="out" enabled="1"/>
<Edge nodeIn="235" nodeOut="239" portIn="Rotation" portOut="out" enabled="1"/>
<Edge nodeIn="239" nodeOut="240" portIn="B" portOut="out" enabled="1"/>
<Edge nodeIn="235" nodeOut="242" portIn="Position" portOut="out" enabled="1"/>
<Edge nodeIn="236" nodeOut="248" portIn="entityId" portOut="Out" enabled="1"/>
<Edge nodeIn="268" nodeOut="264" portIn="Value" portOut="OutValue" enabled="1"/>
<Edge nodeIn="217" nodeOut="268" portIn="go" portOut="False" enabled="1"/>
<Edge nodeIn="332" nodeOut="268" portIn="Trigger" portOut="True" enabled="1"/>
<Edge nodeIn="337" nodeOut="268" portIn="Trigger" portOut="True" enabled="1"/>
<Edge nodeIn="399" nodeOut="268" portIn="Trigger" portOut="True" enabled="1"/>
<Edge nodeIn="274" nodeOut="270" portIn="A" portOut="Value" enabled="1"/>
<Edge nodeIn="274" nodeOut="270" portIn="Compare" portOut="Value" enabled="1"/>
<Edge nodeIn="228" nodeOut="274" portIn="Trigger" portOut="True" enabled="1"/>
<Edge nodeIn="283" nodeOut="274" portIn="Set" portOut="True" enabled="1"/>
<Edge nodeIn="276" nodeOut="275" portIn="in1" portOut="out" enabled="1"/>
<Edge nodeIn="228" nodeOut="276" portIn="Value" portOut="out" enabled="1"/>
<Edge nodeIn="283" nodeOut="276" portIn="entityId" portOut="out" enabled="1"/>
<Edge nodeIn="290" nodeOut="292" portIn="entityId" portOut="entityId" enabled="1"/>
<Edge nodeIn="235" nodeOut="298" portIn="entityId" portOut="Out" enabled="1"/>
<Edge nodeIn="480" nodeOut="301" portIn="Time" portOut="OutValue" enabled="1"/>
<Edge nodeIn="489" nodeOut="304" portIn="entityId" portOut="Out" enabled="1"/>
<Edge nodeIn="311" nodeOut="307" portIn="B" portOut="Dir" enabled="1"/>
<Edge nodeIn="311" nodeOut="307" portIn="A" portOut="Pos" enabled="1"/>
<Edge nodeIn="301" nodeOut="311" portIn="Trigger" portOut="out" enabled="1"/>
<Edge nodeIn="487" nodeOut="311" portIn="in1" portOut="out" enabled="1"/>
<Edge nodeIn="491" nodeOut="311" portIn="Trigger" portOut="out" enabled="1"/>
<Edge nodeIn="493" nodeOut="311" portIn="Trigger" portOut="out" enabled="1"/>
<Edge nodeIn="325" nodeOut="323" portIn="in1" portOut="output" enabled="1"/>
<Edge nodeIn="234" nodeOut="325" portIn="Disable" portOut="out" enabled="1"/>
<Edge nodeIn="465" nodeOut="327" portIn="entityId" portOut="Out" enabled="1"/>
<Edge nodeIn="465" nodeOut="332" portIn="Get" portOut="OutValue" enabled="1"/>
<Edge nodeIn="470" nodeOut="332" portIn="in1" portOut="OutValue" enabled="1"/>
<Edge nodeIn="335" nodeOut="334" portIn="Trigger" portOut="Pos" enabled="1"/>
<Edge nodeIn="335" nodeOut="334" portIn="Value" portOut="Pos" enabled="1"/>
<Edge nodeIn="395" nodeOut="334" portIn="Trigger" portOut="Rotate" enabled="1"/>
<Edge nodeIn="395" nodeOut="334" portIn="Value" portOut="Rotate" enabled="1"/>
<Edge nodeIn="226" nodeOut="335" portIn="Trigger" portOut="OutValue" enabled="1"/>
<Edge nodeIn="474" nodeOut="337" portIn="in1" portOut="OutValue" enabled="1"/>
<Edge nodeIn="345" nodeOut="348" portIn="entityId" portOut="Out" enabled="1"/>
<Edge nodeIn="290" nodeOut="362" portIn="Enabled" portOut="out" enabled="1"/>
<Edge nodeIn="325" nodeOut="399" portIn="in3" portOut="OutValue" enabled="1"/>
<Edge nodeIn="472" nodeOut="399" portIn="in1" portOut="OutValue" enabled="1"/>
<Edge nodeIn="463" nodeOut="461" portIn="Beam" portOut="Value" enabled="1"/>
<Edge nodeIn="463" nodeOut="461" portIn="Position" portOut="Value" enabled="1"/>
<Edge nodeIn="476" nodeOut="461" portIn="in1" portOut="Done" enabled="1"/>
<Edge nodeIn="461" nodeOut="465" portIn="Start" portOut="Pos" enabled="1"/>
<Edge nodeIn="461" nodeOut="465" portIn="StartValue" portOut="Pos" enabled="1"/>
<Edge nodeIn="468" nodeOut="465" portIn="Start" portOut="Rotate" enabled="1"/>
<Edge nodeIn="468" nodeOut="465" portIn="StartValue" portOut="Rotate" enabled="1"/>
<Edge nodeIn="463" nodeOut="466" portIn="entityId" portOut="Out" enabled="1"/>
<Edge nodeIn="463" nodeOut="468" portIn="Rotation" portOut="Value" enabled="1"/>
<Edge nodeIn="461" nodeOut="470" portIn="EndValue" portOut="out" enabled="1"/>
<Edge nodeIn="468" nodeOut="472" portIn="EndValue" portOut="out" enabled="1"/>
<Edge nodeIn="461" nodeOut="474" portIn="Time" portOut="out" enabled="1"/>
<Edge nodeIn="468" nodeOut="474" portIn="Time" portOut="out" enabled="1"/>
<Edge nodeIn="566" nodeOut="474" portIn="GetFOV" portOut="out" enabled="1"/>
<Edge nodeIn="568" nodeOut="474" portIn="Trigger" portOut="out" enabled="1"/>
<Edge nodeIn="342" nodeOut="476" portIn="Trigger" portOut="out" enabled="1"/>
<Edge nodeIn="344" nodeOut="476" portIn="Trigger" portOut="out" enabled="1"/>
<Edge nodeIn="345" nodeOut="476" portIn="Set" portOut="out" enabled="1"/>
<Edge nodeIn="394" nodeOut="476" portIn="Trigger" portOut="out" enabled="1"/>
<Edge nodeIn="489" nodeOut="480" portIn="Beam" portOut="Value" enabled="1"/>
<Edge nodeIn="489" nodeOut="480" portIn="Position" portOut="Value" enabled="1"/>
<Edge nodeIn="499" nodeOut="480" portIn="in1" portOut="Done" enabled="1"/>
<Edge nodeIn="480" nodeOut="487" portIn="EndValue" portOut="out" enabled="1"/>
<Edge nodeIn="480" nodeOut="487" portIn="Start" portOut="out" enabled="1"/>
<Edge nodeIn="480" nodeOut="491" portIn="StartValue" portOut="OutValue" enabled="1"/>
<Edge nodeIn="497" nodeOut="493" portIn="in1" portOut="OutValue" enabled="1"/>
<Edge nodeIn="489" nodeOut="497" portIn="Rotation" portOut="out" enabled="1"/>
<Edge nodeIn="234" nodeOut="499" portIn="Enable" portOut="out" enabled="1"/>
<Edge nodeIn="514" nodeOut="503" portIn="GetFOV" portOut="MouseWheel" enabled="1"/>
<Edge nodeIn="550" nodeOut="503" portIn="A" portOut="MouseWheel" enabled="1"/>
<Edge nodeIn="550" nodeOut="503" portIn="DoCalc" portOut="MouseWheel" enabled="1"/>
<Edge nodeIn="556" nodeOut="514" portIn="in1" portOut="CurFOV" enabled="1"/>
<Edge nodeIn="562" nodeOut="550" portIn="A" portOut="out" enabled="1"/>
<Edge nodeIn="544" nodeOut="554" portIn="SetFOV" portOut="out" enabled="1"/>
<Edge nodeIn="554" nodeOut="556" portIn="B" portOut="out" enabled="1"/>
<Edge nodeIn="554" nodeOut="562" portIn="A" portOut="out" enabled="1"/>
<Edge nodeIn="560" nodeOut="564" portIn="SetFOV" portOut="Value" enabled="1"/>
<Edge nodeIn="564" nodeOut="566" portIn="Start" portOut="CurFOV" enabled="1"/>
<Edge nodeIn="564" nodeOut="566" portIn="StartValue" portOut="CurFOV" enabled="1"/>
<Edge nodeIn="564" nodeOut="568" portIn="Time" portOut="OutValue" enabled="1"/>
<Edge nodeIn="575" nodeOut="573" portIn="Trigger" portOut="output" enabled="1"/>
<Edge nodeIn="576" nodeOut="573" portIn="Trigger" portOut="output" enabled="1"/>
<Edge nodeIn="577" nodeOut="573" portIn="Trigger" portOut="output" enabled="1"/>
<Edge nodeIn="578" nodeOut="573" portIn="Trigger" portOut="output" enabled="1"/>
<Edge nodeIn="579" nodeOut="573" portIn="Trigger" portOut="output" enabled="1"/>
<Edge nodeIn="583" nodeOut="581" portIn="in3" portOut="Archetype" enabled="1"/>
<Edge nodeIn="583" nodeOut="581" portIn="in2" portOut="Class" enabled="1"/>
<Edge nodeIn="583" nodeOut="581" portIn="in1" portOut="Name" enabled="1"/>
<Edge nodeIn="587" nodeOut="581" portIn="Get" portOut="Name" enabled="1"/>
<Edge nodeIn="587" nodeOut="581" portIn="String" portOut="Name" enabled="1"/>
<Edge nodeIn="589" nodeOut="587" portIn="in1" portOut="Out" enabled="1"/>
</Edges>
</Graph>
The Flow Graph checks this specific field in order to determine if something can be inspected or not.
Note: The Flow Graph is a fully working prototype but not fully finished.
e.g: something that still needs to be added is storing the mass or density of the item when picking it up and setting it to -1
then reapply the mass or density once we have put the item back into its original position.
I would love to see someone implementing that and resubmit the edited Flow Graph

Last edited by Cry-Chris on Tue Sep 01, 2020 7:18 pm, edited 6 times in total.
Re: Zoom & Rotation object
#5Zoom & Mouse sensitivity recalculation Flow Graph


In this Flow Graph we have used Graph Tokens:
In Flow Graph click on Tools > Edit Graph Tokens and add those:

FOV_Default (Float)
FOV_Max (Float)
FOV_Min (Float)
FOV_Range (Float)
Mouse_Sensitivity (Float)
Flow Graph: (CTRL + v directly into your Flow Graph window)
Usage: Press P to zoom in, release P to zoom out.
Probably want to remap the key.
Settings can be adjusted.


In this Flow Graph we have used Graph Tokens:
In Flow Graph click on Tools > Edit Graph Tokens and add those:

FOV_Default (Float)
FOV_Max (Float)
FOV_Min (Float)
FOV_Range (Float)
Mouse_Sensitivity (Float)
Flow Graph: (CTRL + v directly into your Flow Graph window)
Code: Select all
<Graph Description="" Group="FG_FG">
<Nodes>
<Node Id="89" Class="Debug:ExecuteString" pos="5202,2196,0">
<Inputs String="cl_sensitivity" NextFrame="0"/>
</Node>
<Node Id="193" Class="Camera:OverrideFOV" pos="252,2340,0">
<Inputs SetFOV="0"/>
</Node>
<Node Id="195" Class="Debug:InputKey" pos="-576,2538,0">
<Inputs entityId="0" Key="p" NonDevMode="0"/>
</Node>
<Node Id="197" Class="Logic:Any" pos="504,2340,0">
<Inputs />
</Node>
<Node Id="199" Class="Time:Timer" pos="36,2322,0">
<Inputs period="0.1" min="0" max="0" paused="1"/>
</Node>
<Node Id="201" Class="Math:SetInteger" pos="-270,2286,0">
<Inputs in="0"/>
</Node>
<Node Id="203" Class="Logic:Any" pos="-108,2340,0" InHideMask="1023" OutHideMask="1">
<Inputs />
</Node>
<Node Id="207" Class="Math:SetInteger" pos="-270,2412,0">
<Inputs in="1"/>
</Node>
<Node Id="209" Class="Math:Sub" pos="810,2340,0">
<Inputs A="0" B="0"/>
</Node>
<Node Id="211" Class="Camera:OverrideFOV" pos="990,2340,0">
<Inputs SetFOV="0"/>
</Node>
<Node Id="221" Class="Math:SetInteger" pos="504,2178,0">
<Inputs in="2"/>
</Node>
<Node Id="223" Class="Camera:OverrideFOV" pos="216,2790,0">
<Inputs SetFOV="0"/>
</Node>
<Node Id="224" Class="Logic:Any" pos="486,2754,0">
<Inputs />
</Node>
<Node Id="225" Class="Time:Timer" pos="18,2772,0">
<Inputs period="0.1" min="0" max="0" paused="1"/>
</Node>
<Node Id="227" Class="Camera:OverrideFOV" pos="1026,2862,0">
<Inputs SetFOV="0"/>
</Node>
<Node Id="229" Class="Math:SetInteger" pos="486,3060,0">
<Inputs in="2"/>
</Node>
<Node Id="234" Class="Math:Add" pos="774,2862,0">
<Inputs A="0" B="0"/>
</Node>
<Node Id="237" Class="Math:SetInteger" pos="-270,2736,0">
<Inputs in="0"/>
</Node>
<Node Id="238" Class="Logic:Any" pos="-108,2790,0" InHideMask="1019" OutHideMask="1">
<Inputs />
</Node>
<Node Id="239" Class="Math:SetInteger" pos="-270,2844,0">
<Inputs in="1"/>
</Node>
<Node Id="244" Class="Logic:Any" pos="-486,2934,0">
<Inputs />
</Node>
<Node Id="247" Class="Math:Equal" pos="1350,2952,0">
<Inputs A="0" B="55"/>
</Node>
<Node Id="251" Class="Math:SetInteger" pos="-18,2592,0">
<Inputs in="0"/>
</Node>
<Node Id="254" Name="Speed_(in_seconds_lower_=_faster_zoom)" Class="_comment" pos="-162,2574,0"/>
<Node Id="256" Class="Game:Start" pos="-198,2592,0">
<Inputs InGame="1" InEditor="1"/>
</Node>
<Node Id="257" Name="Zoom" Class="_commentbox" pos="-594,1986.6549,0">
<Inputs TextSize="1" Color="0.27451,0.352941,0.705882" DisplayFilled="1" DisplayBox="1" SortPriority="16"/>
<ResizeBorder X="0" Y="0" Width="2250" Height="1188"/>
<NodeSize Width="2250" Height="1335.6332"/>
</Node>
<Node Id="260" Class="Logic:Any" pos="-504,2250,0">
<Inputs />
</Node>
<Node Id="261" Class="Math:Equal" pos="1368,2232,0">
<Inputs A="0" B="25"/>
</Node>
<Node Id="265" Name="Speed2" Class="_comment" pos="504,3114,0"/>
<Node Id="266" Name="Speed2" Class="_comment" pos="522,2160,0"/>
<Node Id="268" Class="Logic:Any" pos="1350,2592,0">
<Inputs />
</Node>
<Node Id="272" Class="Mission:GameTokenGet" pos="2844,2376,0">
<Inputs gametoken_Token="Mouse_Sensitivity"/>
</Node>
<Node Id="276" Class="Math:Sub" pos="2538,1980,0">
<Inputs A="0" B="25"/>
</Node>
<Node Id="279" Class="Logic:Any" pos="2736,1980,0">
<Inputs />
</Node>
<Node Id="281" Class="Math:Mul" pos="4230,2124,0">
<Inputs A="0" B="0"/>
</Node>
<Node Id="286" Name="Out_comes_FOV_-_FOV_Min" Class="_comment" pos="4230,2106,0"/>
<Node Id="288" Class="String:Concat" pos="4914,2196,0">
<Inputs String1="cl_sensitivity " String2=""/>
</Node>
<Node Id="293" Class="Mission:GameTokenSet" pos="558,1602,0">
<Inputs gametoken_Token="FOV_Range" Value=""/>
</Node>
<Node Id="294" Class="Mission:GameTokenSet" pos="18,1566,0">
<Inputs gametoken_Token="FOV_Default" Value=""/>
</Node>
<Node Id="295" Class="Mission:GameTokenSet" pos="18,1674,0">
<Inputs gametoken_Token="FOV_Min" Value="25"/>
</Node>
<Node Id="298" Class="Game:Start" pos="-540,1638,0">
<Inputs InGame="1" InEditor="1"/>
</Node>
<Node Id="299" Class="Camera:OverrideFOV" pos="-306,1620,0">
<Inputs SetFOV="0"/>
</Node>
<Node Id="301" Class="Math:Sub" pos="342,1620,0">
<Inputs A="0" B="0"/>
</Node>
<Node Id="302" Class="Mission:GameTokenSet" pos="18,1782,0">
<Inputs gametoken_Token="FOV_Min" Value="25"/>
</Node>
<Node Id="304" Class="Multiplayer:CheckCVar" pos="-342,1872,0">
<Inputs CVar="cl_sensitivity"/>
</Node>
<Node Id="307" Class="Mission:GameTokenSet" pos="0,1890,0">
<Inputs gametoken_Token="Mouse_Sensitivity" Value="16.5"/>
</Node>
<Node Id="308" Name="Declared_Variables_(Game_Tokens)" Class="_commentbox" pos="-558,1394.7113,0">
<Inputs TextSize="1" Color="0.27451,0.352941,0.705882" DisplayFilled="1" DisplayBox="1" SortPriority="16"/>
<ResizeBorder X="0" Y="0" Width="1350" Height="432"/>
<NodeSize Width="1718.0842" Height="579.63318"/>
</Node>
<Node Id="310" Class="Logic:Any" pos="2700,2376,0">
<Inputs />
</Node>
<Node Id="311" Name="delay_node" Class="_comment" pos="2700,2358,0"/>
<Node Id="313" Class="Math:Div" pos="3150,2502,0">
<Inputs A="0" B="2.5"/>
</Node>
<Node Id="315" Class="Mission:GameTokenGet" pos="3132,2592,0">
<Inputs gametoken_Token="FOV_Range"/>
</Node>
<Node Id="316" Name="Mouse_Sensitivity_Step_=_Sensitivity_Range_/_FOV_Range" Class="_comment" pos="3114,2052,0"/>
<Node Id="319" Class="Math:Sub" pos="3528,2448,0">
<Inputs A="0" B="0"/>
</Node>
<Node Id="321" Name="Sensitivity_divider" Class="_comment" pos="3150,2484,0"/>
<Node Id="323" Class="Math:Div" pos="3906,2466,0">
<Inputs A="0" B="0"/>
</Node>
<Node Id="326" Class="Logic:Any" pos="4086,2466,0">
<Inputs />
</Node>
<Node Id="327" Name="mouse_sensitivity_step" Class="_comment" pos="4086,2448,0"/>
<Node Id="329" Class="Logic:Any" pos="2682,2646,0">
<Inputs />
</Node>
<Node Id="330" Class="Logic:Any" pos="2790,2646,0">
<Inputs />
</Node>
<Node Id="331" Class="Logic:Any" pos="2898,2646,0">
<Inputs />
</Node>
<Node Id="333" Class="Logic:Any" pos="3708,2448,0" InHideMask="1023" OutHideMask="1">
<Inputs />
</Node>
<Node Id="334" Name="Mouse_Sensitivity_min" Class="_comment" pos="3348,2484,0"/>
<Node Id="336" Class="Logic:Any" pos="3348,2502,0" InHideMask="1023" OutHideMask="1">
<Inputs />
</Node>
<Node Id="337" Name="Mouse_Sensitivity_Range" Class="_comment" pos="3708,2430,0"/>
<Node Id="340" Class="Math:Add" pos="4518,2196,0">
<Inputs A="0" B="0"/>
</Node>
<Node Id="342" Name="FOV_-_FOV_min" Class="_comment" pos="2538,1962,0"/>
<Node Id="343" Name="Mouse_Sensitivity_step_multiplier" Class="_comment" pos="2736,1962,0"/>
<Node Id="344" Name="Sensitivity_min_+_Sensitivity_*_sensitivity_step_multiplier" Class="_comment" pos="4518,2178,0"/>
<Node Id="349" Class="Debug:ExecuteString" pos="882,1890,0">
<Inputs String="" NextFrame="0"/>
</Node>
<Node Id="352" Class="String:SetString" pos="324,1890,0">
<Inputs In="cl_sensitivity "/>
</Node>
<Node Id="354" Class="String:Concat" pos="540,1890,0">
<Inputs String1="cl_sensitivity " String2=""/>
</Node>
<Node Id="355" Name="calc_sensitivity_range" Class="_comment" pos="3528,2430,0"/>
<Node Id="356" Name="calc_sensitivity_step" Class="_comment" pos="3906,2448,0"/>
<Node Id="358" Class="Logic:Gate" pos="2304,2376,0">
<Inputs Closed="0"/>
</Node>
<Node Id="361" Class="Logic:Any" pos="2484,2376,0" InHideMask="1023">
<Inputs />
</Node>
<Node Id="363" Class="Logic:Any" pos="2142,2430,0" InHideMask="1023" OutHideMask="1">
<Inputs />
</Node>
<Node Id="365" Class="Logic:Any" pos="2142,2484,0" InHideMask="1023" OutHideMask="1">
<Inputs />
</Node>
<Node Id="367" Class="Logic:Any" pos="2034,2376,0" InHideMask="1022" OutHideMask="1">
<Inputs />
</Node>
<Node Id="368" Name="Execute_once_when_signal_is_received" Class="_commentbox" pos="2016,2213.4297,0">
<Inputs TextSize="1" Color="0.27451,0.352941,0.705882" DisplayFilled="1" DisplayBox="1" SortPriority="16"/>
<ResizeBorder X="0" Y="0" Width="612" Height="198"/>
<NodeSize Width="1841.5216" Height="345.63315"/>
</Node>
<Node Id="370" Class="Math:SetInteger" pos="2142,2034,0">
<Inputs in="0"/>
</Node>
<Node Id="371" Name="Mouse_Sensitivity_Min_=_Mouse_Sensitivity_/_2.5" Class="_comment" pos="3114,2178,0"/>
<Node Id="373" Name="Mouse_Sensitivity_step_multiplier_=_FOV_-_FOV_min" Class="_comment" pos="3114,2196,0"/>
<Node Id="375" Name="Mouse_Sensitivity_step_=_Mouse_sensitivity_-_mouse_sensitivity_min_/_FOV_Range" Class="_comment" pos="3114,2088,0"/>
<Node Id="376" Name="delay_nodes" Class="_comment" pos="2790,2628,0"/>
<Node Id="377" Name="Mouse_Sensitivity_Range_=_Mouse_sensitivity_-_Mouse_sensitivity_min" Class="_comment" pos="3114,2214,0"/>
<Node Id="378" Name="or" Class="_comment" pos="3114,2070,0"/>
<Node Id="379" Name="Mouse_Sensitivity_Step_=_((Mouse_Sensitivity_-_(Mouse_Sensitivity_/_2.5))_/_(FOV_Default_-_FOV_min))" Class="_comment" pos="3114,2124,0"/>
<Node Id="381" Name="or" Class="_comment" pos="3114,2106,0"/>
<Node Id="382" Name="probably_simpler_just_looking_at_the_flowgraph_:P" Class="_comment" pos="3114,2250,0"/>
<Node Id="383" Name="Mouse_sensitivity_calculation" Class="_commentbox" pos="1998,1781.4285,0">
<Inputs TextSize="1" Color="0.270498,0.351533,0.701102" DisplayFilled="1" DisplayBox="1" SortPriority="16"/>
<ResizeBorder X="0" Y="0" Width="3456" Height="936"/>
<NodeSize Width="3456" Height="1083.6332"/>
</Node>
<Node Id="385" Class="Logic:Any" pos="2016,1980,0">
<Inputs />
</Node>
<Node Id="386" Name="Disable_mouse_sensitivity_re-calculation_here" Class="_comment" pos="1620,2232,0"/>
<Node Id="395" Name="|" Class="_comment" pos="1746,2304,0"/>
<Node Id="396" Name="V" Class="_comment" pos="1746,2322,0"/>
<Node Id="397" Name="|" Class="_comment" pos="1746,2286,0"/>
<Node Id="398" Name="In_case_you_do_not_want_to_re-calculate_it" Class="_comment" pos="1620,2250,0"/>
<Node Id="399" Name="if_disabled,_this_will_give_you_the_effect_of_the_mouse_speeding_up_while_zoomed_in." Class="_comment" pos="1620,2268,0"/>
<Node Id="401" Class="Logic:Gate" pos="1710,2340,0">
<Inputs Closed="0"/>
</Node>
</Nodes>
<Edges>
<Edge nodeIn="197" nodeOut="193" portIn="in1" portOut="CurFOV" enabled="1"/>
<Edge nodeIn="201" nodeOut="195" portIn="set" portOut="Pressed" enabled="1"/>
<Edge nodeIn="237" nodeOut="195" portIn="set" portOut="Released" enabled="1"/>
<Edge nodeIn="244" nodeOut="195" portIn="in3" portOut="Pressed" enabled="1"/>
<Edge nodeIn="260" nodeOut="195" portIn="in1" portOut="Released" enabled="1"/>
<Edge nodeIn="209" nodeOut="197" portIn="A" portOut="out" enabled="1"/>
<Edge nodeIn="193" nodeOut="199" portIn="GetFOV" portOut="out" enabled="1"/>
<Edge nodeIn="221" nodeOut="199" portIn="set" portOut="out" enabled="1"/>
<Edge nodeIn="203" nodeOut="201" portIn="in1" portOut="out" enabled="1"/>
<Edge nodeIn="199" nodeOut="203" portIn="paused" portOut="out" enabled="1"/>
<Edge nodeIn="203" nodeOut="207" portIn="in2" portOut="out" enabled="1"/>
<Edge nodeIn="211" nodeOut="209" portIn="GetFOV" portOut="out" enabled="1"/>
<Edge nodeIn="211" nodeOut="209" portIn="SetFOV" portOut="out" enabled="1"/>
<Edge nodeIn="261" nodeOut="211" portIn="A" portOut="CurFOV" enabled="1"/>
<Edge nodeIn="268" nodeOut="211" portIn="in1" portOut="CurFOV" enabled="1"/>
<Edge nodeIn="209" nodeOut="221" portIn="B" portOut="out" enabled="1"/>
<Edge nodeIn="224" nodeOut="223" portIn="in1" portOut="CurFOV" enabled="1"/>
<Edge nodeIn="234" nodeOut="224" portIn="A" portOut="out" enabled="1"/>
<Edge nodeIn="223" nodeOut="225" portIn="GetFOV" portOut="out" enabled="1"/>
<Edge nodeIn="229" nodeOut="225" portIn="set" portOut="out" enabled="1"/>
<Edge nodeIn="247" nodeOut="227" portIn="A" portOut="CurFOV" enabled="1"/>
<Edge nodeIn="268" nodeOut="227" portIn="in2" portOut="CurFOV" enabled="1"/>
<Edge nodeIn="234" nodeOut="229" portIn="B" portOut="out" enabled="1"/>
<Edge nodeIn="227" nodeOut="234" portIn="GetFOV" portOut="out" enabled="1"/>
<Edge nodeIn="227" nodeOut="234" portIn="SetFOV" portOut="out" enabled="1"/>
<Edge nodeIn="238" nodeOut="237" portIn="in1" portOut="out" enabled="1"/>
<Edge nodeIn="225" nodeOut="238" portIn="paused" portOut="out" enabled="1"/>
<Edge nodeIn="238" nodeOut="239" portIn="in2" portOut="out" enabled="1"/>
<Edge nodeIn="239" nodeOut="244" portIn="set" portOut="out" enabled="1"/>
<Edge nodeIn="244" nodeOut="247" portIn="in2" portOut="true" enabled="1"/>
<Edge nodeIn="199" nodeOut="251" portIn="period" portOut="out" enabled="1"/>
<Edge nodeIn="225" nodeOut="251" portIn="period" portOut="out" enabled="1"/>
<Edge nodeIn="251" nodeOut="256" portIn="set" portOut="output" enabled="1"/>
<Edge nodeIn="207" nodeOut="260" portIn="set" portOut="out" enabled="1"/>
<Edge nodeIn="260" nodeOut="261" portIn="in2" portOut="true" enabled="1"/>
<Edge nodeIn="401" nodeOut="268" portIn="In" portOut="out" enabled="1"/>
<Edge nodeIn="313" nodeOut="272" portIn="A" portOut="OutValue" enabled="1"/>
<Edge nodeIn="319" nodeOut="272" portIn="A" portOut="OutValue" enabled="1"/>
<Edge nodeIn="279" nodeOut="276" portIn="in1" portOut="out" enabled="1"/>
<Edge nodeIn="281" nodeOut="279" portIn="A" portOut="out" enabled="1"/>
<Edge nodeIn="340" nodeOut="281" portIn="A" portOut="out" enabled="1"/>
<Edge nodeIn="89" nodeOut="288" portIn="Set" portOut="Out" enabled="1"/>
<Edge nodeIn="89" nodeOut="288" portIn="String" portOut="Out" enabled="1"/>
<Edge nodeIn="301" nodeOut="294" portIn="A" portOut="OutValue" enabled="1"/>
<Edge nodeIn="301" nodeOut="295" portIn="B" portOut="OutValue" enabled="1"/>
<Edge nodeIn="370" nodeOut="295" portIn="in" portOut="OutValue" enabled="1"/>
<Edge nodeIn="299" nodeOut="298" portIn="GetFOV" portOut="output" enabled="1"/>
<Edge nodeIn="304" nodeOut="298" portIn="Get" portOut="output" enabled="0"/>
<Edge nodeIn="307" nodeOut="298" portIn="Trigger" portOut="output" enabled="1"/>
<Edge nodeIn="294" nodeOut="299" portIn="Trigger" portOut="CurFOV" enabled="1"/>
<Edge nodeIn="294" nodeOut="299" portIn="Value" portOut="CurFOV" enabled="1"/>
<Edge nodeIn="295" nodeOut="299" portIn="Trigger" portOut="CurFOV" enabled="1"/>
<Edge nodeIn="302" nodeOut="299" portIn="Trigger" portOut="CurFOV" enabled="1"/>
<Edge nodeIn="293" nodeOut="301" portIn="Trigger" portOut="out" enabled="1"/>
<Edge nodeIn="293" nodeOut="301" portIn="Value" portOut="out" enabled="1"/>
<Edge nodeIn="352" nodeOut="307" portIn="In" portOut="OutValue" enabled="1"/>
<Edge nodeIn="352" nodeOut="307" portIn="Set" portOut="OutValue" enabled="1"/>
<Edge nodeIn="272" nodeOut="310" portIn="Trigger" portOut="out" enabled="1"/>
<Edge nodeIn="329" nodeOut="310" portIn="in1" portOut="out" enabled="1"/>
<Edge nodeIn="336" nodeOut="313" portIn="in1" portOut="out" enabled="1"/>
<Edge nodeIn="323" nodeOut="315" portIn="B" portOut="OutValue" enabled="1"/>
<Edge nodeIn="333" nodeOut="319" portIn="in1" portOut="out" enabled="1"/>
<Edge nodeIn="326" nodeOut="323" portIn="in1" portOut="out" enabled="1"/>
<Edge nodeIn="281" nodeOut="326" portIn="B" portOut="out" enabled="1"/>
<Edge nodeIn="330" nodeOut="329" portIn="in1" portOut="out" enabled="1"/>
<Edge nodeIn="331" nodeOut="330" portIn="in1" portOut="out" enabled="1"/>
<Edge nodeIn="315" nodeOut="331" portIn="Trigger" portOut="out" enabled="1"/>
<Edge nodeIn="323" nodeOut="333" portIn="A" portOut="out" enabled="1"/>
<Edge nodeIn="319" nodeOut="336" portIn="B" portOut="out" enabled="1"/>
<Edge nodeIn="340" nodeOut="336" portIn="B" portOut="out" enabled="1"/>
<Edge nodeIn="288" nodeOut="340" portIn="Set" portOut="out" enabled="1"/>
<Edge nodeIn="288" nodeOut="340" portIn="String2" portOut="out" enabled="1"/>
<Edge nodeIn="354" nodeOut="352" portIn="Set" portOut="Out" enabled="1"/>
<Edge nodeIn="354" nodeOut="352" portIn="String2" portOut="Out" enabled="1"/>
<Edge nodeIn="349" nodeOut="354" portIn="Set" portOut="Out" enabled="1"/>
<Edge nodeIn="349" nodeOut="354" portIn="String" portOut="Out" enabled="1"/>
<Edge nodeIn="361" nodeOut="358" portIn="in1" portOut="Out" enabled="1"/>
<Edge nodeIn="310" nodeOut="361" portIn="in1" portOut="out" enabled="1"/>
<Edge nodeIn="365" nodeOut="363" portIn="in1" portOut="out" enabled="1"/>
<Edge nodeIn="358" nodeOut="365" portIn="Close" portOut="out" enabled="1"/>
<Edge nodeIn="358" nodeOut="367" portIn="In" portOut="out" enabled="1"/>
<Edge nodeIn="358" nodeOut="367" portIn="Open" portOut="out" enabled="1"/>
<Edge nodeIn="363" nodeOut="367" portIn="in1" portOut="out" enabled="1"/>
<Edge nodeIn="276" nodeOut="370" portIn="B" portOut="out" enabled="1"/>
<Edge nodeIn="367" nodeOut="370" portIn="in1" portOut="out" enabled="1"/>
<Edge nodeIn="276" nodeOut="385" portIn="A" portOut="out" enabled="1"/>
<Edge nodeIn="370" nodeOut="385" portIn="set" portOut="out" enabled="1"/>
<Edge nodeIn="385" nodeOut="401" portIn="in1" portOut="Out" enabled="1"/>
</Edges>
</Graph>
Probably want to remap the key.
Settings can be adjusted.
Re: Zoom & Rotation object
#6Hey Cry-Chris, the inspect item FG you shared (to copy-paste) is broken here and there. Not exactly what the shot of the FG shows, which is not legible. (too low-res!)
Nothing happens on pressing the f key. Obviously!
Could you please share once again the inspect item FG which works! I'll be much obliged. The other zoom FG works just fine.
Trying to make an inventory system through FG (though won't touch C++ at the moment). where the player can inspect and pick up objects and retrieve them as and when required, but with little luck!
Hope u can share some thoughts on this. And yes, i am using the GameSDK project for my level. Thanks in advance!
Nothing happens on pressing the f key. Obviously!
Could you please share once again the inspect item FG which works! I'll be much obliged. The other zoom FG works just fine.

Trying to make an inventory system through FG (though won't touch C++ at the moment). where the player can inspect and pick up objects and retrieve them as and when required, but with little luck!
Hope u can share some thoughts on this. And yes, i am using the GameSDK project for my level. Thanks in advance!
Re: Zoom & Rotation object
#7After a few minutes debuging it turned out to be the new level format that changed since 5.6
it requires now to have this format:
Level.Item_Inspect.Item_Move_To_Camera_Speed
instead of:
Item_Move_To_Camera_Speed
Below the fixed FG for 5.6 enjoy
it requires now to have this format:
Level.Item_Inspect.Item_Move_To_Camera_Speed
instead of:
Item_Move_To_Camera_Speed
Below the fixed FG for 5.6 enjoy

Code: Select all
<Graph Description="" Group="Zoom">
<Nodes>
<Node Id="215" Class="Debug:InputKey" pos="-342,146.90039,0">
<Inputs entityId="0" Key="f" NonDevMode="0"/>
</Node>
<Node Id="217" Class="Physics:RayCastCamera" pos="576,164.90039,0">
<Inputs offset="0,0,0" maxLength="2" ObjTypes="287" IgnoredEntity="0"/>
</Node>
<Node Id="222" Class="Math:InRange" pos="1116,218.90039,0">
<Inputs In="0" Min="-1" Max="0"/>
</Node>
<Node Id="226" Class="Mission:GameTokenSet" pos="4914,326.90039,0">
<Inputs gametoken_Token="Level.Item_Inspect.State_Inspecting" Value="1"/>
</Node>
<Node Id="228" Class="Mission:GameTokenSet" pos="3618,308.90039,0">
<Inputs gametoken_Token="Level.Item_Inspect.Item_ID" Value=""/>
</Node>
<Node Id="231" Class="Logic:Any" pos="1116,326.90039,0" InHideMask="1023" OutHideMask="1">
<Inputs />
</Node>
<Node Id="233" Class="Mission:GameToken" pos="-666,1928.9004,0">
<Inputs gametoken_Token="Level.Item_Inspect.State_Inspecting" compare_Value="1" FireOnStart="1" FireOnlyOnResultChange="1"/>
</Node>
<Node Id="234" Class="Input:MouseCoords" pos="2520,2018.9004,0">
<Inputs World="0" Screen="0" Delta="1"/>
</Node>
<Node Id="235" Class="Entity:BeamEntity" pos="4356,1982.9004,0">
<Inputs entityId="0" CoordSys="1" Position="0,0,0" Rotation="0,0,0" UseZeroRot="0" Scale="0,0,0"/>
</Node>
<Node Id="236" Class="Entity:GetPos" pos="3348,1946.9004,0">
<Inputs entityId="0" CoordSys="1"/>
</Node>
<Node Id="237" Class="Vec3:ToVec3" pos="2952,2090.9004,0">
<Inputs x="0" y="0" z="0"/>
</Node>
<Node Id="238" Class="Logic:Any" pos="2952,1964.9004,0" InHideMask="1023">
<Inputs />
</Node>
<Node Id="239" Class="Vec3:AddVec3" pos="3906,2054.9004,0">
<Inputs A="0,0,0" B="0,0,0"/>
</Node>
<Node Id="240" Class="Logic:Any" pos="3348,2090.9004,0" InHideMask="1023" OutHideMask="1">
<Inputs />
</Node>
<Node Id="242" Class="Logic:Any" pos="3906,1964.9004,0" InHideMask="1023">
<Inputs />
</Node>
<Node Id="245" Name="Inspecting" Class="_commentbox" pos="-684,1428.9166,0">
<Inputs TextSize="1" Color="1,1,1" DisplayFilled="1" DisplayBox="1" SortPriority="16"/>
<ResizeBorder X="0" Y="0" Width="6570" Height="1044"/>
<NodeSize Width="6570" Height="1414.5511"/>
</Node>
<Node Id="248" Class="Mission:GameToken" pos="3348,1856.9004,0">
<Inputs gametoken_Token="Level.Item_Inspect.Item_ID" compare_Value="" FireOnStart="1" FireOnlyOnResultChange="1"/>
</Node>
<Node Id="251" Name="Item_Inspector_(Set_State)" Class="_commentbox" pos="-648,-246.0363,0">
<Inputs TextSize="1" Color="1,1,1" DisplayFilled="1" DisplayBox="1" SortPriority="16"/>
<ResizeBorder X="0" Y="0" Width="5976" Height="846"/>
<NodeSize Width="5976" Height="1216.5511"/>
</Node>
<Node Id="256" Name="Passes_on_Level.Item_Inspect.Item_ID" Class="_comment" pos="3348,1838.9004,0"/>
<Node Id="264" Class="Mission:GameTokenGet" pos="-54,164.90039,0">
<Inputs gametoken_Token="Level.Item_Inspect.State_Inspecting"/>
</Node>
<Node Id="268" Class="Math:BooleanFrom" pos="360,164.90039,0">
<Inputs Value="0"/>
</Node>
<Node Id="270" Class="Entity:PropertyGet" pos="2916,254.90039,0">
<Inputs entityId="0" entityProperties_Property="Properties:UseMessage" perArchetype="1"/>
</Node>
<Node Id="274" Class="String:Compare" pos="3276,254.90039,0">
<Inputs A="" B="Inspect" IgnoreCase="1"/>
</Node>
<Node Id="275" Class="Logic:Any" pos="2916,344.90039,0" InHideMask="1023" OutHideMask="1">
<Inputs />
</Node>
<Node Id="276" Class="Logic:Any" pos="3276,344.90039,0" InHideMask="1023" OutHideMask="1">
<Inputs />
</Node>
<Node Id="277" Name="Check_if_Item_can_be_inspected" Class="_comment" pos="2916,236.90039,0"/>
<Node Id="278" Name="if_item_can_be_inspected" Class="_comment" pos="3276,236.90039,0"/>
<Node Id="279" Name="Trigger_the_Inspecting_State" Class="_comment" pos="4914,308.90039,0"/>
<Node Id="280" Name="Check_if_the_Entity_ID_is_Valid" Class="_comment" pos="1116,200.90039,0"/>
<Node Id="281" Name="Inspection_Key" Class="_comment" pos="-342,254.90039,0"/>
<Node Id="283" Class="Entity:PropertySet" pos="3618,416.90039,0">
<Inputs entityId="0" entityProperties_Property="Properties:bUsable" Value="0" perArchetype="1"/>
</Node>
<Node Id="287" Name="Set_Inspecting_Level.Item_Inspect.Item_ID" Class="_comment" pos="3618,290.90039,0"/>
<Node Id="288" Name="Disable_Inspecting_Text_on_Item_while_inspecting" Class="_comment" pos="3618,398.90039,0"/>
<Node Id="290" Class="Image:EffectDepthOfField" pos="36,2306.9004,0">
<Inputs entityId="0" Enabled="0" Disabled="0" Dof_User_Active="1" Dof_User_FocusDistance="1" Dof_User_FocusRange="2" Dof_User_BlurAmount="2" Dof_MaxCoC="12" Dof_CenterWeight="1"/>
</Node>
<Node Id="292" Class="Actor:LocalPlayer" pos="36,2270.9004,0">
<Inputs />
</Node>
<Node Id="297" Name="Activate_/_Deactivate_DoF_Effect" Class="_comment" pos="36,2252.9004,0"/>
<Node Id="298" Class="Mission:GameToken" pos="4356,1892.9004,0">
<Inputs gametoken_Token="Level.Item_Inspect.Item_ID" compare_Value="" FireOnStart="1" FireOnlyOnResultChange="1"/>
</Node>
<Node Id="299" Name="Passes_on_Level.Item_Inspect.Item_ID" Class="_comment" pos="4356,1874.9004,0"/>
<Node Id="301" Class="Mission:GameTokenGet" pos="234,2054.9004,0">
<Inputs gametoken_Token="Level.Item_Inspect.Item_Move_To_Camera_Speed"/>
</Node>
<Node Id="304" Class="Mission:GameToken" pos="1404,2000.9004,0">
<Inputs gametoken_Token="Level.Item_Inspect.Item_ID" compare_Value="" FireOnStart="1" FireOnlyOnResultChange="1"/>
</Node>
<Node Id="305" Name="Passes_on_Level.Item_Inspect.Item_ID" Class="_comment" pos="1404,1982.9004,0"/>
<Node Id="307" Class="Camera:GetTransform" pos="-180,1946.9004,0">
<Inputs />
</Node>
<Node Id="311" Class="Vec3:AddVec3" pos="36,1946.9004,0">
<Inputs A="0,0,0" B="0,0,0"/>
</Node>
<Node Id="314" Class="Input:ActionMaps:ActionFilter" pos="-180,2054.9004,0">
<Inputs actionFilter_Filter="no_move"/>
</Node>
<Node Id="315" Class="Input:ActionMaps:ActionFilter" pos="-180,2144.9004,0">
<Inputs actionFilter_Filter="no_mouse"/>
</Node>
<Node Id="316" Name="Disable_Movement" Class="_comment" pos="-180,2036.9004,0"/>
<Node Id="318" Name="Disable_Looking_Around" Class="_comment" pos="-180,2126.9004,0"/>
<Node Id="323" Class="Game:Start" pos="2106,1820.9004,0">
<Inputs InGame="1" InEditor="1"/>
</Node>
<Node Id="325" Class="Logic:Any" pos="2106,1874.9004,0" InHideMask="1023" OutHideMask="1">
<Inputs />
</Node>
<Node Id="327" Class="Mission:GameToken" pos="1098,434.90039,0">
<Inputs gametoken_Token="Level.Item_Inspect.Item_ID" compare_Value="" FireOnStart="1" FireOnlyOnResultChange="1"/>
</Node>
<Node Id="328" Name="Passes_on_Level.Item_Inspect.Item_ID" Class="_comment" pos="1098,416.90039,0"/>
<Node Id="332" Class="Mission:GameTokenGet" pos="522,542.90039,0">
<Inputs gametoken_Token="Level.Item_Inspect.Item_Original_Location"/>
</Node>
<Node Id="334" Class="Entity:GetPos" pos="4104,308.90039,0">
<Inputs entityId="0" CoordSys="1"/>
</Node>
<Node Id="335" Class="Mission:GameTokenSet" pos="4392,326.90039,0">
<Inputs gametoken_Token="Level.Item_Inspect.Item_Original_Location" Value="1"/>
</Node>
<Node Id="336" Name="Set_Original_Item_Location_(so_we_know_where_to_put_it_back_later)" Class="_comment" pos="4392,308.90039,0"/>
<Node Id="337" Class="Mission:GameTokenGet" pos="522,596.90039,0">
<Inputs gametoken_Token="Level.Item_Inspect.Item_Move_To_Camera_Speed"/>
</Node>
<Node Id="339" Class="Logic:Any" pos="-180,2234.9004,0" InHideMask="1023" OutHideMask="1">
<Inputs />
</Node>
<Node Id="342" Class="Mission:GameTokenSet" pos="2916,794.90039,0">
<Inputs gametoken_Token="Level.Item_Inspect.Item_Original_Location" Value="0,0,0"/>
</Node>
<Node Id="344" Class="Mission:GameTokenSet" pos="2916,722.90039,0">
<Inputs gametoken_Token="Level.Item_Inspect.Item_ID" Value="0"/>
</Node>
<Node Id="345" Class="Entity:PropertySet" pos="2916,614.90039,0">
<Inputs entityId="0" entityProperties_Property="Properties:bUsable" Value="1" perArchetype="1"/>
</Node>
<Node Id="348" Class="Mission:GameToken" pos="2916,524.90039,0">
<Inputs gametoken_Token="Level.Item_Inspect.Item_ID" compare_Value="" FireOnStart="1" FireOnlyOnResultChange="1"/>
</Node>
<Node Id="349" Name="Passes_on_Level.Item_Inspect.Item_ID" Class="_comment" pos="2916,506.90039,0"/>
<Node Id="350" Name="Reset_all_values_to_zero_when_we_finish_inspecting" Class="_comment" pos="2916,488.90039,0"/>
<Node Id="362" Class="Math:BooleanTo" pos="-180,2324.9004,0">
<Inputs />
</Node>
<Node Id="394" Class="Mission:GameTokenSet" pos="2916,866.90039,0">
<Inputs gametoken_Token="Level.Item_Inspect.State_Inspecting" Value="0"/>
</Node>
<Node Id="395" Class="Mission:GameTokenSet" pos="4392,434.90039,0">
<Inputs gametoken_Token="Level.Item_Inspect.Item_Original_Rotation" Value="1"/>
</Node>
<Node Id="396" Name="Same_with_Rotation" Class="_comment" pos="4392,416.90039,0"/>
<Node Id="399" Class="Mission:GameTokenGet" pos="522,650.90039,0">
<Inputs gametoken_Token="Level.Item_Inspect.Item_Original_Rotation"/>
</Node>
<Node Id="461" Class="Interpol:Vec3" pos="1566,542.90039,0">
<Inputs StartValue="0,0,0" EndValue="1,1,1" Time="1" UpdateFrequency="0" Easing="0"/>
</Node>
<Node Id="463" Class="Entity:BeamEntity" pos="1962,506.90039,0">
<Inputs entityId="0" CoordSys="1" Position="0,0,0" Rotation="0,0,0" UseZeroRot="0" Scale="0,0,0"/>
</Node>
<Node Id="465" Class="Entity:GetPos" pos="1098,524.90039,0">
<Inputs entityId="0" CoordSys="1"/>
</Node>
<Node Id="466" Class="Mission:GameToken" pos="1962,416.90039,0">
<Inputs gametoken_Token="Level.Item_Inspect.Item_ID" compare_Value="" FireOnStart="1" FireOnlyOnResultChange="1"/>
</Node>
<Node Id="467" Name="Passes_on_Level.Item_Inspect.Item_ID" Class="_comment" pos="1962,398.90039,0"/>
<Node Id="468" Class="Interpol:Vec3" pos="1566,686.90039,0">
<Inputs StartValue="0,0,0" EndValue="1,1,1" Time="1" UpdateFrequency="0" Easing="0"/>
</Node>
<Node Id="470" Class="Logic:Any" pos="1098,668.90039,0" InHideMask="1023" OutHideMask="1">
<Inputs />
</Node>
<Node Id="472" Class="Logic:Any" pos="1098,722.90039,0" InHideMask="1023" OutHideMask="1">
<Inputs />
</Node>
<Node Id="474" Class="Logic:Any" pos="1098,776.90039,0" InHideMask="1023" OutHideMask="1">
<Inputs />
</Node>
<Node Id="476" Class="Logic:Any" pos="1962,668.90039,0">
<Inputs />
</Node>
<Node Id="480" Class="Interpol:Vec3" pos="936,2108.9004,0">
<Inputs StartValue="0,0,0" EndValue="1,1,1" Time="1" UpdateFrequency="0" Easing="0"/>
</Node>
<Node Id="487" Class="Logic:Any" pos="234,2108.9004,0" InHideMask="1022" OutHideMask="1">
<Inputs />
</Node>
<Node Id="489" Class="Entity:BeamEntity" pos="1404,2090.9004,0">
<Inputs entityId="0" CoordSys="1" Position="0,0,0" Rotation="0,0,0" UseZeroRot="0" Scale="0,0,0"/>
</Node>
<Node Id="491" Class="Mission:GameTokenGet" pos="234,1946.9004,0">
<Inputs gametoken_Token="Level.Item_Inspect.Item_Original_Location"/>
</Node>
<Node Id="493" Class="Mission:GameTokenGet" pos="234,2000.9004,0">
<Inputs gametoken_Token="Level.Item_Inspect.Item_Original_Rotation"/>
</Node>
<Node Id="497" Class="Logic:Any" pos="936,2252.9004,0" InHideMask="1023" OutHideMask="1">
<Inputs />
</Node>
<Node Id="499" Class="Logic:Any" pos="1404,2252.9004,0">
<Inputs />
</Node>
<Node Id="503" Class="Input:MouseButtonInfo" pos="-180,2540.9004,0">
<Inputs MouseButton="0" MouseWheel="1"/>
</Node>
<Node Id="510" Name="Zoom_Function" Class="_comment" pos="-180,2522.9004,0"/>
<Node Id="514" Class="Camera:OverrideFOV" pos="306,2702.9004,0">
<Inputs SetFOV="0"/>
</Node>
<Node Id="544" Class="Camera:OverrideFOV" pos="900,2576.9004,0">
<Inputs SetFOV="0"/>
</Node>
<Node Id="550" Class="Math:Calculate" pos="306,2576.9004,0">
<Inputs Op="3" A="-120" B="-120"/>
</Node>
<Node Id="554" Class="Math:Add" pos="774,2576.9004,0">
<Inputs A="0" B="0"/>
</Node>
<Node Id="556" Class="Logic:Any" pos="594,2702.9004,0" InHideMask="1023" OutHideMask="1">
<Inputs />
</Node>
<Node Id="559" Name="sensitivity" Class="_comment" pos="594,2558.9004,0"/>
<Node Id="560" Class="Camera:OverrideFOV" pos="2340,992.90039,0">
<Inputs SetFOV="0"/>
</Node>
<Node Id="562" Class="Math:Mul" pos="594,2576.9004,0">
<Inputs A="0" B="3"/>
</Node>
<Node Id="564" Class="Interpol:Float" pos="2070,992.90039,0">
<Inputs StartValue="0" EndValue="55" Time="1" UpdateFrequency="0" Easing="0"/>
</Node>
<Node Id="566" Class="Camera:OverrideFOV" pos="1566,992.90039,0">
<Inputs SetFOV="0"/>
</Node>
<Node Id="568" Class="Mission:GameTokenGet" pos="1566,1064.9004,0">
<Inputs gametoken_Token="Level.Item_Inspect.Item_Move_To_Camera_Speed"/>
</Node>
<Node Id="570" Name="Settings_(Init)" Class="_commentbox" pos="-648,-915.52954,0">
<Inputs TextSize="1" Color="1,1,1" DisplayFilled="1" DisplayBox="1" SortPriority="16"/>
<ResizeBorder X="0" Y="0" Width="720" Height="414"/>
<NodeSize Width="1782.3562" Height="784.55115"/>
</Node>
<Node Id="573" Class="Game:Start" pos="-630,-519.09961,0">
<Inputs InGame="1" InEditor="1"/>
</Node>
<Node Id="575" Class="Mission:GameTokenSet" pos="-396,-519.09961,0">
<Inputs gametoken_Token="Level.Item_Inspect.Item_ID" Value="0"/>
</Node>
<Node Id="576" Class="Mission:GameTokenSet" pos="-396,-447.09961,0">
<Inputs gametoken_Token="Level.Item_Inspect.Item_Original_Location" Value="0"/>
</Node>
<Node Id="577" Class="Mission:GameTokenSet" pos="-396,-375.09961,0">
<Inputs gametoken_Token="Level.Item_Inspect.State_Inspecting" Value="0"/>
</Node>
<Node Id="578" Class="Mission:GameTokenSet" pos="-396,-303.09961,0">
<Inputs gametoken_Token="Level.Item_Inspect.Item_Move_To_Camera_Speed" Value="1"/>
</Node>
<Node Id="579" Class="Mission:GameTokenSet" pos="-396,-231.09961,0">
<Inputs gametoken_Token="Level.Item_Inspect.Item_Original_Rotation" Value="0"/>
</Node>
<Node Id="581" Class="Entity:EntityInfo" pos="936,2.9003906,0">
<Inputs entityId="0"/>
</Node>
<Node Id="583" Class="Logic:Any" pos="1188,38.900391,0" InHideMask="1023" OutHideMask="1">
<Inputs />
</Node>
<Node Id="593" Class="Entity:PropertyGet" pos="2988,-36,0" EntityGUID="3148eea6-0d43-603d-83be-ce9ebe5e9fd4">
<Inputs entityId="0" entityProperties_Property="Properties:UseMessage" perArchetype="1"/>
</Node>
<Node Id="595" Class="Debug:InputKey" pos="2736,-36,0">
<Inputs entityId="0" Key="o" NonDevMode="0"/>
</Node>
<Node Id="597" Class="Logic:Any" pos="3330,-18,0">
<Inputs />
</Node>
</Nodes>
<Edges>
<Edge nodeIn="264" nodeOut="215" portIn="Trigger" portOut="Pressed" enabled="1"/>
<Edge nodeIn="222" nodeOut="217" portIn="In" portOut="entity" enabled="1"/>
<Edge nodeIn="231" nodeOut="217" portIn="in1" portOut="entity" enabled="1"/>
<Edge nodeIn="581" nodeOut="217" portIn="Get" portOut="entity" enabled="1"/>
<Edge nodeIn="581" nodeOut="217" portIn="entityId" portOut="entity" enabled="1"/>
<Edge nodeIn="270" nodeOut="222" portIn="Get" portOut="false" enabled="1"/>
<Edge nodeIn="334" nodeOut="228" portIn="Get" portOut="OutValue" enabled="1"/>
<Edge nodeIn="334" nodeOut="228" portIn="entityId" portOut="OutValue" enabled="1"/>
<Edge nodeIn="270" nodeOut="231" portIn="entityId" portOut="out" enabled="1"/>
<Edge nodeIn="275" nodeOut="231" portIn="in1" portOut="out" enabled="1"/>
<Edge nodeIn="307" nodeOut="233" portIn="Get" portOut="Equal True" enabled="1"/>
<Edge nodeIn="314" nodeOut="233" portIn="Disable" portOut="Equal False" enabled="1"/>
<Edge nodeIn="314" nodeOut="233" portIn="Enable" portOut="Equal True" enabled="1"/>
<Edge nodeIn="315" nodeOut="233" portIn="Disable" portOut="Equal False" enabled="1"/>
<Edge nodeIn="315" nodeOut="233" portIn="Enable" portOut="Equal True" enabled="1"/>
<Edge nodeIn="339" nodeOut="233" portIn="in1" portOut="Equal False" enabled="1"/>
<Edge nodeIn="362" nodeOut="233" portIn="false" portOut="Equal False" enabled="1"/>
<Edge nodeIn="362" nodeOut="233" portIn="true" portOut="Equal True" enabled="1"/>
<Edge nodeIn="503" nodeOut="233" portIn="Disable" portOut="Equal False" enabled="1"/>
<Edge nodeIn="503" nodeOut="233" portIn="Enable" portOut="Equal True" enabled="1"/>
<Edge nodeIn="237" nodeOut="234" portIn="z" portOut="DeltaScreenX" enabled="1"/>
<Edge nodeIn="237" nodeOut="234" portIn="x" portOut="DeltaScreenY" enabled="1"/>
<Edge nodeIn="238" nodeOut="234" portIn="in1" portOut="DeltaScreenX" enabled="1"/>
<Edge nodeIn="239" nodeOut="236" portIn="A" portOut="Rotate" enabled="1"/>
<Edge nodeIn="242" nodeOut="236" portIn="in1" portOut="Pos" enabled="1"/>
<Edge nodeIn="240" nodeOut="237" portIn="in1" portOut="vec3" enabled="1"/>
<Edge nodeIn="236" nodeOut="238" portIn="Get" portOut="out" enabled="1"/>
<Edge nodeIn="235" nodeOut="239" portIn="Beam" portOut="out" enabled="1"/>
<Edge nodeIn="235" nodeOut="239" portIn="Rotation" portOut="out" enabled="1"/>
<Edge nodeIn="239" nodeOut="240" portIn="B" portOut="out" enabled="1"/>
<Edge nodeIn="235" nodeOut="242" portIn="Position" portOut="out" enabled="1"/>
<Edge nodeIn="236" nodeOut="248" portIn="entityId" portOut="Out" enabled="1"/>
<Edge nodeIn="268" nodeOut="264" portIn="Value" portOut="OutValue" enabled="1"/>
<Edge nodeIn="217" nodeOut="268" portIn="go" portOut="False" enabled="1"/>
<Edge nodeIn="332" nodeOut="268" portIn="Trigger" portOut="True" enabled="1"/>
<Edge nodeIn="337" nodeOut="268" portIn="Trigger" portOut="True" enabled="1"/>
<Edge nodeIn="399" nodeOut="268" portIn="Trigger" portOut="True" enabled="1"/>
<Edge nodeIn="274" nodeOut="270" portIn="A" portOut="Value" enabled="1"/>
<Edge nodeIn="274" nodeOut="270" portIn="Compare" portOut="Value" enabled="1"/>
<Edge nodeIn="228" nodeOut="274" portIn="Trigger" portOut="True" enabled="1"/>
<Edge nodeIn="283" nodeOut="274" portIn="Set" portOut="True" enabled="1"/>
<Edge nodeIn="276" nodeOut="275" portIn="in1" portOut="out" enabled="1"/>
<Edge nodeIn="228" nodeOut="276" portIn="Value" portOut="out" enabled="1"/>
<Edge nodeIn="283" nodeOut="276" portIn="entityId" portOut="out" enabled="1"/>
<Edge nodeIn="290" nodeOut="292" portIn="entityId" portOut="entityId" enabled="1"/>
<Edge nodeIn="235" nodeOut="298" portIn="entityId" portOut="Out" enabled="1"/>
<Edge nodeIn="480" nodeOut="301" portIn="Time" portOut="OutValue" enabled="1"/>
<Edge nodeIn="489" nodeOut="304" portIn="entityId" portOut="Out" enabled="1"/>
<Edge nodeIn="311" nodeOut="307" portIn="B" portOut="Dir" enabled="1"/>
<Edge nodeIn="311" nodeOut="307" portIn="A" portOut="Pos" enabled="1"/>
<Edge nodeIn="301" nodeOut="311" portIn="Trigger" portOut="out" enabled="1"/>
<Edge nodeIn="487" nodeOut="311" portIn="in1" portOut="out" enabled="1"/>
<Edge nodeIn="491" nodeOut="311" portIn="Trigger" portOut="out" enabled="1"/>
<Edge nodeIn="493" nodeOut="311" portIn="Trigger" portOut="out" enabled="1"/>
<Edge nodeIn="325" nodeOut="323" portIn="in1" portOut="output" enabled="1"/>
<Edge nodeIn="234" nodeOut="325" portIn="Disable" portOut="out" enabled="1"/>
<Edge nodeIn="465" nodeOut="327" portIn="entityId" portOut="Out" enabled="1"/>
<Edge nodeIn="465" nodeOut="332" portIn="Get" portOut="OutValue" enabled="1"/>
<Edge nodeIn="470" nodeOut="332" portIn="in1" portOut="OutValue" enabled="1"/>
<Edge nodeIn="335" nodeOut="334" portIn="Trigger" portOut="Pos" enabled="1"/>
<Edge nodeIn="335" nodeOut="334" portIn="Value" portOut="Pos" enabled="1"/>
<Edge nodeIn="395" nodeOut="334" portIn="Trigger" portOut="Rotate" enabled="1"/>
<Edge nodeIn="395" nodeOut="334" portIn="Value" portOut="Rotate" enabled="1"/>
<Edge nodeIn="226" nodeOut="335" portIn="Trigger" portOut="OutValue" enabled="1"/>
<Edge nodeIn="474" nodeOut="337" portIn="in1" portOut="OutValue" enabled="1"/>
<Edge nodeIn="345" nodeOut="348" portIn="entityId" portOut="Out" enabled="1"/>
<Edge nodeIn="290" nodeOut="362" portIn="Enabled" portOut="out" enabled="1"/>
<Edge nodeIn="325" nodeOut="399" portIn="in3" portOut="OutValue" enabled="1"/>
<Edge nodeIn="472" nodeOut="399" portIn="in1" portOut="OutValue" enabled="1"/>
<Edge nodeIn="463" nodeOut="461" portIn="Beam" portOut="Value" enabled="1"/>
<Edge nodeIn="463" nodeOut="461" portIn="Position" portOut="Value" enabled="1"/>
<Edge nodeIn="476" nodeOut="461" portIn="in1" portOut="Done" enabled="1"/>
<Edge nodeIn="461" nodeOut="465" portIn="Start" portOut="Pos" enabled="1"/>
<Edge nodeIn="461" nodeOut="465" portIn="StartValue" portOut="Pos" enabled="1"/>
<Edge nodeIn="468" nodeOut="465" portIn="Start" portOut="Rotate" enabled="1"/>
<Edge nodeIn="468" nodeOut="465" portIn="StartValue" portOut="Rotate" enabled="1"/>
<Edge nodeIn="463" nodeOut="466" portIn="entityId" portOut="Out" enabled="1"/>
<Edge nodeIn="463" nodeOut="468" portIn="Rotation" portOut="Value" enabled="1"/>
<Edge nodeIn="461" nodeOut="470" portIn="EndValue" portOut="out" enabled="1"/>
<Edge nodeIn="468" nodeOut="472" portIn="EndValue" portOut="out" enabled="1"/>
<Edge nodeIn="461" nodeOut="474" portIn="Time" portOut="out" enabled="1"/>
<Edge nodeIn="468" nodeOut="474" portIn="Time" portOut="out" enabled="1"/>
<Edge nodeIn="566" nodeOut="474" portIn="GetFOV" portOut="out" enabled="1"/>
<Edge nodeIn="568" nodeOut="474" portIn="Trigger" portOut="out" enabled="1"/>
<Edge nodeIn="342" nodeOut="476" portIn="Trigger" portOut="out" enabled="1"/>
<Edge nodeIn="344" nodeOut="476" portIn="Trigger" portOut="out" enabled="1"/>
<Edge nodeIn="345" nodeOut="476" portIn="Set" portOut="out" enabled="1"/>
<Edge nodeIn="394" nodeOut="476" portIn="Trigger" portOut="out" enabled="1"/>
<Edge nodeIn="489" nodeOut="480" portIn="Beam" portOut="Value" enabled="1"/>
<Edge nodeIn="489" nodeOut="480" portIn="Position" portOut="Value" enabled="1"/>
<Edge nodeIn="499" nodeOut="480" portIn="in1" portOut="Done" enabled="1"/>
<Edge nodeIn="480" nodeOut="487" portIn="EndValue" portOut="out" enabled="1"/>
<Edge nodeIn="480" nodeOut="487" portIn="Start" portOut="out" enabled="1"/>
<Edge nodeIn="480" nodeOut="491" portIn="StartValue" portOut="OutValue" enabled="1"/>
<Edge nodeIn="497" nodeOut="493" portIn="in1" portOut="OutValue" enabled="1"/>
<Edge nodeIn="489" nodeOut="497" portIn="Rotation" portOut="out" enabled="1"/>
<Edge nodeIn="234" nodeOut="499" portIn="Enable" portOut="out" enabled="1"/>
<Edge nodeIn="514" nodeOut="503" portIn="GetFOV" portOut="MouseWheel" enabled="1"/>
<Edge nodeIn="550" nodeOut="503" portIn="A" portOut="MouseWheel" enabled="1"/>
<Edge nodeIn="550" nodeOut="503" portIn="DoCalc" portOut="MouseWheel" enabled="1"/>
<Edge nodeIn="556" nodeOut="514" portIn="in1" portOut="CurFOV" enabled="1"/>
<Edge nodeIn="562" nodeOut="550" portIn="A" portOut="out" enabled="1"/>
<Edge nodeIn="544" nodeOut="554" portIn="SetFOV" portOut="out" enabled="1"/>
<Edge nodeIn="554" nodeOut="556" portIn="B" portOut="out" enabled="1"/>
<Edge nodeIn="554" nodeOut="562" portIn="A" portOut="out" enabled="1"/>
<Edge nodeIn="560" nodeOut="564" portIn="SetFOV" portOut="Value" enabled="1"/>
<Edge nodeIn="564" nodeOut="566" portIn="Start" portOut="CurFOV" enabled="1"/>
<Edge nodeIn="564" nodeOut="566" portIn="StartValue" portOut="CurFOV" enabled="1"/>
<Edge nodeIn="564" nodeOut="568" portIn="Time" portOut="OutValue" enabled="1"/>
<Edge nodeIn="575" nodeOut="573" portIn="Trigger" portOut="output" enabled="1"/>
<Edge nodeIn="576" nodeOut="573" portIn="Trigger" portOut="output" enabled="1"/>
<Edge nodeIn="577" nodeOut="573" portIn="Trigger" portOut="output" enabled="1"/>
<Edge nodeIn="578" nodeOut="573" portIn="Trigger" portOut="output" enabled="1"/>
<Edge nodeIn="579" nodeOut="573" portIn="Trigger" portOut="output" enabled="1"/>
<Edge nodeIn="583" nodeOut="581" portIn="in3" portOut="Archetype" enabled="1"/>
<Edge nodeIn="583" nodeOut="581" portIn="in2" portOut="Class" enabled="1"/>
<Edge nodeIn="583" nodeOut="581" portIn="in1" portOut="Name" enabled="1"/>
<Edge nodeIn="597" nodeOut="593" portIn="in2" portOut="Error" enabled="1"/>
<Edge nodeIn="597" nodeOut="593" portIn="in1" portOut="Value" enabled="1"/>
<Edge nodeIn="593" nodeOut="595" portIn="Get" portOut="Pressed" enabled="1"/>
</Edges>
</Graph>
Last edited by Cry-Chris on Sat Jul 25, 2020 1:40 am, edited 3 times in total.
Re: Zoom & Rotation object
#8Hey, thanx a ton Cry-Chris! This worked perfectly fine. So glad you did respond finally! 

Re: Zoom & Rotation object
#9My pleasureHey, thanx a ton Cry-Chris! This worked perfectly fine. So glad you did respond finally!![]()

Re: Zoom & Rotation object
#10Any chance of adapting this to a 5.6 template instead of the GameSDK?
What exactly is missing when using legacy entities and copying scripts.pak over? Any nodes?
What exactly is missing when using legacy entities and copying scripts.pak over? Any nodes?