Jump to content

Wicked AI/Mission system


Markk311

Recommended Posts

Just now, Zephish said:

Yes, I have followed the tutorial in dept, it just doesnt work for me for some reason.

you have plot4 life?   if u have it,, u need edit server_monitor.sqf  into  serverRoot/custom/     folder

Link to comment
Share on other sites

26 minutes ago, juandayz said:

you have plot4 life?   if u have it,, u need edit server_monitor.sqf  into  serverRoot/custom/     folder

Yeah, but where do I put the custom folder, into my pbo or just the root folder with all of the files in it?

Link to comment
Share on other sites

6 minutes ago, Zephish said:

Yeah, but where do I put the custom folder, into my pbo or just the root folder with all of the files in it?

ok, put WAI missions into  dayz_server.pbo.   pack it again.

now go to YourServer Root/custom/  and open server_monitor.sqf and:  (thatss means you not have to edit the server_monitor.sqf into dayz_Server.pbo... cuz plot4 life are taking it from  server root/custom/ folder. )

 Add above allowConnection = true; in server_monitor.sqf

    [] ExecVM "\z\addons\dayz_server\WAI\init.sqf";
    allowConnection = true;

 

Link to comment
Share on other sites

do you understand me?   if u have plot 4 life... this mod take server_monitor.sqf  out of dayz_server.pbo.     So for now on.. you need to make all kind of changes  in server_monitor.sqf   in the new location....  if u have doubts....  open your init.sqf  and search "server_monitor.sqf"  to see the routh.

Link to comment
Share on other sites

3 minutes ago, juandayz said:

ok, put WAI missions into  dayz_server.pbo.   pack it again.

now go to YourServer Root/custom/  and open server_monitor.sqf and: 

 Add above allowConnection = true; in server_monitor.sqf


    [] ExecVM "\z\addons\dayz_server\WAI\init.sqf";
    allowConnection = true;

 

Like so?

Screenshot_5.png

Link to comment
Share on other sites

ok.. open this Custom folder... you will see. a server_monitor.sqf...  open it and paste:

 [] ExecVM "\z\addons\dayz_server\WAI\init.sqf";

above:

 allowConnection = true;

  save and close.

Now open :

serverRoot\@DayZ_Epoch_Server\addons\dayz_server\

paste WAI folder.

repack dayz_server.pbo-

done!

 

Link to comment
Share on other sites

Just now, juandayz said:

ok.. open this Custom folder... you will see. a server_monitor.sqf...  open it and paste:


 [] ExecVM "\z\addons\dayz_server\WAI\init.sqf";

above:


 allowConnection = true;

  save and close.

Now open :

serverRoot\@DayZ_Epoch_Server\addons\dayz_server\

paste WAI folder.

repack dayz_server.pbo-

done!

 

Ok, Im gonna start it up now and give it a try.

Link to comment
Share on other sites

28 minutes ago, juandayz said:

paste the path to your server_monitor.sqf   the one of ure editing.

and please paste your whole init.sqf

server_monitor - Desktop\Epoch\custom

#init.sqf

 

/*    
    For DayZ Epoch
    Addons Credits: Jetski Yanahui by Kol9yN, Zakat, Gerasimow9, YuraPetrov, zGuba, A.Karagod, IceBreakr, Sahbazz
*/
startLoadingScreen ["","RscDisplayLoadCustom"];
cutText ["","BLACK OUT"];
enableSaving [false, false];

//REALLY IMPORTANT VALUES
dayZ_instance =    11;                    //The instance
dayzHiveRequest = [];
initialized = false;
dayz_previousID = 0;

//disable greeting menu 
player setVariable ["BIS_noCoreConversations", true];
//disable radio messages to be heard and shown in the left lower corner of the screen
enableRadio false;
// May prevent "how are you civillian?" messages from NPC
enableSentences false;
//disable weight
DZE_R3F_WEIGHT = false;
//quick build
DZE_StaticConstructionCount = 1;

// DayZ Epoch config
spawnShoremode = 1; // Default = 1 (on shore)
spawnArea= 1500; // Default = 1500

MaxVehicleLimit = 0; // Default = 50
MaxDynamicDebris = 500; // Default = 100
dayz_MapArea = 14000; // Default = 10000
dayz_maxLocalZombies = 30; // Default = 30 

//variables epoch
call compile preprocessFileLineNumbers "config\epochconfig.sqf";

