I´m trying to open a GUI in a vehicle and need some help with the LUA-code. Is there any function that I could use? It is not possible to open it in the .vehicle cause the GUI should be opened from inside the vehicle.
I think there is no way to do that. Vehicle scripts cant open GUIs as far as I know. Thats really a thing for modders which is missing, custom GUIs opened by something else than an object.
Ok, thanks for your quick response. I really hope that they will add more functions in future updates. The game lives from its mods and the modding-community.
What kind of gui do you want to show and what would you want to accomplish with this? Maybe the people here on the forums could give you ideas for workarounds.
items for example can display any text very easily. You dont even need to mod a new item, just look at the shiprepairkit.item.
I've created a shuttle based on the new vehicle system. The weapons and flight system work, but some functions (engines, hatch, cloaking-device,...) can't be used directly by pressing a button, so they should be controlled with a GUI.