Search results

  1. S

    dayZ NPC (AI) Units / Troops | Add to Server.

    You see this question Sarge?
  2. S

    dayZ NPC (AI) Units / Troops | Add to Server.

    correct. he just wants his AI to be able to attack zombies.
  3. S

    dayZ NPC (AI) Units / Troops | Add to Server.

    You don't have to edit it. You just go into your install folder, and then into the map that you're using (labeled as @DAYZMAP) and pull the pbo from there, open it, pull the file and put it into your scripts folder, and then add that line that I said into the very bottom of the file, and add the...
  4. S

    Simple AI Tutorial (no rMod or DayZ_Factions)

    The first part is correct. 0/1 is what you do now to make the 2 different factions. The second part there is 2 things you can. 1) in your createUnit areas in the add_unit_server.sqf, when you initialize them you give them a value of .6, up that to 1, like this: _resistanceRandomSkin createUnit...
  5. S

    dayZ NPC (AI) Units / Troops | Add to Server.

    in my simple ai tutorial thing i posted, it's the zombie_generate.sqf file fix.
  6. S

    dayZ NPC (AI) Units / Troops | Add to Server.

    Last questions for now Sarge (thanks for all the help btw): you use "nearEntities [["Bandit1_DZ","BanditW1_DZ"]" is there a way to set that just to players in general, because I want to set my humanity limit higher, and you don't have those skins when you're at a positive limit still I believe...
  7. S

    dayZ NPC (AI) Units / Troops | Add to Server.

    I generate them in my mission.pbo init file. I create them when the server is created and have them patrol areas.
  8. S

    dayZ NPC (AI) Units / Troops | Add to Server.

    private["_ai","_magazintype","_entity_array","_humanity","_humanitylimit","_sleeptime","_detectrange"]; _ai = _this select 0; _weapons = weapons _ai; _weapon = _weapons select 0; _magazinetype= getArray (configFile >> "CfgWeapons" >> _weapon >> "magazines") select 0; _detectrange=300...
  9. S

    dayZ NPC (AI) Units / Troops | Add to Server.

    If i'm understanding this correctly, i could create a mission file called myfile.sqf, and run it in the units init and from myfile.sqf I could run your previous script, which would refill their mags, and detect players?
  10. S

    dayZ NPC (AI) Units / Troops | Add to Server.

    Basically what I want to do, is make it so that any player that has a humanity less than 2500 gets an automatic rating of -10000 until he raises his humanity back to 2500 again. I've tried setting this in playerSetup and playerSync and was unsuccesful in both. Would you mind helping me figure...
  11. S

    dayZ NPC (AI) Units / Troops | Add to Server.

    the player variable is a standard variable in the mission pbo.. on the server I was using _playerObj in some places and _character in some places depending on which files I was in. so by this logic I should be able to go into my server pbo and in some file, set the rating of players, but I...
  12. S

    dayZ NPC (AI) Units / Troops | Add to Server.

    How do you reduce their rating. I found that addRating wasn't applicable to players. No matter what I tried I couldn't get addRating or join or joinSilent to be applicable to players. Could you possibly share the code you used to set the rating of players? or possibly the check for their...
  13. S

    dayZ NPC (AI) Units / Troops | Add to Server.

    How did you get the AI to differentiate between player bandit and player survivor or hero? This has been killing me. I stayed up for 2 days trying to figure it out and in the end came up with nothing. can you describe this to me: 13) instead, use a function on every AI that checks in an...
  14. S

    dayZ NPC (AI) Units / Troops | Add to Server.

    I don't understand it completely. I think it's an overall skill level. So if you give perfect skills to someone assigned as a .1 they are still going to be terrible.
  15. S

    dayZ NPC (AI) Units / Troops | Add to Server.

    createUnit [_unitpos, _aiGroup, "_aiunit=this;",0.6,"Private"]; I'm told if you change that .6 to 1, then it will almost double their "skill". That is located in your add_unit_server.sqf or equivalent file
  16. S

    dayZ NPC (AI) Units / Troops | Add to Server.

    If you like at Simple AI Tutorial, that is based on DayZ.ST and is effectively the same exact code with minor tweaks. I made the tutorial based on requests to make Axemans system slightly easier. So it's basically this code made easier to set up.
  17. S

    Simple AI Tutorial (no rMod or DayZ_Factions)

    I made this as simple as possible, with central places for configuration so you aren't jumping all over. Added fairly dynamic gear addition so you aren't adding lines for every item. Made the skills random so you have a mix of good and bad troops. Did a bit of organization so that it's easier to...
  18. S

    [Help] Increasing loot rate

    I haven't found a straightforward INCREASE to loot. There are tons of small things you can do to increase loot though. You can increase the number of magazines that drop with guns. You can increase the number of heli crashes. You can add buildings so that there are more loot sources. You can do...
  19. S

    dayZ - the Aftermath

    Message me the IP if you don't mind. My server is expiring in a week, and my friends and I have nowhere to go since we're not renewing. ;D
  20. S

    dayZ NPC (AI) Units / Troops | Add to Server.

    I would be having to much fun with that bus. Set the init for the driver to spawn like 26 passengers with guns on death. lol.. oh the possibilities.
Back
Top