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 05-01-13, 02:57 PM   #1
Fifi
Navy Seal
 
Fifi's Avatar
 
Join Date: Dec 2012
Location: France
Posts: 6,254
Downloads: 510
Uploads: 0


Default

Thanks

Quote:
Originally Posted by TheDarkWraith View Post
I also rewrote the whole torpedo impact checking code for the game. The old code was severely flawed and my previous patch to fix it was just a Band-Aid. The new code is robust and works great!
What do you mean with the rewrote of torpedo impact?
The efficiency of torpedo or the visual effects?
Fifi is online   Reply With Quote
Old 05-01-13, 03:05 PM   #2
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Fifi View Post
What do you mean with the rewrote of torpedo impact?
The efficiency of torpedo or the visual effects?
I had to rewrite the whole code dealing with checking/computing torpedo impact angle to unit. The old code was garbage - it appears many different people 'worked' on it as there was no agreement to what the values meant. The torpedo impact angle passed to the function was a SIN value and the function checking torpedo impact angle to values in the torpedo's sim file was using COS values....that's just one example. It was garbage is the only way to describe it
TheDarkWraith 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 12:21 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.