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"]...
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
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...
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.
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...
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...
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...
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 _
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...
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 .
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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.