dayz_paraSpawn = false;

dayz_minpos = -1; 
dayz_maxpos = 16000;

dayz_sellDistance_vehicle = 10;
dayz_sellDistance_boat = 30;
dayz_sellDistance_air = 40;

dayz_maxAnimals = 5; // Default: 8
dayz_tameDogs = true;
DynamicVehicleDamageLow = 0; // Default: 0
DynamicVehicleDamageHigh = 100; // Default: 100

DZE_BuildOnRoads = false; // Default: False
DZE_noRotate = []; //Objects that cannot be rotated. Ex: DZE_noRotate = ["ItemVault"] (NOTE: The objects magazine classname)
DZE_vectorDegrees = [0.01, 0.1, 1, 5, 15, 45, 90];
DZE_curDegree = 45; //Starting rotation angle. //Prefered any value in array above
DZE_dirWithDegrees = true; //When rotating objects with Q&E, use the custom degrees

EpochEvents = [["any","any","any","any",30,"crash_spawner"],["any","any","any","any",0,"crash_spawner"],["any","any","any","any",15,"supply_drop"]];
dayz_fullMoonNights = true;

//Load in compiled functions
call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\variables.sqf";                //Initilize the Variables (IMPORTANT: Must happen very early)
progressLoadingScreen 0.1;
call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\publicEH.sqf";                //Initilize the publicVariable event handlers
progressLoadingScreen 0.2;
call compile preprocessFileLineNumbers "\z\addons\dayz_code\medical\setup_functions_med.sqf";    //Functions used by CLIENT for medical
progressLoadingScreen 0.4;
call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\compiles.sqf";                //Compile regular functions
progressLoadingScreen 0.5;
call compile preprocessFileLineNumbers "server_traders.sqf";                //Compile trader configs
progressLoadingScreen 1.0;

"filmic" setToneMappingParams [0.153, 0.357, 0.231, 0.1573, 0.011, 3.750, 6, 4]; setToneMapping "Filmic";

if (isServer) then {
    call compile preprocessFileLineNumbers "\z\addons\dayz_server\missions\DayZ_Epoch_11.Chernarus\dynamic_vehicle.sqf";
    //Compile vehicle configs
    
    // Add trader citys
    _nil = [] execVM "\z\addons\dayz_server\missions\DayZ_Epoch_11.Chernarus\mission.sqf";
    _serverMonitor =     [] execVM "\z\addons\dayz_code\system\server_monitor.sqf";
};

if (!isDedicated) then {
    //Conduct map operations
    0 fadeSound 0;
    waitUntil {!isNil "dayz_loadScreenMsg"};
    dayz_loadScreenMsg = (localize "STR_AUTHENTICATING");
    
    //Run the player monitor
    _id = player addEventHandler ["Respawn", {_id = [] spawn player_death;}];
    _playerMonitor =     [] execVM "\z\addons\dayz_code\system\player_monitor.sqf";    
    
};

    //Lights
    //[false,12] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf";
    
};


//Start Dynamic Weather
execVM "\z\addons\dayz_code\external\DynamicWeatherEffects.sqf";


#include "\z\addons\dayz_code\system\BIS_Effects\init.sqf"

Link to comment
Share on other sites

see in your init.sqf  your calling your server_monitor.sqf from dayz_server.pbo.  not from  cstom folder-

 your init.sqf:

_serverMonitor =     [] execVM "\z\addons\dayz_code\system\server_monitor.sqf";

 

thats means you need go to

 Desktop\Epoch \@DayZ_Epoch_Server\addons\dayz_server.pbo

use pbo manager to unpack it.  then u have this new path :

 Desktop\Epoch \@DayZ_Epoch_Server\addons\dayz_server \system\

inside it.. you have your server_monitor.sqf

open it  and find:

 allowConnection = true;

above it. paste:

 [] ExecVM "\z\addons\dayz_server\WAI\init.sqf";

save and close  server_monitor.sqf

repack your :

Desktop\Epoch \@DayZ_Epoch_Server\addons\dayz_server

 

 

Link to comment
Share on other sites

2 minutes ago, juandayz said:

see in your init.sqf  your calling your server_monitor.sqf from dayz_server.pbo.  not from  cstom folder-

 your init.sqf:

_serverMonitor =     [] execVM "\z\addons\dayz_code\system\server_monitor.sqf";

 

