SUBSIM Radio Room Forums



SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997

Go Back   SUBSIM Radio Room Forums > Silent Hunter 3 - 4 - 5 > SH5 Mods Workshop
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 03-25-10, 04:49 PM   #31
PL_Andrev
Grey Wolf
 
Join Date: Feb 2009
Posts: 992
Downloads: 91
Uploads: 0
Default

Quote:
Originally Posted by Nisgeis View Post
New version is up, old version link removed. New link is in the first post.
Thanks, but your solution (info about new version in #XX post) is not good info - is not readable. Could you put at 1st post in this subject info about new version (is it 1.1? which version I dowloaded?) and put a small changelog?

But thanks for fast development!
__________________

PL_Andrev is offline   Reply With Quote
Old 03-25-10, 05:10 PM   #32
thruster
Electrician's Mate
 
Join Date: Nov 2008
Posts: 139
Downloads: 0
Uploads: 0
Default

Quote:
Nisgeiswrote: Hi Thruster,

I haven't noticed any effect by bottoming the boat.

New version is up, old version link removed. New link is in the first post.

I have added in spiralling searches, but I'm not 100% convinced that the AI is able to switch roles properly between search and destroy when it has found you...

This has been driving me mad for the past couple of days.
thanks for your reply. keep up the great work! be aggressive!
thruster is offline   Reply With Quote
Old 03-25-10, 05:43 PM   #33
Nisgeis
Ocean Warrior
 
Join Date: Jan 2008
Posts: 2,909
Downloads: 77
Uploads: 11
Default

Quote:
Originally Posted by Antar View Post
Thanks, but your solution (info about new version in #XX post) is not good info - is not readable. Could you put at 1st post in this subject info about new version (is it 1.1? which version I dowloaded?) and put a small changelog?
I'm not sure what you mean about it not being readable? The new [WIP] is v 1.01, which is in the first post and also on the download page and it's also on the mod name. Changelog isn't really necessary as it's not been released yet , but a small synopsis is on the first page.
__________________
--------------------------------
This space left intentionally blank.
Nisgeis is offline   Reply With Quote
Old 03-26-10, 02:31 AM   #34
PL_Andrev
Grey Wolf
 
Join Date: Feb 2009
Posts: 992
Downloads: 91
Uploads: 0
Default

I mean list with all versions.
Now it is, thanks.
__________________

PL_Andrev is offline   Reply With Quote
Old 03-26-10, 03:39 AM   #35
AOTD_Rhonen
A-ganger
 
Join Date: May 2006
Posts: 76
Downloads: 31
Uploads: 0
Default

does the mod works in MP-mode?
__________________

Member of A.O.T.D


Es gibt zwei Arten von Bugs
1. Programmfehler
2. Fehler zwischen Monitor und Sitzlehne

Die 2. sind die schlimmeren, denn die kann man nicht beheben.
AOTD_Rhonen is offline   Reply With Quote
Old 03-26-10, 04:08 AM   #36
PL_Andrev
Grey Wolf
 
Join Date: Feb 2009
Posts: 992
Downloads: 91
Uploads: 0
Default

Good question.
All modes (single and multi) based on this same game engine, but the correct question is:

What will AI do, if contact is lost and find another one?

My proposal:
1) Looking for lost contact by 10-15 minutes,
2) Listen uboat sound (no speed) by 2-3 minutes
3) Attack new, closest contact.
__________________

PL_Andrev is offline   Reply With Quote
Old 03-26-10, 12:55 PM   #37
Nisgeis
Ocean Warrior
 
Join Date: Jan 2008
Posts: 2,909
Downloads: 77
Uploads: 11
Default

Quote:
Originally Posted by AOTD_Rhonen View Post
does the mod works in MP-mode?
I don't know, I've never got an MP game running, but I would imagine so. The one thing I am wary of is testing in a single player missions, as historically with SH, single missions and campaign missions play differently.

Quote:
Originally Posted by Antar View Post
What will AI do, if contact is lost and find another one?

My proposal:
1) Looking for lost contact by 10-15 minutes,
2) Listen uboat sound (no speed) by 2-3 minutes
3) Attack new, closest contact.
In this mod, AI will start looking for a lost contact after about 10 minutes. If it finds a new contact, it will concentrate on the new contact. I think I'm right in saying that each ship can only deal with one contact at a time. From looking at the sensors, there is hardly any difference between slow moving and stationary as far as sonar detection goes, so slow and moving is better. The only reason for an AI to stop is if it wants to disappear from the U-Boats sonar.

There seem to be a few problems with the way the AI is implemeneted. One is that there doesn't seem to be a way to communicate that a new contact has been found, so the commander of a convoy will only know how long its been since the first sighting happened, not how the individual destroyers on the scene are doing, so it's a bit hard getting the commander to make informed decisions, as he doesn't know anything. This affects role assignment, as the commander can't tell a DD to go to attack mode, as the commander has no idea if the DD has re-acquired the target again. Annoying.
__________________
--------------------------------
This space left intentionally blank.
Nisgeis is offline   Reply With Quote
Old 03-26-10, 03:52 PM   #38
piri_reis
Seasoned Skipper
 
Join Date: Aug 2005
Location: Istanbul, Turkiye
Posts: 715
Downloads: 115
Uploads: 0
Default

Quote:
Originally Posted by Nisgeis View Post
This affects role assignment, as the commander can't tell a DD to go to attack mode, as the commander has no idea if the DD has re-acquired the target again. Annoying.
Just thinking outloud here. Can you define some global variables which the DD's at the scene can set, like made contact again, lost contact, searching.. And then have the commander script read into these variables to make more intelligent decisions.
__________________

