Universal Enhanced AI

Projects that alter game functions but do not include new maps belong here.
Forum rules
The Projects forums are only for projects. If you are asking questions about a project, either find that project's thread, or start a thread in the General section instead.

Got a cool project idea but nothing else? Put it in the project ideas thread instead!

Projects for any Doom-based engine (especially 3DGE) are perfectly acceptable here too.

Please read the full rules for more details.
User avatar
Josh771
Posts: 676
Joined: Wed Apr 03, 2013 11:36 am
Location: Elsewhere.

Re: Universal Enhanced AI

Post by Josh771 »

namsan wrote:I found a bug.
I was playing The Adventure of Square with your latest(1.1.1) UEA mod in GZDOOM(3.6.0), and the Cannon Jerks attack other enemies for some reason.
Without this mod, Cannon jerks never target and attack other enemies, so this bug is probably caused by this mod.
I took a video of this bug.
https://streamable.com/v8eet
I don't believe that Cannon Jerk was not actually targeting those monsters; this looks like the same bug that was shown to me recently with monsters like the Chaingun Guy and Arachnotron. I'm going to have to see if there is some kind of Actor variable I can clear to stop these "rapid-firing" types of monsters from doing this.

Here's what I believe is technically happening in that video: The Cannon Jerk is just in range of another monster that is seeing you and broadcasting your location to all nearby monsters and creating a group search path for them to come find you. All monsters informed in such a way are given the first node in their search path at the same location as the monster that broadcast your location. So, when the monsters below the bridge area informed the Cannon Jerk of your location, he turned to "investigate" starting at their location.

The problem I need to fix here is really a few problems:
1) - The Cannon Jerk can see you and should have been able to see its target recently enough to ignore these sorts of broadcasts.
2) - The Cannon Jerk (and continuously firing monsters like the Arachnotron) will stay in their firing loops when they are given a search path, so they fire at the path node instead of trying to walk to it. This essentially freezes them in their firing states indefinitely.

I'm going to investigate and see if there is some kind of counter I can clear on these Actors when they have a path goal so that they will stop firing and go back to normal functioning.

EDIT: I'm about to release a potential fix for this problem. So far, I can't replicate the issue since making this one simple change, but it'd be better if I can get more players that have been encountering this sort of issue to test it.

EDIT2: The latest master on the Universal Enhanced AI GitHub has a potential fix implemented. If no one can replicate this issue for a several days or so, I'll make it an official release.
User avatar
KarolineDianne
Posts: 66
Joined: Sun Jan 05, 2014 11:06 am

Re: Universal Enhanced AI

Post by KarolineDianne »

Heya! I wanted to say I'm adoring this mod, it really makes things a lot more interesting, especially the stealth feature. Used in conjunction with things like the lighting/fog and flashlight effects that come with Ultimate Doomvisor, it can really make for tense situations and scenarios where keeping your light off and sneaking around is the better option.

It was during some fooling around with stealth that I noticed something a bit odd though. The Hell Nobles in my monsterpack weren't making noise or leaving flame trails where they stepped, but only when they were 'searching'. When they were 'chasing', they'd stomp about and leave fire just fine, but they seemed to 'calm down' when they didn't know where I was and were just wandering about trying to find me. One one hand, that's pretty cool, but on the other it's clearly an unintentional bug. I also noticed that they weren't fully animating their walking cycle. They were only stepping with one leg, which leads me to believe something was causing only part of their See state's frames to animate. While it's kinda cool to have such a clear audiovisual difference between 'wandering about' and 'TARGET SIGHTED MUST KILL', I imagine this could break more than simple special effects in other monsters.

For reference, this is the see state of the monster in question:
Spoiler:
akidd
Posts: 8
Joined: Mon Nov 19, 2018 8:59 am

Re: Universal Enhanced AI

Post by akidd »

thank you for this mod. Nothing can refresh doom more in SP for a lifetime player than being surprised by the AI.
gramps
Posts: 300
Joined: Thu Oct 18, 2018 2:16 pm

Re: Universal Enhanced AI

Post by gramps »

Ahh, so this is where that sneaky thing went.

