Jump to content

[Release] Wicked AI 2.2.0


f3cuk

Recommended Posts

Update on progress

We Jossy has been making great progress on 2.1.0. Almost all milestones we have set for 2.1.0+ have been incorporated which is something I would never have expected to happen so soon. Once we get the initial testing done and reasonably bugfree we will release a public beta 2.1.0 for everyone to test. This will help us counter having to release a lot of small patches after release.

Upcoming in 2.1.0

  • Bandit, hero and special missions
  • More missions overall
  • Multi mission support
  • Enhanced markers
  • A lot of other stuff

 

Still looking for help on extra missions

 

We've talked about this before, but feel like this is something we can't stress enough. It's lovely to have a good working mission system but.. like a lot of things, content is key. Right now we have about 10 bandit and hero missions. All of which are based on already existing ones with little new stuff for players to experience. To prevent players from getting bored with the missions, our goal is to have 30+ different quality missions for both the bandit and hero type and at least 5 special missions that should be completely different from what you have seen so far.

For our 2.1.0. release we have tried to further simplify the mission files which should allow more people to have a go at it. In fact, with the help of the new mission template file i'm convinced my grandma could make a kick-ass mission so there's no real reason why you should not.

So here's the mission template

(once again, we have Jossy to thank for this, remember to hit the like button on the next post he makes)

  Reveal hidden contents

Link to comment
Share on other sites

  On 8/24/2014 at 7:50 PM, f3cuk said:

Update on progress

We Jossy has been making great progress on 2.1.0. Almost all milestones we have set for 2.1.0+ have been incorporated which is something I would never have expected to happen so soon. Once we get the initial testing done and reasonably bugfree we will release a public beta 2.1.0 for everyone to test. This will help us counter having to release a lot of small patches after release.

Upcoming in 2.1.0

  • Bandit, hero and special missions
  • More missions overall
  • Multi mission support
  • Enhanced markers
  • A lot of other stuff

 

Still looking for help on extra missions

 

We've talked about this before, but feel like this is something we can't stress enough. It's lovely to have a good working mission system but.. like a lot of things, content is key. Right now we have about 10 bandit and hero missions. All of which are based on already existing ones with little new stuff for players to experience. To prevent players from getting bored with the missions, our goal is to have 30+ different quality missions for both the bandit and hero type and at least 5 special missions that should be completely different from what you have seen so far.

For our 2.1.0. release we have tried to further simplify the mission files which should allow more people to have a go at it. In fact, with the help of the new mission template file i'm convinced my grandma could make a kick-ass mission so there's no real reason why you should not.

So here's the mission template

(once again, we have Jossy to thank for this, remember to hit the like button on the next post he makes)

  Reveal hidden contents

 

I am 100% gunna make a mission that gets added to 2.1.0 or higher :P

Link to comment
Share on other sites

  On 8/24/2014 at 5:58 PM, PeterBeer said:

In no way that's the weird part im asking GTX gaming now if they don't give a good answer time to go dedicated 

 

Shame there so expensive :/

 

I stopped hosting with GTX due to 

1) Spammed emails

2) server started lagging (never added anything new during the time frame)

3) "Ghost" restarts (even when it was disabled) 

4) Slow ticket responses (3 days in one case and another ticket NEVER got answered, that was my final straw)

 

I'm now on dedicated. It's worth it

Link to comment
Share on other sites

  On 8/24/2014 at 8:41 PM, SUGamingNetwork said:

I stopped hosting with GTX due to 

1) Spammed emails

2) server started lagging (never added anything new during the time frame)

3) "Ghost" restarts (even when it was disabled) 

4) Slow ticket responses (3 days in one case and another ticket NEVER got answered, that was my final straw)

 

I'm now on dedicated. It's worth it

 

 

Strange they answer me within 1 hour of sending ticket

 

Doesn't seem to be lagging with 20 players on

 

And restarts work fine 

Link to comment
Share on other sites

Keep up the good work.

 

I have 2 suggestions to make.

 

1) Could you make it so the crates dont spawn, or fill until the mission objective is complete.

 

2) Could we seperate the weapon arrays into skill levels. e.g.

 

  Reveal hidden contents

