warabiej
Member-
Content Count
5 -
Joined
-
Last visited
-
Medals
Community Reputation
10 GoodAbout warabiej
-
Rank
Rookie
-
FlexiAI (WIP) discussion
warabiej replied to fabrizio_t's topic in ARMA 2 & OA - ADDONS & MODS: DISCUSSION
Thanks fabrizio_T, it help me a lot :D -
FlexiAI (WIP) discussion
warabiej replied to fabrizio_t's topic in ARMA 2 & OA - ADDONS & MODS: DISCUSSION
How did you solve the problem that lider group ruch to enemy without waiting for rest od the team. How did you make your units to by so close to each other? Last question, how did you do that your team do eg crouch, i meam your team crouch when spot enemy or when lider said it through the radio? All commends to change behaviour or formation or state is triggered by situation or just lider is "calculating" how to act and send proper message through the radio and team just make the orders? 1. (just pseudo-code) ... _targets = lider nearTargets 300; _enem = //here I have only enemies from _targets if(count _enem > 0) then { {_x setUnitPos "DOWN"} forEach _units;}; ... or ... _targets = lider nearTargets 300; _enem = //here I have only enemies from _targets if(count _enem > 0) then { //lider give order through the radiu to stay down (sideRadio or groupRadio ??) ... ---------- Post added at 12:25 PM ---------- Previous post was at 12:22 PM ---------- How you collect info about AT/AP/AA capabilities?? is there any command or just study enemy weapons?? -
FlexiAI (WIP) discussion
warabiej replied to fabrizio_t's topic in ARMA 2 & OA - ADDONS & MODS: DISCUSSION
I dont worry about "stealing" my idea because it's nothing special :) so I have basic knowledge about scripting, still learning. I am trying do the same (almost the same) script like fabrizio's FlexiAI but not for Arma just for VBS2. AI in vbs2 is sometimes very stupid, so if vbs2 should be used as military traning system AI definitely need to be improved. Fabrizio's work is very helpful here. More of it a would like to add some parameters in script eg. fear, stress, morale etc (0 - 1), which can be change during the mission, eg when contact with enemy occour, fear parameter will randomly encrease, when fear is more then eg 0.75 soldier wont fight but run away or hide and dont move. But firstly i need to do some scripts like FlexiAi, eg. soldiers wont rush to enemy but when enemy will be detect patrol group will crouch and collect info, then lider will decide to attack or bypass enemy group. Simply improve AI to act more reasonably during different situations. Last week I spent on doing what i wrote earlier, my main problems was with detecting enemy. I used functions nearestObjects and knowsAbout. I didnt handle with detecting enemy whos distance is greater then 250 m. I red that Arma has the same problem. I didn't know how AI is checking if area is clear (radio message: clear) i did my own script handle with this but, there is little problem, when my script check and area is clear, team will stand up and advance, only after few seconds lider said "clear". How i can turn it off or maybe there is another way to solve this? sorry for my english, i hope you will understand me :D -
FlexiAI (WIP) discussion
warabiej replied to fabrizio_t's topic in ARMA 2 & OA - ADDONS & MODS: DISCUSSION
I think its nearly the same with a little difference, meybe you dont understand me due to my english :) -
FlexiAI (WIP) discussion
warabiej replied to fabrizio_t's topic in ARMA 2 & OA - ADDONS & MODS: DISCUSSION
Hi i follow your progress and I am impressed. I have a few questions for you if you would like to help :) I write to you a message...