Jump to content

Wicked AI/Mission system


Markk311

Recommended Posts

You don't have to log out...just get where you want to be then tab out to your database (refresh the database) grab the coords and use the X,Y points.

So the database coordinates of [236,[2995.36,15153.1,0.001]] would be X: 29.9536 Y: 2.069 ? (That's using this tool.)

But that doesn't look 100% right.

 

The examples given the customSpawns.sqf list 3 parameters you see. Is the last parameter for the AZIMUTH/heading?

[[953.237,4486.48,0.001], //position
4,						  //Number Of units
1,					      //Skill level 0-1 or skill array number if using custom skills "Random" for random Skill array.
"Random",			      //Primary gun set number. "Random" for random weapon set.
4,						  //Number of magazines
"",						  //Backpack "" for random or classname here.
"Bandit2_DZ",			  //Skin "" for random or classname here.
"Random"                  //Gearset number. "Random" for random gear set.
] call spawn_group;

EDITED POST: Links to tool/.exe convertor rather than the website.

Link to comment
Share on other sites

So the database coordinates of [236,[2995.36,15153.1,0.001]] would be X: 29.9536 Y: 2.069 ? (That's using this tool.)

But that doesn't look 100% right.

 

The examples given the customSpawns.sqf list 3 parameters you see. Is the last parameter for the AZIMUTH/heading?

[[953.237,4486.48,0.001], //position
4,						  //Number Of units
1,					      //Skill level 0-1 or skill array number if using custom skills "Random" for random Skill array.
"Random",			      //Primary gun set number. "Random" for random weapon set.
4,						  //Number of magazines
"",						  //Backpack "" for random or classname here.
"Bandit2_DZ",			  //Skin "" for random or classname here.
"Random"                  //Gearset number. "Random" for random gear set.
] call spawn_group;

EDITED POST: Links to tool/.exe convertor rather than the website.

 

I just use the coords exactly as they show in the database...in your example it would be  [[2995.36,15153.1,0], //position

 

In other words, don't convert them, just copy them.  Also, I haven't run into any problems with using just 0 as the last coord(elevation) instead of 0.001 or whatever comes up in database.

Link to comment
Share on other sites

Markk311, I think you should post your next version over at opendayz.net and see if they'll give you your own section like they did DZAI and Sarge's AI. It's definately worth it, or maybe the forum mod team here can set up a special subforum for your mod?

 

Also, I have a question about the static weapons spawns. What are the classnames that can be used for turrets? I want to spawn MG nets, but don't know what classname I'd use. 

Link to comment
Share on other sites

I've just noticed as well, that if I am wearing the same skin as the AI - they do not attack me. Is there a fix for that?

 

EDIT: The mission AI are also attacking the DZAI.... any way to change the mission AI to DZAI? Just a thought. I like the way the DZAI seem to have a little more health than th emission AI and if you dont get a headshot they will get up and chase etc.

 

+1 for this feature. I love the paradrops but the AI isn't nearly as good as DZAI.

Link to comment
Share on other sites

Hi guys if you all have a look a few pages back for new people who are trying to things going i have posted 46 ai spawn points, 6 heli patrols and also 6-8 paradrops if u need help they all work :)

is that how the missions start you half to make custom spots

Link to comment
Share on other sites

Was there an update to the base files? After 19 pages of comments it's tough to tell where this build is at this point. 

 

Also how good are the heli patrols? The DZAI ones are great now, they can't see through walls anymore ;)

Link to comment
Share on other sites

If anyone has the "missions" part working, for TAVI, could they post a couple of the mission files and any configs they have?  I can't seem to get it working again either with random spawns or the possitionarray settings.

 

Here you go, working spawns for Tavi, all close to roads and spread over both island

_positionarray = [[17380.426,5279.2412,0],[8467.2363,7764.6978,0],[15444.671,8667.6758,0],[8463.8125,5510.5239,0],[16104.994,15535.804,0],[7729.2627,7001.7979,0],[15078.381,15698.128,0],[5759.5493,9423.253,0],[13809.14,19294.951,0],[6098.1333,8610.5947,0],[10285.479,19396.813,0],[4265.5854,7978.0996,0],[8594.7168,19659.965,0],[2260.0608,6925.2681,0],[12143.011,14925.385,0],[4775.9395,6315.7642,0],[12676.353,12593.693,0],[14468.995,10629.646,0],[8412.1973,3045.4038,0],[10173.31,5819.1787,0],[9473.5557,2013.2627,0],[9421.4414,5169.317,0],[9845.7949,3310.0532,0],[10864.61,620.55743,0]];
_position = _positionarray call BIS_fnc_selectRandom;
Link to comment
Share on other sites

 

Here you go, working spawns for Tavi, all close to roads and spread over both island

_positionarray = [[17380.426,5279.2412,0],[8467.2363,7764.6978,0],[15444.671,8667.6758,0],[8463.8125,5510.5239,0],[16104.994,15535.804,0],[7729.2627,7001.7979,0],[15078.381,15698.128,0],[5759.5493,9423.253,0],[13809.14,19294.951,0],[6098.1333,8610.5947,0],[10285.479,19396.813,0],[4265.5854,7978.0996,0],[8594.7168,19659.965,0],[2260.0608,6925.2681,0],[12143.011,14925.385,0],[4775.9395,6315.7642,0],[12676.353,12593.693,0],[14468.995,10629.646,0],[8412.1973,3045.4038,0],[10173.31,5819.1787,0],[9473.5557,2013.2627,0],[9421.4414,5169.317,0],[9845.7949,3310.0532,0],[10864.61,620.55743,0]];
_position = _positionarray call BIS_fnc_selectRandom;

 

Thanks...pretty sure I have the exact same...not working.  Here's mine:

 

private ["_playerPresent","_cleanmission","_currenttime","_starttime","_missiontimeout","_vehname","_veh","_position","_vehclass","_vehdir","_objPosition"];
 
 
_vehclass = armed_vehicle call BIS_fnc_selectRandom;
 
_vehname = getText (configFile >> "CfgVehicles" >> _vehclass >> "displayName");
_positionarray = [[17380.426,5279.2412,0],[8467.2363,7764.6978,0],[15444.671,8667.6758,0],[8463.8125,5510.5239,0],[16104.994,15535.804,0],[7729.2627,7001.7979,0],[15078.381,15698.128,0],[5759.5493,9423.253,0],[13809.14,19294.951,0],[6098.1333,8610.5947,0],[10285.479,19396.813,0],[4265.5854,7978.0996,0],[8594.7168,19659.965,0],[2260.0608,6925.2681,0],[12143.011,14925.385,0],[4775.9395,6315.7642,0],[12676.353,12593.693,0],[14468.995,10629.646,0],[8412.1973,3045.4038,0],[10173.31,5819.1787,0],[9473.5557,2013.2627,0],[9421.4414,5169.317,0],[9845.7949,3310.0532,0],[10864.61,620.55743,0]];
_position = _positionarray call BIS_fnc_selectRandom;
diag_log format["WAI: Mission Armed Vehicle Started At %1",_position];
 
_veh = createVehicle [_vehclass,_position, [], 0, "CAN_COLLIDE"];
 
 
 
 
 
For some reason the missions are just not starting.  There is nothing to indicate why in .rpt file.  Everything else to do with WAI is working.  Really bugging me.
Link to comment
Share on other sites

Hi ALL small mod for WAI mission system good wooks two! On any misiion file change

//comment standart message:
//[nil,nil,rTitleText,"Bandits have disabled a Convoy! Check your map for the location!", "PLAIN",10] call RE;
[_position,"Disabled Convoy"] execVM "\z\addons\dayz_server\WAI\missions\compile\markers.sqf";
// Send Top Right message to users , requires Remote message script
_hint = parseText format["<t align='left' color='#FFFF9F' shadow='2' size='1.75'>WAI mission:</t><br/><t align='left' color='#FFFFF9F'>Bandits have disabled a Convoy! Check your map for the location!</t>"];
customRemoteMessage = ['hint', _hint];
publicVariable "customRemoteMessage";

And any message two  :) you have mission message in like style.  :)

WARNING!!! NEED http://dayzepoch.com/forum/index.php?/topic/1026-server-side-hintglobalchat-fix-deathmsg-fix/

if you use _hint and debug monitor need off debug.

 

Link to comment
Share on other sites

Ok seriously guys....looking for a little help.  WAI is working for me EXCEPT for the missions.  Don't know how I killed them but I did.  I just now installed some 'side missions' (events) to see if that would work and it did.  They can be found here so you know what I'm talking about: 

 

So, please a little help with figuring out why WAI missions are not working for me?  Pretty please?

Link to comment
Share on other sites

Hi! Who knows how to do something to bots not shooting at each other??? They really kill each other. Help please. Helicopters helicopters firing at other bots in the group patrol killing one other. Stationary machine gun firing on helicopters bots. Hell))). version 1031.

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