Announcement

Collapse
No announcement yet.

Using Modded Units with BIS Civilian Presence Modules

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • [GUIDE] Using Modded Units with BIS Civilian Presence Modules

    You can easily create modded civilians with the BIS modules and you can even do some pretty neat things with them too if you wanna get creative.

    As in the video tutorial place civilian units down and adjust their loadouts as you would like them to be. Put down one civilian for each variation you would want and then name them. In this example I've named 15 units from c0 to c14 in the editor. Make sure you group these units and name their call sign something that a Zeus won't accidentally delete!

    Place a Civilian Presence module down and edit it's area under Transform. Then place a Spawnpoint or several and you termination points as you wish within the Civilian Presence area.

    In the Civilian Presence module put in this code to run a script:
    Code:
    [_this]execVM "nameOfMyScript.sqf";
    Then create your script:
    nameOfMyScript.sqf
    Code:
    params ["_unit"];
    
    if !(isServer) exitWith {};
    
    _unitToCopy = selectRandom [c0,c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14];
    _unit setUnitLoadout (getUnitLoadout _unitToCopy);
    lockIdentity _unit;
    [_unit, (speaker _unitToCopy)] remoteExec ["setSpeaker", 0, true];
    [_unit, (face _unitTOCopy) ] remoteExec ["setFace", 0, true];
    Voila...you have modded civilians.
    |TG189| Unkl
    ArmA 3 Admin
    189th Infantry Brigade Member
    SUBMIT A RIBBON NOMINATION OR CONTACT AN ARMA ADMIN
    "Tactics in action can not exist if there is no action." - Scout

  • #2
    Here is the video:


    For each civilian unit you place for a template add the following into their init:
    Code:
    this disableAI "MOVE"; this enableDammage false;
    |TG189| Unkl
    ArmA 3 Admin
    189th Infantry Brigade Member
    SUBMIT A RIBBON NOMINATION OR CONTACT AN ARMA ADMIN
    "Tactics in action can not exist if there is no action." - Scout

    Comment

    Connect

    Collapse

    TeamSpeak 3 Server

    Collapse

    Twitter Feed

    Collapse

    Working...
    X