Search results

  1. Abdullah Radwan

    SDK Question Lighting the ground

    If I understood you correctly. the spotlight should enlight the destination, which is just what I want. However, this doesn't happen in my case (It doesn't light the ground). Maybe the ground isn't considered as a 'valid destnation'? Anyway, I'll try the exhaust texture hack and see if it...
  2. Abdullah Radwan

    SDK Question Lighting the ground

    Based on Mesh Wizard, it's (-0.57735, -0.57735, -0.57735). But it didn't work also with your numbers. Every unpacked cargo has an attachment point at its bottom. For the guy, you have to wait until oMMU supports UCSO. For the flags, I'd love to have your meshes. Send me a PM or open an issue...
  3. Abdullah Radwan

    SDK Question Lighting the ground

    Although I didn't understand your code, I tried to play with the direction, and that worked partially. By setting the direction to down (0,0,-1), it lights the ground during the day only in D3D9 client, not during the night (and day with the default rendering). I tried to set the direction to...
  4. Abdullah Radwan

    SDK Question Lighting the ground

    Hello, I want to make a lamp for UCSO, like UCGO lamp: How to do that? I am using a beacon and a spotlight, but that didn't light the ground. This is the code I am using: spotLightStruct.spotLight = static_cast<SpotLight*>(AddSpotLight({0,0.91,0}, {1,1,1}, 200, 1, 0, 5e-5, 15 * RAD, 20 *...
  5. Abdullah Radwan

    Project UCSO development thread

    I really hope that too, when the stable release is out.
  6. Abdullah Radwan

    Project UCSO development thread

    What do you think? I didn't get any feedback since I started the development. I need feedback from both users and vessel authors to improve UCSO!
  7. Abdullah Radwan

    Project UCSO development thread

    If you want to try it, download the latest release from GitHub, and the latest ShuttlePB UCSO release, and install them like any Orbiter add-on. To download, open 'Assets' and download 'UCSO.zip' and 'ShuttlePB_UCSO.zip'.
  8. Abdullah Radwan

    Project UCSO development thread

    Alpha 6 released. Comes with packable cargoes and new cargo containers.
  9. Abdullah Radwan

    Project UCSO development thread

    Alpha 6 will support this.
  10. Abdullah Radwan

    Project Orbiter MMU (oMMU) development thread

    UCSO can be used for payload management. If you want, I might be able to write UCSO implementation for you (depends on your code complexity).
  11. Abdullah Radwan

    Project UCSO development thread

    Alpha 5 released. SDK is renamed to API. Comes with a much smarter ground release algorithm, a manual, and an API walkthrough.
  12. Abdullah Radwan

    SDK Question Vessel orientation

    Thank you very much! Your code made my life much easier without a lot of distance calculations for the cargo deployment position! I still need Fred18 code. VECTOR3 pos; vessel->GetAttachmentParams(attachsMap[slot], pos, VECTOR3(), VECTOR3()); pos.x += releaseDistance; double...
  13. Abdullah Radwan

    Project UCSO development thread

    Alpha 4 released. Comes with ground release code, updated touchdown points, a static cargo example, and an updated mesh.
  14. Abdullah Radwan

    SDK Question Touchdown points for a cube

    I've used Fred18 calculations to calculate the touchdown points and that worked: double ro = 1.3; // Your vessel size. TOUCHDOWNVTX td[4]; double x_target = -0.5; // How many meters you want your vessel to sink 'under pressure'. double stiffness = (-1)*(GetMass()*9.80655) /...
  15. Abdullah Radwan

    SDK Question Touchdown points for a cube

    Yes, it's: It keeps sinking under the ground. I think I made a big mistake, but I didn't find it yet.
  16. Abdullah Radwan

    SDK Question Touchdown points for a cube

    Hello, I want to update UCSO touchdown points to Orbiter 2016, as it currently uses Orbiter 2010 touchdown points copied from UCGO. The cargo is basically a cube, whose size is 1.3M as UCGO. I've tried to use this code below, but it didn't work (the cargo sank into the ground): double...
  17. Abdullah Radwan

    SDK Question Vessel orientation

    Many thanks Fred! Your GenericVehicle code worked perfectly. I've modified it slightly (just removed xyz parameter from RotationMatrix, as it's always true) Here is the code: MATRIX3 rot1 = RotationMatrix({ 0 * RAD, 90 * RAD - releaseLongitude, 0 * RAD }); MATRIX3 rot2 = RotationMatrix({...
  18. Abdullah Radwan

    SDK Question Vessel orientation

    Hello, I am developing the ground release code for UCSO. I am using this code: if (vessel->GetFlightStatus() & 1) { VESSELSTATUS2 status; memset(&status, 0, sizeof(status)); status.version = 2; vessel->GetStatusEx(&status); double longitude, latitude, radius...
  19. Abdullah Radwan

    Project UCSO development thread

    Alpha 3 released. Changes can be found in CHANGELOG.md file. I still need meshes, textures, and ground release code. ---------- Post added at 05:29 PM ---------- Previous post was at 04:47 PM ---------- Scenarios are now provided to test. Download UCSO and ShuttlePB UCSO and enjoy! Just make...
  20. Abdullah Radwan

    Project UCSO development thread

    Alpha 2 released. Special thanks to Woo482.
Back
Top