Placed AI and Profiling

  1. 10 years ago

    I hope no-one in my unit is reading this or it'll ruin their mission tonight, so if you are.. at least until tomorrow close this thread down! (I know two people definitely check up on this mod and the forums!)

    Scenario: Read point where civilian is, triggers movement waypoints of placed AI.
    What happens: Works as intended
    What happens if units are manually profiled: Units ignore the wait for the trigger and they move on their way points regardless of trigger being triggered.

    Is this intended? An unfinished feature or did I do something wrong?

    Trying to save as much FPS as possible everywhere but this isn't possible with triggers and they must be left to idle.

  2. ARJay

    3 Oct 2014 Administrator

    Yeah triggers have no effect on profiled units because they aren't there to trigger anything if despawned.

    If they are spawned and you are using a name on the unit this also won't work because the profiling removes the names you give units in the editor.

    I wouldn't worry too much about a couple of groups or whatever that are not profiled, shouldn't have much effect on FPS at all.

    The moral of the story: If you want to achieve the fine grain control of triggers and complicated waypoint types or scripting, do not profile the units. Leave ALiVE to providing background ambience and dynamic chaos :)

  3. Yeah makes sense, just learning all the mechanics so that I don't turn up to an ambush point and they are already there and we counter ambush them when I want them to surprise us! ;)

    It also doesn't save the init's on chars either, so any ambient units you have placed sitting or kneeling ect.. when they respawn they are standing normally.

  4. ARJay

    3 Oct 2014 Administrator

    Yeah we can't carry over any init code currently, BIS removed setVehicleInit scripting command for security reasons, so like I say ALiVE is best used with mix of traditional editing methodology for achieving complex and custom set pieces and ALiVE modules for the dynamic and upredictablity aspects.

  5. Yeah its working well, as the sole mission maker I like randomness.. I don't want to know where everything is! Which is why my big thread has lots of suggestions in, probably selfish overall but definitely makes my mission experience more fun!

  6. ARJay

    3 Oct 2014 Administrator

    Yeah not forgotten the wall of text :) I'll spend some time over the weekend going through it and answering those ones.

  7. Well it was either a wall of text or a wall of forum posts.. and I didnt wanna spam.. too much ;)

    I've answered a few of my own questions through trial and error but left the results there for others to find without needing to test themselves.

 

or Sign Up to reply!