INCON Scripts for ALiVE - Intel + AI teammate persistence

  1. ‹ Older
  2. 8 years ago

    Yeah it does work for regular, although at this stage it's limited to unit tracking.

  3. If we recruit a civilian to join the cause, would that civ persist between sessions? I'd assume not and we'd want to use them strategically for precise strikes (etc). So totally cool if that's the case (I'm imagining now what it would look like if they did. And we had 30 recruits and not enough Fkeys :) ).

    A buddy of mine and me are in the brainstorming phase right now, with your script as the center stage. Looking forward to it man. I mean, we're discussing things that would be impossible in Arma without it so thanks for the hard work.

  4. No, not until I can verify that ALiVE data stores reliably unfortunately, which I will do at some point but perhaps not for a while as I'll be a lot busier for the next few weeks.

    What should persist is your ability to recruit. The more enemies you kill, the greater your reputation and the easier it will be to recruit (and the more sympathetic the civilian population will be to you I think).

    What would be really cool is persisent AI in player groups, which will add a lot to SP persistent ALiVE missions. If I can find a way to store the former, the bonus will be the latter.

  5. ARggg.. UC doesn't seem to want to work for me for some reason. AT least not on a non-Alive mission.

    I placed the files inside the mission.terrain (name.altis) folder, with the init and description files in there, added the init code to my unit leader, an made sure CIV_F and CIV_F_TANOA are in the safe uniforms and vest parameters.

    And I get within about 100 meters of an INDFOR (which is set as my enemy force)... and they start opening up on me.

    Is that the close perimeter for discover by enemies? 100 meters or so?

  6. No 100m is way too far, shouldn't be shooting you from that range. If you try the latest version (download from GitHub), there will be a debug option in the setup. Once you start the mission, it will spam the chat with some parameters of the UC system. Let me know what that says and paste your settings and hopefully that should give me a bit more to go on!

  7. Will do!

  8. Deleted 8 years ago by incontinenetia
  9. Deleted 8 years ago by incontinenetia
  10. Edited 8 years ago by incontinenetia

    Mini update: for anyone using this script, please download the latest version (updated 5 mins ago) from github as the previous one wasn't getting uniforms correctly. Otherwise, I've just had a chance to run through all the stuff in a non-ALiVE mission and it should all work as intended.

    I initially intended this to be primarily a civilian undercover script (rather than impersonating enemies) however I'm guessing people would prefer to be able to use it for both.

    With that in mind, the system currently penalises units for wearing NVGs but I can change that if you guys want. Thoughts?

    EDIT: Latest version now has an optional HMD check in the setup.

  11. Edited 8 years ago by incontinenetia

    Just for anyone using this or considering using it, the latest version on GitHub has some pretty big fixes as well as one or two features I'm pretty excited about that could benefit from a bit of testing if anybody is up to it. I'll be releasing on the BI forums too once I know from someone other than me that this works for them too!

    The biggest feature (and the one that has taken my last weekend) is:

    Persistent player AI Teammates

    (When ALiVE data is present).

    As sort of requested by @HeroesandvillainsOS....

    Requires:

    • ALiVE (obvs)
    • iniDBI2 to be loaded on the client and server. (A workaround until there's a fix for issue #120 ).
    • Mission time persistence to be set to on (so iniDBI2 can tally it's information with ALiVE's persistent data).

    This is intended for SP / Coop TADST sessions where all clients exit the server at the same time.

    Brief overview:

    • Saves full unit information for up to 11 AI teammates.
    • No configuration required, just load the iniDBI2 mod and it will save your group state periodically (including health, loadout, skill etc.) until you save and exit the server.
    • Standalone, does not require undercover or intel to be loaded (I can give instructions if anyone wants).
    • To have full persistent AI teammates you need to:

    (a) save and exit the server at the end of each session
    (b) when loading the mission, make sure the mission time is the same as it was when you last saved and exited (if not, your persistent group won't load and the data will be overwritten)
    (c) don't play the same mission in multiplayer in the meantime if persistent data hasn't loaded (this will also overwrite your saved group data)

    More information (for troubleshooting etc):

    • When you save and exit the server, the most recent group information will be stored in an iniDBI2 database file. Only one group is saved per client, per mission, to prevent the database file from exploding in size.
    • Upon loading the mission, the DB will wait for ALiVE persistent data before loading. Then it will check if the mission time of the last group save on the database is the same as the current mission time (after ALiVE persistence) before restoring the client's last saved group.
    • To put it another way, group persistence is tied to mission date / time (+/- 10 minutes). It will only load if you have a corresponding persistent ALiVE save of the same time you last exited the mission.
    • For instance, if you saved and exited the server when the mission time was 1500 on the 6th May, it will only load your group if, the next time you play, the mission time is within 10 minutes of 1500 on the 6th May.

    Other random features

    Civilian Weapon Enhancements (for recruitment)

    • User configurable concealed weapons for armed civilians
    • If the civilians revolt, civilians will only pull a weapon if they already have one in their inventory
    • Other cool shit

    Enjoy!

  12. Cool sounding update! I'm still looking forward to trying this! So is it safe to assume once #120 is fixed with ALiVE War Room persistence can replace iniDB?

  13. I hope so but it's quite a lot of data and it took a good 5 hours to get it to work properly with iniDBI2 (partly because I'm new to all this, but also partly because the encoding and decoding has its quirks)... but yes, once #120 is good then I'll find a way!

    In theory, we're now at the stage where you can work as an insurgent, living off the land, scavenging gear, recruiting people as you go, using disguises (you can now change your disguise when compromised and enemies won't recognise you) mounting raids, with your group hiding their weapons and melting back into the civilian populations... for weeks on end in an ALiVE persistent campaign.

    Just need someone to tell me if it works for them too now!

  14. Have been looking for this type of functionality for my missions for some time. Thanks for you your efforts.

    Does this work with factions?

  15. @incontinenetia Yeah, anything like that. It basically allows a unit to dress as a civilian and go incognito, then recruit civilians and do whatever you want. Imagine yourself as the insurgent, asking people to join your cause and creating havoc.

    So, you could dress as a civilian and keep a suppressed rifle in your backpack, sneak into a sensitive area, find a decent hiding spot, kill a HVT... or just do some recon, or use your disguise to mount an ambush inside a place you couldn't ordinarily get without fighting your way through. Or you could act as a FAC / JTAC deep behind enemy lines, stuff like that.

    I recently recruited a whole load of dudes, ambushed an enemy patrol, stole their supplies and gave them to my new civilian team, then got them to hide their weapons, head to an enemy base and mount a diversion while I snuck in and blew up a load of vehicles.

    You could also have a BLUFOR FIA insurgency going on and play as one of them, only revealing yourself when you need to attack and blending back into the civilian population once your attack is over. Does that make sense?

    The BLUFOR limitation is just because this was designed with a specific scenario in mind and I haven't quite figured out a reliable way to integrate the reputation and recruitment system dynamically yet. I'll hopefully get round to changing that soon.

    SP / COOP is exactly what it is useful for.

  16. Edited 8 years ago by Ludi

    Nice.

    That would explain why its not working for me. I am trying to replicate the film - Beasts of No Nation.

    The players would be civvies living in a township protected by the UN, Gov forces roll in and kill everyone. The civvies flee to the bush and seek out the Rebel forces.

    I managed to make the UN switch to OPfor by linking them to an invisible Opfor leader and then when players spawn they trigger incoming forces that wreak havoc killing everyone. I placed some civies with opfor invis leaders so it is quite the massacre.

    I have African government forces as Independent (the enemy) and rebel African (opfor) forces as the player side. I geuss I need to switch the factions so I am Blufor

  17. Shame, African conflict has blufor however they are white fella's. All the indigenous africans are either ind or opf.

    Sadface

  18. Edited 8 years ago by HeroesandvillainsOS

    Project OPFOR just released a test version of the next release which includes Boko Haram on page 10 of the Project OPFOR thread over on BIS forums! They look amazing!

  19. Hmmm...how to use this in my upcoming mission where the largest part of our player base is going to be CIV_F while the SF team that is working with them is BLU_F again the VME PLA group that is setup as IND (via the config from VME)? Might need to engage a few people via Discord on this one.

  20. Edited 8 years ago by HeroesandvillainsOS

    Oh sorry. I misread you. I mistakenly assumed you didn't just need Africans, but you needed enemy Africans. Boko Haram obviously is not friendly to BLU_F. They are an Islamic terror group. Disregard.

    Project OPFOR may have a friendly African Army but I haven't checked. Despite its name there are some BLUFOR groups in there. You should check it and see.

  21. Hi @Ludi - the BLUFOR limitation is gone now, so if you give the latest version from github a whirl it should work with any side as long as you've correctly specified the enemy sides (as in, east, west, independent, rather than factions) in the setup file. Does that answer your question re: factions?

    The only side it can't work with at all is CIV_F. The player has to have a side (independent, east or west) to begin with and the script itself will make that player appear to be civilian to the enemy as long as he isn't being naughty (same goes for any AI members of his group too). For now, it's best to keep any players in separate groups otherwise there might be some weird stuff going on (it will interfere with persistency and simple armed tracking). Also bear in mind there is about a 20 second delay before the script fully initialises so don't spawn any enemy until after that.

    @Nichols does that make sense with the civilians? So if you want your guys to function with this script, make sure they are independent in the editor and set west as an enemy side.

    I'm curious to hear how you guys get on. The current build works perfectly in the testing I've done so far but as it's my script I'm bound to overlook things in the setup etc. Let me know if you have any more questions.

  22. Newer ›
 

or Sign Up to reply!