Go Back   Orbiter-Forum > Orbiter Addons > OrbitHangar Addons & Comments
Register Blogs Orbinauts List Social Groups FAQ Projects Mark Forums Read

OrbitHangar Addons & Comments Addons uploaded at Orbithangar.com will automatically generate a new thread in this forum for comments. The thread link will also be included on the addons page.

Thread Tools
OrbitHangar's Avatar
OrbitHangar OrbitHangar is offline
Addon Comments
Arrow ProductionConsumption Module v180426
by OrbitHangar 03-18-2018, 11:47 PM

Author: crisbeta

ProductionConsumptionModule is a generic module wich add production and consumption. Import and export are possible within the range (configurable).

- set production/consumption for a module (if not enough resources, it will try to import from other modules in range)
- set transfer rate; import (<0) and export (>0)
- the vessel don't have to be docked (this way you can create a base with modules in range)

- max 10 resources (this was for testing; will be increased)
- config files for modules must be in Config\Vessels\ProdConsModule (you can create a new folder here)

Source code included. No commercial use without my permission.

Reply With Quote
Views 545 Comments 2
Total Comments 2


Old 05-13-2018, 09:35 AM   #2
pclaurent's Avatar

Could you please explain how to add product/consume functionality to vessels other than ISS? Tried to add a custom config file for Orion-MPCV, but can't address the proper vessel part. My config file:

; === Configuration file for vessel class Orion-CEV ===
ClassName = PCM-Orion-MPCV
MeshName = Orion-MPCV\orion-CM
Module = ProdConsModule

XPDR = 468
IDS 0:586 100

; === Attachment specs ===
P 0 0 -2.1 0 0 -1 0 1 0 F9

; === ProdConsModule specs ===
; Number of resurces for this vessel
ProdConsResCount = 3
; 'resource number' = 'production/consumption(kg/day)' 'transfer(kg/day)' 'max reserve(kg)' 'range(m)' 'resource name'
ProdConsRes2 = -0.45 4.5 100.0 100.0 O2
ProdConsRes3 = -4.7 26.42 100.0 100.0 H2O
ProdConsRes4 = -4.5 75.0 100.0 100.0 Food
pclaurent is offline   Reply With Quote
Old 05-20-2018, 10:26 AM   #3

Unfortunately doesn't work with custom made vessels like Orion-MPCV. For example you cat try it with default Mir Space Station. Copy config file to ProdConsModule folder and add to config "ProdConsModule specs".

This was a fast implementation lacking compatibility with other add-ons.
crisbeta is offline   Reply With Quote

  Orbiter-Forum > Orbiter Addons > OrbitHangar Addons & Comments

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:24 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 - 2019, Jelsoft Enterprises Ltd.
Copyright 2007 - 2017, Orbiter-Forum.com. All rights reserved.