Results 1 to 4 of 4
Thread: Am I stupid?
-
03-02-2009, 04:24 PM #1
- Join Date
- Feb 2009
- Location
- Sweden
- Posts
- 29
Am I stupid?
I might be putting the 'stupid-sign' on my forehead by asking this question but when I've made a very easy "add-on" via SimConnect and I would like to use it with FS. How do I do? Let's say I've made a file which tells FS to apply left brakes on the push of Alt+Shift+<- (left arrow), where to put this file to make it work?
Best Regards
Didrik
-
03-02-2009, 04:27 PM #2
Just buy FSUIPC and forget about having to do any writing. Commands like that are all in FSUIPC for assignment to switches, buttons, and knobs.
And pedals, and throttles, and...Boeing Skunk Works
Remember...140, 250, and REALLY FAST!
We don't need no stinkin' ETOPS!
Powered by FS9 & BOEING
-
03-02-2009, 05:40 PM #3
- Join Date
- Feb 2007
- Location
- California, USA
- Posts
- 377
I think at one point or another we all have a stupid sign on our foreheads. However, this is not such a time for you. (Later, maybe,
but not now.) SimConnect is a complex interface, and takes some time to learn.
Using SimConnect requires writing a program that links to the SimConnect DLL. SimConnect acts as a "server" to the user program "client". Step one is to open a connection port with SimConnect. Step two is to tell SimConnect what variables and flight sim event you will be interested in. Step three is actually requesting or setting values of these variables, and examining or triggering the events. The final step is closing the connection when you shut down your application.
This sounds worse than it is. If you're used to writing programs that simply call functions, SimConnect will seem overly complicated. SimConnect is based on message passing. Your program doesn't make a function call to immediately read a sim variable or trigger landing gear movement. Your program sends a message to SimConnect asking it to act on your behalf, and perhaps return a message on completion. Your program has to do some set up work to get the messaging system initialized, then things just zip along.
The advantages of the messaging system are that your program can be doing other things while SimConnect triggers flight sim events (like lowering the gear), and collects flight sim variable values for you. It also means that multiple client programs can run concurrently talking with flight simulator.
I think the best way to learn about SimConnect is to work through some of the coding examples in the SDK. For example look at the Throttle Control code on this page: http://msdn.microsoft.com/en-us/libr...WorkingSamples
-
Post Thanks / Like - 1 Thanks, 0 Likes, 0 Dislikes
Didrik thanked for this post
-
03-02-2009, 05:45 PM #4
- Join Date
- Feb 2009
- Location
- Sweden
- Posts
- 29
Thanks a lot
Similar Threads
-
I have gone stupid
By mondo50m in forum General Builder Questions All Aircraft TypesReplies: 0Last Post: 01-12-2010, 10:18 AM -
Probably a stupid question for PM experts
By barkay in forum PM Boeing GCReplies: 5Last Post: 11-26-2008, 10:59 AM -
Probably a stupid question on PM+OC modules
By barkay in forum OpenCockpits General DiscussionReplies: 4Last Post: 11-14-2008, 12:01 PM