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 > SHIII Mods Workshop
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 07-30-17, 02:51 AM   #1
itadriver
Commander
 
Join Date: Aug 2007
Location: Italia Venezia
Posts: 462
Downloads: 221
Uploads: 0
Default Spheres and boxes

Hi,
I know that spheres are for collisions and boxes are for damages, but

if in a zone there is a box but there is no sphere, the AI is able to calculate the damage in that zone or not? For example: DD have just one sphere in the middle of the hull. If its aft is hitted, the AI calculate the damage points in that zone?
Thanks
itadriver is offline   Reply With Quote
Old 07-30-17, 04:07 AM   #2
the_frog
Commander
 
Join Date: Nov 2010
Posts: 456
Downloads: 17
Uploads: 0
Default

Ships that break into parts have the spheres linked to those parts. Check the the damage controllers of the *_F and *_B models.

By the way, spheres do define the shape of the ship, thus, controll collisions with other objects. The boxes do work without the spheres, meaning they react to direct hits. Magnetic torpedo fuses, however, seem triggered by spheres.
the_frog is offline   Reply With Quote
Old 07-30-17, 04:17 AM   #3
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,214
Downloads: 793
Uploads: 10
Default

Ciao itadriver,
the answer to your question might depend on the unit type: sea, air, land etc. From my my limited experience with the land unit I am currently messing with, spheres are not needed for ammo damage detection and I suspect them to only be used for collision detection with the camera and with other collisionable objects

Maybe others with a more comprehensive knowledge of the game, will give you a more specific answer relative to sea units
__________________
_____________________
|May the Force be with you!|
...\/
gap is offline   Reply With Quote
Old 07-30-17, 04:49 AM   #4
itadriver
Commander
 
Join Date: Aug 2007
Location: Italia Venezia
Posts: 462
Downloads: 221
Uploads: 0
Default

Ok thanks
itadriver is offline   Reply With Quote
Old 07-30-17, 06:15 AM   #5
itadriver
Commander
 
Join Date: Aug 2007
Location: Italia Venezia
Posts: 462
Downloads: 221
Uploads: 0
Default

another thing. where were tubes on hks4 thor? I haven't find anything.
itadriver is offline   Reply With Quote
Old 07-30-17, 09:01 AM   #6
Kendras
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Quote:
Originally Posted by the_frog View Post
Magnetic torpedo fuses, however, seem triggered by spheres.
Do you mean that magnetic torpedoes explode only when they hit a collision sphere (this is what I suspect) ? In this case, this would be a 'fake' magnectic behaviour...

Quote:
Originally Posted by gap View Post
spheres are not needed for ammo damage detection and I suspect them to only be used for collision detection with the camera and with other collisionable objects
I think so too.
  Reply With Quote
Old 08-02-17, 09:22 AM   #7
itadriver
Commander
 
Join Date: Aug 2007
Location: Italia Venezia
Posts: 462
Downloads: 221
Uploads: 0
Default

so if i set AI ships with only three spheres (front, middle and back), there should be no problems and older pc can have easiest life
itadriver is offline   Reply With Quote
Old 08-02-17, 11:57 AM   #8
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,214
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by itadriver View Post
so if i set AI ships with only three spheres (front, middle and back), there should be no problems and older pc can have easiest life
The only problem I can see is that the three big spheres wouldn't follow ship models so strictly. Weird collision interactions are to be expected, both with other vesseld and with the seabed (in shallow waters), and magnetic pistols might be rendered buggy.
All in all, my susggestion is to keep small-sized spheres near the keels, the prows and the sterns, and to place the big spheres near the center and center-top section of each ship, but that's probably how stock ships are set anyway
__________________
_____________________
|May the Force be with you!|
...\/
gap is offline   Reply With Quote
Old 08-03-17, 03:19 PM   #9
the_frog
Commander
 
Join Date: Nov 2010
Posts: 456
Downloads: 17
Uploads: 0
Default

[QUOTE=Kendras;2503693]Do you mean that magnetic torpedoes explode only when they hit a collision sphere (this is what I suspect) ? In this case, this would be a 'fake' magnectic behaviour...

All SH3 is "fake"
the_frog 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:47 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.