Member
Last active 6 years 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 :)
I thought about that, but unfortunately as you say the vehicle needs to be connected to a player ... I wouldn't know how to do that without actually affecting a player's playability...
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.
Thank you for doing this. You might get more attention here :)
Hello!
Still in the optic of a proper integration with UCM , is there a way to force the spawning of virtualized units if in a specific area?
That would allow me to finalize a proper integration :)
Best,
_SCAR
Thank you @JD_Wang that was the one I was referring to :)
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:
https://github.com/ALiVEOS/ALiVE.OS/blob/c3f7b268c90403a57b4887093af6455fe49728e1/addons/main/fnc_buttonAbort.sqf#L535
So I don't know what to listen to...