VCom and ALiVE

  1. ‹ Older
  2. 4 years ago
    Edited 4 years ago by Dreamytebag

    Hi Guys,

    Long time reader of this forum...love the passion you guys have for this mod. Anyho I found a solution to the Vcom conflict with the CAS and Air Transports going all funky (although maybe it has been answered already somewhere else).

    Simply create the Vehicle (crewed not empty), sync it to the Combat Support Module, then place the following in the Vehicle INIT (not to be confused with the Group INIT),

    this setvariable ["CS_TYPE","CAS"]; //Type can be "TRANSPORT" or "CAS" or "HYBRID"

    Optional:

    this setvariable ["CS_CALLSIGN","Your Callsign"]; //Callsign of the unit
    this setvariable ["CS_HEIGHT",_height]; //Altitude of the landing site
    this setvariable ["CS_CODE","persistent _code as 'string';"] //custom init line code
    this setVariable ["CS_SLINGLOADING", false]; //disables sling loading on transport helis
    this setVariable ["CS_CONTAINERS",0]; //number of crates to spawn around a transport heli (0 to disable)

    Then place the following in every crewmember of the of that vehicle,

    this setVariable ["NOAI",1,false];

    Did some quick testing with lots of action going on around me (guns, missiles, etc) and the AI Transport and CAS behaved exactly as expected.

    LOVE this mod, cannot thank the DEVs and forum contributors enough for their hard work helping the rest of us noobs get the most out of this mod.

    Edit - This does not require the use of a Transport or CAS module. Just the Combat Support Module.

  3. 3 years ago

    For each crew I added this setVariable ["NOAI",1,false];this setVariable ["VCOM_NOPATHING_Unit",1,false];

    For some reason just putting this setVariable ["NOAI",1,false]; still made the AI take off and go somewhere else.

  4. I think

    [{{Driver _x setvariable ["NOAI",true];} foreach (vehicles select {_x isKindOf 'air'});}, 1, []] call CBA_fnc_addPerFrameHandler;

    in the init still works doesnt it?

  5. I not sure never tried. I'm actually scared to even touch it now lol

  6. I've noticed that sometimes slung-loaded vehicles like mech/motorized infantry units will stop moving once they've been spawned from being virtualized. Looking at the operations in C2ISTAR, they still have a waypoint, but refuse to move. If you re-apply the waypoint (without changing it), they will resume movement. It may have something to do with VCOM driving, or maybe the way BiS spawns in these types of units.

  7. Edited 3 years ago by HeroesandvillainsOS

    @loderunner71 It might be useful if you could test the same setup without any AI mods incase an ALiVE function needs a touch up.

  8. How are people running Vcom on their servers? Are you using the userconfig or just running the mod directly?

  9. We are running the script package as it functions better for us so we have the userconfig folder in there as well.

  10. I recommend running VCOM in script form on the server. Dominic, the creator of VCOM, has mentioned to me several times that VCOM adds nothing if it is run client side so as long as the server has it...you're good to go.

    It's also very easy to adjust settings in the default settings.sqf within the mission folder AND it cuts down on mod dependencies as well.

    @Opendome I put together a VCOM specific OPFOR pack as well that takes advantage of the static weapon placement and explosive placement features of VCOM. It's in my Steam Workshop (AuburnAlumni on Steam)

  11. Hmm where can I get the script form? Right now Im jsut running the mod only on the server (not client side) One weird thing Ive noticed and I'm not sure if its the factions or vcom but some of the AI will just stand there or fire with their weapons put their weapons will be at ease?

  12. I'm not sure if this is a vcom issue or an alive issue. AI troops are disembarking including the gunner from motorized and mechanized infantry. the VCOM thread didn't have any similiar answers.

  13. @Opendome you cab get the script version by downloading from the BI forum OP post.

    Vcom post

  14. When ALiVE spawns units in an already occupied town or placement can they be given a Hold waypoint command? That type of waypoint does wonders with vcom allowing Vcom to garrison buildings.

  15. Edited 3 years ago by sneezemonkey

    Hi longtime lurker here
    Can anyone confirm that NOAI and NOPATHING solutions actually work for the pilot issues and it's not just my code?

    [{
       {
         { _x setVariable ["VCOM_NOPATHING", true];
           _x setVariable ["NOAI", true]; 
         } forEach (crew _x);
       } forEach (vehicles select {_x isKindOf 'Air'});
    }, 1, []] call CBA_fnc_addPerFrameHandler;

    Based on what I've read on the net and the documentation, this is supposed to work. It seems to too initially but after about ten(ish) minutes or so I see some move waypoints on the map and my CAS and transports flying towards them. This is with just ALiVE, CBA, and VCOM AI.
    -----------------------------------------------EDIT----------------------------------------------------------------------------------------------------
    Oops looks like I forgot Unit after NOPATHING

    Also found that there seems to be a difference with Github and non github versions where it is NOAI from github and VCOM_NOAI if not from github

  16. Does anyone know how to prevent friendly AI from stealing your vehicles?

  17. @Opendome Does anyone know how to prevent friendly AI from stealing your vehicles?

    We make all our vehicles locked via ACE then give everyone a masterkey.

  18. Thanks! Yea thats what I ended up doing as well, one odd thing is that I synced all our vehicles to the ace lock module but all vehicles seem to be locked regardless if they are synced to the module or not?

  19. VCOM seems a little busted and broken with the latest release. AI instant detection issues, annoying grand theft auto tendencies with vehicles, stuck AI. I noticed in the notes for the last ALiVE release that VCOM compatibility is mentioned, but CAS and transport vehicles still fly away. Anybody else having these issues?

    Currently having better luck with ASR, but I do miss the platoon level AI strategy that VCOM brings, as well as the IDF abilities, better vehicle driving, and other things. Kind of waiting around for the next release to fix a lot of these issues, although I'm not sure when that's coming as I seem to recall him saying it might be that last release for a bit :/

  20. I was just going to say I have the same issues, I just used ACE locking system to keep them from jumping in our vehicles but helicopters still fly away randomly, tell them to rtb and it says that they are but they go off in the middle of nowhere and hover, and stuff like that. I tried it with/without

    [{{Driver _x setvariable ["NOAI",true];} foreach (vehicles select {_x isKindOf 'air'});}, 1, []] call CBA_fnc_addPerFrameHandler;

    but seems that it still happens?

  21. I'm using VCOM 2.92 on dedicated as a script with the fix in the forums. It's very much the same as reported, lots of vehicle theft etc, also tend to notice AI pathing seems to be wierd: the group leader rmeains still, the section patrols around him, along with errors about cycling waypoints on no waypoints or WP 0. Difficult to see if it's vcom or alive or what, just watching the thread.

  22. Newer ›
 

or Sign Up to reply!