Project Universal Astronaut and Cargo System (UACS)

francisdrake

Addon Developer
Addon Developer
Joined
Mar 23, 2008
Messages
1,060
Reaction score
864
Points
128
Website
francisdrakex.deviantart.com
Question: Could you include the code of the UACS-ShuttlePB in the OrbiterSDK-samples?

It might be helpful to understand how a vessel calls the API.
For me it looks quite complicated to implement all the calls, so an example would good.
 

Abdullah Radwan

Addon Developer
Addon Developer
Joined
Aug 20, 2017
Messages
314
Reaction score
284
Points
78
Location
Cairo

gattispilot

Addon Developer
Addon Developer
Joined
Oct 17, 2007
Messages
8,636
Reaction score
2,613
Points
203
Location
Dallas, TX
Thanks. I tried to add to the lines from sample from the ShuttlePB to my Eagle3. I am sure I have something wrong.
 

Abdullah Radwan

Addon Developer
Addon Developer
Joined
Aug 20, 2017
Messages
314
Reaction score
284
Points
78
Location
Cairo
Thanks. I tried to add to the lines from sample from the ShuttlePB to my Eagle3. I am sure I have something wrong.
ShuttllePB is actually quite a complicated example as it demonstrates all UACS features. The API guide should make it a simple step-by-step process to support UACS in any vessel.
What is the relation of UACS to UCSO?
UACS is essentially oMMU + UCSO, although with major reforms. In other words, UCSO is deprecated and not needed anymore. It's replaced by UACS.
 

JMW

Aspiring Addon Developer
Joined
Aug 5, 2008
Messages
611
Reaction score
52
Points
43
Location
Happy Wherever
Abdullah, having problems with latest core.dll
Message from Orbiter saying it's not designed for Orbiter , or corrupt.
Then ctd.
Log:
000000.000: UACS astronaut fatal error: Couldn't load the core DLL

SOLVED Seems my Norton A/V messed it up. :salute:
 
Last edited:

gattispilot

Addon Developer
Addon Developer
Joined
Oct 17, 2007
Messages
8,636
Reaction score
2,613
Points
203
Location
Dallas, TX
You said you were going to have a breathable are where you could attach, right? Could one do the same for an airlock?

Also in the code will there be a way to tell the vessel and person has entered or exited? then one could say guy entered the ship so show a mesh of him sitting,..... Then if he exits the mesh is not seen.
 

francisdrake

Addon Developer
Addon Developer
Joined
Mar 23, 2008
Messages
1,060
Reaction score
864
Points
128
Website
francisdrakex.deviantart.com
Hi, I have a small requests:
Would it be possible to name the versions "UACS Alpha5.zip"?
They will be easier to identfy, and will be sorted near the source code zip-file.

Just a question: Which version of MS Visual C++ are you using?
(I still use the old 2008, probably have to set up the examples manually.)
 

Abdullah Radwan

Addon Developer
Addon Developer
Joined
Aug 20, 2017
Messages
314
Reaction score
284
Points
78
Location
Cairo
Hi all! I just finished all of my exams yesterday, and I am back again.
You said you were going to have a breathable are where you could attach, right? Could one do the same for an airlock?

Also in the code will there be a way to tell the vessel and person has entered or exited? then one could say guy entered the ship so show a mesh of him sitting,..... Then if he exits the mesh is not seen.
Let me explain: Previously, only UACS cargoes could be considered breathable. In Alpha 5, all vessels can be considered breathable if they have an attachment point named UACS_B. This attachment point is only used to inform UACS that this vessel is breathable. It is NOT used to attach the vessel. The attachment point is basically useless from the vessel's point of view. The only thing that matters is its name so UACS can consider the vessel breathable.

Airlocks however have nothing to do with attachment points. They are defined using UACS API. They CAN be linked to docking ports so as to transfer astronauts from one vessel to another. I don't see a need to link them with attachment points as well. If you want to transfer astronauts between 2 vessels, define a docking port on each vessel, define an airlock and link it to the docking port, dock the 2 vessels, and you can transfer the astronauts. What is the difference between docking ports and attachment points in this regard? I think docking ports are more realistic.

