Search results

  1. S

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

    well if zombie's aren't spawning thats a different case entirely.. did you add only that single line of code at the VERY BOTTOM of the file?
  2. S

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

    if you added the zombie_generator.sqf properly, and it's not shooting ANYTHING, then you're likely not giving them ammo..
  3. S

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

    Did you follow the instructions? You have to add a line of code to the bottom, and put a link to the file in your mission\init.sqf It definitely shouldn't break anything. Especially players.
  4. S

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

    They will shoot zeds on sight. They determine whether or not to shoot players based on your faction file (either set_unit_faction.sqf or DayZ_Factions\init.sqf depending on whos code you're using)
  5. S

    Simple AI Tutorial (no rMod or DayZ_Factions)

    So the problem that i'm getting right now is that it's not letting me pass additional parameters through the event handler, so I can't respawn the same unit with the same values. I'm looking at what values I can retrieve from the corpse, but I definitely won't be able to retrieve the waypoints...
  6. S

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

    This is a common problem. Go to the Simple AI Tutorial thread, and do the part in regards to zombie_generate.sqf.. It's the main reason I created that thread. There's a problem with some clients that Axemans method won't work on. The rest is his code.
  7. S

    Simple AI Tutorial (no rMod or DayZ_Factions)

    I've added: Respawning (based on variable) Gearsets (dynamic'ish) Fixed the gear (so you can add tools and additional weapons) Added the WEST factions (but beware, because they will share your loyalties in terms of who they will/will not attack) and severely reduced the size of the mission...
  8. S

    Simple AI Tutorial (no rMod or DayZ_Factions)

    Tell you guys what.. My server expires tonight.. Give me a quick list of stuff you want, and I will try to get it all done before tonight for you.. I will start working on respawns and multiple gear sets right now.
  9. S

    Simple AI Tutorial (no rMod or DayZ_Factions)

    Hmm.. This is why I don't want to edit much. I can't test it first.. Inside of the Gear arrays, you can't add weapons or tools.. That will be an issue.. I don't see any other issues though.. If you can show me any errors in your report file, then I can debug..
  10. S

    Simple AI Tutorial (no rMod or DayZ_Factions)

    You can only user east/west/resistance in terms of what you want, and west is what you are, so be careful what you do with the factions for west. See my above post for the changes to your file in regards to sets of gear.
  11. S

    Simple AI Tutorial (no rMod or DayZ_Factions)

    I was thinking of adding that as well.. it's really just a matter of adding another parameter and creating additional variables.. i can't do to much editing now though because I don't have a server to test it on. I included your modified file. Now at the end of your _aispawns in your init...
  12. S

    Simple AI Tutorial (no rMod or DayZ_Factions)

    If you link me your current add_unit_server.sqf I will edit it for you.
  13. S

    Simple AI Tutorial (no rMod or DayZ_Factions)

    No. You ad No, you add that first line below every createUnit line in your add_unit_server.sqf. You place the file that you created in your scripts folder just the way it is. You don't put the actual numbers in there, you put the variables I had in there. As for replacing the 4 to y, no. In the...
  14. S

    Simple AI Tutorial (no rMod or DayZ_Factions)

    Richie asked for more details concerning respawns. I apparently updated the wrong post though.
  15. S

    Simple AI Tutorial (no rMod or DayZ_Factions)

    They're naturally civilian, I was going to make them east for my purposes since east hates everyone anyway, and on the island that I store east they don't have zombies, but like I said, I stopped coding this because my server expired and i'm just waiting for standalone.
  16. S

    Simple AI Tutorial (no rMod or DayZ_Factions)

    Just updated my post Richie, look now. Might make more sense.
  17. S

    Simple AI Tutorial (no rMod or DayZ_Factions)

    You just have to drop their rating, which we do. The problem we have is making the zeds attack the AI, which is a little trickier. According to the API's you can turn zeds from Civilian into another faction, but I never got around to that before I quit working on this project.
  18. S

    Simple AI Tutorial (no rMod or DayZ_Factions)

    Hey guys, my code got corrupted somewhere, but I will give you quick instructions on how to add the respawn. After your createUnit commads you're going to add "addMPEventHandler["MPKilled",[this] execVM 'YOURFILENAME.SQF'];" In that file, you're going to put a sleeptimer and then another...
  19. S

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

    HEY! Update your server, I can't connect. :)
  20. S

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

    You provide a number for the humanity.. mine is set to 2499 currently, so 1 kill and you're f'd, but you could set it to 0 or even -5000 if you wanted.
Back
Top