Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
Data Sheets \ General \ BackgroundTask \ Line 25
But, this sort of causes the boat too glow in the dark.
The other way is with a Program called DnSpy
Open the com.uboat.game.dll
Search for UBoat.Game.Scene.Effects
Scroll down until you see the UnderwaterLightEffectTask
If you decide to change this file, remember to save a backup copy on the Desktop.
thank you very much for your help
I followed your instructions to modify its dll file
private void DoUpdate()
{
float num = -3f -UnderwaterLightEffectTask.mainCamera.transform.position.y;
if (num> 0f)
{
this.lightEffect.enabled = true;
float num2 = this.lightIntensity;
num *= 0.12f;
if (num> 1f)
{
num = 1f;
}
this.lightEffect.intensity = num * num2 * this.intensityMultiplier * 0.1f;
return;
}
this.lightEffect.enabled = false;
}
I reduced the impact of "this.lightEffect.intensity" by 1/10.
But there is no change in the game.
I feel that because there is no light underwater, we modified this.lightEffect.intensity and it has no effect.
So I would like to ask, where should I look for a light that shines underwater?
But, now that you asked, maybe this is the wrong approach, perhaps the answer is changing the color of the water in the ocean to resemble the color of the water around the docks.
I'll post back if I can find out any new information.
I found that the function of this code is to trigger a light attached to the lens after the submarine dives 3 meters with the lens.
As the depth of the dive is deeper, the light will be brighter.
Last time I reduced its light to 1/10, so it did not produce the correct effect.
The better approach here is to multiply it by 60 times the effect.
I try it`````
Have you been able to determine what settings control the darker water when the boat goes deeper?
I messed up somewhere with that file, and now no matter how much noise I make, the destroyers are not able to locate me. So, after a hundred different edits, I just now re-downloaded that file to start all over.
This time I plan on documenting any changes for future references , especially after B 129 comes out, and over-writes this file.