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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 02-20-23, 03:02 PM   #23
kapuhy
Grey Wolf
 
Join Date: Oct 2010
Location: Poland
Posts: 874
Downloads: 72
Uploads: 3
Default

Hi Muckenberg, thanks for the report. Hopefully I'll get some free time during next weekend to try to experiment with plane characteristics and see how they come into play. For now thing to look into: spitfires, zigzagging, and crashing into sea.

As for second Hurricane continuing, that's a but weird - it should only behave this way if it's out of bombs...

Quote:
Originally Posted by Pascal View Post
It's strange to see some planes crashing into the sea by themselves - well, it's obviously quite unrealistic and it should be possible to simply remove this action from the script (beginner pilot removed)
If only it was so simple... avoiding crashing into water is done by following block of code:

strategy AvoidImpact(Plane)
{
precond
{
Plane:StrafingTooClose()
}
action
{
Plane:AvoidWaterImpact();
}
}


Simple, right? Problem is, we don't know how exactly StrafingTooClose() and AvoidWaterImpact() work. Their code is inside sim.act file which we can't read. So we can only experiment with adding some extra conditions for these functions - but not modify functions themselves.

Edit: only way I was able to eliminate crashing into water completely, was by switching ALL planes to "level bomber" mode and adjusting their minimum height so that they just pass high over target trying to carpet bomb it. With this approach, however, they were so inaccurate they might as well be removed from game to save some fps.
kapuhy is offline   Reply With Quote
 


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 05:05 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.