As for telling vessels if an astronaut has entered, this is not implemented yet, but it's a great idea and I will implement it in the next release using clbkGeneric.
Hi, I have a small requests:
Would it be possible to name the versions "UACS Alpha5.zip"?
They will be easier to identfy, and will be sorted near the source code zip-file.

Just a question: Which version of MS Visual C++ are you using?
(I still use the old 2008, probably have to set up the examples manually.)
Alright, I will use this name in the subsequent releases. I am using Visual Studio 2019.
 

gattispilot

Addon Developer
Addon Developer
Joined
Oct 17, 2007
Messages
8,636
Reaction score
2,613
Points
203
Location
Dallas, TX
Great. Let me know if you need help on the doc's.

I may need help getting this working on another craft. Hard coded into the vessel's code.

I want to add this to the LER,......
 

Primus

New member
Joined
Aug 25, 2022
Messages
11
Reaction score
5
Points
3
Location
Marmaris
Thank you for your work. I would like to give it a try, but it seems I'm installing it incorrectly. It looks like this doesn't install like other add-ons Can you give specific instructions as to how to install this one? When I start the scenario, all I see is an empty area on the moon. I'm using orbiter2016. Thank you
 

gattispilot

Addon Developer
Addon Developer
Joined
Oct 17, 2007
Messages
8,636
Reaction score
2,613
Points
203
Location
Dallas, TX
Weird. It should install inside your orbiter folder.

It is odd you can run the scenario and not see anything. Can you post the orbiter.log file?
 

Primus

New member
Joined
Aug 25, 2022
Messages
11
Reaction score
5
Points
3
Location
Marmaris
Here is my orbiter.log file. Thank you for taking the time to look at it:

