Question UCGO & UMMU Interplanetary Ship

lethal_d0se

Addon Developer
Addon Developer
Joined
Jan 23, 2010
Messages
15
Reaction score
0
Points
0
Hello, i'm creating, coding and texturing a large vessel addon and i'd like to utilize upto 120 cargo slots.

My question is, can the slot amount be increased by the end/dev user or is it a source thing.

Hope to hear from you soon,

lethal_d0se
 
Since you add the files UCGOCargo.h and UCGOCargo.lib to your C++ project to make it UCGO compatible I suppose there may be something in there you can change, but I'm not sure what effect that may have on other things. :hmm:

Darren
 
No, the max numbers are hard coded into UCGO. There's nothing you can do about them.

You can't change anything in a .lib, since it's pre-compiled, and a header file only serves for declarations, so whatever you change there will only make it incompatible with the lib.

What you can do is make a container that can carry a certain number of cargos, and give your vessel the capability to carry those (see Long Shot for an example).

Or, you can code your own cargo hold, that remembers and deletes loaded cargo and respawns them on unloading.
 
Back
Top