Static Ai not spawning: Napf Server 1.0.4 Epoch

J3T

Valued Member!
Hey there i'm encountering a problem on my Napf Server 1.0.4 Epoch

Set up a spawnmarker like this:
Code:
    _this = createMarker ["DZAIspawn", [730.57001, 6936.0059, 0]];
    _this setMarkerShape "ELLIPSE";
    _this setMarkerType "Empty";
    _this setMarkerColor "ColorRed";
    _this setMarkerBrush "Grid";
    _this setMarkerSize [200, 200];
    _this setMarkerAlpha 0;
    _DZAIspawn = _this;
and a spawn like this:
Code:
    [
        "DZAIspawn",    //This is the marker name to be used as the patrol and spawning area.
        10,                       
        3,                      
        false                   
    ] call DZAI_spawn;

the first one in cust_markers_napf.sqf and the second one in cust_spawns_napf.sqf.


The Rpt log says :

Code:
14:39:17 "DZAI Monitor :: Server Uptime - 0 d 0 hr 5 min 0 sec. Active AI Units - 0."
14:39:17 "DZAI Monitor :: Static Spawns - 0 active static triggers. 0 groups queued for respawn."


Can anyone figure out why it wont spawn?

*edit* using the most recent update of DZAI downloaded today at 12o'clock
 
Last edited:
Are,you running DZAI 1.9.6.1? (Most recent version). Earlier versions read from the wrong custom spawn files.
 
DZAI 1.9.6.1 - AI Addon for DayZ
Frist line in the Readme, so i guess it is this version.
 
Check your RPT log for this output, it should be generated during server start when DZAI is first loading:

Code:
diag_log "Napf static spawn configuration loaded.";

If you see this, then the Napf spawn config has been loaded, along with your custom spawn info.

To check if your custom spawn has been successfully created, you will need to enable debug mode by setting DZAI_debugLevel to 1. Check for this line in your RPT log:

Code:
DZAI Debug: Created custom spawn area %1 at %2 with %3 AI units, weapongrade %4, respawn %5.

Where:

  • %1 is the marker area name (DZAIspawn)
  • %2 is the GPS coordinates of the spawn
  • %3 is the number of units to be spawned
  • %4 is the weapongrade value you specified for the spawn
  • %5 is the respawn setting (false)
If this output doesn't appear at all then it means the spawn wasn't created. If there are any unusual/unexpected values being outputted, then something is going wrong. Let me know what happens after you've checked these out.
 
Code:
14:34:15 "Napf static spawn configuration loaded."

Ok gonna try the debug mode. reply soon
Code:
17:02:52 "DZAI Debug: Created custom spawn area DZAIspawn at 007135 with 10 AI units, weapongrade 3, respawn false.

^seems right, just i though that it would be 10 groups not 10 units.


*edit* weird, now they are spawned.

But can you tell me whether these are 10 groups or one group with 10 units? and if the second answer is true how do i make 10 groups with 5 units?
 
Last edited:
Back
Top