SCAR

Member

Last active 6 weeks ago

  1. 2 months ago
    Thu Oct 5 13:39:28 2017
    SCAR posted in Get/Save data from cloud.

    This is now live.

    Best,
    _SCAR.

  2. Sun Oct 1 20:08:06 2017
    SCAR posted in ALiVE and UCM.

    Thank you @JD_Wang that was the one I was referring to :)

  3. Sun Oct 1 12:29:09 2017
    SCAR posted in Get/Save data from cloud.

    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:

    -image-

    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 .

  4. Sun Oct 1 11:29:29 2017
    SCAR posted in Get/Save data from cloud.

    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...

  5. Sun Oct 1 06:36:58 2017
    SCAR posted in ALiVE and UCM.

    I can give it a try but I'll need clear indications on which functions to use and how.

    To be specific:

    - how to ensure that virtual entities move to the area. I've already added the objective to the opcom, but i don't see anyone moving. Without this, I can't try anything.

    - how to trigger a custom code when virtual entities are in the area. In the callback I'd need to know how many they are, what kind, etc. (this one is probably the one in the code snippets)

    - how to kill some virtual entities.

    or alternatively to these three, which would be much quicker:

    - how to spawn virtual entities if they are in an area (my original question). It look I could use a custom version of fn_profileDespawner.sqf

    If I can get some support on this I can give it a try. :)

  6. Sat Sep 30 21:40:52 2017
    SCAR posted in ALiVE and UCM.

    This is a good idea, but what if mission makers add defense AI in the area too?

    BTW this can be added with all of the API of the UCM :)

    How would you go in setting triggers?

  7. Sat Sep 30 18:05:50 2017
    SCAR posted in ALiVE and UCM.

    That's really not up to me to say. The only thing I can think of is if the ALiVE virtual system were to start to consider spawned units too. I can't profile those because I don't want any OPCOM to move them. Also, because all of UCM is based on knowing the positions of its units (maybe this is easy to do)?

    I'm available for a discussion though, maybe there are other ways.

  8. Sat Sep 30 17:32:20 2017
    SCAR posted in ALiVE and UCM.

    Thank you @HeroesandvillainsOS.

    There already is a demo mission for UCM, available here .

    If you are referring to a complete UCM + ALiVE demo, that would basically be taking the UCM example and adding ALiVE to your liking :)

  9. Sat Sep 30 16:58:54 2017
    SCAR posted in ALiVE and UCM.

    UCM is now integrated with ALiVE, with some caveats. Here are the details of it.

    ALiVE objectives

    The Construction Area is automatically added as a Custom Objective to the hostile OPCOMs. This objective is also moved when the construction moves.

    ALiVE profiles

    The workers are not profiled by ALiVE Virtual_AI_System, and therefore they will not be attacked by profiled enemies when they are virtualized. This substantially means that at least one player needs to be next to the workers, which will cause ALiVE profiled enemies to be spawned on the map and hence attack the workers.

    ALiVE Persistence

    Whan ALiVE saves its data, it will trigger an endMission. UCM listens for that event and automatically uses its Persistent Module to save its data. Therefore, if you want UCM data to be also saved when you save ALiVE, the only thing you have to do is to drop the UCM Persistent Module in your mission.

    Note that UCM data will be saved locally, regardless of the ALiVE Data setting.

    Will be releasing after proper alpha testing. Code here .

  10. Sat Sep 30 16:57:03 2017
    SCAR posted in Get/Save data from cloud.

    Thank you @Friznit. I've decided to build UCM's own persistent module. Will be keeping an eye on this in the future, let me know if you'd like to take this further.

    Best,
    _SCAR

View more