Jump to content
Sign in to follow this  
KL Oo

Camera view program that allows click and follow?

Recommended Posts

I had a bit of an experiment with Click and Place which is coming along OK as you can see here, but quite bit more work is necessary

 

Share this post


Link to post

Mate that is bloody outstanding! Can't believe you got that done in such a short period of time and make it look so easy! If you need a tester let me know!!


Kael Oswald

7950X3D / 64GB DDR5 6000 @ CL30 / Custom Water Loop / RTX 4090 / 3 x 50" 4K LCD TVs

Share this post


Link to post

 

 


Try this utility, which I have just uploaded to the library. It has the feature we have been discussing above and much more.

 

Thank you for your program, truly a work of art here, i assume you need to delete any other camera program before using yours and let P3d build a fresh camera cfg by deleting my current one?

 

Cheers


tpewpb-6.png

 

Share this post


Link to post

i assume you need to delete any other camera program before using yours and let P3d build a fresh camera cfg by deleting my current one?

 

No, building a fresh camera.cfg is not necessary at all. The MultiTool cameras will just append to the bottom of the existing Camera.cfg.

 

The only issue would be if you are already have cameras numbered in the range [CameraDefinition.060] - 067. After MultiTool appends its camera, you can check if there's any double ups in numbering if you want, and change the numbering of my new ones if they clash with anything you already have. Prepar3D will probably complain if it detects duplicate definition numbers. The Name of the MultiTool cameras is critical, but the definition number is not.

 

Compatibility with other camera programs depends on whether multiple Simconnect applications end up fighting for camera control at the same time. There will be no issue with having more than one camera program installed, but if they are both trying to assert control simultaneously, results may be messy.

Cheers

 

Richard

  • Upvote 1

Share this post


Link to post

