Jump to content
Sign in to follow this  
xyberviri

DayZ Factions:Dayz Zed/Bandit Faction addon (v00)

Recommended Posts

Hello there server owners i made a addon for my server and i though i might release it in case it helps anyone else.

For anyone that has modded their server and added AI, you probably discovered that your AI don't seem to want to kill Zeds that want to kill you. Currently the only solution is to set the Civilian faction to enemy, this has the side effect of locking you out of the corpses and/or other containers.

This addon changes the side relations for zeds and bandits so that the side attached to the unit is correct to "Resistance" all zombies and "OppFor" for the two bandit units. This will allow any AI added to the game to identify the unit with the correct reaction. Additionally this means that the mission editor does not have to modify the side relations for civilian and therefor the players are not locked out of containers that have no side relations(even though they are all really civ)

Added ZED Faction - All zombies are now found under GUR > ZED in the mission editor

Added Bandit Faction - All bandits are now found under OPP >Bandit in the mission editor

Files: @DayZ_Factions.zip

Server key: Yes

http://www.twitch.tv/xyberviri/b/358105298

http://www.youtube.com/watch?feature=player_embedded&v=la7uMt2boyc

http://www.youtube.com/watch?v=ug7NvU6RdPQ

Add the following init to your init.sqf:

if (isServer) then {
hiveInUse = true;
_serverMonitor = [] execVM "\z\addons\dayz_server\system\server_monitor.sqf";
_dayzFactions = [] execVM "Dayz_Factions\init.sqf";
};

Copy the following folder included to your mission root:

"Dayz_Factions\init.sqf"

Init code is always needed other wise stuff wont work properly.

this is the init code:

waitUntil{initialized};
//0Day
createCenter east;
createCenter resistance;
//Survivors
WEST setFriend [RESISTANCE,0];
WEST setFriend [EAST,0];
//Bandits
EAST setFriend [RESISTANCE,0];
EAST setFriend [WEST,0];

Since zed AI is controlled by the player pc and is not tied to faction this does not change the behavior of zeds attacking players, however at this time zeds will not attack the ai that helps you, however they may not need to as the ai in arma is pretty stupid and will get killed when surrounded by zeds that don't act like insurgents. This is outside of my control as the FSM for zed ai does not look for non player targets perhaps with the next update the group will be seen the same as vehicles and that may or may not change, probably not.

At least that is what i have gathered so far, post below if you have any issues however I may not be able to provide any kind of support.

Naming: this addon is being called DayZ Factions because that is what is missing period.

Disclaimer: i take no responsibility for anything that happens as a result of the use of DayZ_Factions, Dayz_Factions is not provided with any kind of support implied explicit or otherwise. This add on works for my server it may or may not work on your server, if it doesn't work ask for help if i can't help you I'm sorry but don't blow up my inbox.

Edited by xyberviri

Share this post


Link to post
Share on other sites

mods feel free to delete or move or whatever this thread since there isn't really an addon section on this site

Share this post


Link to post
Share on other sites

Hello, yes its that guy with a name no one can pronouce.

here is a video from the Project Awsome Servers now running DayZ Factions

http://www.youtube.com/watch?feature=player_embedded&v=la7uMt2boyc

http://www.youtube.com/watch?v=ug7NvU6RdPQ

Those aren't players

This will make DAC work with bandits and allow you to have fire fights with Zeds

Edited by xyberviri

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×