Search results

  1. 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...
  2. 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>...
  3. 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...
  4. 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...
  5. 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...
  6. 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...
  7. 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...
  8. 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...
  9. 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...
  10. 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...
  11. Vitus

    P3D v4 trusted modules entries

    Hey guys! FSX saves the "trusted" modules in the FSX.cfg file. I'm trying to find out how Prepar3d saves these entries, since they're not in the prepar3d.cfg file. Any ideas?
  12. Vitus

    Testers needed

    I'm looking for a handful of people for some initial testing of my Lockheed Vega for fsx/fsxse and p3dv4. I'd like to gather some feedback on the installation procedure, flight dynamics and just overall user experience. Please send me a PM if you're interested. It would be helpful if you...
  13. Vitus

    Installer gets tagged by Windows Defender

    Hey guys, we discussed installers a while ago and I shared my experience using NSIS. I'm getting closer to release and I went through the steps from downloading the file, extracting and running the installer. Unfortunately my setup wizard gets tagged by Windows Defender: I noticed that with...
  14. Vitus

    Mailserver configuration issue

    Good morning, I have a flightsim unrelated problem and hope some of you might be able to help me out. As you know, I launched my website a few weeks ago. And I noticed that emails sent through my server almost always end up in the spam folder of the recipient. You can try that yourself by...
  15. Vitus

    Turn coordinator ball

    Hi all! Could you please enlighten me about the turn coordinator ball please? I don't think it works how it should, or I am missing something here. I put my aircraft on the runway, applied the parking brake and cranked up the throttle. The aircraft sits perfectly still, but all of a sudden the...
  16. Vitus

    Variables for Forces on the airframe

    Good day, I am wondering for a while now if FSX provides variables I can use to animate parts that move in the VC due to the forces on the aircraft. For example: I want to control the pitch and bank of my whiskey compass due to the acceleration for all 6 DOFs. At the moment I'm very crude and...
  17. Vitus

    FSXA Light issue

    Hello again, here's the next brain teaser for you. :teacher: I can't get my vc light to light up my plane properly. It works fine on simple material with only a diffuse map assigned. But whenever the light shines on more complex material with spec map, bump, fresnel, reflection, it...
  18. Vitus

    FSX GPS based "paper" map for FSX/P3D

    Good afternoon Ladies and Gentleman! There is a question in my head that i am pondering for a long time now (many years actually) but never got around to ask the wise folk of fsdeveloper. Is it possible to use the gps map in a more... static way? As you guys know, I'm into vintage aircraft...
  19. Vitus

    FSXA C++ gauge doesn't work on computer

    Hi all, maybe you could help me with this. I'm working on my system's gauge and all is going great on my work horse. But, when I copy the dll file to another machine the gauge doesn't work. The usual warning ("Do you want to trust this blablabla") shows up, but there's no reaction. How can I...
  20. Vitus

    C++ gauge setup for multi platform development

    Good evening, I was wondering if any of you could give me some tips to streamline gauge development for multiple platforms. I want to deploy to FSX and Prepar V4 for now. Is there a way to setup your project within Visual Studio 2015 that deploys to both platforms automatically without...
Top