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 02-17-14, 03:46 PM   #1
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by TheDarkWraith View Post
v 0.0.41 released. See post #1
Thank you very much TDW

Quote:
Originally Posted by TheDarkWraith View Post
v0.0.41 - removed kamikaze tactics for airplanes added by v0.0.39 and revised some of the airplane tactics.

...

Fixed problem with planes not dropping their bombs also.
What was the problem with the kamikaze tactics? Was it related with the issue of airplanes not dropping bombs?

Quote:
Originally Posted by TheDarkWraith View Post
Added support for Generic Patcher's Air-To-Air combat patch so aircraft can target and engage other aircraft.
Are multile targets allowed, or each aircraft will aim its fexible guns against one target at each given time, no matter how many enemies are in range? In other words: has anyone tested if bombers under attack can fire their turrets against nearby enemy planes?

Quote:
Originally Posted by TheDarkWraith View Post
Changed how subs handle unknown contacts.
It is?

Quote:
Originally Posted by TheDarkWraith View Post
Remember if you like this mod or the mod-maker then show your support by nominating in the best of subsim
There is a simple reason for many of us not voting you during the last "Best of Subsim" poll. An excellent reason actually but be sure that the next year will be your turn

Quote:
Originally Posted by sober View Post
Does the player AI hit the planes ? Where are the files again ?
Reworked U-boat Guns (incomplete version)

I think that a slightly revised version of it is already included in "The Wolves of Steel" megamod
__________________
_____________________
|May the Force be with you!|
...\/
gap is offline   Reply With Quote
Old 02-17-14, 05:05 PM   #2
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by gap View Post
What was the problem with the kamikaze tactics? Was it related with the issue of airplanes not dropping bombs?



Are multile targets allowed, or each aircraft will aim its fexible guns against one target at each given time, no matter how many enemies are in range? In other words: has anyone tested if bombers under attack can fire their turrets against nearby enemy planes?
Yes and no for issue of not dropping bombs. It's better to have those tactics removed.

The SH5 game engine only allows each game unit to engage one unit at a time. The game engine keeps a list of all units the unit has detected by it's sensors but only allows the unit to engage one of those at a time. In the unit's structure in memory there is only one 'slot' to put the pointer to the unit it's engaging. The game engine was not designed to allow unit's to engage multiple targets at once. Trying to change it to allow units to engage multiple targets at once would be a total nightmare I need source code in order to do this one.
TheDarkWraith is offline   Reply With Quote
Old 02-17-14, 05:17 PM   #3
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

We rely on you TDW, I am 99% sure that one day you will fix at least the (now) useless coastal guns

As for the multi unit tracking problem, I think this something we can live with, but have you checked that aircraft under attack can track their pursuer wth their rear/waist/ventral turrets?

Most of the stock aircraft turrets are broken, but I can provide you with a bomber whose turrets are set correctly (during my tests they tracked sea targets).
__________________
_____________________
|May the Force be with you!|
...\/
gap is offline   Reply With Quote
Old 02-17-14, 05:40 PM   #4
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by gap View Post
As for the multi unit tracking problem, I think this something we can live with, but have you checked that aircraft under attack can track their pursuer wth their rear/waist/ventral turrets?

Most of the stock aircraft turrets are broken, but I can provide you with a bomber whose turrets are set correctly (during my tests they tracked sea targets).
I haven't dove into how the weapons choose their target yet (haven't found the code for it yet). But I'm almost 99% certain that all the weapons of a unit will use the contact the unit is engaging since in the hierarchy the unit object is at the top with everything related to it under it and the unit currently being engaged is a pointer contained in the unit object. Furthermore since weapons are controllers and controllers are 'attached' to the object they belong to they (controllers) base everything they do off the pointer from the object they are attached to.

Like I said though I haven't found the code that controls the weapons yet so it's all pure speculation.
TheDarkWraith is offline   Reply With Quote
Old 02-17-14, 06:02 PM   #5
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by TheDarkWraith View Post
I haven't dove into how the weapons choose their target yet (haven't found the code for it yet). But I'm almost 99% certain that all the weapons of a unit will use the contact the unit is engaging since in the hierarchy the unit object is at the top with everything related to it under it and the unit currently being engaged is a pointer contained in the unit object. Furthermore since weapons are controllers and controllers are 'attached' to the object they belong to they (controllers) base everything they do off the pointer from the object they are attached to.

Like I said though I haven't found the code that controls the weapons yet so it's all pure speculation.
Makes sense to me. The one doubt I have is: are engagements bi-univocal in game? In other words: if an unit is attacked, does it aumatically lock its guns on the attacker? This is probably of secondary importance for surface engagements, but crucial for aircraft turrets to be used correctly during dogfights
__________________
_____________________
|May the Force be with you!|
...\/
gap is offline   Reply With Quote
Old 02-17-14, 06:10 PM   #6
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by gap View Post
Makes sense to me. The one doubt I have is: are engagements bi-univocal in game? In other words: if an unit is attacked, does it aumatically lock its guns on the attacker? This is probably of secondary importance for surface engagements, but crucial for aircraft turrets to be used correctly during dogfights
Didn't see anything in SHCollisions.act or SH5.exe that says once unit takes damage from something then lock onto that unit. The game engine is pretty simple in how it determines the unit a unit is tracking/engaging:
- derive list of active game units (some units can be excluded from this list)
- iterate over list of active game units derived:
-- iterate over all sensors of the current unit
--- iterate over all active game units derived for each sensor to see if sensor detects it
--- if sensor detects it then add to list of detected units

Check all detected units to see which one was detected the 'strongest'. Place pointer to this unit in unit's contact detected 'slot'.
TheDarkWraith is offline   Reply With Quote
Old 02-17-14, 06:16 PM   #7
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by TheDarkWraith View Post
Didn't see anything in SHCollisions.act or SH5.exe that says once unit takes damage from something then lock onto that unit. The game engine is pretty simple in how it determines the unit a unit is tracking/engaging:
- derive list of active game units (some units can be excluded from this list)
- iterate over list of active game units derived:
-- iterate over all sensors of the current unit
--- iterate over all active game units derived for each sensor to see if sensor detects it
--- if sensor detects it then add to list of detected units

Check all detected units to see which one was detected the 'strongest'. Place pointer to this unit in unit's contact detected 'slot'.
If an unit can detect more than one target with its sensor, how will it decide which one to attack? The closest one maybe? Any idea?
__________________
_____________________
|May the Force be with you!|
...\/
gap is offline   Reply With Quote
Old 02-17-14, 06:25 PM   #8
THE_MASK
Ace of the deep .
 
THE_MASK's Avatar
 
Join Date: Jan 2006
Posts: 9,153
Downloads: 901
Uploads: 73


Default

German taskforce incurring heavy damage against 2 polish DDs .
Using the latest sobers mega mod list including these mods . No ctds
FX_Update_0_0_22_ByTheDarkWraith
NewUIs_TDC_7_5_0_ByTheDarkWraith
OPEN HORIZONS II v2.4
SM_Wounded_Unit_Radioing
All the latest patches
THE_MASK 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 04:26 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.