Jump to content

Recommended Posts

  On 4/16/2019 at 5:17 PM, froggyluv said:

Gonna lmfao if I ever see an enemy ai jump off a roof to a van to take a shot at me. For ultimate cheese you should add the tumble animation from iron front for the landing

lol, that would be sweet.  Do you know if those vaulting and wall climbing animations in that cool movement enhancement mod uses vanilla moves, or has its own?  I need those moves as options as well.

Share this post


Link to post
Share on other sites

Pretty sure Bad Benson created those -MadCheese's mod uses them or is somehow linked into EM mod to allow the player to order his subordinates to scale to an extent as well. Honestly im far more excited at the thought of enemy AI doing these types of things than player squad AI -player side already has the advantage and an absurdly moving AI hunting player can be terrifyingly hilarious

Share this post


Link to post
Share on other sites
  On 4/16/2019 at 5:55 PM, froggyluv said:

Honestly im far more excited at the thought of enemy AI doing these types of things than player squad AI -player side already has the advantage and absurd moving AI hunting player can be hilarious

Agreed.  But AI is AI so if it works for one, it will work for the other, so may as well support both.

Share this post


Link to post
Share on other sites

@johnnyboy Those videos look great, I love the grenade tossing to clear a room and stepping back to take cover. I think someone released a flashbang mod which could be used also.

 

Keep up the great work mate.

 

Cheers.

  • Thanks 1

Share this post


Link to post
Share on other sites

RHS has flashbang and concussion grenades, not sure about CUP. There's also an individual flashbang mod as mentioned.

  • Like 1

Share this post


Link to post
Share on other sites

Something else I'd encourage you to keep in the back of your mind is AI that only has a melee attack and possibly cannot open doors. Dogs or zombies are an obvious example but an even better one I think is Raptors chasing you around a hospital or other large facility. I guess there'd need to be logic that allows a route to be interrupted by the need to close directly with a discovered enemy.

 

Understand this might not be a priority but just wanted to make mention in case it informs some choices you might have to make.

  • Like 1

Share this post


Link to post
Share on other sites

@johnnyboy

 

I made a little FSM file for a unit animationcycle ( unit walking on path) to support your project. It is very Basic an more of a proof of concept. Unit is able to stop and engage enemies on its way. 


 If you interrested you can download the missionfile here. Missionfolder

 

If I find the time I will upload an examplevideo soon.

 

Best greetings

 

Gizzy46

  • Like 1

Share this post


Link to post
Share on other sites
  On 5/4/2019 at 11:05 PM, gizz46 said:

@johnnyboy

 

I made a little FSM file for a unit animationcycle ( unit walking on path) to support your project. It is very Basic an more of a proof of concept. Unit is able to stop and engage enemies on its way. 


 If you interrested you can download the missionfile here. Missionfolder

 

If I find the time I will upload an examplevideo soon.

 

Best greetings

 

Gizzy46

Thanks Gizzy!  A video would be great.  I admit I'm pretty ignorant of how FSMs work (yours is the first one i have looked at), but it looks clean.  Feel free to take it further if you like (the more solutions we come up with, the better).  I'm writing a ton of sqf code, but its slow going right now due to my limited time.   My current problem is having a stack of 2 to 4 units move through a path of movepoints, and look decent while doing it.  One unit works good as I demonstrated in previous vids.

  • Like 2

Share this post


Link to post
Share on other sites

This is so awesome and has a lot of potential with the work you guys have been doing with dynamic position handling through script

 

Thanks

  • Like 2

Share this post


Link to post
Share on other sites

This is just awesome to see on cargo ships! 

  • Like 2

Share this post


Link to post
Share on other sites

UPDATE: I've made some progress on getting a stack of 4 (or less) units to move through a building path.  As you can see from the video, there is lots of room for improvement.  It's been a royal biatch getting the little AI wankers to perform this well...but I hope to improve it.

New features:

  Reveal hidden contents

Known Problems:

  Reveal hidden contents

Future:

  Reveal hidden contents

My apologies to @beno_83au for not yet incorporating his breaching script.  He kindly delivered a working copy integrated with an old version of my script a month ago, and I haven't integrated it yet.  I promise I will get to it mate and release a vid!

Progress Video:

If you are curious, this is the path array that was used for this video:

  Reveal hidden contents

 

  • Like 3
  • Thanks 3

Share this post


Link to post
Share on other sites

@johnnyboy I can't imagine the complexity of having a team of AI do this :hang: But holly crap, if I see a video with a team explosively breach, flash bang and clear a room with a hostage inside of it, I may NEVER again re-install SWAT......

 

 

(lol jk I always re-install it)

  • Like 1

Share this post


Link to post
Share on other sites
  On 5/23/2019 at 3:51 AM, beno_83au said:

@johnnyboy I can't imagine the complexity of having a team of AI do this :hang: But holly crap, if I see a video with a team explosively breach, flash bang and clear a room with a hostage inside of it, I may NEVER again re-install SWAT......

(lol jk I always re-install it)

Hahaha.  Sadly, there is no way this will ever be as good as Swat 4.  That was the best coop game ever.

Share this post


Link to post
Share on other sites

The bloke with the Katiba at 1:55:

 

He in the wrong spot for the demo and hoping no one notices him fix it?

 

