Jump to content

[Release] Wicked AI 2.2.0


f3cuk

Recommended Posts

  On 1/7/2017 at 1:06 AM, oldmatechoc said:

 

Expand  

So I have read through all that and seems that it was an issue with EMS and WAI 2.2.1. I am running WAI 2.2.0 and DZAI. There was never a real answer on how to fix it from what i saw. I tried a few of the suggestions and it didn't work. Still get the same error. So not sure what to do at this point.

Link to comment
Share on other sites

  On 1/7/2017 at 7:49 PM, oldmatechoc said:

no worries. good luck! let us know how it goes :D

Expand  

Ok that worked. But I am still getting an old error that no one seemed to answer for me. Here is the error again. 2 errors actually. So you know, I don't have the Patrol mission or the Bandit Patrol

12:08:13 Error in expression <launcher call find_suitable_ammunition;
_unit addMagazine _rocket;
_unit addMaga>
12:08:13   Error position: <_unit addMagazine _rocket;
_unit addMaga>
12:08:13   Error Undefined variable in expression: _unit
12:08:13 File z\addons\dayz_server\WAI\compile\spawn_group.sqf, line 193
12:08:13 "WAI: Spawned a group of any AI (Bandit) at [17260.2,3552.9,0]"
12:08:13 Error in expression < random(25));
};
};

for "_x" from 1 to _unitnumber do {

call {
if(typeName(_gu>
12:08:13   Error position: <_unitnumber do {

call {
if(typeName(_gu>
12:08:13   Error Undefined variable in expression: _unitnumber
12:08:13 File z\addons\dayz_server\WAI\compile\spawn_group.sqf, line 62

 

Link to comment
Share on other sites

Update per error with 

 5:36:49 Error in expression < getVariable["actionSet", false];

if (!_actionSet) then {
s_player_holderPickup>
 5:36:49   Error position: <_actionSet) then {
s_player_holderPickup>
 5:36:49   Error Undefined variable in expression: _actionset
 5:36:49 File z\addons\dayz_code\init\object_BackpackAction.sqf, line 13

Still getting it.

Link to comment
Share on other sites

  Reveal hidden contents

Something like this.

Instead of

	if(_complete) then {
		[_crate,8,5,15,2] call dynamic_crate;
	};

in each mission's file. Dont remember to change classnames for 1.0.6 (this is for 1.0.5.1).

Link to comment
Share on other sites

  On 12/31/2016 at 10:04 PM, salival said:

In debugging WAI I have noticed sometimes the AI spawn in and either land on top of each other so the other AI shoot them (haha) or they spawn in dead.

Adding more AI to a mission is as simple as editing the specific mission, for instance missions\bandit\armed_vehicle.sqf:

 

	[[_position select 0,_position select 1,0],_rndnum,"Medium",["Random","AT"],3,"Random","Hero","Random","Hero",_mission] call spawn_group;
	[[_position select 0,_position select 1,0],_rndnum,"Medium",["Random","AA"],3,"Random","Hero","Random","Hero",_mission] call spawn_group;
	[[_position select 0,_position select 1,0],_rndnum,"Medium","Random",3,"Random","Hero","Random","Hero",_mission] call spawn_group;

You need to modify the number before the "Random" there to suit your needs. Currently this mission is spawning 9 AI. You could for instance set that to say 9 per spawn_group to be 27.

Expand  

What does this refer too?

_num = 4 + round (random 3);

I have increased like you said, but still seem to not be getting the amount i want. Do the above line make any difference?

Link to comment
Share on other sites

  On 1/9/2017 at 9:56 PM, DAKA said:

What does this refer too?

_num = 4 + round (random 3);

I have increased like you said, but still seem to not be getting the amount i want. Do the above line make any difference?

Expand  

Actually, looking back at this I was telling you lies, the _rndnum is what controls the spawning numbers, you could replace _rndnum with a number, i.e 6 for 6 ai to spawn.

Link to comment
Share on other sites

  On 1/9/2017 at 1:32 PM, WLF said:
  Reveal hidden contents

Something like this.

Instead of

	if(_complete) then {
		[_crate,8,5,15,2] call dynamic_crate;
	};

in each mission's file. Dont remember to change classnames for 1.0.6 (this is for 1.0.5.1).

Expand  

That's great thanks. Working great missions working great on 1.0.6 after the changes made to files. Only one thing i am finding is sometimes there is a mission that only spawns 1 ai with no gear. Then once you kill the ai and go to the loot crate nothing comes up about the mission being complete. 

I am waiting until the missions appears again so I can look at the RPT. Anyone else had this issue? (Sorry not sure which mission it is).

Link to comment
Share on other sites

  • 2 weeks later...

so ive installed this script but im having some troubles with the missions with things such mission vehicles not spawning, the marker not disappearing off the map to say the missions cleared, bodies disappearing instanstly when shot. its not all the missions but some. Any ideas what it could be?

Link to comment
Share on other sites

The dreaded invisible static gunner bug has suddenly reared its head. Been working fine for weeks, and then randomly one or two static gunners per mission are completely invisible.

They still shoot you, even though thier guns dont look to be firing. You can tell, as the gun doesnt drop like they usually do when the gunner is dead. If you shoot at the gun, or even delete the gun, the ai pops out of nowhere.

Many players now complaining that they kill all ai, even scan using the GPS and no ai are found, yet they get to the mission area and are killed by the m2 gunner.

Apart from removing all static guns, is there anyway around this?

Link to comment
Share on other sites

its not included as default. you need to add it yourself.

for 1.0.6

https://epochmod.com/forum/topic/42965-the-old-extra-right-click-extra_rchpp-for-16/#comment-283384

or just write your own with what ever you want in it.

 

  Reveal hidden contents

 

Link to comment
Share on other sites

  On 1/24/2017 at 2:26 PM, lwbuk said:

its not included as default. you need to add it yourself.

for 1.0.6

https://epochmod.com/forum/topic/42965-the-old-extra-right-click-extra_rchpp-for-16/#comment-283384

or just write your own with what ever you want in it.

 

  Reveal hidden contents

I can just make a .hpp notepad++ file and paste that code inside it yeah? what would I call the .hpp for this code? would it be: extra_hc.hpp  ?

Expand  

 

Link to comment
Share on other sites

Yes exactly. Dont paste that exact code, as thats for my server. You need to add whatever right click actions you want into it, but use the same format.

class ExtraRc {



  class ItemWhateveroyuwantorightclickon {
    class nameofthingyouwanttodo{
      text = "Textshowntoplayeronrightclick";
      script = "execvm 'run whatever script you want to run'";
    };



  };

 

Link to comment
Share on other sites

  • 3 weeks later...

I have gone through the new Pull Files for WAI about 5 times now and I still can't get the damn thing to work. Is there a way someone can send me their wai files that are working on 1.0.6. I am going crazy trying to get it to work. Please.

Link to comment
Share on other sites

  • 1 month later...

Trying to run it on epoch 1.0.6.1 only getting one error, Can anyone help with this?

 

 

16:21:09 Error in expression <n {
for "_i" from 1 to _mags do {
_unit addMagazine _magazine;
};
_unit addweapo>
16:21:09   Error position: <addMagazine _magazine;
};
_unit addweapo>
16:21:09   Error addmagazine: Type Bool, expected Array,String
16:21:09 File z\addons\dayz_server\WAI\compile\spawn_group.sqf, line 141

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Advertisement
×
×
  • Create New...