Well i can`t even get this software to work, so what version of the simconnect do we need installed in P3d, i have the FSX-SP2-XPACK version installed. it keeps giving me a dotnet error when i try to run it, although all my W7 updates are current.!


tpewpb-6.png

 

Share this post


Link to post

f you still have an issue following this, send a screenshot of the .NET error to rich.barry@usa.com

 

 

ScreenShot11-26-16at07.52PM.jpg

 

ScreenShot11-26-16at07.53PM.jpg

 

Error1See the end of this message for details on invoking

just-in-time (JIT) debugging instead of this dialog box.

 

************** Exception Text **************

System.InvalidCastException: Conversion from string "d" to type 'Short' is not valid. ---> System.FormatException: Input string was not in a correct format.

   at Microsoft.VisualBasic.CompilerServices.Conversions.ParseDouble(String Value, NumberFormatInfo NumberFormat)

   at Microsoft.VisualBasic.CompilerServices.Conversions.ToShort(String Value)

   --- End of inner exception stack trace ---

   at Microsoft.VisualBasic.CompilerServices.Conversions.ToShort(String Value)

   at MultiToolPrepar3D.frmMain.Enumerator(IntPtr hwnd, Int32 lParam)

   at MultiToolPrepar3D.frmMain._Lambda$__1(Int32 a0, Int32 a1)

   at MultiToolPrepar3D.frmMain.EnumWindows(CallBack Adress, Int32 y)

   at MultiToolPrepar3D.frmMain.GetActiveWindows()

   at MultiToolPrepar3D.frmMain.ReadHandles()

   at MultiToolPrepar3D.frmMain.frmMain_Load(Object sender, EventArgs e)

   at System.EventHandler.Invoke(Object sender, EventArgs e)

   at System.Windows.Forms.Form.OnLoad(EventArgs e)

   at System.Windows.Forms.Form.OnCreateControl()

   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)

   at System.Windows.Forms.Control.CreateControl()

   at System.Windows.Forms.Control.WmShowWindow(Message& m)

   at System.Windows.Forms.Control.WndProc(Message& m)

   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)

   at System.Windows.Forms.Form.WmShowWindow(Message& m)

   at System.Windows.Forms.Form.WndProc(Message& m)

   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)

   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)

   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

 

 

************** Loaded Assemblies **************

mscorlib

    Assembly Version: 4.0.0.0

    Win32 Version: 4.6.1590.0 built by: NETFXREL2

    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll

----------------------------------------

MultiToolPrepar3D

    Assembly Version: 1.0.0.0

    Win32 Version: 1.0.0.0

    CodeBase: file:///C:/Users/Richard/Documents/Prepar3D%20v3%20Files/MultiToolPrepar3D/MultiToolPrepar3D.exe

----------------------------------------

Microsoft.VisualBasic

    Assembly Version: 10.0.0.0

    Win32 Version: 14.6.1590.0 built by: NETFXREL2

    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll

----------------------------------------

System

    Assembly Version: 4.0.0.0

    Win32 Version: 4.6.1590.0 built by: NETFXREL2

    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll

----------------------------------------

System.Core

    Assembly Version: 4.0.0.0

    Win32 Version: 4.6.1590.0 built by: NETFXREL2

    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll

----------------------------------------

System.Windows.Forms

    Assembly Version: 4.0.0.0

    Win32 Version: 4.6.1590.0 built by: NETFXREL2

    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

----------------------------------------

System.Drawing

    Assembly Version: 4.0.0.0

    Win32 Version: 4.6.1590.0 built by: NETFXREL2

    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

----------------------------------------

System.Runtime.Remoting

    Assembly Version: 4.0.0.0

    Win32 Version: 4.6.1590.0 built by: NETFXREL2

    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Remoting/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll

----------------------------------------

System.Configuration

    Assembly Version: 4.0.0.0

    Win32 Version: 4.6.1590.0 built by: NETFXREL2

    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll

----------------------------------------

System.Xml

    Assembly Version: 4.0.0.0

    Win32 Version: 4.6.1590.0 built by: NETFXREL2

    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll

----------------------------------------

LockheedMartin.Prepar3D.SimConnect

    Assembly Version: 2.5.0.0

    Win32 Version:

    CodeBase: file:///C:/Users/Richard/Documents/Prepar3D%20v3%20Files/MultiToolPrepar3D/LockheedMartin.Prepar3D.SimConnect.DLL

----------------------------------------

Microsoft.DirectX.DirectInput

    Assembly Version: 1.0.2902.0

    Win32 Version: 5.04.00.2904

    CodeBase: file:///C:/Windows/assembly/GAC/Microsoft.DirectX.DirectInput/1.0.2902.0__31bf3856ad364e35/Microsoft.DirectX.DirectInput.dll

----------------------------------------

Accessibility

    Assembly Version: 4.0.0.0

    Win32 Version: 4.6.1590.0 built by: NETFXREL2

    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll

----------------------------------------

Microsoft.DirectX

    Assembly Version: 1.0.2902.0

    Win32 Version: 5.04.00.2904

    CodeBase: file:///C:/Windows/assembly/GAC/Microsoft.DirectX/1.0.2902.0__31bf3856ad364e35/Microsoft.DirectX.dll

----------------------------------------

Microsoft.VisualC

    Assembly Version: 10.0.0.0

    Win32 Version: 12.00.52512.0 built by: VSWINSERVICING

    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualC/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualC.dll

----------------------------------------

 

************** JIT Debugging **************

To enable just-in-time (JIT) debugging, the .config file for this

application or computer (machine.config) must have the

jitDebugging value set in the system.windows.forms section.

The application must also be compiled with debugging

enabled.

 

For example:

 

<configuration>

    <system.windows.forms jitDebugging="true" />

</configuration>

 

When JIT debugging is enabled, any unhandled exception

will be sent to the JIT debugger registered on the computer

rather than be handled by this dialog box.

 

Error 2

See the end of this message for details on invoking

just-in-time (JIT) debugging instead of this dialog box.

 

************** Exception Text **************

System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\Richard\AppData\Roaming\Lockheed Martin\Prepar3D vd\Cameras.cfg'.

   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)

   at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)

   at System.IO.File.Copy(String sourceFileName, String destFileName)

   at MultiToolPrepar3D.mdlMain.CamCfgPatch(Boolean AllCams)

   at MultiToolPrepar3D.frmPatchCamCfg.cmdCamCfgPatch_Click(Object sender, EventArgs e)

   at System.Windows.Forms.Control.OnClick(EventArgs e)

   at System.Windows.Forms.Button.OnClick(EventArgs e)

   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)

   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)

   at System.Windows.Forms.Control.WndProc(Message& m)

   at System.Windows.Forms.ButtonBase.WndProc(Message& m)

   at System.Windows.Forms.Button.WndProc(Message& m)

   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)

   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)

   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

 

 

************** Loaded Assemblies **************

mscorlib

    Assembly Version: 4.0.0.0

    Win32 Version: 4.6.1590.0 built by: NETFXREL2

    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll

----------------------------------------

MultiToolPrepar3D

    Assembly Version: 1.0.0.0

    Win32 Version: 1.0.0.0

    CodeBase: file:///C:/Users/Richard/Documents/Prepar3D%20v3%20Files/MultiToolPrepar3D/MultiToolPrepar3D.exe

----------------------------------------

Microsoft.VisualBasic

    Assembly Version: 10.0.0.0

    Win32 Version: 14.6.1590.0 built by: NETFXREL2

    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll

----------------------------------------

System

    Assembly Version: 4.0.0.0

    Win32 Version: 4.6.1590.0 built by: NETFXREL2

    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll

----------------------------------------

System.Core

    Assembly Version: 4.0.0.0

    Win32 Version: 4.6.1590.0 built by: NETFXREL2

    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll

----------------------------------------

System.Windows.Forms

    Assembly Version: 4.0.0.0

    Win32 Version: 4.6.1590.0 built by: NETFXREL2

    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

----------------------------------------

System.Drawing

    Assembly Version: 4.0.0.0

    Win32 Version: 4.6.1590.0 built by: NETFXREL2

    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

----------------------------------------

System.Runtime.Remoting

    Assembly Version: 4.0.0.0

    Win32 Version: 4.6.1590.0 built by: NETFXREL2

    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Remoting/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll

----------------------------------------

System.Configuration

    Assembly Version: 4.0.0.0

    Win32 Version: 4.6.1590.0 built by: NETFXREL2

    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll

----------------------------------------

System.Xml

    Assembly Version: 4.0.0.0

    Win32 Version: 4.6.1590.0 built by: NETFXREL2

    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll

----------------------------------------

LockheedMartin.Prepar3D.SimConnect

    Assembly Version: 2.5.0.0

    Win32 Version:

    CodeBase: file:///C:/Users/Richard/Documents/Prepar3D%20v3%20Files/MultiToolPrepar3D/LockheedMartin.Prepar3D.SimConnect.DLL

----------------------------------------

Microsoft.DirectX.DirectInput

    Assembly Version: 1.0.2902.0

    Win32 Version: 5.04.00.2904

    CodeBase: file:///C:/Windows/assembly/GAC/Microsoft.DirectX.DirectInput/1.0.2902.0__31bf3856ad364e35/Microsoft.DirectX.DirectInput.dll

----------------------------------------

Accessibility

    Assembly Version: 4.0.0.0

    Win32 Version: 4.6.1590.0 built by: NETFXREL2

    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll

----------------------------------------

Microsoft.DirectX

    Assembly Version: 1.0.2902.0

    Win32 Version: 5.04.00.2904

    CodeBase: file:///C:/Windows/assembly/GAC/Microsoft.DirectX/1.0.2902.0__31bf3856ad364e35/Microsoft.DirectX.dll

----------------------------------------

Microsoft.VisualC

    Assembly Version: 10.0.0.0

    Win32 Version: 12.00.52512.0 built by: VSWINSERVICING

    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualC/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualC.dll

----------------------------------------

Gma.System.MouseKeyHook

    Assembly Version: 5.4.0.0

    Win32 Version: 5.4.0.0

    CodeBase: file:///C:/Users/Richard/Documents/Prepar3D%20v3%20Files/MultiToolPrepar3D/Gma.System.MouseKeyHook.DLL

----------------------------------------

System.Speech

    Assembly Version: 4.0.0.0

    Win32 Version: 4.6.1590.0 built by: NETFXREL2

    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Speech/v4.0_4.0.0.0__31bf3856ad364e35/System.Speech.dll

----------------------------------------

 

************** JIT Debugging **************

To enable just-in-time (JIT) debugging, the .config file for this

application or computer (machine.config) must have the

jitDebugging value set in the system.windows.forms section.

The application must also be compiled with debugging

enabled.

 

For example:

 

<configuration>

    <system.windows.forms jitDebugging="true" />

</configuration>

 

When JIT debugging is enabled, any unhandled exception

will be sent to the JIT debugger registered on the computer

rather than be handled by this dialog box.

 

Cheers

 

 

 

 

 


tpewpb-6.png

 

Share this post


Link to post

I remember that brillant function.

 

Btw. You dont have to place the aircraft at a position for worldcam in EZDOK.

 

You can just use the nummer 2 key and quickly move to a spot

 

Michael Moe


Michael Moe

 

fs2crew_747_banner1.png

Banner_FS2Crew_Emergency.png

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  
  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...