**** Orbiter.log
000000.000: Build Aug 28 2016 [v.160828]
000000.000: Timer precision: 1e-007 sec
000000.000: Found 3 joystick(s)
000000.000: Module AtlantisConfig.dll .... [Build 160828, API 160828]
000000.000: Module AtmConfig.dll ......... [Build 160828, API 160828]
000000.000: Module DGConfigurator.dll .... [Build 160828, API 160828]
000000.000: ---------------------------------------------------------------
BaseDir : E:\Orbiter2016\
ConfigDir : E:\Orbiter2016\Config\
MeshDir : E:\Orbiter2016\Meshes\
TextureDir : E:\Orbiter2016\Textures\
HightexDir : E:\Orbiter2016\Textures2\
ScenarioDir: E:\Orbiter2016\Scenarios\
000000.000: ---------------------------------------------------------------
D3D9 DLLs : C:\Windows\SYSTEM32\d3d9.dll [v 10.0.19041.1865]
: C:\Windows\SYSTEM32\d3dx9_43.dll [v 9.29.952.3111]
000000.000: ---------------------------------------------------------------
000000.000: Module D3D9Client.dll ........ [Build 210805, API 160828]
000000.000: Module TransX2.dll ........... [Build 180707, API 160828]
000000.000: Module InterMFD57.dll ........ [Build 161216, API 160910]
000000.000: ---------------------------------------------------------------
000000.000: >>> WARNING: Obsolete API function used: oapiRegisterMFDMode
000000.000: At least one active module is accessing an obsolete interface function.
000000.000: Addons which rely on obsolete functions may not be compatible with
000000.000: future versions of Orbiter.
000000.000: ---------------------------------------------------------------
000000.000: Module AbsoluteKillrot.dll ... [Build ******, API 060425]
000000.000: Module XRSound.dll ........... [Build 200703, API 160828]
000000.000: Module ScnEditor.dll ......... [Build 160828, API 160828]
000000.000: Module Rcontrol.dll .......... [Build 160828, API 160828]
000000.000: Module Framerate.dll ......... [Build 160828, API 160828]
000000.000: Module GenericCamera.dll ..... [Build 210805, API 160828]
000000.000:
000000.000: **** Creating simulation session
000000.000: D3D9: [DirectX 9 Initialized]
D3D9: 3D-Adapter.............. : NVIDIA GeForce RTX 3070
D3D9: MaxTextureWidth......... : 16384
D3D9: MaxTextureHeight........ : 16384
D3D9: MaxTextureRepeat........ : 8192
D3D9: VolTexAddressCaps....... : 0x3F
D3D9: NumSimultaneousRTs...... : 4
D3D9: VertexDeclCaps.......... : 0x30F
D3D9: MiscCaps................ : 0x2FCEF2
D3D9: XNA Math Support........ : Yes
D3D9: Vertex Texture.......... : Yes
D3D9: Separate AlphaBlend..... : Yes
D3D9: Shadow Mapping.......... : Yes
D3D9: D3DFMT_A16B16G16R16F.... : Yes
D3D9: D3DFMT_A32B32G32R32F.... : Yes
D3D9: D3DFMT_D32F_LOCKABLE.... : Yes
D3D9: D3DFMT_A2R10G10B10...... : Yes
D3D9: D3DFMT_L8............... : Yes
D3D9: D3DDTCAPS_DEC3N......... : No
D3D9: D3DDTCAPS_FLOAT16_2..... : Yes
D3D9: D3DDTCAPS_FLOAT16_4..... : Yes
D3D9: Runs under WINE......... : No
D3D9: D3D9Build Date.......... : 210805
D3D9: Available Texture Memory : 4080 MB
000000.000: D3D9: [3DDevice Initialized]
000000.000: D3D9: [Loading Constellations]
000000.000: D3D9: [D3D9Client Initialized]
000000.000: Module Sun.dll ............... [Build 160828, API 160828]
VSOP87(E) Sun: Precision 1e-006, Terms 554/6634
000000.000: Module Mercury.dll ........... [Build 160828, API 160828]
VSOP87(B) Mercury: Precision 1e-005, Terms 167/7123
000000.000: Module Venus.dll ............. [Build 160828, API 160828]
000000.000: Module VenusAtm2006.dll ...... [Build 160828, API 160828]
VSOP87(B) Venus: Precision 1e-005, Terms 79/1710
000000.000: Module Earth.dll ............. [Build 160828, API 160828]
000000.000: Module EarthAtmJ71G.dll ...... [Build 160828, API 160828]
VSOP87(B) Earth: Precision 1e-008, Terms 2564/2564
000000.000: Module Moon.dll .............. [Build 160828, API 160828]
ELP82: Precision 1e-005, Terms 116/829
000000.000: Module Mars.dll .............. [Build 160828, API 160828]
000000.000: Module MarsAtm2006.dll ....... [Build 160828, API 160828]
VSOP87(B) Mars: Precision 1e-005, Terms 405/6400
000000.000: Module Phobos.dll ............ [Build ******, API 060425]
000000.000: Module Deimos.dll ............ [Build ******, API 060425]
000000.000: Module Galsat.dll ............ [Build 160828, API 160828]
000000.000: Module Jupiter.dll ........... [Build 160828, API 160828]
VSOP87(B) Jupiter: Precision 1e-006, Terms 1624/3625
000000.000: Module Io.dll ................ [Build 160828, API 160828]
000000.000: Module Europa.dll ............ [Build 160828, API 160828]
000000.000: Module Ganymede.dll .......... [Build 160828, API 160828]
000000.000: Module Callisto.dll .......... [Build 160828, API 160828]
000000.000: Module Satsat.dll ............ [Build 160828, API 160828]
000000.000: Module Saturn.dll ............ [Build 160828, API 160828]
VSOP87(B) Saturn: Precision 1e-006, Terms 2904/6365
000000.000: Module Mimas.dll ............. [Build 160828, API 160828]
SATSAT Mimas: Terms 113
000000.000: Module Enceladus.dll ......... [Build 160828, API 160828]
SATSAT Enceladus: Terms 33
000000.000: Module Tethys.dll ............ [Build 160828, API 160828]
SATSAT Tethys: Terms 101
000000.000: Module Dione.dll ............. [Build 160828, API 160828]
SATSAT Dione: Terms 59
000000.000: Module Rhea.dll .............. [Build 160828, API 160828]
SATSAT Rhea: Terms 68
000000.000: Module Titan.dll ............. [Build 160828, API 160828]
SATSAT Titan: Terms 100
000000.000: Module Iapetus.dll ........... [Build 160828, API 160828]
SATSAT Iapetus: Terms 605
000000.000: Module Uranus.dll ............ [Build 160828, API 160828]
VSOP87(B) Uranus: Precision 1e-006, Terms 1827/5269
000000.000: Module Miranda.dll ........... [Build ******, API 060425]
000000.000: Module Ariel.dll ............. [Build ******, API 060425]
000000.000: Module Umbriel.dll ........... [Build ******, API 060425]
000000.000: Module Titania.dll ........... [Build ******, API 060425]
000000.000: Module Oberon.dll ............ [Build ******, API 060425]
000000.000: Module Neptune.dll ........... [Build 160828, API 160828]
VSOP87(B) Neptune: Precision 1e-006, Terms 391/2024
000000.000: Finished initialising world
============================ ERROR: ===========================
Could not load vessel module: UACS\ShuttlePB
[Vessel::LoadModule | .\Vessel.cpp | 5747]
===============================================================
============================ ERROR: ===========================
Could not load vessel module: UACS\Cargo
[Vessel::LoadModule | .\Vessel.cpp | 5747]
===============================================================
============================ ERROR: ===========================
Could not load vessel module: UACS\Cargo
[Vessel::LoadModule | .\Vessel.cpp | 5747]
===============================================================
============================ ERROR: ===========================
Could not load vessel module: UACS\Cargo
[Vessel::LoadModule | .\Vessel.cpp | 5747]
===============================================================
============================ ERROR: ===========================
Could not load vessel module: UACS\Cargo
[Vessel::LoadModule | .\Vessel.cpp | 5747]
===============================================================
============================ ERROR: ===========================
Could not load vessel module: UACS\Cargo
[Vessel::LoadModule | .\Vessel.cpp | 5747]
===============================================================
============================ ERROR: ===========================
Could not load vessel module: UACS\Cargo
[Vessel::LoadModule | .\Vessel.cpp | 5747]
===============================================================
============================ ERROR: ===========================
Could not load vessel module: UACS\Cargo
[Vessel::LoadModule | .\Vessel.cpp | 5747]
===============================================================
============================ ERROR: ===========================
Could not load vessel module: UACS\Cargo
[Vessel::LoadModule | .\Vessel.cpp | 5747]
===============================================================
============================ ERROR: ===========================
Could not load vessel module: UACS\Cargo
[Vessel::LoadModule | .\Vessel.cpp | 5747]
===============================================================
============================ ERROR: ===========================
Could not load vessel module: UACS\Astronaut
[Vessel::LoadModule | .\Vessel.cpp | 5747]
===============================================================
000000.000: Finished initialising status
000000.000: Finished initialising camera
000000.000: Finished setting up render state
000000.000: D3D9: [Scene Initialized]
000000.000: Finished initialising panels
D3D9: Loading Micro Textures for Moon
D3D9: Level 0, D3D9Moon_A.dds, 42.0px/m, 48.8m, Mipmap count=12
D3D9: Level 1, D3D9Moon_C2.dds, 6.0px/m, 341.3m, Mipmap count=12
D3D9: Level 2, D3D9Moon_C.dds, 0.8px/m, 2560.0m, Mipmap count=12
D3D9: Micro textures Loaded
000014.538: D3D9: [Session Closed. Scene deleted.]
000014.538: D3D9: [Destroy Render Window Called]
D3D9: ERROR: UnDeleted Surface(s) Detected
D3D9: ERROR: [Failed to Reset DirectX Device] (Likely blocked by undeleted resources)
000014.538: XRSound 2.00 (Build Date: Jul 3 2020) terminating.
000014.538: **** Respawning Orbiter process


