Jump to content

Ivory

Member
  • Content Count

    10
  • Joined

  • Last visited

About Ivory

  • Rank
    Fresh Spawn
  • Birthday 11/24/1988

Profile Information

  • Gender
    Male
  • Location
    Germany
  1. i´ve download it and i have some questions :P you only use the Major mission system for the Hotspot event right? why you don´t remove the Minor from the system? :D but create work this is nice
  2. hmm, good question xD i can´t test it at this time... i don´t have a server at the moment sorry
  3. your mission files are in the Missions folder. there you have a Major and a Minor folder. in the two folder are the missionscripts
  4. so i think this will work. but i can´t test it at the moment. in the private string we need "_human" search for: //Name of the Mission right below we add: _human = 1; the value 1 is for banditkills 2 is for herokills and 0 is for no humanity find the line like this: [_coords,1,_skill,"DZMSUnitsGeneral"] call DZMSAISpawn; make it like this [_coords,1,_skill,_human,"DZMSUnitsGeneral"] call DZMSAISpawn; go to DZMSAISpawn.sqf change this _unitArrayName = _this select 3; to this _unitArrayName = _this select 4; search for _unit addEventHandler ["Killed",{ [(_this select 0), (_this select 1)] ExecVM DZMSAIKilled; }]; and change it to _unit addEventHandler ["Killed",{ [(_this select 0), (_this select 1), (_this select 3)] ExecVM DZMSAIKilled; }]; open your DZMSAIKilled.sqf add to private "_human" add the line _human = _this select 2; right under: _player = _this select 1; search for private ["_banditkills","_humanity"]; add make it to: private ["_humankills","_banditkills","_humanity"]; find the line and remove it: _player setVariable ["humanity",(_humanity + DZMSCntHumanity),true]; set at the position from the removed line: switch (_human) do { case 0 : { }; case 1 : { _player setVariable ["humanity",(_humanity + DZMSCntHumanity),true]; }; case 2 : { _player setVariable ["humanity",(_humanity - DZMSCntHumanity),true]; }; }; the last point is to add the kills find the line: _player setVariable ["banditKills",(_banditkills + 1),true]; and change it to: if (_human == 1) then { _player setVariable ["banditKills",(_banditkills + 1),true]; }else{ _player setVariable ["humanKills",(_humankills + 1),true]; } but you have to change all missions and i can´t test it. let me now if it works....
  5. We need that Hero AI shot at Heros, becouse the loot is not save if they don´t shot :D And i think i have a solution to make this, i will test it tomorrow ;)
  6. I´m thinking about a solution. becouse the Idee is cool :P If I have one, then i will post it.
  7. ups sorry xD i have change some more stuff like backpack and skin for the skin level xD i change it in the file
  8. 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;
×
×
  • Create New...