Search results

  1. Vitus

    P3D v4 [XML] polygonal MouseAreas?

    Well Hello there... Is it possible to create non-rectangular mouseareas in a XML gauge?
  2. Vitus

    P3D v4 Lockheed Vega

    Hello friends, I want to express my gratitude to the fsdeveloper community for being such an incredibly supportive, helpful, friendly, welcoming and good-looking bunch of people! I feel honored to be a part of this fantastic community. @arno you are a HERO of the flightsim world! Thank you so...
  3. Vitus

    FSX:SE [c++/gdi+] Gauge size incorrect

    Hi, Those gauges won't leave me alone... For some reason all my GDI+ gauges automatically resized to 256x256 pixels. And I can't seem to find the cause of the issue. I define the size of the gauge in the panel.cfg like this: gauge03=vega5!manual, 0,45,1920,905 I use the gauge width and height...
  4. Vitus

    FSX:SE Check the Camera - internal or external view?

    Is there a way to find out if the active camera is in the cockpit or the external view? I just finished adding some rattling and wind sounds to the Vega and would like to disable those when the external camera is active. I'd need that both for FSX and P3D. Any ideas?
  5. Vitus

    FSX:SE [C++/GDI+] Our arch-nemesis: TRANSPARENCY

    OK, after you talked me into using GDI+, to enable wordwrap for my lengthy strings, I hit another roadblock. My old nemesis: TRANSPARENCY! The gauge I am working on is the dialog interface for ground crew and mechanic (bottom left): Little Heinrich there is drawn using the MAKE_ICON macro...
  6. Vitus

    FSX:SE [C++] MAKE_STRING with word wrap?

    Hi, Is it possible to use the MAKE_STRING macro with it automatically using word wrap? Currently, the macro looks like this: MAKE_STRING( dialog_message, NULL, NULL, IMAGE_USE_ERASE | IMAGE_USE_BRIGHT, 0, 240, 150, 540, 150, MAX_PATH, MODULE_VAR_NONE, MODULE_VAR_NONE, MODULE_VAR_NONE...
  7. Vitus

    FSX:SE Bitmask between C++ and XML

    Good evening, I have a large number of boolean values I wish to communicate between my C++ gauge and XML. Instead of declaring a Lvar for each of the different states, I was wondering if there's a more efficient way to go about this. The thing that comes to mind is using a bitmask to store data...
  8. Vitus

    FSX:SE Proper physics for the center wheel

    Hello folks, What would you say is a proper way to simulate a more realistic tailwheel? I am so annoyed by FSX/P3Ds tendency to set the steering angle to 0 as soon as the aircraft comes to a stop, but looking through the table of variables, none of the Steering variables are settable. What's a...
  9. Vitus

    FSX [c++] for-loop to generate strings?

    Hi, I am currently working on a gauge that contains a lot of dynamic text. I found that programming it using STRING macros is extremely tedious and I was wondering if there's a way to automate it. So, instead of manually typing three dozens of STRING macros, is it possible to have a for-loop...
  10. Vitus

    P3D v4 Throttle/Mixture overwrite using simConnect. Problem: FSUIPC

    Hi folks, It's been a while. I've been super busy getting the update for my Vega out of the way. Since the update, some of my customers experienced some issues in combination with FSUIPC and I was wondering if someone here has an idea how to resolve this. I am overwriting the sims throttle and...
  11. Vitus

    [C++] Random number generator crashes with normal distribution

    Goooooood morning! I'm trying to tackle an issue with my module that bugs me for quite some time now. I implemented a simple RNG that I use throughout my code. II encapsulated the RNG into a global class that I reference whenever I need it. This is the declaration: #include <random> class Rng...
  12. Vitus

    Part with visibility tag and mouserect

    Hello crew! I want to have a note in the cockpit that disappears when clicking on it. The simple code I wrote for it is this: <PartInfo> <Name>note01</Name> <Visibility> <Parameter> <Code> (L:NOTE01 HIDDEN,bool) 0 == if{ 1 } els{ 0 } </Code>...
  13. Vitus

    [C++] Initilizing a member in the header file

    I'm having a really dumb moment here. Let's say I have a class "Bar" defined with a constructor as follows: class Bar{ private: double _value; public: Bar(double value); } An instance of this class is member of another class called "Foo": class Foo{ private: Bar bar; } Is there a...
  14. Vitus

    FSX:SE Direct engine parameter manipulation through simConnect

    Hello again, I am currently working on the part of my dll file that will set the engine parameters for my aircraft. I set up a structure to hold all relevant engine variables that have the "settable" tag. E.g. "RECIP ENG MANIFOLD PRESSURE:1", "GENERAL ENG OIL PRESSURE:1", etc. etc. In my...
  15. Vitus

    FSX:SE C++ gauge: Visual studio runtime files not found (and some poetry)

    Good day friends, So there I was, working away on my sound engine, innocently unaware of the pitfalls of Microsoft SDKs and the big wake of misery caused by inconsiderate and complicated compatibility matters. Now I joined the aforementioned tide of misery and broken dreams - those dreams of...
  16. Vitus

    FSX Starter motor jerking frenzy

    I just noticed a very strange behavior of my Vega. If I turn off the magnetos and/or fuel supply and hit the starter button, the aircraft jerks into the sky and keeps tumbling and jerking around with no way to recover. Also the propeller sometimes simply disappears completely when this happens...
  17. Vitus

    FSX:SE Animation only works in exterior model

    Hello friends, I have this wee problem with one of my custom animations. Consider this animation: <PartInfo> <Name>door_cp</Name> <AnimLength>100</AnimLength> <Animation> <Parameter> <Code> (L:DOOR CP HOLD,bool) 0 == if{ (L:DOOR CP...
  18. Vitus

    P3D v4 Update function not called

    On to the next topic. I am trying to export my ship into Prepar3Dv4. Everything works fine, but I have an issue with my DLL. I set up the compiler for 64bit and changed the includes. When I load up the aircraft in P3D it seems that my DLL file is loaded and the variables are initialized...
  19. Vitus

    Measuring takeoff distance

    Hello again, I'm not really sure where to post this, since the topic expands to various aspects of the aircraft design. In short: I need a way to easily measure the takeoff distance. Does anyone know if there's a simple gauge available that I can use, or can you think of a different, easy...
  20. Vitus

    Aircraft too fast, aircraft too slow

    I am at a loss with this... The Vega has really interesting flight characteristics: Cruise speed: ~165 mph Max speed: ~185 mph Landing speed: 60-65 mph (no flaps installed!) Climb rate : ~1,300 fpm An interesting piece of observation is that she has "gliding capabilities like a boulder", which...
Top