**** Orbiter.log
000000.000: Build Aug 28 2016 [v.160828]
000000.000: Timer precision: 1e-007 sec
000000.000: Found 3 joystick(s)
000000.000: Module AtlantisConfig.dll .... [Build 160828, API 160828]
000000.000: Module AtmConfig.dll ......... [Build 160828, API 160828]
000000.000: Module DGConfigurator.dll .... [Build 160828, API 160828]
000000.000: ---------------------------------------------------------------
BaseDir : E:\Orbiter2016\
ConfigDir : E:\Orbiter2016\Config\
MeshDir : E:\Orbiter2016\Meshes\
TextureDir : E:\Orbiter2016\Textures\
HightexDir : E:\Orbiter2016\Textures2\
ScenarioDir: E:\Orbiter2016\Scenarios\
000000.000: ---------------------------------------------------------------
D3D9 DLLs : C:\Windows\SYSTEM32\d3d9.dll [v 10.0.19041.1865]
: C:\Windows\SYSTEM32\d3dx9_43.dll [v 9.29.952.3111]
000000.000: ---------------------------------------------------------------
000000.000: Module D3D9Client.dll ........ [Build 210805, API 160828]
000000.000: Module TransX2.dll ........... [Build 180707, API 160828]
000000.000: Module InterMFD57.dll ........ [Build 161216, API 160910]
000000.000: ---------------------------------------------------------------
000000.000: >>> WARNING: Obsolete API function used: oapiRegisterMFDMode
000000.000: At least one active module is accessing an obsolete interface function.
000000.000: Addons which rely on obsolete functions may not be compatible with
000000.000: future versions of Orbiter.
000000.000: ---------------------------------------------------------------
000000.000: Module AbsoluteKillrot.dll ... [Build ******, API 060425]
000000.000: Module XRSound.dll ........... [Build 200703, API 160828]
000000.000: Module ScnEditor.dll ......... [Build 160828, API 160828]
000000.000: Module Rcontrol.dll .......... [Build 160828, API 160828]
000000.000: Module Framerate.dll ......... [Build 160828, API 160828]
000000.000: Module GenericCamera.dll ..... [Build 210805, API 160828]
 

