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-23-10, 04:10 PM   #1
Nisgeis
Ocean Warrior
 
Join Date: Jan 2008
Posts: 2,909
Downloads: 77
Uploads: 11
Default

The AI Scripting should be patrol independant, so as long as you shut the game down before you install it, you should be able to run it from a save game on patrol. Using the AI debugger, you can re-load the scripts on the fly with the game running and it works mid-engagement. . Gord bless those devs.
__________________
--------------------------------
This space left intentionally blank.
Nisgeis is offline   Reply With Quote
Old 03-23-10, 04:13 PM   #2
Heretic
Commodore
 
Join Date: Mar 2005
Location: Nebraska
Posts: 617
Downloads: 240
Uploads: 2


Default

Quote:
Originally Posted by Nisgeis View Post
The AI Scripting should be patrol independant, so as long as you shut the game down before you install it, you should be able to run it from a save game on patrol. Using the AI debugger, you can re-load the scripts on the fly with the game running and it works mid-engagement. . Gord bless those devs.
Have you reloaded scripts successfully? When I tried that with the crew ai, they either lose all their strategies or crash the program.
Heretic is offline   Reply With Quote
Old 03-23-10, 04:19 PM   #3
Nisgeis
Ocean Warrior
 
Join Date: Jan 2008
Posts: 2,909
Downloads: 77
Uploads: 11
Default

Well, the scripts are different per category and I've only been dealing with the units, so the 'sim' category, but reloading scripts isn't a problem. Refreshing can cause a crash, if you have a behaviour or unit selected which is not loaded. When you first load the AI debugger, select the category, then click refresh, BEFORE selecting anything in the second drop down, as for whatever reason, it will list all the old behaviours that may not be loaded and will crash the game if you try to access them. For example, if you are looking at a ship that sinks, then pressing refressh the game will crash, as that unit no longer exists.

EDIT: Oh yeah and if you muff up a script, it will crash the game if you reload the scripts, but then again the game won't restart with muffed up AI scripts.
__________________
--------------------------------
This space left intentionally blank.
Nisgeis is offline   Reply With Quote
Old 03-23-10, 04:24 PM   #4
Heretic
Commodore
 
Join Date: Mar 2005
Location: Nebraska
Posts: 617
Downloads: 240
Uploads: 2


Default

Thanks. I think I always had something selected in the 2nd dropdown.
Heretic is offline   Reply With Quote
Old 03-23-10, 08:15 PM   #5
Will-Rommel
Chief
 
Join Date: Jan 2008
Posts: 320
Downloads: 81
Uploads: 0
Default

Downloaded, will start testing tonight or tomorrow.
__________________
-Fighting is a lifestyle-
Will-Rommel is offline   Reply With Quote
Old 03-24-10, 04:18 AM   #6
Nisgeis
Ocean Warrior
 
Join Date: Jan 2008
Posts: 2,909
Downloads: 77
Uploads: 11
Default

Thanks Will-Rommel, feedback would be appreciated, so I can kill you all. I mean, improve the AI.
__________________
--------------------------------
This space left intentionally blank.
Nisgeis is offline   Reply With Quote
Old 03-24-10, 03:21 PM   #7
Will-Rommel
Chief
 
Join Date: Jan 2008
Posts: 320
Downloads: 81
Uploads: 0
Default

No problem, will report here as soon as i see actions. (Should be plenty of, it's the happy days)
__________________
-Fighting is a lifestyle-
Will-Rommel is offline   Reply With Quote
Old 03-26-10, 02:31 AM   #8
PL_Andrev
Grey Wolf
 
Join Date: Feb 2009
Posts: 995
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   #9
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   #10
PL_Andrev
Grey Wolf
 
Join Date: Feb 2009
Posts: 995
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   #11
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
Reply

Tags
favorite

Thread Tools
Display Modes

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 03:56 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.