Jump to content

[Release] Wicked AI 2.2.3 [1.0.6+]


JasonTM

Recommended Posts

  On 10/16/2017 at 2:01 PM, houst said:

hey all..i have the overpoch version on 1.0.6.1 and i have a issue..the m2 gunners seem to be killing the other AIs when the missions spawn in? any idea what i can do to stop this??

 

Thanks.

Expand  

Do you mean that they shoot other AI's or do they spawn in the other AI's and kill them trough suffocating in an object?

Link to comment
Share on other sites

  On 10/16/2017 at 2:01 PM, houst said:

hey all..i have the overpoch version on 1.0.6.1 and i have a issue..the m2 gunners seem to be killing the other AIs when the missions spawn in? any idea what i can do to stop this??

 

Thanks.

Expand  

are you make a custom mission? if so 

look at 

    //Static Guns
    [[
        [(_position select 0) + 0.1, (_position select 1) + 20, 0],
        [(_position select 0) + 0.1, (_position select 1) - 20, 0]
    ],"M2StaticMG","Easy","Bandit","Bandit",0,2,"Random","Random",_mission] call spawn_static;
 

you notice the    "Bandit","Bandit"

    ],"M2StaticMG","Easy","Bandit","Bandit",0,2,"Random","Random",_mission] call spawn_static;

 

change it to ur likings and DONE!

Link to comment
Share on other sites

  On 10/17/2017 at 4:40 PM, (AOW)Recon said:

are you make a custom mission? if so 

look at 

    //Static Guns
    [[
        [(_position select 0) + 0.1, (_position select 1) + 20, 0],
        [(_position select 0) + 0.1, (_position select 1) - 20, 0]
    ],"M2StaticMG","Easy","Bandit","Bandit",0,2,"Random","Random",_mission] call spawn_static;
 

you notice the    "Bandit","Bandit"

    ],"M2StaticMG","Easy","Bandit","Bandit",0,2,"Random","Random",_mission] call spawn_static;

 

change it to ur likings and DONE!

Expand  

sorry for late reply............no this is just when missions spawn in...i had my admins keep an eye out on them and as they spawned in with m2 gunners they started shooting at the other AI that spawned in with them on that said mission...lol 

Link to comment
Share on other sites

  On 10/24/2017 at 2:49 PM, Randomuser5050450494 said:

Hey guys! Just wondering the missions take way to long to start after the server goes up. How would I speed this up?

Expand  

You want to adjust this line and probably the one below it. The times are in seconds.

https://github.com/worldwidesorrow/WICKED-AI/blob/master/WAI/config.sqf#L126

Link to comment
Share on other sites

Hello,

Does anyone know why WAI is stopping some of the trader menu scroll options from working on some traders I have to right click/zoom on them to get an option for the trader menu. I tested it on a default server no mods and my traders was working correctly but once WAI is installed the problem begins.

thanks.

Link to comment
Share on other sites

  On 11/2/2017 at 1:03 PM, Dr.Killmore said:

Hello,

Does anyone know why WAI is stopping some of the trader menu scroll options from working on some traders I have to right click/zoom on them to get an option for the trader menu. I tested it on a default server no mods and my traders was working correctly but once WAI is installed the problem begins.

thanks.

Expand  

Change the skins of the traders to ones not holding guns

Didnt know this would be related to WAI in any way as you dont modify Fn_SelActions which is what controls you targeting something to be scrollwheel-able

Link to comment
Share on other sites

  On 11/2/2017 at 1:03 PM, Dr.Killmore said:

Hello,

Does anyone know why WAI is stopping some of the trader menu scroll options from working on some traders I have to right click/zoom on them to get an option for the trader menu. I tested it on a default server no mods and my traders was working correctly but once WAI is installed the problem begins.

thanks.

Expand  

Thanks for you're response it is very much appreciated and i apologise for being a bit vague in the first post.

 

The traders don't have weapons it is a standard default epoch chernarus 1.0.6.1 server. First I tried default no infistar no mods installed and traders work fine but when WAI 2.2.1 is installed the issue occurs. There is no client side rpt or server side rpt errors giving any clues as to why this is happening.

 

I will post the traders chernarus11 and fn_selfActions but as you will see they are default I do not know how this can be happening on a default server? On my modded server I also have this problem since 1.0.6.1 this is what made me do a default test clean database clean files and i had the same issue with black market stary, Boat dealer south, vehicle parts bash & bandit trader all have no menu unless you right click/zoom on them. 

