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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 01-18-24, 12:04 AM   #11
LUKNER
Electrician's Mate
 
Join Date: Jun 2009
Posts: 137
Downloads: 817
Uploads: 0
Default

Quote:
Originally Posted by propbeanie View Post

As an example, open that ship's zon file, and then from the upper-right menu, open its dat file. Click on one of the ship's 3D named nodes, and then click on the "Model Preview" link in the lower part of the right window. Now click on the sixth icon from the left, above that preview window, the icon with the "Toggle zones editor" tooltip. Notice that the node you selected will show its "collision" spheres. The "F" section will have all spheres associated with it, the "B" section all that are associated with it, and the "Cabina" nodes, or the "Catarg" nodes might all have spheres associated with them also. Those are what determine if a collision has occurred. Working in conjunction with those, are the boxes. Those are of varying "types", such as "48" or "46" or "74", or whatever. If you then open the Zones.cfg file in the Data folder, you will find like-numbered entries there. 46=FloodFrontb, 48=FloodFrontf and 74=ShipBubbles (etc.) that are listed in the Zones List (index or TOC) near the top of the file. Below, you will find those names used as "headers" for those boxes you see inside the ship. Some do not have an "Effect" line, while others have multiple effects associated. Those "Effect" lines are what determines what happens with a "collision", and what effect is called.

If you shoot a torpedo, and it hits in a location that does not have an underlying effect, you won't see anything other than the torpedo explosion (and maybe an associate ship-damage decal). But damage is usually incurred by the ship... The torpedo sim file is what controls the "torpedo explosion" (which is what your picture shows), and those are called by ID numbers, such as 0xe37ec3e300ec4ba5, which is a water explosion. Trace that number, and you end up with the "@ref_torp_great_explosion" in the "particles.dat" file... you might notice that there are seven sections to that particular "explosion" effect, and each has a ParticleGenerator, each configured differently for the various aspects of the effect...

There is much more involved in this, and almost all of it beyond what my feeble brain can comprehend...

Спасибо за оказанную помощь!!! Thank you for your help!!!
LUKNER 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 01:41 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.