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 08-19-12, 10:55 AM   #11
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'm pretty sure all the guns are missing boxes and spheres.
I have checked it today. Only two guns with a wpn controller are missing their box. I can only think that devs oversighted them. All of them are missing collision spheres though. This is why I thought that collision spheres are not needed with the guns.

Quote:
Originally Posted by TheDarkWraith View Post
Let me tell you why you need the spheres as you were questioning that some posts ago. The game uses the spheres for broad collision test. If a collision test passes the broad test then it checks for collision against bounding boxes (a much more computational endeavor). If it passes that test then it checks every item's DMG_col node for collision (except if it has a weapon controller on it - then it uses the bounding box computed from the object). It's a 3 tiered approach for testing collisions. Testing for intersection with a sphere is a not so computationally intensive endeavor (it's cheap).
Okay thanks. I'm about to test your theory in game. If you are correct, I shouldn't be able to destroy any deck gun as I did with the searchlights.

Quote:
Originally Posted by TheDarkWraith View Post
I see you like dabbling in the files and trying/testing things...I can give you something to keep you busy for awhile if you're interested. It involves testing some ideas dealing with the flooding model and zones (boxes)
I tend to be a lazy tester, hate the long loading times, but please tell me: I am glad to help you if I can


P.S: has anyone tested the searchlight patch other than me? I am curious to know if it is working also for you guys as it did with me
gap 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 02:32 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.