ai_wep_sniper_extreme = [["SVD_CAMO","10Rnd_762x54_SVD"],["VSS_Vintorez","20Rnd_9x39_SP5_VSS"],["DMR","20Rnd_762x51_DMR"],["M40A3","5Rnd_762x51_M24"]]; // Sniper rifles extreme

 

ai_wep_sniper_hard = [["M14_EP1","20Rnd_762x51_DMR"],["SCAR_H_LNG_Sniper_SD","20Rnd_762x51_SB_SCAR"],["M110_NVG_EP1","20rnd_762x51_B_SCAR"]]; // Sniper rifles hard

 

etc. That way the boxes could be filled dynamically with weapons akin to the difficulty of the mission.

 

Thanks for reading

Link to comment
Share on other sites

  On 8/24/2014 at 10:25 PM, PeterBeer said:

I have noticed the missions just wont start when there is more then 5 players i guess this is because of lag ?

There is a way of monitoring server fps, must be a guide here somewhere.

 

If not try setting wai_server_fps to 0 to see if that makes them spawn, I assume this will in effect turn the check off.

Link to comment
Share on other sites

@f3cuk

 

Having a lot of fun with this script so far, but ran into a few things with static AI.

 

I have been adding Static AI to several areas on my map, and have some bugs/input to report:

-AI Seem to just patrol right through castle walls like they aren't there.

-Some groups aren't spawning at the exact locations (they seems to be off my 10-15 meters in some cases)

-With only 1-2 people on our test server even the extreme AI don't see you for 10-20 seconds (you can literally run circles around them till they notice)

 

Input:

-We would love to have control over the behavior of each group. Right now its either they all communicate or they don't, or they all patrol the same radius with the same way points. If we could control each group it would really allow us to customize how they AI get pulled, alerted, etc.

Link to comment
Share on other sites

It's not really an issue guys, at least its not something they can easily fix. This is simply what shared hosting is. The box they got you on probably has a sick CPU in it, but you have to share that with 20 other servers so there's not much left. Also seeing as ARMA 2 is really badly optimized for multiple CPU usage, you are probably better off building your own, invest in a CPU with high Single Core Performance and you should be good to go. Maybe use the money you save each month on a higher internet plan with the possibility of a fixed IP (this is something you really want).

 

If you'd like i could point you in the right direction, depending on your budget i could together a (fairly - i do love Intel cause of their epic SCP lol) unbiased list of parts.

Link to comment
Share on other sites

  On 8/25/2014 at 1:51 AM, Externized said:

Do the default mission spawns work fine with napf? or would they spawn on bad places?

they will spawn fine from what I see so far, the new update includes better gradient checks and shore checks which are adjustable in the config also

Link to comment
Share on other sites

  On 8/24/2014 at 9:49 PM, Hux said:

Is it still possible to use the "Bunny Ranch" mission?

 

The files are different in this version so I'm not sure how to install...

 

If you want to point me towards this I can correctly format it to include in 2.1.0

  On 8/24/2014 at 10:33 PM, UKCPirate said:

Keep up the good work.

 

I have 2 suggestions to make.

 

1) Could you make it so the crates dont spawn, or fill until the mission objective is complete.

 

2) Could we seperate the weapon arrays into skill levels. e.g.

 

  Reveal hidden contents

ai_wep_sniper_extreme = [["SVD_CAMO","10Rnd_762x54_SVD"],["VSS_Vintorez","20Rnd_9x39_SP5_VSS"],["DMR","20Rnd_762x51_DMR"],["M40A3","5Rnd_762x51_M24"]]; // Sniper rifles extreme

 

ai_wep_sniper_hard = [["M14_EP1","20Rnd_762x51_DMR"],["SCAR_H_LNG_Sniper_SD","20Rnd_762x51_SB_SCAR"],["M110_NVG_EP1","20rnd_762x51_B_SCAR"]]; // Sniper rifles hard

 

etc. That way the boxes could be filled dynamically with weapons akin to the difficulty of the mission.

 

Thanks for reading

Yeah we could do this

Link to comment
Share on other sites

  On 8/25/2014 at 1:36 AM, f3cuk said:

