Go to your DZAI, go to DZAI\init\ config.sqf:
DZAI_staticAI = true;
DZAI_respawnTimeMin = 2000;
DZAI_respawnTimeMax = 3000;
DZAI_despawnWait = 125;
//Respawn limits. Set to -1 for unlimited respawns. (Default: -1 for each).
DZAI_respawnLimit0 = -1; //Respawn limit for low level AI found in low-value areas (Default: -1)
DZAI_respawnLimit1 = -1; //Respawn limit for mid level AI found in cities and other mid-value areas (Default: -1)
DZAI_respawnLimit2 = -1; //Respawn limit for high level AI found in places with military loot (Default: -1)
DZAI_respawnLimit3 = -1; //Respawn limit for very high level AI in places with high-grade military loot (Default: -1)
DZAI_spawnChance0 = 0.50; //Spawn chance for low-skill AI typically found in small towns (Default: 0.40)
DZAI_spawnChance1 = 0.50; //Spawn chance for mid-level AI typically found in cities and large towns (Default: 0.60)
DZAI_spawnChance2 = 0.50; //Spawn chance for high-level AI typically found in places with military-grade loot (Default: 0.80)
DZAI_spawnChance3 = 0.50; //Spawn chance for expert-level AI found in areas with high-grade military loot (Default: 0.90)
change the time you want the AI respawn
If you wanna turn off certain spawn points in some city/town
Go to DZAI\init\world_spawn_configs\world_MAPNAME.sqf
put a "//" in front of the spawn point you wanna delete
240 doesn't work
I think its number in seconds
because in AH.sqf
the hour is / by 60 /60
if(serverTime > 36000)then{_stime = time;}else{_stime = serverTime;};
_hours = (_stime/60/60);
i set it to 14400 which is 4 hours in seconds, and it worked !
thanks :D
Hey,guys. Closed sorry
So, I wrote this mission based on the the example mission from WAI
This is fairly easy to install, but you need to have WAI installed in server.pbo.
Mission Plot:
It's Benlate, OMG, guys, we gotta take him down.
-Two optional ending of the mission:
1.This is not the real Benlate, we just killed a group of Middle East bandits.
2.Yes! We did it, Benlate is now died.
Screenshots:
- Screenshots of Benlate mission and real benlatemission:
https://www.dropbox.com/sh/zt19qpgi8hm4byf/AAA7NohKmvzq51WgxQiUyMRQa?dl=0
Requirement:
-PBO to pack mission file
-WAI
Installation:
---Download and install WAI to your server.pbo
Link :
---Create file named benlate.sqf and real_benlate.sqf dayz_server\WAI\missions\hero
In benlate.sqf, copy and paste:
In real_benlate.sqf, Copy and paste
---Edit the config.sqf :
find
// Missions
wai_hero_missions = [ // ["mission filename",% chance of picking this mission],Make sure the chances add up to 100,or it will not be accurate percentages
["black_hawk_crash",12],
["armed_vehicle",10],
["bandit_base",10],
["captured_mv22",10],
["ikea_convoy",12],
["destroyed_ural",12],
["disabled_milchopper",12],
["mayors_mansion",10],
["weapon_cache",12]
];
the missions you have may be different from me, and the number after the mission name is the chance of the mission will happen
Example: ["mission_name",chance in %]
---Add in benlate and real_benlate
so it would look like this
// Missions
wai_hero_missions = [ // ["mission filename",% chance of picking this mission],Make sure the chances add up to 100,or it will not be accurate percentages
["black_hawk_crash",10],
["armed_vehicle",10],
["bandit_base",10],
["captured_mv22",10],
["ikea_convoy",10],
["destroyed_ural",10],
["disabled_milchopper",10],
["mayors_mansion",10],
["weapon_cache",12],
["benlate",4],
["real_benlate",4]
];
Make sure the number add up to 100.
Now you are done!
Repack your server.pbo to try out the missions :D
Let me know if there is any problem with the mission.