Results 1 to 9 of 9

Thread: Changing unit's fighting side...

  1. #1

    Changing unit's fighting side...

    Well, i know that i can place one soldier(from opfor) with highest rank and 0% presence to unit of bluefor to make them fight for opfor, but i wanna do it with command...why? ambient civilians...making everyone from ambient fight for bluefor- to make opfor shoot them, but bluefor not(thats why i didnt use addrating -10000)
    any tips? thanks
    (setfriend command doest work....) i searched everywhere...nothing worked
    and also addictional: how can i give all men, not women, from ambient, weapons? i used _this addweapon .... but it added it to everyone, so women werent able to move...then i tried _men addweapon ...... didnt work....thanks in advance
    Last edited by Klubargutan; Aug 22 2011 at 14:15.

  2. #2
    Simply put the civilian units in a group with an OPFOR leader, whether manually or through a join command. This works for any combination of units and is incredibly useful.
    My Chernarussian Civil War SP missions:
    Enfilade Ambush
    Autumn Siege

  3. #3
    Corporal Klubargutan's Avatar
    Join Date
    Feb 24 2010
    Location
    CESKO!!!!!
    Posts
    65
    Author of the Thread
    Quote Originally Posted by maturin View Post
    Simply put the civilian units in a group with an OPFOR leader, whether manually or through a join command. This works for any combination of units and is incredibly useful.
    dude, i think that u didnt read post...how can i put bluefor leader(i wanna opfor to shot civs!) as leader of ambient?it doesnt work!!!! even if i merged ambient and that colonel, didnt work...

  4. #4
    Btw., what do you mean with ambient?? Resistance?

    Do you know about W0lle's armed civilians? These are civs with weapons which are on the resistance side.
    Maybe this can help you.

    Here is the link:
    http://www.armaholic.com/page.php?id...ED%2BCIVILIANS
    Last edited by Undeceived; Aug 22 2011 at 20:14.

    >>>For The Life Of A Friend | SP scenario for Arma 2: CO
    Tags: civilians, friendship, mafia, assassination, revenge

  5. #5
    I think he wants to use ambient civilian module, which unfortunately does not support just about anything you might want to do with it. If you want to script civilians to your will you'll have to find alternatives to this module.

  6. #6
    Corporal Klubargutan's Avatar
    Join Date
    Feb 24 2010
    Location
    CESKO!!!!!
    Posts
    65
    Author of the Thread
    Quote Originally Posted by galzohar View Post
    I think he wants to use ambient civilian module, which unfortunately does not support just about anything you might want to do with it. If you want to script civilians to your will you'll have to find alternatives to this module.
    yep, i use ambient civilians module
    and this code ALICE_civilianinit = <array>; - array of codes which is executed upon every civilian unit created.
    Example: [BIS_alice_mainscope,"ALICE_civilianinit",[{_this addweapon "Mk_48"}]] call bis_fnc_variablespaceadd;

    to add them rating -10000, but that means that everyone shoots them...so i wanna add them to be on bluefor side-against opfor...
    so i will use _this (code).... to make every civilian to fight for bluefor...i wanna script them like BI did in mission dogs of war when where u was capturing lopotev and sending him to russians, we didnt shot them and they didnt shot us(they were on bluefor side)-they were on our side...they also shoot cdkz...so they were theyr enemy...i wanna do same with civilians...excluding giving them weapons

  7. #7
    Like I said, unfortunately most stuff you will try to do via ALICE_civilianinit won't work because of how the ambient civilian module works. You can try make them join a new opfor group when they are created but that may screw up the module (or the module may screw it up).

  8. #8
    Corporal Klubargutan's Avatar
    Join Date
    Feb 24 2010
    Location
    CESKO!!!!!
    Posts
    65
    Author of the Thread
    Quote Originally Posted by galzohar View Post
    Like I said, unfortunately most stuff you will try to do via ALICE_civilianinit won't work because of how the ambient civilian module works. You can try make them join a new opfor group when they are created but that may screw up the module (or the module may screw it up).
    well then in domination when i play with friends and do an airstrike with my gbu 43 moab or mk 84s carped bombing (by my tunned f22s or f35s -each has 12 these mk84s from glt...even after respawn) or while i shot there with tank etc shots...i must expect civilian casualities...anyway thx for trying...at least i will not search and try to do commans cos now i know that it wont work...

    ---------- Post added at 19:54 ---------- Previous post was at 19:54 ----------

    Quote Originally Posted by Undeceived View Post
    Btw., what do you mean with ambient?? Resistance?

    Do you know about W0lle's armed civilians? These are civs with weapons which are on the resistance side.
    Maybe this can help you.

    Here is the link:
    http://www.armaholic.com/page.php?id...ED%2BCIVILIANS
    and thx for that mod u sent me ling, looks cool, ill try it

  9. #9
    Yes basically if you want something to work like you want you have to make it yourself. BIS civilian module is not very friendly with modifications (though you can always try, some stuff might work, but changing them to opfor is likely to break stuff or get broken).

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •