Jump to content
  • 0

Taviana Misions?


Deanos

Question

18 answers to this question

Recommended Posts

  • 0

The Chernarus Mission system by lazyink works for it. You may want to change some numbers in the mission scripts though so the missions don't only spawn on mountains. Here:

_coords = [getMarkerPos "center",0,5500,100,0,20,0] call BIS_fnc_findSafePos;

Find this line in each of the SM#.sqf scripts (in the Major and Minor folders). You want to change the second number (in this case 5500) to something higher. It sets how far from the center marker that the missions will spawn, so you want to set it pretty high for Taviana. You don't have to worry about them spawning in the ocean, as the fourth number in the BIS_fnc_findSafePos functions is set to 0, which means it'll find a location that isn't in water.

Link to comment
Share on other sites

  • 0

The Chernarus Mission system by lazyink works for it. You may want to change some numbers in the mission scripts though so the missions don't only spawn on mountains. Here:

_coords = [getMarkerPos "center",0,5500,100,0,20,0] call BIS_fnc_findSafePos;

Find this line in each of the SM#.sqf scripts (in the Major and Minor folders). You want to change the second number (in this case 5500) to something higher. It sets how far from the center marker that the missions will spawn, so you want to set it pretty high for Taviana. You don't have to worry about them spawning in the ocean, as the fourth number in the BIS_fnc_findSafePos functions is set to 0, which means it'll find a location that isn't in water.

 

how did this work for tavi there is no fn_bases = compile preprocessFileLineNumbers "\z\addons\dayz_server\compile\fn_bases.sqf";

step 3 says 

Step 3

Open server_functions.sqf

Find:

Code:

fn_bases = compile preprocessFileLineNumbers "\z\addons\dayz_server\compile\fn_bases.sqf";

 

Link to comment
Share on other sites

  • 0

The Chernarus Mission system by lazyink works for it. You may want to change some numbers in the mission scripts though so the missions don't only spawn on mountains. Here:

_coords = [getMarkerPos "center",0,5500,100,0,20,0] call BIS_fnc_findSafePos;

Find this line in each of the SM#.sqf scripts (in the Major and Minor folders). You want to change the second number (in this case 5500) to something higher. It sets how far from the center marker that the missions will spawn, so you want to set it pretty high for Taviana. You don't have to worry about them spawning in the ocean, as the fourth number in the BIS_fnc_findSafePos functions is set to 0, which means it'll find a location that isn't in water.

 then Step 5

Open server_cleanup.fsm
 
cannot find this either 
Code:
if(vehicle _x != _x && !(vehicle _x in _safety) && (typeOf vehicle _x) != ""ParachuteWest"") then {" \n
 
this is the closest line 
" if(vehicle _x != _x && !(vehicle _x in _safety) && (isPlayer _x)  && !((typeOf vehicle _x) in DZE_safeVehicle)) then {" \n
Link to comment
Share on other sites

  • 0

how did this work for tavi there is no fn_bases = compile preprocessFileLineNumbers "\z\addons\dayz_server\compile\fn_bases.sqf";

Just put it after this line:

server_deaths = 			compile preprocessFileLineNumbers "\z\addons\dayz_server\compile\server_playerDeaths.sqf";

this is the closest line 

" if(vehicle _x != _x && !(vehicle _x in _safety) && (isPlayer _x)  && !((typeOf vehicle _x) in DZE_safeVehicle)) then {" \n

That's the line you need to change. Insert this:

 && (vehicle _x getVariable [""Sarge"",0] != 1)

after the "vehicle _x != _x" part.

Link to comment
Share on other sites

  • 0

Just put it after this line:

server_deaths = 			compile preprocessFileLineNumbers "\z\addons\dayz_server\compile\server_playerDeaths.sqf";

That's the line you need to change. Insert this:

 && (vehicle _x getVariable [""Sarge"",0] != 1)

after the "vehicle _x != _x" part.

 

ok thankz for your help in this but its still not working cant even load game now

 

I have tried a few different ways

you said insert not replace I tried both ways

" if(vehicle _x != _x && (vehicle _x getVariable [""Sarge"",0] != 1)&& !(vehicle _x in _safety) && (isPlayer _x)  && !((typeOf vehicle _x) in DZE_safeVehicle)) then {" \n

 

" if(vehicle _x != _x && (vehicle _x getVariable [""Sarge"",0] != 1)

 

"  if(vehicle _x != _x && !(vehicle _x getVariable [""Sarge"",0] != 1)

 

please please please advise

Link to comment
Share on other sites

  • 0

" if(vehicle _x != _x && (vehicle _x getVariable [""Sarge"",0] != 1)&& !(vehicle _x in _safety) && (isPlayer _x)  && !((typeOf vehicle _x) in DZE_safeVehicle)) then {" \n

You need to put a space after the "[""Sarge"",0] != 1)". Should look like this:

if(vehicle _x != _x && (vehicle _x getVariable [""Sarge"",0] != 1) && !(vehicle _x in _safety) && (isPlayer _x)  && !((typeOf vehicle _x) in DZE_safeVehicle)) then {" \n
Link to comment
Share on other sites

  • 0

 

You need to put a space after the "[""Sarge"",0] != 1)". Should look like this:

if(vehicle _x != _x && (vehicle _x getVariable [""Sarge"",0] != 1) && !(vehicle _x in _safety) && (isPlayer _x)  && !((typeOf vehicle _x) in DZE_safeVehicle)) then {" \n

DO I need to have sarge already installed ?? I skipped stp 6 Step 6 (skip if you don't have Sarge AI)

Link to comment
Share on other sites

  • 0

ok step by step 

faction.sqf is in my dayz_mission.pbo root 

debug folder is in my dayz_mission.pbo root 

missions folder is in the dayz_server.pb root

 

 

server_functions.sqf

fnc_plyrHit   = compile preprocessFileLineNumbers "\z\addons\dayz_server\compile\fnc_plyrHit.sqf";
server_deaths = compile preprocessFileLineNumbers "\z\addons\dayz_server\compile\server_playerDeaths.sqf";
fnc_hTime = compile preprocessFile "\z\addons\dayz_server\Missions\misc\fnc_hTime.sqf"; //Random integer selector for mission wait time
 
near the bottom 
 
dayz_recordLogin = {
private["_key"];
_key = format["CHILD:103:%1:%2:%3:",_this select 0,_this select 1,_this select 2];
_key call server_hiveWrite;
};
 
//----------InitMissions--------//
  MissionGo = 0;
  MissionGoMinor = 0;
    if (isServer) then {
  SMarray = ["SM1","SM2","SM3","SM4","SM5","SM6"];
    [] execVM "\z\addons\dayz_server\missions\major\SMfinder.sqf"; //Starts major mission system
    SMarray2 = ["SM1","SM2","SM3","SM4","SM5","SM6"];
    [] execVM "\z\addons\dayz_server\missions\minor\SMfinder.sqf"; //Starts minor mission system
    };
    //---------EndInitMissions------//
 
server_updateObject.sqf
 
    diag_log(format["Non-string Object: ID %1 UID %2", _objectID, _uid]);
    //force fail
    _objectID = "0";
    _uid = "0";
};
 
if (_object getVariable "Mission" == 1) exitWith {};
 

server_cleanup.fsm

 

"//Check for hackers" \n

       " {" \n
       " if(vehicle _x != _x && (vehicle _x getVariable [""Sarge"",0] != 1) && !(vehicle _x in _safety) && (isPlayer _x)  && !((typeOf vehicle _x) in DZE_safeVehicle)) then {" \n
       " diag_log (""CLEANUP: KILLING A HACKER "" + (name _x) + "" "" + str(_x) + "" IN "" + (typeOf vehicle _x));" \n
       " (vehicle _x) setDamage 1;" \n
       " _x setDamage 1;" \n
       " };" \n
       " } forEach allUnits;" \n
       "" \n
 
init.sqf
[] execVM "addons\R3F_ARTY_AND_LOG\init.sqf";
 
[] execVM "custom\seat_action.sqf";
 
[] execVM "custom\mv22fold.sqf";
 
[] execVM "faction.sqf";
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...