Creating a satellite camera, To search the ground Flow Graph

#1
Hello.
I want to create a satellite camera like IGI.
Image

I created an example
Image
But there are problems. How to zoom the camera. To a certain distance
I want to change the direction of the satellite camera from right to left, up and down by holding the right click.
Image

Code: Select all

<Graph Description="" Group=""> <Nodes> <Node Id="1" Class="Entity:EntityId" pos="-792,-144,0" EntityGUID="ffd56a15-4b36-d6dd-176a-79b762765737"> <Inputs entityId="0"/> </Node> <Node Id="2" Class="Camera:View" pos="-1080,54,0"> <Inputs entityId="0" Enable="0" Disable="0" FOV="60" Blend="0" BlendFOVSpeed="5" BlendFOVOffset="0" BlendPosSpeed="5" BlendPosOffset="0,0,0" BlendRotSpeed="10" BlendRotOffset="0,0,0"/> </Node> <Node Id="8" Class="Entity:EntityPos" pos="72,-108,0"> <Inputs entityId="0" pos="0,0,0" rotate="0,0,0" scale="0,0,0" CoordSys="1"/> </Node> <Node Id="14" Class="Debug:InputKey" pos="-792,-72,0"> <Inputs entityId="0" Key="w" NonDevMode="0"/> </Node> <Node Id="15" Class="Debug:InputKey" pos="-792,72,0"> <Inputs entityId="0" Key="s" NonDevMode="0"/> </Node> <Node Id="16" Class="Debug:InputKey" pos="-792,468,0"> <Inputs entityId="0" Key="a" NonDevMode="0"/> </Node> <Node Id="17" Class="Debug:InputKey" pos="-792,288,0"> <Inputs entityId="0" Key="d" NonDevMode="0"/> </Node> <Node Id="18" Class="Vec3:AddVec3" pos="-108,-90,0"> <Inputs A="0,0,0" B="0,2,0"/> </Node> <Node Id="19" Class="Entity:GetPos" pos="-396,-108,0"> <Inputs entityId="0" CoordSys="1"/> </Node> <Node Id="22" Class="Vec3:SubVec3" pos="-108,108,0"> <Inputs A="0,0,0" B="0,2,0"/> </Node> <Node Id="25" Class="Entity:EntityPos" pos="72,108,0"> <Inputs entityId="0" pos="0,0,0" rotate="0,0,0" scale="0,0,0" CoordSys="1"/> </Node> <Node Id="27" Class="Entity:GetPos" pos="-396,108,0"> <Inputs entityId="0" CoordSys="1"/> </Node> <Node Id="28" Class="Entity:EntityPos" pos="72,288,0"> <Inputs entityId="0" pos="0,0,0" rotate="0,0,0" scale="0,0,0" CoordSys="1"/> </Node> <Node Id="29" Class="Vec3:AddVec3" pos="-108,288,0"> <Inputs A="0,0,0" B="2,0,0"/> </Node> <Node Id="30" Class="Entity:GetPos" pos="-396,288,0"> <Inputs entityId="0" CoordSys="1"/> </Node> <Node Id="31" Class="Vec3:SubVec3" pos="-108,468,0"> <Inputs A="0,0,0" B="2,0,0"/> </Node> <Node Id="32" Class="Entity:EntityPos" pos="72,468,0"> <Inputs entityId="0" pos="0,0,0" rotate="0,0,0" scale="0,0,0" CoordSys="1"/> </Node> <Node Id="33" Class="Entity:GetPos" pos="-396,468,0"> <Inputs entityId="0" CoordSys="1"/> </Node> <Node Id="34" Class="Debug:InputKey" pos="-1980,-54,0"> <Inputs entityId="0" Key="n" NonDevMode="0"/> </Node> <Node Id="35" Class="Actor:LocalPlayer" pos="-1980,-126,0"> <Inputs /> </Node> <Node Id="38" Class="Entity:EntityPos" pos="-1080,-126,0" GraphEntity="0"> <Inputs entityId="0" pos="0,0,0" rotate="0,0,0" scale="0,0,0" CoordSys="1"/> </Node> <Node Id="39" Class="Entity:GetPos" pos="-1728,-126,0"> <Inputs entityId="0" CoordSys="1"/> </Node> <Node Id="40" Class="Vec3:ToVec3" pos="-1332,-126,0"> <Inputs x="623.07" y="414.278" z="100"/> </Node> <Node Id="42" Class="Vec3:FromVec3" pos="-1476,-126,0"> <Inputs vec3="0,0,0"/> </Node> <Node Id="44" Class="Logic:Sequentializer" pos="-1728,54,0" OutHideMask="1020"> <Inputs Closed="0" Reverse="0"/> </Node> <Node Id="47" Class="Actor:PlayerCinematicControl" pos="-1440,198,0"> <Inputs /> </Node> <Node Id="59" Name="Prevents_the_player_from_firing.\nbut_moves_" Class="_commentbox" pos="-1530,71.810326,0"> <Inputs TextSize="1" Color="1,1,1" DisplayFilled="1" DisplayBox="1" SortPriority="16"/> <ResizeBorder X="0" Y="0" Width="324" Height="144"/> <NodeSize Width="680.03558" Height="265.10663"/> </Node> <Node Id="60" Class="Entity:EntityId" pos="-1476,0,0" EntityGUID="ffd56a15-4b36-d6dd-176a-79b762765737"> <Inputs entityId="0"/> </Node> <Node Id="62" Name="Open_Satellite_Camera_with_&quot;n&quot;_Button" Class="_commentbox" pos="-1998,-271.13797,0"> <Inputs TextSize="1" Color="1,1,1" DisplayFilled="1" DisplayBox="1" SortPriority="16"/> <ResizeBorder X="0" Y="0" Width="1134" Height="630"/> <NodeSize Width="1134" Height="694.7785"/> </Node> <Node Id="63" Name="Move_camera_with_keys_(no_zoom)" Class="_commentbox" pos="-828,-271.13797,0"> <Inputs TextSize="1" Color="1,1,1" DisplayFilled="1" DisplayBox="1" SortPriority="16"/> <ResizeBorder X="0" Y="0" Width="1134" Height="846"/> <NodeSize Width="1134" Height="910.7785"/> </Node> <Node Id="64" Name="camera" Class="_commentbox" pos="-1494,-81.905907,0"> <Inputs TextSize="1" Color="1,1,1" DisplayFilled="1" DisplayBox="1" SortPriority="16"/> <ResizeBorder X="0" Y="0" Width="144" Height="90"/> <NodeSize Width="173.78128" Height="154.7785"/> </Node> <Node Id="65" Name="camera" Class="_commentbox" pos="-810,-217.13785,0"> <Inputs TextSize="1" Color="1,1,1" DisplayFilled="1" DisplayBox="1" SortPriority="16"/> <ResizeBorder X="0" Y="0" Width="162" Height="90"/> <NodeSize Width="173.78128" Height="154.7785"/> </Node> </Nodes> <Edges> <Edge nodeIn="8" nodeOut="1" portIn="entityId" portOut="Id" enabled="1"/> <Edge nodeIn="19" nodeOut="1" portIn="entityId" portOut="Id" enabled="1"/> <Edge nodeIn="25" nodeOut="1" portIn="entityId" portOut="Id" enabled="1"/> <Edge nodeIn="27" nodeOut="1" portIn="entityId" portOut="Id" enabled="1"/> <Edge nodeIn="28" nodeOut="1" portIn="entityId" portOut="Id" enabled="1"/> <Edge nodeIn="30" nodeOut="1" portIn="entityId" portOut="Id" enabled="1"/> <Edge nodeIn="32" nodeOut="1" portIn="entityId" portOut="Id" enabled="1"/> <Edge nodeIn="33" nodeOut="1" portIn="entityId" portOut="Id" enabled="1"/> <Edge nodeIn="19" nodeOut="14" portIn="Get" portOut="Pressed" enabled="1"/> <Edge nodeIn="27" nodeOut="15" portIn="Get" portOut="Pressed" enabled="1"/> <Edge nodeIn="33" nodeOut="16" portIn="Get" portOut="Pressed" enabled="1"/> <Edge nodeIn="30" nodeOut="17" portIn="Get" portOut="Pressed" enabled="1"/> <Edge nodeIn="8" nodeOut="18" portIn="pos" portOut="out" enabled="1"/> <Edge nodeIn="18" nodeOut="19" portIn="A" portOut="Pos" enabled="1"/> <Edge nodeIn="25" nodeOut="22" portIn="pos" portOut="out" enabled="1"/> <Edge nodeIn="22" nodeOut="27" portIn="A" portOut="Pos" enabled="1"/> <Edge nodeIn="28" nodeOut="29" portIn="pos" portOut="out" enabled="1"/> <Edge nodeIn="29" nodeOut="30" portIn="A" portOut="Pos" enabled="1"/> <Edge nodeIn="32" nodeOut="31" portIn="pos" portOut="out" enabled="1"/> <Edge nodeIn="31" nodeOut="33" portIn="A" portOut="Pos" enabled="1"/> <Edge nodeIn="39" nodeOut="34" portIn="Get" portOut="Pressed" enabled="1"/> <Edge nodeIn="44" nodeOut="34" portIn="In" portOut="Pressed" enabled="1"/> <Edge nodeIn="39" nodeOut="35" portIn="entityId" portOut="entityId" enabled="1"/> <Edge nodeIn="42" nodeOut="39" portIn="vec3" portOut="Pos" enabled="1"/> <Edge nodeIn="38" nodeOut="40" portIn="pos" portOut="vec3" enabled="1"/> <Edge nodeIn="40" nodeOut="42" portIn="x" portOut="x" enabled="1"/> <Edge nodeIn="40" nodeOut="42" portIn="y" portOut="y" enabled="1"/> <Edge nodeIn="2" nodeOut="44" portIn="Enable" portOut="Out1" enabled="1"/> <Edge nodeIn="2" nodeOut="44" portIn="Disable" portOut="Out2" enabled="1"/> <Edge nodeIn="47" nodeOut="44" portIn="LowerWeapon" portOut="Out1" enabled="1"/> <Edge nodeIn="47" nodeOut="44" portIn="RestrictMovement" portOut="Out1" enabled="1"/> <Edge nodeIn="47" nodeOut="44" portIn="RestrictToWalk" portOut="Out1" enabled="1"/> <Edge nodeIn="47" nodeOut="44" portIn="TutorialMode" portOut="Out1" enabled="1"/> <Edge nodeIn="47" nodeOut="44" portIn="ResetAll" portOut="Out2" enabled="1"/> <Edge nodeIn="2" nodeOut="60" portIn="entityId" portOut="Id" enabled="1"/> <Edge nodeIn="38" nodeOut="60" portIn="entityId" portOut="Id" enabled="1"/> </Edges> </Graph>

Who is online

Users browsing this forum: No registered users and 1 guest