SUBSIM Radio Room Forums

SUBSIM Radio Room Forums (https://www.subsim.com/radioroom/index.php)
-   SH5 Mods Workshop (https://www.subsim.com/radioroom/forumdisplay.php?f=249)
-   -   [WIP] IRAI (Intelligent Random AI) (https://www.subsim.com/radioroom/showthread.php?t=171973)

Hoster 08-21-10 01:08 PM

Again I`m posting my request from yesterday hoping for replies....
I have some troubles with the planes in the mod. I`m in October 1940 and I was spotted by some Swordfish planes (probably from a nearby carrier). The planes attack my sub but non of them is firing with machine guns. Also not one plane is equipped with a bomb or torpedo. So the planes just make a bomb run without dropping anything. I can shoot`em down with no real threat to me. I also recognized, that the planes explode in the air when hit- no spectactular drop into the sea or any debris flying around- absolutely boring. What`s up, was there actually no real shot-down animation programmed by UBI?

PL_Andrev 08-21-10 01:19 PM

Quote:

Originally Posted by Hoster (Post 1473642)
The planes attack my sub but non of them is firing with machine guns. Also not one plane is equipped with a bomb or torpedo. So the planes just make a bomb run without dropping anything.

Yes, this is problem and hope TDW will solve it in next revision.
Thank you for your report.

Quote:

Originally Posted by Hoster (Post 1473642)
I also recognized, that the planes explode in the air when hit- no spectactular drop into the sea or any debris flying around- absolutely boring. What`s up, was there actually no real shot-down animation programmed by UBI?

I recall that it is thread about "Intelligent Random AI" - a mod for SH5.
Visit the official SH5 forum and ask this question there.

Capt Jack Harkness 08-21-10 07:29 PM

Quote:

Originally Posted by TheDarkWraith (Post 1473629)
sorry you all but it just occurred to me that I broke the single unit ship AI with versions 19 and 20. It just hit me while onsite at one of my customer's where the problem is. I'll make the change tonight when I'm back in my hotel room and then someone will have to test it for me because my company laptop is crap and can't run diddly squat for games (I think they did that on purpose!). It's a simple fix also but easily overlooked during testing as I tested convoys only :yep:

Well trying out .20 last night I noticed some weirdness with convoys, too... I was on the way to drop off a spy in Canada in 1942 and I encountered an American convoy with 5 escorts, I think. I snuck in close and fired two torps at one merchant, two at another and the stern at one of the destroyers.

Sunk all three and remained undetected while the rest of the convoy continued on as if nothing happened. Some of the boats did turn on search lights though...

Another strange thing (not necessarily related to this mod) is that my radar either wasn't working or my officer wasn't reporting contacts because I got within visual range in the middle of the night without hearing a thing from the FuMO 29... I am using New UIs 4.0.3, as well, if it matters.

The General 08-22-10 05:41 AM

Quote:

Originally Posted by TheDarkWraith (Post 1473579)
what happens if you fire at them? Do you know how to use the AI debugger built into the game? If so, open it up and tell me what the operations set are for the two enemy units.

I have not used the Debugger before, but I got this far:

http://img291.imageshack.us/img291/2413/61397957.jpg

I loaded my campaign at the location near Bergen (As illustrated earlier in this Thread). At this point the Destroyers are moving around quite nicely, but as I approach they slow to a halt and do not attack. They do not respond if I attack them.

I selected 'Sim' in the the (Select Unit Type) Debugger menu and selected one of the two V&W Destroyers (Unit Type), I assume it's the one I'm nearest me in the game? As I did this the whole Game crashed :o

Arclight 08-22-10 05:53 AM

That's familiar. :haha:

Happens when you screw up the AI, even just a typo. :DL

The General 08-22-10 05:55 AM

Quote:

Originally Posted by Arclight (Post 1474186)
That's familiar. :haha:

Happens when you screw up the AI, even just a typo. :DL

Yeah, but I uninstalled the IRAI Mod so the game should be stock. How are you supposed to debug anything if the Debugger crashes? Where do I look for these typos?

Arclight 08-22-10 06:06 AM

Ah, shouldn't happen at stock. Never had it crash without first messing with the AI.

There's a chance something went wrong with rollback and modded files are still in place. Only reason I can think of it's happening.

The General 08-22-10 06:38 AM

Ok, I'm gonna go ahead and reinstall SH5 then and re-test.

Trublion 08-22-10 08:54 AM

Tried another single mission with 0.18, same behavior

I rolled back to 0.18 from 0.20, ships are still not moving.
2 things may happening:
a/ some files were not rolled back
b/ .18 was already bugged, which could make sense since I have not able to find any ships in my campaign lately after installing 0.18 a week ago...
:damn:

Trublion 08-22-10 08:55 AM

using JSM of course...:hmmm:

The General 08-22-10 01:05 PM

This is what happened to me?! How can this be?

mauriga 08-22-10 01:19 PM

Hi TWD and tnx for your MOD.
I really appreciate everything that gives more realism to SHV.

I just played for a couple of hours your 20th version.
I was in the erly war (October 1939) and I spotted an unescorted convoy.
I easily torpedoed two merchants.
I wonder why the others ships didn't go in a zig-zag mode.

Is it a behavour not implemented into your IRAI?
Or have I done something wrong?

Tnx in advance for your reply.

mauriga

TheDarkWraith 08-22-10 01:35 PM

Quote:

Originally Posted by mauriga (Post 1474413)
Hi TWD and tnx for your MOD.
I really appreciate everything that gives more realism to SHV.

I just played for a couple of hours your 20th version.
I was in the erly war (October 1939) and I spotted an unescorted convoy.
I easily torpedoed two merchants.
I wonder why the others ships didn't go in a zig-zag mode.

Is it a behavour not implemented into your IRAI?
Or have I done something wrong?

Tnx in advance for your reply.

mauriga

I haven't put in tactics for unescorted convoys yet.

Now to follow up on what I said I would investigate as far as v0.0.20: it had lots of errors :nope: Wow, it was bad. I've fixed the errors and will be releasing v0.0.21 here shortly for confirmation.

PL_Andrev 08-22-10 02:21 PM

Quote:

Originally Posted by TheDarkWraith (Post 1474428)
v0.0.20: it had lots of errors :nope: Wow, it was bad. I've fixed the errors and will be releasing v0.0.21

These are wonderful news!
It is not problem that previous version contains bugs, the most important thing is that you recognize them!!!
:yeah:

TheDarkWraith 08-22-10 02:32 PM

Quote:

Originally Posted by Antar (Post 1474475)
These are wonderful news!
It is not problem that previous version contains bugs, the most important thing is that you recognize them!!!
:yeah:

yes I recognized them. Some of them I had to dig to find. There are so many available operations and roles that it gets quite confusing very fast :doh:
One big bug was when the commander was setting roles it relies on the availability to assign any unit to any role it chooses. Well I had some roles setup to pick the unit closest to the contact. This defeated the commander's role and invalidated the tactic :nope:
There was another big bug in the firing of cannons. It was tied to the ability to DC....bad.
There were many logic errors also in the decision making process to determine what tactic to set.....very bad.

Still have to make tactics for escortless convoys.


All times are GMT -5. The time now is 09:45 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 1995- 2025 Subsim®
"Subsim" is a registered trademark, all rights reserved.