Recent content by Kamran

  1. K

    OHM TransX 2018.05.06 MMExt2 for Orbiter 2016

    Auto-Centre Bug Firstly I'd like to thank you for releasing a much improved TransX, but I've noticed a bug when using the auto-center feature. If you were to eject from any planetary orbit for a heading to another planet and you're half way you need to do a course correction. For this I used...
  2. K

    Question How to use the SpotLight class

    BrianJ, you are right! I've put an object under my light, waited until it was dark (with accellerated time for the impatient). My object was visible until I drove it out of the light. My floor doesn't have many vertices and so as you have said, the light shines between the vertices and doesn't...
  3. K

    Multiple Layers of inheritance II

    I may have found the answer. I went back to my exportable class and prefixed my class name with __declspec(dllexport) in the h file, so now it looks like this... class __declspec(dllexport) Building: public VESSEL3{ ... compiled it, went to my project that wants to inherit from this .dll...
  4. K

    Multiple Layers of inheritance II

    I found that I need to add both the .lib and .obj files to remove the LNK 2019 error. But I now get another error... 1>SolarMiningCo.obj : error LNK2005: "void __cdecl calldummy(void)" (?calldummy@@YAXXZ) already defined in SMC_HQ.obj 1>SolarMiningCo.obj : error LNK2005: _ModuleDate already...
  5. K

    Question How to use the SpotLight class

    The light is inside a building shining onto a mesh floor. The mesh floor crosses the origin and so as long as the light is shining on the origin it should reach the mesh floor.
  6. K

    Multiple Layers of inheritance II

    Yea, I've tried that. Still no luck :(
  7. K

    Greetings from Illinois

    I'm fairly new to Orbiter myself and as soon as I found out that you can make your own ships and control them using program code, I've been hooked. Working on a project right now! As for converting cfg files into dll format, I believe that this was the original plan which is why the spacecraft...
  8. K

    Multiple Layers of inheritance II

    I have the usual orbiter addon setup by following instructions made by Mohd Ali in his video here. I'm using Visual Studio 2010 Ultimate with the standard C++ Import/Export Settings. This setup does connect the compiler to access .lib files from the lib directory in Orbitersdk/lib directory...
  9. K

    Multiple Layers of inheritance II

    Should I throw this into my lib folder?
  10. K

    API Question GetRelativePos function not returning correct value

    Thanks Face, I'm using Orbiter 2010 Build 30 Aug 2010 v.100830, and no, my installation isn't "Vanilla". I'd like to close down this thread anyway as I have a suitable workaround that I'm happy with, and I think you're right in why I'm not getting the results I want from the function.
  11. K

    Multiple Layers of inheritance II

    No :huh: I've got no idea how to do that, could you briefly explain how this can be done, or where I may get the information to learn?
  12. K

    Multiple Layers of inheritance II

    I'm trying to do the same thing as Hlynkacg did in his thread titled "Multiple Layers of inheritance" see here where HLynkacg created a class that inherited from the VESSEL3. He then created another class that inherited from that class. Face noted (towards the end of page 2) that his...
  13. K

    Question How to use the SpotLight class

    I've added MaxLights=8 in my orbiter config file and enabled Local Light Sources in my visual effects tab. Orbiter doesn't crash now, so I know it's reading the config file, but still no light. Can't believe how many things can go wrong with such a simple thing on my computer :facepalm: "Maybe...
  14. K

    Question How to use the SpotLight class

    I think you might have just found my problem. My local light sources weren't enabled in my orbiter startup options, and so I enabled them, but my orbiter now crashes to desktop. I checked the log file and the last messages given by my Graphics class is as follows... ...do I need to make any...
  15. K

    Question How to use the SpotLight class

    Thanks for the explaination, it makes sense, lower numbers give less falloff and so more light. I had already looked through the documentation and the DeltaGlider.cpp file and can see no difference in the code and what I'm being told to do in the documentation, but it's still not working. At...
Top