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...
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...
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...
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?
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...
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...
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...
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...
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.
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
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.
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...
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...
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.