Jump to content
  • 0

How to add Dzai Custom ai Or Wai? Napf map


harcosgoogle

Question

Hi!

 

How to add custom ai spawn Dzai or Wai? Napf map

    

 

Explanation of DZAI_spawn_units (For spawning infantry AI)
    
    [
        "1489.94,3657.41,0.002",    //This is the marker name to be used as the patrol and spawning area.
        2,                         //This trigger will spawn a group of 2 AI units.
        1,                        //Weapon grade setting. 1 = weapon chosen from Military loot table (see below for explanation of Weapon Grade)
        true                    //(OPTIONAL)* Respawn setting. True: AI spawned will respawn (Default). False: AI will not respawn. Spawn area will be deleted when all units have been killed.
    ] call DZAI_spawn_units;

 

Not worked.
    

Link to comment
Share on other sites

11 answers to this question

Recommended Posts

  • 0
  On 4/23/2017 at 6:55 PM, harcosgoogle said:

    [
        "1489.94,3657.41,0.002",    //This is the marker name to be used as the patrol and spawning area.

Expand  

It is marker's name, not a coords.

At first you need to define area in "\DZAI\init\world_spawn_configs\custom_markers\cust_markers_napf.sqf".

At second you can spawn an AI in "\DZAI\init\world_spawn_configs\custom_spawns\cust_spawns_napf.sqf".

I do it this way (for cherno):

cust_markers_chernarus.sqf:

  Reveal hidden contents

cust_spawns_chernarus.sqf:

  Reveal hidden contents

 

Link to comment
Share on other sites

  • 0
  On 4/23/2017 at 6:55 PM, harcosgoogle said:


    [
        "1489.94,3657.41,0.002",    //This is the marker name to be used as the patrol and spawning area.
        2,                         //This trigger will spawn a group of 2 AI units.
        1,                        //Weapon grade setting. 1 = weapon chosen from Military loot table (see below for explanation of Weapon Grade)
        true                    //(OPTIONAL)* Respawn setting. True: AI spawned will respawn (Default). False: AI will not respawn. Spawn area will be deleted when all units have been killed.
    ] call DZAI_spawn_units;

Expand  

Well its pretty simple, first, I get my markers in the editor, so do that. Then go in DZAI/init/world_spawn_configs  you will work with these two files custom_markers and custom_spawns.

In custom_markers is one of mine;

    _this = createMarker ["northairfield1", [15642.271, 15623.963, 1.335144e-005]];  /////REPLACE THE MARKER NAME BY YOUR AND PUT THE COORD YOU TOOK IN THE EDITOR
    _this setMarkerShape "ELLIPSE";
    _this setMarkerType "Flag";
    _this setMarkerBrush "Solid";
    _this setMarkerSize [300, 300];
    _this setMarkerAlpha 0;
    _northairfield1 = _this;        //_northairfield1 must be a unique name  /////NAME IT THE SAME AS YOUR MARKER

 

In the custom_spawns

            [
        "northairfield1",        //This is the marker name to be used as the patrol and spawning area. ////// NEED TO BE SAME NAME OF YOUR MARKER
        3,                                 //This trigger will spawn a group of 2 AI units.
        3,                                 //AI spawned by this trigger will have Weapon Grade level 1 (see below for explanation of Weapon Grade)
        true                             //(OPTIONAL) Respawn setting. True: AI spawned will respawn. False: AI will not respawn. 
        ] call DZAI_spawn_units;

 

You repeat that for each markers you have. I'm adding mine here and use it as an example only it set to kick players ass with tanks...... 

custom_markers

  Reveal hidden contents

custom_spawn;

  Reveal hidden contents

 

Link to comment
Share on other sites

  • 0
  On 4/25/2017 at 8:25 PM, harcosgoogle said:

Thanks ,worked

@WLF or @Petite

 

How to add AI/MI Permmission or command ?

 

Example:

How to use it ai - Gun,Vehicle,Gunners

 

Example: KORD,DSKM,Gunners vodnik,Stinger launcher,m119

 

Thanks

 

Expand  

well that be with WAI static. For vehicles spawning look my files you have the example of it.

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Discord

×
×
  • Create New...