thats means you need go to

 Desktop\Epoch \@DayZ_Epoch_Server\addons\dayz_server.pbo

use pbo manager to unpack it.  then u have this new path :

 Desktop\Epoch \@DayZ_Epoch_Server\addons\dayz_server \system\

inside it.. you have your server_monitor.sqf

open it  and find:


 allowConnection = true;

above it. paste:


 [] ExecVM "\z\addons\dayz_server\WAI\init.sqf";

save and close  server_monitor.sqf

repack your :

Desktop\Epoch \@DayZ_Epoch_Server\addons\dayz_server

 

 

Yeah, I have already done that too. Ive tried it both ways, I even did a fresh install of my server and tried just WAI without any other sripts, still no luck.

Link to comment
Share on other sites

Just now, Zephish said:

Yeah, I have already done that too. Ive tried it both ways, I even did a fresh install of my server and tried just WAI without any other sripts, still no luck.

strange,,, its one of the most easy mods to install....  have any error in your rpt?

Link to comment
Share on other sites

Zephish

It looks like you are running a Chernaurus Epoch server.

If that's the case open up your MPMissions folder and look for Dayz_Epoch_11.chernaurus and open it up.

Place the custom folder with the server_monitor. sqf into that folder.

Open up the init.sqf and change this line: _serverMonitor =     [] execVM "\z\addons\dayz_code\system\server_monitor.sqf";

into this:  _serverMonitor =     [] execVM "custom\system\server_monitor.sqf";

Make sure that the server_monitor.sqf has

[] ExecVM "\z\addons\dayz_server\WAI\init.sqf";

 pasted above

allowConnection = true;

 

and you should be good.

Link to comment
Share on other sites

21 hours ago, juandayz said:

ok.. open this Custom folder... you will see. a server_monitor.sqf...  open it and paste:


 [] ExecVM "\z\addons\dayz_server\WAI\init.sqf";

above:


 allowConnection = true;

  save and close.

Now open :

serverRoot\@DayZ_Epoch_Server\addons\dayz_server\

paste WAI folder.

repack dayz_server.pbo-

done!

 

@salivalhe alredy try it.             about server_monitor.sqf he try in his serverRoot\custom\  folder---  and in his dayz_server.pbo (he have it in here).

Link to comment
Share on other sites

Yep Salival you're right, I misread the part about Plot4Life.

Zephish please disregard my previous post.

I've been able to get WAI  to work on multiple servers just by adding the following to the server_monitor.sqf

[] ExecVM "\z\addons\dayz_server\WAI\init.sqf";

 

pasted above

allowConnection = true;

 

As Salival said WAI goes into the root of the server PBO

you have too de-PBO dayz_server  and place it in that folder.

dayz_serverfolder contains folders called

compile,

init

missions

modules

system and WAI when placed correctly.

 

Link to comment
Share on other sites

Ok guys, I did a fresh install of the server. And installed just infistar and WAI, it worked fine. Then I added vector building, plot 4 life, and snap building, then it quit working again. So its a problem with the way Im installing other things. Im looking for a tutorial now so I can hopefully get everything working together. Thank you all for your suggestions.

Link to comment
Share on other sites

Plot 4 Life works with it because I know of 2 servers that use it. Im just not entirely sure how to install build vectors, and snap building. I dont understand the tutorial and I havent exactly been able to find anyone that would help me install it.

Link to comment
Share on other sites

  • 4 months later...
3 hours ago, Thug said:

Hello all,

I moved a WAI Folder from one server to another. Where I moved it to is a smaller map.

So the missions are spawning in the water sometimes.

My question is, How does WAI find the center of the map of its script?

 

In DZMS you can put down the co ordinates for the centre of the map in the ini and it will sort it self out...

With WAI i cant find such a setting :( 

The only setting i found is this  -

 wai_avoid_water                = 50;                                // avoid spawning missions this close to water

This is found in WAI's config file :) Maybe try a higher number... 

Link to comment
Share on other sites

  • 2 weeks later...
On 11/22/2016 at 0:37 AM, Thug said:

My question is, How does WAI find the center of the map of its script?

Found it, in the mission.sqm

    class Markers
    {
        items=18;
        class Item0
        {
            position[]={6500,381,8500};
            name="center";
            type="Empty";
        };

I shifted the center over and up. No more problems that I can see.

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Advertisement
×
×
  • Create New...