Last active 2 months ago
Ok none of those options work. Unless someone can allow ALiVE to integrate easily I will have to abandon or hack into it.
I might combine the two suggestions, create a
HeadlessClient_F and then
hc connectTerminalToUAV uav1 but haven't tried it yet, I doubt that it'd work. Will give it a go :)
Thank you @HeroesandvillainsOS. I already use custom objectives, those don’t do much unless there are players around it.
I have already investigated the code, and unfortunately the profileSpawner and the profileDespawner both do not allow much for integration. Even if I were to write my own spawner / despawner, it would interfere with those two. I do have a solution for this but it would require a "hacky" approach that I want to leave as a last resort.
Instead, I have a little idea that I need to try out. Both of them rely on anyPlayersInRange to decide whether to spawn / despawn units, which calls allPlayers . The interesting thing about that is that
allPlayers returns not only players but also all connected Headless Clients. I am hoping to manage somewhat to create a
HeadlessClient_F in the construction area that arma thinks is connected which, in turn, would make ALiVE spawn units.
It's a long shot though because I don’t think this achievable, and even if it works, it would only do so in multiplayer. Any other ideas welcome.
This is now live.
It doesn't look like endGame is triggered on a dedicated server when you use
SERVER SAVE AND EXIT (Admin Only).
Anyway, I've hacked into the ALiVE pause interface and added a callback to save UCM too when the SAVE button is clicked, so that I don't need a callback. Also, I've made it clear in the menu that UCM is supported:
This is the best I could do to integrate saves. Hope it's ok with @Tupolov and @Friznit. If it's an issue WHATSOEVER, please let me know and I'll remove the textual reference, no issues. I'll have to keep the save callback to make it work with ALiVE though...
Code is here .
Can I ask if there is a callback when ALiVE saves data? I was using endMission but you have disabled it when running on dedicated servers:
So I don't know what to listen to...