It's not really an issue guys, at least its not something they can easily fix. This is simply what shared hosting is. The box they got you on probably has a sick CPU in it, but you have to share that with 20 other servers so there's not much left. Also seeing as ARMA 2 is really badly optimized for multiple CPU usage, you are probably better off building your own, invest in a CPU with high Single Core Performance and you should be good to go. Maybe use the money you save each month on a higher internet plan with the possibility of a fixed IP (this is something you really want).

 

If you'd like i could point you in the right direction, depending on your budget i could together a (fairly - i do love Intel cause of their epic SCP lol) unbiased list of parts.

 

Please point pe the way i have a budget atm of £25 or £30 max for a better server it cant even handle WAI mission on GTX

 

The best part is that he said there is 32 cores and only 4 servers on that machine that's what gets me 

Link to comment
Share on other sites

I've got a Dedibox Classic from Online.net, 35 EUR/month although you have to provide your own licenses for OS and whatnot. Gives me a server FPS of 50 on Epoch Namalsk.

 

On-topic though, why the hell don't Tank Traps disappear properly? Starting to bug the hell out of me :P

 

Also, here's an update to spawn_group.sqf to enable the addition of unarmed NPCs, for Bunny Ranch and other similar missions.

if (isServer) then {

	private ["_mission","_aipack","_aicskill","_position","_unitnumber","_skill","_gun","_mags","_backpack","_skin","_gear","_aiweapon","_aigear","_aiskin","_skillarray","_unitGroup","_weapon","_magazine","_weaponandmag","_gearmagazines","_geartools","_unit","_unarmed"];

	_position 			= _this select 0;
	_unitnumber 		= _this select 1;
	_skill 				= _this select 2;
	_gun 				= _this select 3;
	_mags 				= _this select 4;
	_backpack 			= _this select 5;
	_skin 				= _this select 6;
	_gear 				= _this select 7;

	if (count _this > 8) then {
		_mission = _this select 8;
	} else {
		_mission = false;
	};

	_unarmed 			= false;
	_aiweapon 			= [];
	_aigear 			= [];
	_aiskin 			= "";
	_aicskill 			= [];
	_aipack 			= "";
	_skillarray 		= ["aimingAccuracy","aimingShake","aimingSpeed","endurance","spotDistance","spotTime","courage","reloadSpeed","commanding","general"];
	_unitGroup 			= createGroup east;
	_current_time		= time;

	for "_x" from 1 to _unitnumber do {

		switch (_gun) do {
			case 0 : {_aiweapon = ai_wep_assault;};
			case 1 : {_aiweapon = ai_wep_machine;};
			case 2 : {_aiweapon = ai_wep_sniper;};
			case "Unarmed" : {_unarmed = true;};
			case "Random" : {_aiweapon = ai_wep_random call BIS_fnc_selectRandom;};
		};

		if (!_unarmed) then {
			_weaponandmag 	= _aiweapon call BIS_fnc_selectRandom;
			_weapon 		= _weaponandmag select 0;
			_magazine 		= _weaponandmag select 1;
		};

		switch (_gear) do {
			case 0 : {_aigear = ai_gear0;};
			case 1 : {_aigear = ai_gear1;};
			case 2 : {_aigear = ai_gear2;};
			case 3 : {_aigear = ai_gear3;};
			case 4 : {_aigear = ai_gear4;};
			case "Random" : {_aigear = ai_gear_random call BIS_fnc_selectRandom;};
		};
		
		_gearmagazines = _aigear select 0;
		_geartools = _aigear select 1;

		if (_skin == "Random") then {
			_aiskin = ai_skin call BIS_fnc_selectRandom;
		} else {
			_aiskin = _skin;
		};

		_unit = _unitGroup createUnit [_aiskin, [(_position select 0),(_position select 1),(_position select 2)], [], 10, "PRIVATE"];
		[_unit] joinSilent _unitGroup;

		if (_backpack == "Random") then {
			_aipack = ai_packs call BIS_fnc_selectRandom;
		} else {
			_aipack = _backpack;
		};
		
		_unit enableAI "TARGET";
		_unit enableAI "AUTOTARGET";
		_unit enableAI "MOVE";
		_unit enableAI "ANIM";
		_unit enableAI "FSM";
		_unit setCombatMode ai_combatmode;
		_unit setBehaviour ai_behaviour;
		removeAllWeapons _unit;
		removeAllItems _unit;

		if (!_unarmed) then {
			_unit addweapon _weapon;
		};
		
		if (sunOrMoon != 1) then {
			_unit addweapon "NVGoggles";
		};

		if (!_unarmed) then {
			for "_i" from 1 to _mags do {
				_unit addMagazine _magazine;
			};
		};
		
		_unit addBackpack _aipack;

		{
			_unit addMagazine _x
		} foreach _gearmagazines;

		{
			_unit addweapon _x
		} foreach _geartools;
		
		switch (_skill) do {
			case "easy"		: { _aicskill = ai_skill_easy; };
			case "medium" 	: { _aicskill = ai_skill_medium; };
			case "hard" 	: { _aicskill = ai_skill_hard; };
			case "extreme" 	: { _aicskill = ai_skill_extreme; };
			case "Random" 	: { _aicskill = ai_skill_random call BIS_fnc_selectRandom; };
			default { _aicskill = ai_skill_random call BIS_fnc_selectRandom; };
		};

		{
			_unit setSkill [(_x select 0),(_x select 1)]
		} foreach _aicskill;
		
		ai_ground_units = (ai_ground_units + 1);

		_unit addEventHandler ["Killed",{[_this select 0, _this select 1, "ground"] call on_kill;}];

		if (_mission) then {
			_unit setVariable ["missionclean", "ground"];
		};

	};
	// Stops them from killing eachother when they fire..
	_unitGroup setFormation "ECH LEFT";

	_unitGroup selectLeader ((units _unitGroup) select 0);

	[_unitGroup, _position, _mission] call group_waypoints;

	diag_log format ["WAI: Spawned a group of %1 bandits at %2", _unitnumber, _position];
};
Link to comment
Share on other sites

  On 8/24/2014 at 11:50 PM, Komplex said:

