Jump to content

Wicked AI/Mission system


Markk311

Recommended Posts

I put WAI in folder dayz_server. I added [] ExecVM "\z\addons\dayz_server\WAI\init.sqf"; over row allowConnection = true; in server_monitor.sqf. But after the launch does not appear anything from "Wicked AI feature list".

Maybe I did something wrong?

Link to comment
Share on other sites

I put WAI in folder dayz_server. I added [] ExecVM "\z\addons\dayz_server\WAI\init.sqf"; over row allowConnection = true; in server_monitor.sqf. But after the launch does not appear anything from "Wicked AI feature list".

Maybe I did something wrong?

You have to set the config files to how you want it.

Link to comment
Share on other sites

It stopped at static spawns with an error. Try it with the fixed static spawns and check your RPT for errors.

 

Everything works like a champ with the fix, I have a question though. Running the static spawns and paradrops is there a way after you kill the wave that drops in next time a player goes into the area again it will repeat the action?

Link to comment
Share on other sites

Hey everybody...

 

Nice work, but i've a Problem with the WAI System... the AI don't shoot a vehile.... so you could only drive with a SUV to the spawn area and kill one by one without a gunshot. So that's really freeloot for all Players.

 

What's going wrong there and how could i fix it?

 

I use the script without a modification at a custom Epoch 1.0.3 Server without any other AI script.

Link to comment
Share on other sites

i think your passing something incorrectly inside the crash_spawner to spawn_loot

3:40:27 Error in expression <t 2;
_radius =	_this select 3;

