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 08-02-10, 12:22 PM   #1
PL_Andrev
Grey Wolf
 
Join Date: Feb 2009
Posts: 995
Downloads: 91
Uploads: 0
Default

Quote:
Originally Posted by TheDarkWraith View Post
same thing with acceleration. Ships/subs have almost instant acceleration and deceleration. There has to be a way to mitigate this - probably increasing the vessel's mass in the files?
I think not, the fish boat and CV can stop at this same time...
I have a better idea...
This procedure is independent form ship mass (only for possibility check):

Initial ship speed: 10
Final speed: 0
Braking time = 60 sec

hit torpedo = timer is start
c = 10 - 0,1667*t
if c < speed - 0.5 then speed = speed-0.5

Tell me if it is working... if not, tell me too.
__________________

PL_Andrev is offline   Reply With Quote
Old 08-02-10, 12:25 PM   #2
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Antar View Post
I think not, the fish boat and CV can stop at this same time...

I have a better idea...

This procedure is independent form ship mass (only for possibility check):

Initial ship speed: 10
Final speed: 0
Braking time = 60 sec

-----------------

hit torpedo = timer is start
c = 10 - 0,1667*t
if c < speed - 0.5 then speed = speed-0.5
ah I see what you mean. Wish I could put timers in that AI code but can't. It's very limited in what you can do in it. It's like a hybrid C++ function and python script with the syntax removed
TheDarkWraith is offline   Reply With Quote
Old 08-02-10, 12:50 PM   #3
PL_Andrev
Grey Wolf
 
Join Date: Feb 2009
Posts: 995
Downloads: 91
Uploads: 0
Default

Quote:
Originally Posted by TheDarkWraith View Post
ah I see what you mean. Wish I could put timers in that AI code but can't.
Really?
And what do you think about system clock?
__________________

PL_Andrev is offline   Reply With Quote
Old 08-02-10, 12:54 PM   #4
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Antar View Post
Really?
And what do you think about system clock?
the devs have a set of 'rules' and a set of functions that you are allowed to use in the AI 'blocks' like action, precond, etc. Each unit (aircraft, sub, ship) has different functions also. It's very complicated and I'm still figuring out what can and can't be done. I know I can't call out to any system level or outside functions though. C++ syntax is partly enforced and then again it's not I'm waiting on info from the devs that I've asked for
TheDarkWraith is offline   Reply With Quote
Old 08-02-10, 02:38 PM   #5
PL_Andrev
Grey Wolf
 
Join Date: Feb 2009
Posts: 995
Downloads: 91
Uploads: 0
Default

TDW,

What about ramming?
At SH3 ramming into was very dangerous for uboat (in real for DD too), but ramming into conning tower was safe.
Is this bug still existed in IRAI or is solved?
__________________

PL_Andrev is offline   Reply With Quote
Old 08-02-10, 02:41 PM   #6
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Antar View Post
TDW,

What about ramming?
At SH3 ramming into was very dangerous for uboat (in real for DD too), but ramming into conning tower was safe.
Is this bug still existed in IRAI or is solved?
ramming is in there. Any ship will try to ram you if their weight is > defined weight and their distance is < defined distance from you (these defined items are in the init.aix file)
TheDarkWraith is offline   Reply With Quote
Old 08-02-10, 02:51 PM   #7
TopCat
Helmsman
 
Join Date: Nov 2004
Location: Switzerland
Posts: 105
Downloads: 113
Uploads: 0
Default

I just attacked a convoy with 3 Escort units. They detected me, but by staying at periscope depth and keeping a parallel course to a merchant ship at a distance of about 100 metres, they were not able to get me, because they did not come as close to the merchant as they would have needed to.

Is there some kind of safety distance they have to keep? And if so, can there be done something to change that? I was able to cruise for hours without being attacked by the escorts. They just circled around me and my "merchant guard".
TopCat is offline   Reply With Quote
Old 08-02-10, 03:18 PM   #8
PL_Andrev
Grey Wolf
 
Join Date: Feb 2009
Posts: 995
Downloads: 91
Uploads: 0
Default

Quote:
Originally Posted by TheDarkWraith View Post
ramming is in there. Any ship will try to ram you if their weight is > defined weight and their distance is < defined distance from you (these defined items are in the init.aix file)
I mean the bug with weak durability of submarine hull and super hard durability of conning tower...
__________________

PL_Andrev is offline   Reply With Quote
Reply

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 07:39 AM.


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