@f3cuk

 

Having a lot of fun with this script so far, but ran into a few things with static AI.

 

I have been adding Static AI to several areas on my map, and have some bugs/input to report:

-AI Seem to just patrol right through castle walls like they aren't there.

-Some groups aren't spawning at the exact locations (they seems to be off my 10-15 meters in some cases)

-With only 1-2 people on our test server even the extreme AI don't see you for 10-20 seconds (you can literally run circles around them till they notice)

 

Input:

-We would love to have control over the behavior of each group. Right now its either they all communicate or they don't, or they all patrol the same radius with the same way points. If we could control each group it would really allow us to customize how they AI get pulled, alerted, etc.

 

you can do this now with the 2.1.0 update from the mission file if you know what you were doing, but it is definitely something I wouldn't mind adding an optional array to allow easy configuration of groups.

 

for now (after the 2.1.0 release) if you want you can set the behaviour of the AI using a return variable _group example:

_group = [[_position select 0, _position select 1, 0],4,"Extreme","Random",4,"Random","Hero","Random","Hero",_mission,] call spawn_group;
_group setBehaviour "SAFE";
Link to comment
Share on other sites

  On 8/25/2014 at 2:44 AM, mdc said:

I've got a Dedibox Classic from Online.net, 35 EUR/month although you have to provide your own licenses for OS and whatnot. Gives me a server FPS of 50 on Epoch Namalsk.

 

On-topic though, why the hell don't Tank Traps disappear properly? Starting to bug the hell out of me :P

 

Also, here's an update to spawn_group.sqf to enable the addition of unarmed NPCs, for Bunny Ranch and other similar missions.

 

Thanks! I've never actually seen the bunny ranch mission, but I do have a few idea's for non-combat missions I wanted to try and implement so this will help with that ;)

 

Oh also the tank traps are removed in 2.1.0, minefields will be enough to deter people from driving up to the mission before it's complete :P

Edited by Jossy
Link to comment
Share on other sites

  On 8/24/2014 at 9:49 PM, Hux said:

Is it still possible to use the "Bunny Ranch" mission?

 

The files are different in this version so I'm not sure how to install...

  On 8/25/2014 at 2:02 AM, Jossy said:

If you want to point me towards this I can correctly format it to include in 2.1.0

Yeah we could do this

 

Thread:

 

Download: http://www.craftdoge.com/downloads/BunnyRanch.zip

 

 

Thank you.

Link to comment
Share on other sites

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