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 08-20-12, 09:01 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
I would say because the box and sphere surrounded both items they were included for collisions. Plus the reflector is a child of the base so that probably has something to do with it. Now why the reflector disappeared is a mystery to me....try something: do that same test but remove the ObjectRemains controller from the base and see if the same result happens. I have a hunch it won't
Difficult to verify it in a single test: ObjectRemains or not, by aiming directly at the searchlight the most likely outcome is smashing off everything...
Anyway how do you think that that controller can be related to the disappeared reflector since:

a) ObjectRemains was assigned to the base;
b) it was set to show a completely different object, and not a reflector-less base
gap is offline   Reply With Quote
Old 08-20-12, 09:03 PM   #2
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by gap View Post
Difficult to verify it in a single test: ObjectRemains or not, by aiming directly at the searchlight the most likely outcome is smashing off everything...
Anyway how do you think that that controller can be related to the disappeared reflector since:

a) ObjectRemains was assigned to the base;
b) it was set to show a completely different object, and not a reflector-less base
I was just curious to know what the outcome of it was that's all. Everyone's still trying to figure out all the little intracacies of this game
TheDarkWraith is offline   Reply With Quote
Old 08-20-12, 09:15 PM   #3
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 was just curious to know what the outcome of it was that's all. Everyone's still trying to figure out all the little intracacies of this game
Okay, I thought there was a special reason behind your curiosity, like something you had half discovered during your debugging activity.

I will keep on my tests on this subject anyway, and I'll keep you informed about them
gap is offline   Reply With Quote
Old 08-21-12, 06:01 AM   #4
The General
The Old Man
 
Join Date: Aug 2006
Location: Aberdare, Wales, U.K.
Posts: 1,551
Downloads: 190
Uploads: 3
Default

Quote:
Originally Posted by gap View Post
There are two parameters under SearchLightEffect controller for modifying beam's luminosity over distance. I didn't play too much with those parameters, but I am sure that they can be finetuned for getting a better visual effect.
Ok, thanks gap. Can you tell me which folder SearchLightEffect is in and I'll have a fiddle? With the paramteres I mean
__________________
***THE GENERAL***
The General is offline   Reply With Quote
Old 08-21-12, 06:47 AM   #5
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by The General View Post
Ok, thanks gap. Can you tell me which folder SearchLightEffect is in and I'll have a fiddle? With the paramteres I mean
data/Library/ShipParts/guns_radars_01.sim

Under SearchLightEffect controller, Atenuation group, there are two parameters called A and B. Light intensity at any given distance from the reflector is calculated as:

Light intensity = 1 / (A + B*<distance>)

Try to match the visual beam's luminosity with the Range parameter, found within the same controller. Based on sparse information on common naval reflector ranges I've found on the web, I have set it to 800 mt (stock setting was: 200 mt), but you might want to further finetune it.

Within the same controller there are two other parameters for adjusting beams color (I've set it to a shade of violet) and cone angle.

Another controller you might want to fiddle with is WaterReflection, found in the same sim file, though I don't fully understand all of its parameters.

Keep us informed on any progress you will be doing!

EDIT: beam's shape and gradient transition (from bright to dark) could be affected as well by two dds textures found in data/Textures/TNormal/tex: raza_reflector_1.dds and raza_reflector_2.dds. To fully understand them you should look at their alpha channel.

Last edited by gap; 08-21-12 at 06:59 AM.
gap is offline   Reply With Quote
Old 08-22-12, 08:39 AM   #6
The General
The Old Man
 
Join Date: Aug 2006
Location: Aberdare, Wales, U.K.
Posts: 1,551
Downloads: 190
Uploads: 3
Default

@gap

I had a look at the file you're referring to and it's in code. Should I be using some sort of editing software?
__________________
***THE GENERAL***
The General is offline   Reply With Quote
Old 08-22-12, 08:48 AM   #7
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

@gap - just had a thought come to mind as to why the ObjectRemains controller is not working for you. The zones(s) you have chosen for the searchlight, do they have this entry:
Destructible=Yes

If not, try choosing zone(s) or make new zones where this is set to yes.
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 11:57 PM.


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.