Search results

  1. S

    Simple AI Tutorial (no rMod or DayZ_Factions)

    It's addWaypoint, which is on line 10. I have to restart my server after making changes to this file. You may have to as well.
  2. S

    Simple AI Tutorial (no rMod or DayZ_Factions)

    Something I came across at one point was the localization of variables was affecting my commands. You might try doing something like this: private ["_player","_killer","_aispawnpos","_wpradius","_wpnum","_numUnits","_unitType","_faction","_baseSkill","_potentialSkill","_gearSet","_respawnTime"]...
  3. S

    Simple AI Tutorial (no rMod or DayZ_Factions)

    The way I tested mine was set respawn time to 60 and watched them respawn after a minute.
  4. S

    Simple AI Tutorial (no rMod or DayZ_Factions)

    If you don't add this code, nothing will happen at all, and they will just die. If you add this code, it will add to the zombie kills. If you switch zombieKills with banditKills it will add to bandit kills. It will add 100 humanity for the kills. You can adjust that where it says _humanity+100
  5. S

    Simple AI Tutorial (no rMod or DayZ_Factions)

    You're using an old version of the script, so I can only guess that you're using old files as well, because if you're using that init with the most recent files, then you're not going to be working correctly. That init correctly corresponds to the older files, as long as you have a scripts...
  6. S

    Simple AI Tutorial (no rMod or DayZ_Factions)

    On page 1 of this thread, someone was nice enough to list all of the unbanned skins. To change the skins, just add a gearSet with the skins you want and reference it. gearSet is independant of faction.
  7. S

    Simple AI Tutorial (no rMod or DayZ_Factions)

    [187,[6427.42,2623.43,0.001] should instead be [6427.42,2623.43,0]
  8. S

    Simple AI Tutorial (no rMod or DayZ_Factions)

    It won't even let me open that PBO
  9. S

    Simple AI Tutorial (no rMod or DayZ_Factions)

    All the files that are part of your original mission pbo should remain untouched except init.sqf
  10. S

    Simple AI Tutorial (no rMod or DayZ_Factions)

    Yes. Just leave out the part about getting rid of them. The first part is to make NPCs attack zombies.
  11. S

    20 min night 1 hour day

    You might be able to setup a basic script that loops while the server is active and every 1 minute it will jump ahead 5 minutes, which would make 6 hour rotations, or every 1 minute jump ahead 11 which would make 2 hour rotations. If you can see the pattern here, it's just advancing the day...
  12. S

    20 min night 1 hour day

    Judging by comments made, I would assume that you would have to do some sort of sleep timer on the server that says after 40 minutes, skip ahead however many hours it is till dark, and then sleep 20 minutes, and then skip ahead however many hours till daylight. The inherent problems with this...
  13. S

    Simple AI Tutorial (no rMod or DayZ_Factions)

    That typically means you're trying to give them a weapon that is banned by your server. There could be other reasons, but that is the primary.
  14. S

    Simple AI Tutorial (no rMod or DayZ_Factions)

    I lied, put that code ABOVE the sleep timer.. or else it will wait till the respawn to give you the kill.
  15. S

    Simple AI Tutorial (no rMod or DayZ_Factions)

    For now, add this to the unit_killed.sqf above the sleep timer. This will increase your zombie counter by 1, and increase your humanity by 100 for each NPC killed. I remember getting a wierd glitch where I would get 2 kills for each npc I killed, but I can't remember why it was in the end. This...
  16. S

    Simple AI Tutorial (no rMod or DayZ_Factions)

    To fix BE #53, open your scripts.txt and find addMPEventHandler and change the leading 5 to a 1. I have to leave mine without the _ to get it to work, but for whatever reason you may need yours to have the _
  17. S

    Simple AI Tutorial (no rMod or DayZ_Factions)

    thebes: I'm not sure about summoning a zombie horde. Their waypoints are determined using server code, so you would have to write a bunch of stuff, and I'm not sure you can use zombie skins in dayz. It could definitely be done, but i'm just not sure how. If anyone wants me to make them a...
  18. S

    Simple AI Tutorial (no rMod or DayZ_Factions)

    I'll be home in about3hours and will answer your questions. reading from my phone at work currently. I already know how to add them to the debug monitor and I will download fraps or something and do a simple video tutorial soon. I will upload a fully modified pbo too .
  19. S

    Simple AI Tutorial (no rMod or DayZ_Factions)

    Updated the original post to include the code required for respawning your units. What do you want next? I'm only going to be working on this during the week, because my server is pretty full on weekends, but let me know what you guys want next and I will start working on it. I'm going to...
  20. S

    Simple AI Tutorial (no rMod or DayZ_Factions)

    Hey guys, sorry I've been gone a while. Decided to get another server for the time being, and i'm working on the respawn code as we speak. I've gone the way of getting rid of zombies entirely, and just using npc's (i'm on a deathmatch server now), so I haven't made any progress with making...
Back
Top