FragZ

Cannot spawn A3XAI custom static spawns

12 posts in this topic

Posted (edited)

As title says, I tried installing A3XAI to have static spawns and dynamic roaming AIs.
So far, sometimes when you are in a town it will spawn 2-3 AIs and sometimes it will spawn AIR patrols around the map, but most of the time nothing.

I also checked my static spawns location and found no AIs there... :/

EDIT: Seems like the problem is this:
 0:04:21 Error in expression <aypointBlacklistAir set [_forEachIndex,(toLower _x)];
if (A3XAI_debugLevel > 0)>
 0:04:21   Error position: <toLower _x)];
if (A3XAI_debugLevel > 0)>
 0:04:21   Error tolower: Type Array, expected String
 0:04:21 File A3XAI\scripts\setup_locations.sqf, line 17

I tried spawning my AIs manually using EXEC console and it worked, so it is a setup problem probably and not the custom spawns themselves.

Anyone able to help?
 

 

EDIT: Now fixed. See my last post about it;p

Edited by FragZ

Share this post


Link to post
Share on other sites
Advertisement

I just looked through one of mine which I haven't used in a while but it looks like this

Quote

["AreaName1",[8435.86,25050.7,0],150,2,3,false,0] call A3XAI_createCustomInfantryQueue;
["AreaName2",[8424.41,25054.5,0],50,1,3,false,0] call A3XAI_createCustomInfantryQueue;
["AreaName3",[8473.88,25057.6,0],120,1,3,false,0] call A3XAI_createCustomInfantryQueue;
["AreaName4",[8467.45,25054.6,0],20,1,3,false,0] call A3XAI_createCustomInfantryQueue;

 

1 person likes this

Share this post


Link to post
Share on other sites
On 3/11/2016 at 3:59 PM, red_ned said:
On 3/11/2016 at 3:59 PM, red_ned said:

I just looked through one of mine which I haven't used in a while but it looks like this

 

I just looked through one of mine which I haven't used in a while but it looks like this

 

["CDC2",[4780.05,9948.64,0.00143433],30,4,2,true,600] call A3XAI_createCustomInfantryQueue;

["AreaName4",[8467.45,25054.6,0],20,1,3,false,0] call A3XAI_createCustomInfantryQueue;

 

Those look pretty much the same. I however found this issue in my RPT:
 0:04:21 Error in expression <aypointBlacklistAir set [_forEachIndex,(toLower _x)];
if (A3XAI_debugLevel > 0)>
 0:04:21   Error position: <toLower _x)];
if (A3XAI_debugLevel > 0)>
 0:04:21   Error tolower: Type Array, expected String
 0:04:21 File A3XAI\scripts\setup_locations.sqf, line 17

 

That might be the problem? What would cause this?

Share this post


Link to post
Share on other sites

Update: I manually spawned the AIs using the exec console and it worked. I am 100% sure it is related to that error I posted.

Share this post


Link to post
Share on other sites
6 hours ago, FragZ said:

["CDC2",[4780.05,9948.64,0.00143433],30,4,2,true,600] call A3XAI_createCustomInfantryQueue;

["AreaName4",[8467.45,25054.6,0],20,1,3,false,0] call A3XAI_createCustomInfantryQueue;

 

Those look pretty much the same. I however found this issue in my RPT:
 0:04:21 Error in expression <aypointBlacklistAir set [_forEachIndex,(toLower _x)];
if (A3XAI_debugLevel > 0)>
 0:04:21   Error position: <toLower _x)];
if (A3XAI_debugLevel > 0)>
 0:04:21   Error tolower: Type Array, expected String
 0:04:21 File A3XAI\scripts\setup_locations.sqf, line 17

 

That might be the problem? What would cause this?

check your spawn locations aren't in a blacklist area as its not normally the scripts but the mission which is wrong

Share this post


Link to post
Share on other sites

Posted (edited)

6 hours ago, red_ned said:

check your spawn locations aren't in a blacklist area as its not normally the scripts but the mission which is wrong

No, I checked and they aren't :/

 

EDIT: I edited the said file of setup_locations.sqf and commented out all lines that fit the errors in my RPT. It now works as intended.

Edited by FragZ

Share this post


Link to post
Share on other sites

Posted (edited)

@red_ned

Please how i create static AI with A3XAI ?

Edited by NeverAgain

Share this post


Link to post
Share on other sites
On 19/3/2016 at 11:45 AM, NeverAgain said:

@red_ned

Please how i create static AI with A3XAI ?

Follow the posts before, you need tp edit the a3xai_config.pbo file named a3xai_custom_defs.sqf or something like that, and follow the link at top of the file for some infos.

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

  • Recently Browsing   0 members

    No registered users viewing this page.