Might use this as a base to try and coax some guys through some portals if nobody minds. Custom inventory items ftw.
User avatar
Rowsol
Posts: 970
Joined: Wed Mar 06, 2013 5:31 am

Re: Universal Enhanced AI

Post by Rowsol »

Playing with the new guncaster 3.2, gzdoom 3.7.2
You do not have the required permissions to view the files attached to this post.
User avatar
m8f
 
 
Posts: 1446
Joined: Fri Dec 29, 2017 4:15 am
Preferred Pronouns: He/Him
Operating System Version (Optional): Manjaro Linux
Location: Siberia (UTC+7)

Re: Universal Enhanced AI

Post by m8f »

Just posting here so this issue doesn't get lost: https://github.com/JRHard771/Universal- ... I/issues/1

Also, there may be a problem with portals: if a monster is firing projectiles at you, and you go through a portal, that monsters starts to shoot at a portal floor. I didn't investigate this, may be unrelated to Universal Enhanced AI.

Besides that, this is a very nice addon: it's nice to see smarter enemies behavior. Thanks for making this and sharing, and keep up the good work!
User avatar
MrRumbleRoses
Posts: 333
Joined: Thu Feb 25, 2016 2:01 pm

Re: Universal Enhanced AI

Post by MrRumbleRoses »

how does 1 use this mod? if it suppose to be in a wad file thing or what? cause last time i tried it, it didn't seem to do anything
User avatar
BoneofMalkav
Posts: 81
Joined: Thu May 22, 2014 6:04 am
Graphics Processor: nVidia with Vulkan support
Location: It's Never Worth The Risk

Re: Universal Enhanced AI

Post by BoneofMalkav »

MrRumbleRoses wrote:how does 1 use this mod? if it suppose to be in a wad file thing or what? cause last time i tried it, it didn't seem to do anything
You can either load the archive it's packaged in like you would with a WAD or PK3/PL7 file or you could load the directory as such.
User avatar
Caligari87
Admin
Posts: 6190
Joined: Thu Feb 26, 2004 3:02 pm
Preferred Pronouns: He/Him

Re: Universal Enhanced AI

Post by Caligari87 »

Also, it doesn't do anything super-obvious, just makes monsters a little smarter about how they track you, which you'll probably only see if you're playing "stealthy" for example and know what to look for. There's a sub-menu under the GZDoom options menu, where you can tweak some settings.

Regarding the above error, Josh will probably pop in to fix it sometime in the next couple weeks or so. He's taken another semi-hiatus it seems but checks in periodically.

8-)
User avatar
Kneight
Posts: 10
Joined: Fri Mar 30, 2018 6:40 pm
Location: VEN

Re: Universal Enhanced AI

Post by Kneight »

Very fun mod here, and it's awesome to see monsters following you around.

Besides the enemies shooting projectiles at the floor, there's also this other thing about monsters deliberately shooting at other monsters. I'm not talking about infighting, more like, it looks like they aim at the player, but their projectiles head towards other enemies, even their own species. I could take some screenshots of this happening but it's rather seldom. I'm not sure if anyone else experiences this as well (skimmed through the thread so, sorry if I missed it).
User avatar
r&r
Posts: 279
Joined: Fri Sep 08, 2017 2:54 pm

Re: Universal Enhanced AI

Post by r&r »

User avatar
wildweasel
Posts: 21706
Joined: Tue Jul 15, 2003 7:33 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): A lot of them
Graphics Processor: Not Listed

Re: Universal Enhanced AI

Post by wildweasel »

r&r wrote:I think this needs to be updated again
as it crashes the latest GZdoom (v4.5.0) randomly
Have you got any kind of crash reports or logs that might help?
User avatar
kalensar
Posts: 473
Joined: Sun Mar 21, 2021 9:40 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): linux mint 21
Graphics Processor: ATI/AMD (Modern GZDoom)

Re: Universal Enhanced AI

Post by kalensar »

I've worked on this mod quite a lot and duct taped it in my other mods. The crash has to do with killing a lot of enemies when you ambush them. One or all of them call for help calls for help right as they all die and then the game crashes from reading a zero address dealing with line 17 in the group.txt file. My fix was to delete the ambush category.

Return to “Gameplay Mods”