Sign in to follow this  
Followers 0
da1geek

Remove A3XAI From Safe Zones

16 posts in this topic

Good morning folks! I am currently using A3XAI (along with DMS).  I have been using this for some time, but I cannot seem to get AI to stay away from the safe zones. Per the a3xai_config > config.cpp I should just be able to do the following: 

 

    

   

//Array of positions defining trader locations. AI will be non-hostile and damage immune around this area.


    //Use this if your server is not using the standard Exile trader markers or sensors in mission.sqm
    //For performance reasons, do not add locations other than actual trader positions to this array. 
    //Example: traderAreaLocations[] = {{2998.06,18175.5,0},{14600,16797.2,0},{23334.6,24188.9,0}};
    traderAreaLocations[] = {{4318.0366,108.7392,4888.1631},{11953.07,25.323074,5895.6865},{7761.9097,176.88542,8315.377}};

 

 

 

RPT file doesn't seem to be showing any errors, but I can't get this for the life of me. Any suggestions? Just in case, I have the pastebin link below (sorry about the RPT spamming - some useless warnings in there that go on forever). http://pastebin.com/2cbLdMP9

Edited by da1geek
Spoiler added

Share this post


Link to post
Share on other sites

His sample coordinates are {x,y,z}, looks like your coordinates are {x,z,y}

Edited by fr1nk
1 person likes this

Share this post


Link to post
Share on other sites
Advertisement

Wait, really? Hm, what I did was copied strait from my mission file where I had my trader locations stored. So you're thinking he did height last, and mine show height first?

Share this post


Link to post
Share on other sites

Yeah, just swap your coordinates around. Personally, I'd set z=0.

traderAreaLocations[] = {{4318.0366,4888.1631,0},{11953.07,5895.6865,0},{7761.9097,8315.377,0}};

 

Share this post


Link to post
Share on other sites

Thank you for the feedback. It does appear to be the issue. I'm not going to close this until I can verify that solved the issue. Will get back to you shortly.

Share this post


Link to post
Share on other sites
On 29. 1. 2016 at 3:45 PM, fr1nk said:

Yeah, just swap your coordinates around. Personally, I'd set z=0.


traderAreaLocations[] = {{4318.0366,4888.1631,0},{11953.07,5895.6865,0},{7761.9097,8315.377,0}};

 

i use Chernarus map and i add these coords..

traderAreaLocations[] = {{6315.9854,304.99969,7815.2227},{11463.168,317.29404,11342.708},{4042.0061,364.66235,11679.608},{12088.009,159,12718.091}};

A need change coord,vehicle patrol patroling in stary sobor and if leave trader zone A3XAI have god mode.Please help

Share this post


Link to post
Share on other sites

Not sure about the god mode, but you're still using {x,z,y} for your coordinates.

Share this post


Link to post
Share on other sites
On 2/1/2016 at 9:15 AM, fr1nk said:

Not sure about the god mode, but you're still using {x,z,y} for your coordinates.

In the mission.sqm, it is x,z,y. In A3XAI, should it be x,y,z or x,z,y?

 

Edit, never mind. I see you mentioned it above. I asked because my A3XAI didn't have examples.

Edited by Omen

Share this post


Link to post
Share on other sites
5 minutes ago, Omen said:

In the mission.sqm, it is x,z,y. In A3XAI, should it be x,y,z or x,z,y?

The sample provided in the A3XAI config file is {x,y,z}

Share this post


Link to post
Share on other sites

Unfortunately, this does not appear to be working, even with adjusted coordinates.

Share this post


Link to post
Share on other sites
Advertisement

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
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.