0 Members and 1 Guest are viewing this topic.
VISHANDLE vis = oapiObjectVisualPtr(GetHandle());if ( vis == NULL ) return;hUcgo.SetUcgoVisual(vis); // crashes Orbiter
computerex a écrit:Is there a way for UCGO to work properly when you don't have access to clbkVisualCreated() ?
computerex a écrit:Well that is the thing, I don't have a vessel dll...
computerex a écrit:how do you at runtime determine if a given vessel is UCGO compatible?
computerex a écrit:The thing is, people are generally speaking scared of messing with cfg files
computerex a écrit:In any case, I think I will go with your suggestion. A cfg file defining all the characteristics of the vessel. This shouldbe interesting :D
MAX_NBR_CARGO = ;max cargo that a vessel can loadMAX_CARGO_WEIGHT= ; max total cargo weight that a vessel can load....SLOT1_POSITION = ;x,y,z position of cargo slot 1 in vessel local coordinate.
ps. How much O2 does a mmu consume per second :D ? If I am going to do oxygen management I want to use existing values ratherthen create new ones.
NBR_MONT_O2 = ; duration in month/man of oxygen reserve (min 0=unlimited max=100)
computerex wrote:When you consume a cargo, you have to manually update the mass of the vessel. The plan is to create a propellant source for each cargo type (O2, food, etc). Then you can modify the propellant current mass to update the changes.