Primus

New member
Joined
Aug 25, 2022
Messages
11
Reaction score
5
Points
3
Location
Marmaris
What I did was, I downloaded the UACS-master.zip file, in it are two folders:

1662547657289.png

The Orbiter folder contains the following:

1662547712724.png

I copied the contents of the folder Orbiter into my Orbiter2016 root folder.

I tried to run the CreateLinks.bat file from a command prompt, but it kept reporting it cannot find the path, so I edited it to point to my game folder. Something's amiss but not sure what.

Any help would be greatly appreciated. I'm really interested in this addon.

Thanks again.
 

gattispilot

Addon Developer
Addon Developer
Joined
Oct 17, 2007
Messages
8,636
Reaction score
2,613
Points
203
Location
Dallas, TX
Ok. Look in your config folder
does it look like this:
Config\Vessels\UACS


Oh. I used the Alpha5 zip
 

Attachments

  • uacsfolder.jpg
    uacsfolder.jpg
    20.5 KB · Views: 1

Primus

New member
Joined
Aug 25, 2022
Messages
11
Reaction score
5
Points
3
Location
Marmaris
I downloaded the file from the link posted by the addon author. And yes, I have the same files and folders in Config/Vessels/UACS.

Should I edit something here?
 

gattispilot

Addon Developer
Addon Developer
Joined
Oct 17, 2007
Messages
8,636
Reaction score
2,613
Points
203
Location
Dallas, TX

Primus

New member
Joined
Aug 25, 2022
Messages
11
Reaction score
5
Points
3
Location
Marmaris
Thank you. I'll try this one and see if it'll work.

EDIT: This one worked ;)
 
Last edited:
Top