Page 1 of 1
Allow cargo pod scripting
Posted: Sat Nov 30, 2024 11:46 am
by Moterius
I'm trying to code 'deliveries' to/from another faction (cargo pods), but there seems to be no way to manually spawn in a cargo pod (LuaEntity can only force it to instantly ascend/descend).
My request is thus: Add a script function that allows spawning in a cargo pod along the lines of Surface#spawn_cargo_pod(Surface, {contents}, procession_tick?)
Re: Allow cargo pod scripting
Posted: Sat Nov 30, 2024 6:43 pm
by s6x
You can create_entity a cargo pod and it'll work, but the pod will just sit there. So I agree some API to tell it to start a procession would be useful.
Re: Allow cargo pod scripting
Posted: Sun Dec 01, 2024 11:06 am
by Moterius
Isn't that the already landed pod?
Re: Allow cargo pod scripting
Posted: Sun Dec 01, 2024 10:17 pm
by s6x
No, a landed pod is a "cargo-pod-container" which is a distinct entity (but looks very similar) to a "cargo-pod" entity.
Re: Allow cargo pod scripting
Posted: Tue Dec 03, 2024 6:19 pm
by Oarc
+1 on this. There are LOTS of multiplayer mod and scenario use cases where this would be helpful.
Ability to send cargo pods to different locations other than 0,0 if there are no landing pads, and to be able to direct them to other landing hubs (either on same force or other) would be fantastic.
Re: Allow cargo pod scripting
Posted: Fri Dec 06, 2024 12:22 am
by protocol_1903
+1