I have checked all the skins for sale at traders and i made sure no traders or AI in WAI had conflicting skins.

Thanks.

Edited by Dr.Killmore
removed traders chernarus11 and fn_selfActions from the post as it was irrelevant
Link to comment
Share on other sites

  On 11/2/2017 at 1:48 PM, DieTanx said:

Change the skins of the traders to ones not holding guns

Didnt know this would be related to WAI in any way as you dont modify Fn_SelActions which is what controls you targeting something to be scrollwheel-able

Expand  

Thanks again for you're reply I have quoted with a response to my own post by accident lol so instead of spamming twice I thought I would let you know so I am sure you have seen it.

Link to comment
Share on other sites

  On 11/2/2017 at 1:03 PM, Dr.Killmore said:

Hello,

Does anyone know why WAI is stopping some of the trader menu scroll options from working on some traders I have to right click/zoom on them to get an option for the trader menu. I tested it on a default server no mods and my traders was working correctly but once WAI is installed the problem begins.

thanks.

Expand  

@Dr.Killmore, and other, maybe this will help:

When you experience situation at trader that you have to zoom on trader - which happens mostly when you customized them - this situation IMO is not bug at all. Let me explain.
fn_selfAction is using command 'cursorTarget'. It's in a nature of this command return only targets that are known to player. Let me cite:
 

"While friendly targets are usually known to the player, enemy targets can be totally unknown,
especially if "auto-spotting" (or sometimes called "auto-reporting") is switched off."

Now I will skip some further techicalities and go directly to solution, that might be helpfull:
So what I would to do is check your user config if "auto-spotting" is set to 1. If you are using veteran level, not sure if you can change it.
So, you can customize your "regular" level, or use "veteran" level and consider zoom on trader as normal behavior - by zooming you are revealing target to be known to player.
Recently I helped someone with this kind of problem and above solution worked. If not, probably "reveal" command is the key...

Cheers...

Link to comment
Share on other sites

  On 11/7/2017 at 5:50 PM, iben said:

@Dr.Killmore, and other, maybe this will help:

When you experience situation at trader that you have to zoom on trader - which happens mostly when you customized them - this situation IMO is not bug at all. Let me explain.
fn_selfAction is using command 'cursorTarget'. It's in a nature of this command return only targets that are known to player. Let me cite:
 

"While friendly targets are usually known to the player, enemy targets can be totally unknown,
especially if "auto-spotting" (or sometimes called "auto-reporting") is switched off."

Now I will skip some further techicalities and go directly to solution, that might be helpfull:
So what I would to do is check your user config if "auto-spotting" is set to 1. If you are using veteran level, not sure if you can change it.
So, you can customize your "regular" level, or use "veteran" level and consider zoom on trader as normal behavior - by zooming you are revealing target to be known to player.
Recently I helped someone with this kind of problem and above solution worked. If not, probably "reveal" command is the key...

Cheers...

Expand  

YES... thank you so much my config was on Veteran autoSpot=0; now I changed it to Regular with veteran settings and autoSpot = 1; and all traders work without zoom you are a star thanks again :)

I can't say thank you enough cheers...

Link to comment
Share on other sites

  On 11/8/2017 at 11:37 PM, Dr.Killmore said:

YES... thank you so much my config was on Veteran autoSpot=0; now I changed it to Regular with veteran settings and autoSpot = 1; and all traders work without zoom you are a star thanks again :)

I can't say thank you enough cheers...

Expand  

Your resume is going to help a lot of people, I guess! Thx for coming back with result...
Cheers...

Link to comment
Share on other sites

  • 3 weeks later...

could someone please explain  me how blacklist custom zones?

for example i have this coord : [8246,15485,0]

Ho do i introduce it?

use_blacklist				= true;			// use blacklist
		blacklist					= [
			[[0,16000,0],[1000,-0,0]],				// Left
			[[0,16000,0],[16000.0,14580.3,0]]      // Top
			
		];

 

Link to comment
Share on other sites

  On 11/25/2017 at 1:33 AM, gernika said:

could someone please explain  me how blacklist custom zones?

for example i have this coord : [8246,15485,0]

Ho do i introduce it?

use_blacklist				= true;			// use blacklist
		blacklist					= [
			[[0,16000,0],[1000,-0,0]],				// Left
			[[0,16000,0],[16000.0,14580.3,0]]      // Top
			
		];

 

