Orbiter-Forum  

Go Back   Orbiter-Forum > Orbiter Space Flight Simulator > Orbiter SDK
Register Blogs Orbinauts List Social Groups FAQ Projects Mark Forums Read

Orbiter SDK Orbiter software developers post your questions and answers about the SDK, the API interface, LUA, meshing, etc.

Reply
 
Thread Tools
Old 04-13-2017, 04:31 AM   #1
Fidelis
Orbinaut
Default Damage control

(maybe a SDK or C++ question)

Hello everyone,
I see that UMMUs can fix damaged engines using the action area system. Has anyone ever been able to use this system to repair a damaged craft? In the ummu docs says it is possible, but I've never seen it on any ship.
I do not know if it's .dll programming or mesh or c ++ (newbie in this things).

How could repair a damaged ship with the ummu astronauts?

Thanks to anyone who responds,

F.Fidelis
Fidelis is offline   Reply With Quote
Old 04-13-2017, 07:12 AM   #2
fred18
Addon Developer

Default

Hi Fidelis,

I used in my TG Habitat:

http://www.orbithangar.com/searchid.php?ID=6522


in the repair and maintance activities. Basically some systems periodically stops to work properly and the ummu has to go out and get there. Once he is inside the action area it triggers the action and the system starts to work properly again. I don't know how specific you need to get into this. I can post code snippets in case (if they are written in an understandable way )
fred18 is offline   Reply With Quote
Old 04-13-2017, 10:31 AM   #3
jedidia
shoemaker without legs
 
jedidia's Avatar
Default

Quote:
I do not know if it's .dll programming or mesh or c ++ (newbie in this things).
How could repair a damaged ship with the ummu astronauts?
It has to be supported by the vessel in question, since reactions to triggered action areas have to be programmed in the dll (which is written in C++).
jedidia is offline   Reply With Quote
Old 04-13-2017, 10:33 AM   #4
Urwumpe
Certain Super User
 
Urwumpe's Avatar

Default

Quote:
Originally Posted by jedidia View Post
 It has to be supported by the vessel in question, since reactions to triggered action areas have to be programmed in the dll (which is written in C++).
And without a common component model (like you have for KSP for example), only the add-on itself can know how it can be repaired. That is the price of the freedom.
Urwumpe is offline   Reply With Quote
Old 04-13-2017, 12:46 PM   #5
4throck
Enthusiast !
 
4throck's Avatar
Default

LUA scripts should allow you to do something like this. You can check if a vessel is at a specific point and trigger a user input dialog, for example.
4throck is offline   Reply With Quote
Old 04-13-2017, 01:55 PM   #6
jedidia
shoemaker without legs
 
jedidia's Avatar
Default

Quote:
And without a common component model (like you have for KSP for example), only the add-on itself can know how it can be repaired. That is the price of the freedom.
Well, it would be kind of difficult to enforce a common standard for public add-on apis. They'd pretty much have to be part of the orbiter sdk, unless someone writes (and maintains) a really good wrapper for it, and documents it so well that it would be much preferable for add-on developers to use...
jedidia is offline   Reply With Quote
Old 04-13-2017, 01:59 PM   #7
Urwumpe
Certain Super User
 
Urwumpe's Avatar

Default

Quote:
Originally Posted by jedidia View Post
 Well, it would be kind of difficult to enforce a common standard for public add-on apis. They'd pretty much have to be part of the orbiter sdk, unless someone writes (and maintains) a really good wrapper for it, and documents it so well that it would be much preferable for add-on developers to use...
Especially the last clause rules me out. I am really a bad teacher.
Urwumpe is offline   Reply With Quote
Reply

  Orbiter-Forum > Orbiter Space Flight Simulator > Orbiter SDK

Tags
damage, damage control, fix, repairs, ummu action area


Thread Tools

Posting Rules
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Jump


All times are GMT. The time now is 05:31 AM.

Quick Links Need Help?


About Us | Rules & Guidelines | TOS Policy | Privacy Policy

Orbiter-Forum is hosted at Orbithangar.com
Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright 2007 - 2017, Orbiter-Forum.com. All rights reserved.