switch (_iClass) do
{
default
{

_item = createV>
 3:40:27   Error position: <_iClass) do
{
default
{

_item = createV>
 3:40:27   Error Undefined variable in expression: _iclass
 3:40:27 File z\addons\dayz_code\compile\spawn_loot.sqf, line 10
 3:40:27 Error in expression <
_itemType = _itemTypes select _index;
[_itemType select 0, _itemType select 1, >
 3:40:27   Error position: <_itemType select 0, _itemType select 1, >
 3:40:27   Error Undefined variable in expression: _itemtype
 3:40:27 File z\addons\dayz_server\WAI\missions\missions\crash_spawner.sqf, line 74
Link to comment
Share on other sites

heres a copy of my rpt i've just installed the 0.16 files and running epoch 1.0.3

 

15:01:14 "WAI: Starting Mission crash_spawner"
15:01:14 "WAI: Mission Crash_Spawner Started At [13073.8,12756]"
15:01:14 UH1Wreck_DZ: MainTurret - unknown animation source MainTurret
15:01:14 UH1Wreck_DZ: MainGun - unknown animation source mainGun
15:01:14 UH1Wreck_DZ: Gatling - unknown animation source Gatling
15:01:14 Error in expression <t 2;
_radius = _this select 3;
 
switch (_iClass) do
{
default
{
 
_item = createV>
15:01:14   Error position: <_iClass) do
{
default
{
 
_item = createV>
15:01:14   Error Undefined variable in expression: _iclass
15:01:14 File z\addons\dayz_code\compile\spawn_loot.sqf, line 10
15:01:14 Error in expression <s select _index;
_itemType = _itemTypes select _index;
[_itemType select 0, _ite>
15:01:14   Error position: <select _index;
[_itemType select 0, _ite>
15:01:14   Error Zero divisor
15:01:14 File z\addons\dayz_server\WAI\missions\missions\crash_spawner.sqf, line 73
15:01:14 Error in expression <t 2;
_radius = _this select 3;
 
switch (_iClass) do
{
default
{
 
_item = createV>
15:01:14   Error position: <_iClass) do
{
default
{
 
_item = createV>
15:01:14   Error Undefined variable in expression: _iclass
15:01:14 File z\addons\dayz_code\compile\spawn_loot.sqf, line 10
15:01:14 Error in expression <s select _index;
_itemType = _itemTypes select _index;
[_itemType select 0, _ite>
15:01:14   Error position: <select _index;
[_itemType select 0, _ite>
15:01:14   Error Zero divisor
15:01:14 File z\addons\dayz_server\WAI\missions\missions\crash_spawner.sqf, line 73
15:01:14 Error in expression <t 2;
_radius = _this select 3;
 
switch (_iClass) do
{
default
{
 
_item = createV>
15:01:14   Error position: <_iClass) do
{
default
{
 
_item = createV>
15:01:14   Error Undefined variable in expression: _iclass
15:01:14 File z\addons\dayz_code\compile\spawn_loot.sqf, line 10
15:01:14 Error in expression <s select _index;
_itemType = _itemTypes select _index;
[_itemType select 0, _ite>
15:01:14   Error position: <select _index;
[_itemType select 0, _ite>
15:01:14   Error Zero divisor
15:01:14 File z\addons\dayz_server\WAI\missions\missions\crash_spawner.sqf, line 73
15:01:14 Error in expression <t 2;
_radius = _this select 3;
 
switch (_iClass) do
{
default
{
 
_item = createV>
15:01:14   Error position: <_iClass) do
{
default
{
 
_item = createV>
15:01:14   Error Undefined variable in expression: _iclass
15:01:14 File z\addons\dayz_code\compile\spawn_loot.sqf, line 10
15:01:14 Error in expression <s select _index;
_itemType = _itemTypes select _index;
[_itemType select 0, _ite>
15:01:14   Error position: <select _index;
[_itemType select 0, _ite>
15:01:14   Error Zero divisor
15:01:14 File z\addons\dayz_server\WAI\missions\missions\crash_spawner.sqf, line 73
15:01:14 Error in expression <t 2;
_radius = _this select 3;
 
switch (_iClass) do
{
default
{
 
_item = createV>
15:01:14   Error position: <_iClass) do
{
default
{
 
_item = createV>
15:01:14   Error Undefined variable in expression: _iclass
15:01:14 File z\addons\dayz_code\compile\spawn_loot.sqf, line 10
15:01:14 Error in expression <s select _index;
_itemType = _itemTypes select _index;
[_itemType select 0, _ite>
15:01:14   Error position: <select _index;
[_itemType select 0, _ite>
15:01:14   Error Zero divisor
15:01:14 File z\addons\dayz_server\WAI\missions\missions\crash_spawner.sqf, line 73
15:01:14 "WAI: Spawned a group of 6 Bandits at [13073.8,12756,0]"
15:03:14 "6 Active ground units"
15:03:14 "0 Active emplacement units"
15:03:14 "0 Active chopper patrol units (Crew)"
15:03:14 "0 Active vehicle patrol units (Crew)"
15:05:21 "DEBUG FPS : 47.9042"
15:05:21 "TIME SYNC: Local Time set to [2013,8,3,18,5]"
15:06:07 "34:53 Debug: Weather forecast: Overcast 0.380211 in 19 minutes."
15:07:59 "36:45 Debug: Rain / snow stops due to low overcast."
15:10:21 "DEBUG FPS : 48.048"
15:10:21 "TIME SYNC: Local Time set to [2013,8,3,18,10]"
15:13:14 "6 Active ground units"
15:13:14 "0 Active emplacement units"
15:13:14 "0 Active chopper patrol units (Crew)"
15:13:14 "0 Active vehicle patrol units (Crew)"
Link to comment
Share on other sites

With the update, was there a fix so they respawn? I walled off a town and made it an ai town with vehicles, ai spawns and paradrops.. problem is once someone clears it, that area is dead until the next server restart and with 6hr restarts, that can take a long time.

Will be in next update

Link to comment
Share on other sites

 

i think your passing something incorrectly inside the crash_spawner to spawn_loot

3:40:27 Error in expression <t 2;
_radius =	_this select 3;

switch (_iClass) do
{
default
{

_item = createV>
 3:40:27   Error position: <_iClass) do
{
default
{

_item = createV>
 3:40:27   Error Undefined variable in expression: _iclass
 3:40:27 File z\addons\dayz_code\compile\spawn_loot.sqf, line 10
 3:40:27 Error in expression <
_itemType = _itemTypes select _index;
[_itemType select 0, _itemType select 1, >
 3:40:27   Error position: <_itemType select 0, _itemType select 1, >
 3:40:27   Error Undefined variable in expression: _itemtype
 3:40:27 File z\addons\dayz_server\WAI\missions\missions\crash_spawner.sqf, line 74

Nice catch. Accidentally put a custom loot table line in there

find

missionconfigFile

and change to

configFile

 

in crash_spawner

Link to comment
Share on other sites

Hey everybody...

 

Nice work, but i've a Problem with the WAI System... the AI don't shoot a vehile.... so you could only drive with a SUV to the spawn area and kill one by one without a gunshot. So that's really freeloot for all Players.

 

What's going wrong there and how could i fix it?

 

I use the script without a modification at a custom Epoch 1.0.3 Server without any other AI script.

You might need to give them better guns, and clear the bodies on death. Sounds like your server is at low FPS causing the AI to be stupid.

Link to comment
Share on other sites

The default time for the missions is 30 minutes after server starts, you can change this.

To see if one ran search your RPT log for WAI and you should see entries like this :

 

11:06:23 "WAI: AI Config File Loaded"
11:06:23 "WAI: AI Monitor Started"
11:06:23 "WAI: Mission Config File Loaded"
11:06:23 "WAI: Starting AI Missions Moniter"

 

10:35:03 "WAI: Starting Mission disabled_milchopper"
10:35:03 "WAI: Mission Armed Chopper Started At [6098.13,8610.59,0]"
10:35:03 "WAI: Mission Armed Chopper spawned a UH-1H"
10:35:04 "WAI: Spawned a group of 6 Bandits at [6098.13,8610.59,0]"
10:35:04 "WAI: Spawned a group of 4 Bandits at [6098.13,8610.59,0]"
10:35:04 "WAI: Sapwned in 1 M2StaticMG"

10:45:32 "WAI: Mission armed chopper Ended At [6098.13,8610.59,0]"

 

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