Expand  

Just add it to the array:

use_blacklist = true;								// use blacklist
		blacklist = [
			[[0,16000,0],[1000,-0,0]],				// Left
			[[0,16000,0],[16000.0,14580.3,0]],		// Top
			[[8246,15485,0],[square coords here]]	//custom 1
		];

But you need another point. The blacklist defines areas so you need 2 points that act like the edges for a square.

Link to comment
Share on other sites

  On 11/29/2017 at 11:43 AM, Kimzer said:

Someone that can share some nice mission notifications??

Expand  

Been testing alot of things lately, but maybe im just too daft to get it working.

Ive seen several servers with very nice notifications, such as the one DTR and RED has. But tbh id settle for just a hintbox at this point. But even that i cant get to work. Im sure i had that working when i used to host a few years back.

 

		_hint = parseText format["<t align='center' color='#088A85' shadow='2' size='1.75'>MISSION</t><br/><t align='center' color='#ffffff'>%1</t>", _msglose];
		customRemoteMessage = ['hint', _hint];
		publicVariable "customRemoteMessage";

Above does not work.

Also tried with calling infistars mass message stuff. But a no go there aswell.

If i call it clientside it will run fine. But not from mission side. 

Can i call a script from server.pho while its located in mission.pbo at all to get around it?

Link to comment
Share on other sites

Got weird error on my test server that Spam my RTP I never had that before.

13:56:32 "WAI DEBUG: FINDPOS: Checking nearby mission markers: ["DZMSMajMarker","DZMSMinMarker","DZMSBMajMarker","DZMSBMinMarker","MainHero0","MainHero1"]"
13:56:32 "WAI: Invalid Position (Marker: "MainHero0")"
 

 

Link to comment
Share on other sites

  On 12/2/2017 at 9:16 AM, Kimzer said:

Been testing alot of things lately, but maybe im just too daft to get it working.

Ive seen several servers with very nice notifications, such as the one DTR and RED has. But tbh id settle for just a hintbox at this point. But even that i cant get to work. Im sure i had that working when i used to host a few years back.

 

		_hint = parseText format["<t align='center' color='#088A85' shadow='2' size='1.75'>MISSION</t><br/><t align='center' color='#ffffff'>%1</t>", _msglose];
		customRemoteMessage = ['hint', _hint];
		publicVariable "customRemoteMessage";

Above does not work.

Also tried with calling infistars mass message stuff. But a no go there aswell.

If i call it clientside it will run fine. But not from mission side. 

Can i call a script from server.pho while its located in mission.pbo at all to get around it?

Expand  

What you are trying to do there is executing a client-sided script from server-side which won't work. If you want to notify everyone on the server with a custom method, you need to create an eventhandler on the server when the notification should appear, same eventhandler on the client with the actual notifcation script and you are done.

Basically you need something on the server that triggers a script that's running on each client.

Link to comment
Share on other sites

  On 12/4/2017 at 7:05 PM, Petite said:

Got weird error on my test server that Spam my RTP I never had that before.

13:56:32 "WAI DEBUG: FINDPOS: Checking nearby mission markers: ["DZMSMajMarker","DZMSMinMarker","DZMSBMajMarker","DZMSBMinMarker","MainHero0","MainHero1"]"
13:56:32 "WAI: Invalid Position (Marker: "MainHero0")"
 

 

Expand  

WAI has a method which checks whether the mission points are valid or not. You normally don't see these messages because it's debug.

Debug mode is made to help developers find errors and stuff. I guess you accidently turned the debug mode/dev mode on in WAI.

Link to comment
Share on other sites

Since so many people are asking about a custom notification system on WAI, I am ready to share my old system for that. As I am not hosting a server anymore, I don't need these files anyways.

@JasonTM Could you put a link to this post in your main topic so people can watch it if they are interested:

  Reveal hidden contents

 

Link to comment
Share on other sites

  On 12/4/2017 at 7:28 PM, DAmNRelentless said:

WAI has a method which checks whether the mission points are valid or not. You normally don't see these messages because it's debug.

Debug mode is made to help developers find errors and stuff. I guess you accidently turned the debug mode/dev mode on in WAI.

Expand  

Doh, god damn how did I not notice that. I was trying to add my own coord for Namalsk.. Thanks.

Link to comment
Share on other sites

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