Ivory Posted July 20, 2014 Report Share Posted July 20, 2014 Heyho :) I have reright the from BetterDeadThanZed (Thanks for the idea), becouse it don´t work realy good at the new Patch. So i think it works better as the old one. 1.How to install 2. How to upgrade How to install: Step 1: Open DZMSConfig.sqf and find this: //Large Vehicles (Urals) DZMSLargeVic = ["Ural_TK_CIV_EP1"]; Underneath that, put this: //Patrol Vehicles DZMSPatrolVeh = ["HMMWV_M998A2_SOV_DES_EP1_DZE","LandRover_Special_CZ_EP1","Offroad_DSHKM_Gue_DZE"]; Step 2: Open DZMSFunctions.sqf and find this: DZMSAISpawn = compile preprocessFileLineNumbers "\z\addons\dayz_server\DZMS\Scripts\DZMSAISpawn.sqf"; Below that, add this: DZMSVehiclePatrol = compile preprocessFileLineNumbers "\z\addons\dayz_server\DZMS\Scripts\DZMSVehiclePatrol.sqf"; Further down, find this: case "large": {_vehArray = DZMSLargeVic;}; Replace it with this: case "large": {_vehArray = DZMSLargeVic;}; case "patrol": {_vehArray = DZMSPatrolVeh;}; Now download this https://www.dropbox.com/s/a9zax4qa0wuzlya/DZMSVehiclePatrol.sqf add the file too your DZMS/scripts folder. Now you can Spawn the Patrol open your mission files and search for the code like this: //DZMSAISpawn spawns AI to the mission. //Usage: [_coords, count, skillLevel, unitArray] [[(_coords select 0) + 0.2803,(_coords select 1) + 25.1768, 0],5,3,"DZMSUnitsGeneral"] call DZMSAISpawn; sleep 5; at this previously: //Spawn patrol //Position, Skill //Usage: [_coords, PatrolRadius , skillLevel] [_coords, 50, 3] call DZMSVehiclePatrol; 2.How to upgrade download this https://www.dropbox.com/s/a9zax4qa0wuzlya/DZMSVehiclePatrol.sqf replace the file whit the exist in your DZMS/scripts folder. open your mission where you have add the old script. in the private array you have "_patrol" remove it. search for the spawn code //Spawn patrol _patrol = ["patrol"] call DZMSGetVeh; [_coords, //Position to patrol _coords, // Position to spawn 75, //Radius of patrol 10, //Number of waypoints to give _patrol, //Classname of vehicle (make sure it has driver and gunner) 1 //Skill level of units ] call DZMSVehiclePatrol; and change it whit //Spawn patrol //Position, Skill //Usage: [_coords, PatrolRadius , skillLevel] [_coords, 50, 3] call DZMSVehiclePatrol; PcKoPaT 1 Link to comment Share on other sites More sharing options...
ToejaM Posted July 20, 2014 Report Share Posted July 20, 2014 You need to also replace in the vehiclepatrol.sqf //Gear the AI backpack _aipack = [_skill] call DZMSGetPack; With: //Gear the AI backpack _aipack = DZMSPacklist call BIS_fnc_selectRandom; As its causing an issue, at least this is what I'm about to try as the AI didn't get into the vehicle and comparing the vehicle patrol to the aispawn this is what is different. Will let you know if it works. ProtossMaster and megaz 2 Link to comment Share on other sites More sharing options...
ToejaM Posted July 20, 2014 Report Share Posted July 20, 2014 Yeah that works :) Link to comment Share on other sites More sharing options...
Ivory Posted July 20, 2014 Author Report Share Posted July 20, 2014 ups sorry xD i have change some more stuff like backpack and skin for the skin level xD i change it in the file Link to comment Share on other sites More sharing options...
Thay-skill3d Posted August 5, 2014 Report Share Posted August 5, 2014 is the patrol-despawn working when mission dissapears? (Funktionierte bei der letzten Version nicht - genauso wie bei der Bandit-Base von WAI) Link to comment Share on other sites More sharing options...
BetterDeadThanZed Posted August 7, 2014 Report Share Posted August 7, 2014 Credit where credit is due, right? ProtossMaster 1 Link to comment Share on other sites More sharing options...
TheJamesp55 Posted August 9, 2014 Report Share Posted August 9, 2014 I'm lost at Now you can Spawn the Patrol vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv open your mission files and search for the code like this: (then the code n shiz) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Says " open your mission files " ....well ?? whats the script I need to open? just the folder? hmmm not working ..I wonder why Link to comment Share on other sites More sharing options...
Ivory Posted August 18, 2014 Author Report Share Posted August 18, 2014 your mission files are in the Missions folder. there you have a Major and a Minor folder. in the two folder are the missionscripts Link to comment Share on other sites More sharing options...
Tang0 Posted August 19, 2014 Report Share Posted August 19, 2014 in mission file , i have added the patrol so it looks like this just before the mission Ai or spawned in //Spawn patrol //Position, Skill //Usage: [_coords, PatrolRadius , skillLevel] [_coords, 75, 3] call DZMSVehiclePatrol; //DZMSAISpawn spawns AI to the mission. //Usage: [_coords, count, skillLevel, unitArray] [_coords,6,2,"DZMSUnitsMajor"] call DZMSAISpawn; sleep 5; [_coords,6,3,"DZMSUnitsMajor"] call DZMSAISpawn; sleep 5; [_coords,4,3,"DZMSUnitsMajor"] call DZMSAISpawn; sleep 5; Link to comment Share on other sites More sharing options...
chipsandcheese Posted August 28, 2014 Report Share Posted August 28, 2014 Thanks. Can this work for heli patrols? Link to comment Share on other sites More sharing options...
Ivory Posted August 29, 2014 Author Report Share Posted August 29, 2014 hmm, good question xD i can´t test it at this time... i don´t have a server at the moment sorry Link to comment Share on other sites More sharing options...
Chunk. No Captain Chunk. Posted September 7, 2014 Report Share Posted September 7, 2014 Yeah, the AI vehicles don't seem to shoot at people :/ Link to comment Share on other sites More sharing options...
Tang0 Posted September 7, 2014 Report Share Posted September 7, 2014 make sure the vehicles or the DZ type as DZE have no ammo, this is my vehicle list in DZMSconfig DZMSPatrolVeh = ["ArmoredSUV_PMC_DZ","HMMWV_M998A2_SOV_DES_EP1_DZ","LandRover_Special_CZ_EP1_DZ","Offroad_DSHKM_Gue_DZ","Pickup_PK_GUE_DZ","HMMWV_M1151_M2_CZ_DES_EP1_DZ","GAZ_Vodnik_DZ"]; Link to comment Share on other sites More sharing options...
megaz Posted October 1, 2014 Report Share Posted October 1, 2014 Hi Guys I have changes from Zeds version to this and it runs ok but Im getting the AI that spawn with RPG now have no Ammo, Thus not firing at players, Any idean what could cause this, It was working with Zeds vesion and I done the upgrade way not new install thanks MegaZ Link to comment Share on other sites More sharing options...
ryker Posted October 2, 2014 Report Share Posted October 2, 2014 try to change the pickup classnames. sometimes it dze instead of just dz . if it works, drop us a line. Link to comment Share on other sites More sharing options...
megaz Posted October 10, 2014 Report Share Posted October 10, 2014 Hi Running this instead of BetterDeadThanZed's one but I am getting these errors spamming the Logs: when a mission starts. 20:14:22 Error in expression <ear select 1; _aipack = [_skill] call DZMSGetPack; for "_i" from 1 to 3 do {> 20:14:22 Error position: <DZMSGetPack; for "_i" from 1 to 3 do {> 20:14:22 Error Undefined variable in expression: dzmsgetpack 20:14:22 File z\addons\dayz_server\DZMS\Scripts\DZMSVehiclePatrol.sqf, line 56 20:14:22 Error in expression <lectWeapon _weapon; _pilot addBackpack _aipack; if (DZMSUseNVG) then { _pilot > 20:14:22 Error position: <_aipack; if (DZMSUseNVG) then { _pilot > 20:14:22 Error Undefined variable in expression: _aipack 20:14:22 File z\addons\dayz_server\DZMS\Scripts\DZMSVehiclePatrol.sqf, line 65 _aipack = [_skill] call DZMSGetPack; for "_i" from 1 to 3 do {> 16:52:20 Error position: <DZMSGetPack; for "_i" from 1 to 3 do {> 16:52:20 Error Undefined variable in expression: dzmsgetpack 16:52:20 File z\addons\dayz_server\DZMS\Scripts\DZMSVehiclePatrol.sqf, line 116 any help would be appreciated MegaZ EDIT: just re - read the posts above and saw this one which seems to have fixed the issue: ToejaM, on 20 Jul 2014 - 11:28 AM, said: You need to also replace in the vehiclepatrol.sqf //Gear the AI backpack _aipack = [_skill] call DZMSGetPack; With: //Gear the AI backpack _aipack = DZMSPacklist call BIS_fnc_selectRandom; As its causing an issue, at least this is what I'm about to try as the AI didn't get into the vehicle and comparing the vehicle patrol to the aispawn this is what is different. Will let you know if it works. PcKoPaT 1 Link to comment Share on other sites More sharing options...
chucky_xxl Posted December 21, 2014 Report Share Posted December 21, 2014 i install this nice script, but after install no AI´s at the mission and no patrol AI´s :( no error in rpt Link to comment Share on other sites More sharing options...
Ped Posted January 1, 2015 Report Share Posted January 1, 2015 Does anyone have an idea on how to use _DZE vehicles but load them with ammo so they will fire their weapons? Link to comment Share on other sites More sharing options...
Tang0 Posted January 2, 2015 Report Share Posted January 2, 2015 use the _DZ vehicles instead as these spawn already loaded Link to comment Share on other sites More sharing options...
igoooor Posted January 7, 2015 Report Share Posted January 7, 2015 Could you explain the choice of lowering the skill level? _weaponArray = [_skill - 1] call DZMSGetWeapon; switch (_skill) do { case 0: {_aicskill = DZMSSkills0;}; case 1: {_aicskill = DZMSSkills0;}; case 2: {_aicskill = DZMSSkills1;}; case 3: {_aicskill = DZMSSkills2;}; case 4: {_aicskill = DZMSSkills3;}; case 5: {_aicskill = DZMSSkills4;}; }; Link to comment Share on other sites More sharing options...
OSMOX Posted December 1, 2017 Report Share Posted December 1, 2017 how do the patrol vehicles delete once the mission is over? Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now