Advice: If they've taken a casualty in a room they could frag it before trying to clear again?

  • Like 1

Share this post


Link to post
Share on other sites
  On 5/23/2019 at 3:58 AM, beno_83au said:

He in the wrong spot for the demo and hoping no one notices him fix it?

Everybody's a bloody critic...  lol  :hammer:

  • Like 1
  • Haha 1

Share this post


Link to post
Share on other sites

Wow @johnnyboy you have been busy indeed!  That's awesome man, I can really see it coming together!

 

It's helpful to see that path array.  Also I'm sure you have good reason, but curious why you are using explicit animations (and playMove) vs more general actions (used with playAction)?  Now, I seem to recall you saying you use both playMove and playAction...  Anyhow, was thinking if you ended up with a pistol guy in the mix (instead of all rifles), that playAction would make things easier?  For instance playAction "SlowF" would cover both rifle guys and pistol guys, no?

  • Like 1

Share this post


Link to post
Share on other sites
  On 5/23/2019 at 7:12 PM, madrussian said:

Wow @johnnyboy you have been busy indeed!  That's awesome man, I can really see it coming together!

 

It's helpful to see that path array.  Also I'm sure you have good reason, but curious why you are using explicit animations (and playMove) vs more general actions (used with playAction)?  Now, I seem to recall you saying you use both playMove and playAction...  Anyhow, was thinking if you ended up with a pistol guy in the mix (instead of all rifles), that playAction would make things easier?  For instance playAction "SlowF" would cover both rifle guys and pistol guys, no?

I've tried both playMove and playAction and in buildings playmove is much more reliable for me.  I understand your point on rifles vs. pistols, and will likely end up dynamically changing move based on weapon (replace substring...or something).  I'm already doing that to change from standing to crouch. Unfortunately, playAction seems to be unreliable for me.

Share this post


Link to post
Share on other sites
  On 5/23/2019 at 3:58 AM, beno_83au said:

The bloke with the Katiba at 1:55:

 

He in the wrong spot for the demo and hoping no one notices him fix it? 

The little hop the unit did is in my move script.  The script plays a move animation, and checks if unit position has changed since starting the move. If he hasn't moved, he's given a little velocity boost to get him going.  This helps prevent units from being stuck and running in place.  And it also causes the occasional little funny hop you spotted.

  • Like 2

Share this post


Link to post
Share on other sites

If I got a penny for every time I had to velocity-boost an AI in this game, I'd be a very rich man.  (My dynamic mission velocity-boosts AI vehics as unstuck measure all the time... I feel your pain!)

  • Like 2
  • Haha 2

Share this post


Link to post
Share on other sites

this is really interesting stuff! The military cargo buildings (especially cargo HQ and cargo Tower) are a bit of a nightmare for building patrols, looks like this could help. 👍

 

Is the plan that this would work dynamically for any defined buildings (eg. as part of random patrol script)?

 

 

  On 5/24/2019 at 3:42 PM, madrussian said:

My dynamic mission velocity-boosts AI vehics as unstuck measure all the time

ah, thats a good idea too, i'll try that 😄

 

🖖

  • Like 1

Share this post


Link to post
Share on other sites
  On 5/25/2019 at 7:54 AM, lordfrith said:

Is the plan that this would work dynamically for any defined buildings (eg. as part of random patrol script)?

 

Ideally, yes.  Check out this about scanning buildings for the important points if you haven't already.  The keys are defining enough buildings (perhaps all of them) and of course johnnyboy's script and the other major part here (which is already done).  Once we assemble the 3 pillars, the idea is it becomes a platform for AI mod creators to go wild with, writing all manner of "random patrol scripts".  (Maybe even having AI assemble weapons in buildings, etc.)

  • Thanks 1

Share this post


Link to post
Share on other sites

are there anyway that some one can help with the scanning of buildings any program to get or something i have a laptop just standing on my table??

Maybe i can start it up and check some building if any one can tell me what to do.

 

Share this post


Link to post
Share on other sites

@Play3r

You could walk through all buildings and mark all the important points by hand?  <- Joking of course, that would be silly given we can automate so much of the process.  Some larger buildings have 20+ actual doors and 40+ window points, perhaps way more than that.  Even if any human wanted to try and accomplish this, it would be a daunting task and they would surely miss many points.

 

However, when I get my scanner done I don't think it will 100% identify every important point.  It will be more of a tool that identifies perhaps 95% of all important points (and perhaps that's being somewhat optimistic).  At that point, sure we could use a few people to fire up the tool, walk through buildings and check things out, selecting any missing points.  (Mainly for cases where there are more than one connected node cluster that can be connected to another by quickly adding a point here or there.)  Thanks for the interest, will keep you updated for sure. :smile_o:

  • Like 1
  • Thanks 1

Share this post


Link to post
Share on other sites

Count me in for that too MadRussian - heck id do that for BIS for free! The thing they seem to not get is that Buildings ARE the new combat dimension lacking in Arma -not Space, underwater or zombie land. Watch any WW2/Vietnam/Iraq documentary and when a squad enters a village or city s**t gets hairy (read awesome) real fast!

  • Like 5

Share this post


Link to post
Share on other sites

Please excuse my ignorance but how do I use the script? Any sample mission available? Thank you!

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×