Maddin
Well-Known Member
Now the ai dont spawn lol.
You changed only those 2? Nothing else?
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Now the ai dont spawn lol.
You changed only those 2? Nothing else?
You changed only those 2? Nothing else?
just to say the ai problem wasnt your code it was something i did wrong but i still dont get those guns in the rotation.
//load sniper
_scount = count DZMSsniperList;
for "_x" from 0 to 1 do {
//load sniper
_scount = count DZMSsniperList;
for "_x" from 0 to 5 do {
Um sorry man, but i must ask this:
You are surely looking at the correct place, aye? (Weapons Crate Boxes on the Major Missions)
Also you tryed it more then one time, as only 1 sniper rifle get's added to the crate?
- Increase the Amount, by opening DZMSBox.sqf add search for:
PHP://load sniper _scount = count DZMSsniperList; for "_x" from 0 to 1 do {
- And replace with:
PHP://load sniper _scount = count DZMSsniperList; for "_x" from 0 to 5 do {
If you want the AI to use the weapon add it to the Lists in DZMSAIConfig.sqf.
Thanks it works nowhad to increase the chances of it spawning.
where did you get the correct codes? i would like to add many more.Good to hearHave fun with your mission!
where did you get the correct does? i would like to add many more.
that was a mistake i meant code.What do you mean with "does"? The Number? I just guessed something..
I am having issues with getting this to run on my server. I have installed it following the directions and the in the RPT log there is no sign of it even starting.
http://pastebin.com/ygvmwRSf
I have look through this thread and have not found a solution, although I could be blind![]()
![]()
Yeah I was driving around for a while and there was nothing added to the log for about 15 mins. Do you want me to put up my server.pbo?
here it is on gdrive, let me know if you cannot get it.
https://docs.google.com/file/d/0B-irCdG_MOyDTUpVbVdha0ROSVU/edit
// max number of spawn markers
if(isnil "spawnMarkerCount") then {
spawnMarkerCount = 10;
};
actualSpawnMarkerCount = 0;
// count valid spawn marker positions
for "_i" from 0 to spawnMarkerCount do {
if (!([(getMarkerPos format["spawn%1", _i]), [0,0,0]] call BIS_fnc_areEqual)) then {
actualSpawnMarkerCount = actualSpawnMarkerCount + 1;
} else {
// exit since we did not find any further markers
_i = spawnMarkerCount + 99;
};
};
diag_log format["Total Number of spawn locations %1", actualSpawnMarkerCount];
endLoadingScreen;
};
allowConnection = true;
sm_done = true;
publicVariable "sm_done";
};