Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
//set skills
_aiunit setSkill ["aimingAccuracy",0.8];
_aiunit setSkill ["aimingShake",0.8];
_aiunit setSkill ["aimingSpeed",0.8];
_aiunit setSkill ["endurance",0.9];
_aiunit setSkill ["spotDistance",1.0];
_aiunit setSkill ["spotTime",1.0];
_aiunit setSkill ["courage",0.9];
_aiunit setSkill ["reloadSpeed",0.8];
_aiunit setSkill ["commanding",1];
_aiunit setSkill ["general",1];
Line 5 of add_unit_server.sqf:
_aiGroup = createGroup resistance;
Change resistance to East or whatever.
waitUntil{initialized};
//0Day
//createCenter east;
createCenter resistance;
//Survivors
WEST setFriend [RESISTANCE,0];
WEST setFriend [EAST,0];
//AI Units Missions
EAST setFriend [RESISTANCE,0];
EAST setFriend [WEST,0];
EAST setFriend [CIVILIAN,0];//AI Units attack zeds
//Unused
RESISTANCE setFriend [WEST,0];
RESISTANCE setFriend [EAST,0];
RESISTANCE setFriend [CIVILIAN,0];//AI Units attack zeds
//Zeds
CIVILIAN setFriend [RESISTANCE,0];//Zeds attack AI units
CIVILIAN setFriend [EAST,0];//Zeds attack AI units
// side definitions
createCenter east;
createCenter resistance;
// unfriendly AI bandits
EAST setFriend [WEST, 0];
EAST setFriend [RESISTANCE, 0];
// Players
WEST setFriend [EAST, 0];
WEST setFriend [RESISTANCE, 1];
// friendly AI
RESISTANCE setFriend [EAST, 0];
RESISTANCE setFriend [WEST, 1];
SAR_AI_friendly_side = resistance;
SAR_AI_unfriendly_side = east;
Arterio, the easiest way to fix your problem is to go into all the add_unit_server.sqf's in your Missions folder and change RESISTANCE to EAST.
Arterio, the easiest way to fix your problem is to go into all the add_unit_server.sqf's in your Missions folder and change RESISTANCE to EAST.
Abstrakt, we can't help without more information. Mostly likely you forgot to close a command in the init.sqf. Make sure all your commands are closed with a semi-colon. Check your .RPT log for errors.
fnc_hTime = compile preprocessFile "\z\addons\dayz_server\Missions\misc\fnc_hTime.sqf;
Abstrakt, the code snippet you posted is till wrong. You're missing the closing quotes which come before the semi-colon.
Arterio, yes, open all 3 add_unit_server files. In each of them change Resistance to East.