Lt.z.S. Barbaros Hayreddin, U-35, 2nd Flot/Kiel, Type VIIB
Oct.29.1939, 2nd Patrol Eastern English Waters
Running SH5/TWOS
piri_reis is offline   Reply With Quote
Old 03-26-10, 04:49 PM   #39
wamphyri
Lieutenant
 
wamphyri's Avatar
 
Join Date: May 2004
Location: Lethbridge, Alberta
Posts: 260
Downloads: 40
Uploads: 0
Default

Found an interesting side effect. I was traveling through the dover straight and was just about past all the DD's when my periscope got spotted. I don't recall if the planes had been in the area already but they joined in on the attack. There was around 6-8 planes total and 5 DD's total. Sure I wasn't anywhere near the spot they were attacking but interesting all the same.

I need to work on the plane AI because they will just attack where a sub was last spotted until they run out of fuel.

edit - also DD's will come if their close enough when you get spotted by a plane.. this mod really makes the straights of dover as dangerous as it should be

Last edited by wamphyri; 03-26-10 at 05:09 PM.
wamphyri is offline   Reply With Quote
Old 03-27-10, 04:51 AM   #40
Nisgeis
Ocean Warrior
 
Join Date: Jan 2008
Posts: 2,909
Downloads: 77
Uploads: 11
Default

Quote:
Originally Posted by piri_reis View Post
Can you define some global variables which the DD's at the scene can set, like made contact again, lost contact, searching.. And then have the commander script read into these variables to make more intelligent decisions.
I'll have a look, it should in theory be possible, but it depends how the game reads the scripts and parses them.
__________________
--------------------------------
This space left intentionally blank.
Nisgeis is offline   Reply With Quote
Old 03-27-10, 11:34 AM   #41
NoLine
Medic
 
Join Date: Jun 2005
Location: AN85
Posts: 167
Downloads: 55
Uploads: 0
Default

I had a look at these scripts and noticed some mistakes which might mean the scripts dont run at all

example : in airplane.aix it says :
Code:
 action
 {
  Plane:FireTorpedoes()
 }
but (i think) it needs to be :

Code:
 action
 {
  Plane:FireTorpedoes();
 }
there seem to be more of these, ill see what happens if i remove them

cheers
Noline
NoLine is offline   Reply With Quote
Old 03-27-10, 11:50 AM   #42
Heretic
Commodore
 
Join Date: Mar 2005
Location: Nebraska
Posts: 617
Downloads: 240
Uploads: 2


Default

In my experience, syntax errors produce immediate CTD, so I wouldn't think that's a problem. Certainly worth experimenting with though.
Heretic is offline   Reply With Quote
Old 03-28-10, 09:03 AM   #43
robbo180265
Admiral
 
Join Date: Oct 2006
Location: Brighton, England.Party capital of the south
Posts: 2,255
Downloads: 122
Uploads: 0
Default

Ok I'm using this mod and it's a massive difference to the "out of the box" AI.

I stalked a convoy whilst in shallow waters. The DD did come look for me after all sinkings but couldn't find me. I was running at slow speed, not silent and at periscope depth.

So it seems that although they now spend considerable time looking, they can't actually find you still.

I did briefly surface and the DD steamed straight towards the area that it spotted me. I was still able to get away whilst at periscope depth and running at slow speed.

So definatly on the right track but I'm guessing that the sensors need tweaking too.

Good work though - things are really looking up
robbo180265 is offline   Reply With Quote
Old 03-28-10, 09:21 AM   #44
Coldcall
Chief
 
Join Date: Mar 2010
Posts: 325
Downloads: 42
Uploads: 0
Default

ya please keep developing this mod, so far works well for initial reactions by the warships, but they remain very poor at triangulating a search.

I keep restarting my campaigns so farthest Ive gone is happy times. I'm wondering if the stock AI gets better later on, then this tweak to the reactions may compliment that.

I've heard many people say the AI gets better as the years roll by but is that tested and apparent in the code, or just a myth?
Coldcall is offline   Reply With Quote
Old 03-28-10, 09:31 AM   #45
Nisgeis
Ocean Warrior
 
Join Date: Jan 2008
Posts: 2,909
Downloads: 77
Uploads: 11
Default

Thanks for the feedback. The enemy AI won't get better, but the sensors they use will (I think), which will make their searches more effective. When they get radar they will get much harder. There's also no way to see what the date is, so you can't implement strategies as they became used historically, but what you could do is to restrict certain strategies to elite or very good AI and then modify the levels of escorts in the campaign by date. I'm not sure if changing their level changes how effective their sensors are though (on a non scripting level). I don't think they should be very good at finding you early war, especially if you are on the surface at night.

Quote:
Originally Posted by NoLine View Post
I had a look at these scripts and noticed some mistakes which might mean the scripts dont run at all

Hi NoLine, thanks for the suggestion. I tried what you suggested and it made no difference. I think the problem is that the aircraft we are seeing eraly on simply don't have bombs or torpedoes.

I can't get airplanes to attack with cannon. I can get them to circle you, make dummy bomb runs on you and other things, but they will only fire if they are flying directly at you. This will work with aircraft that have nose turrets, but not things like spitfires or swordfish, which have fixed guns. So that was a bit of a waste of time. I think the main problem is that the planes in SH4 didn't attack without bombs either - they'd attack and just fly off when they had no more bombs, so planes never strafed there either. There's no scripting to make strafing with cannon work. The scripting for aircraft seems to be very limitted, unless I'm missing something.
__________________
--------------------------------
This space left intentionally blank.

Last edited by Nisgeis; 03-28-10 at 09:54 AM.
Nisgeis is offline   Reply With Quote
Reply

Tags
favorite


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 10:49 PM.


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