I'm building a mod that increases stations draw and lod distances. It's almost done but I can't seem to find where to look for station docking area lights.
Here's what I mean.

currently draw distance for this light seem to be about 40 000 meters
Moderators: Scripting / Modding Moderators, Moderators for English X Forum
Thanks!Alan Phipps wrote: ↑Sat, 25. Jan 20, 16:33 I'll move it to the correct forum but I'll also ask the devs to try to help you.
Thank you! will try that out. I also found another way - by disabling culling for "default_rendertag". But it comes with strange bug - every station and gate beyond 200 000m renderes like a dark shadow when in the center of the screen and become visible again when you move camera to the side and objects stay near the border of field of view.linolafett wrote: ↑Mon, 27. Jan 20, 09:38 The "station docking area lights" are a simple emissive geometry, tagged with "tags = part detail_l nocollision fx"
The only way for you to increase the visible distance of this object, is to increase the "detail_l" renderrule settings. This will of course change the behaviour of all objects tagged "detail_l".
I only experimented with culling to see what effect it will have, not going to put it in mod.linolafett wrote: ↑Mon, 27. Jan 20, 14:22 Dont disable culling, please.
Otherways objects will still be rendered, even when smaller than a pixel in diameter. Which is obviously horribly bad for a lot of reasons.
Adjust the exisiting rules to still fade out objects at a certain size.
The blackness is caused by the shadow map, dont ask me why exactly, but the issue is not appearing when having shadows disabled. Something on the render engine side of things, and nothing you can adjust (i think).
damn, seems like I've been doing everything wronglinolafett wrote: ↑Mon, 27. Jan 20, 16:22 Again, never ever set something to lod radius 0. This is incorrect handling and will cause issues.
The distance parameter is not used anymore, as far as i know.
Thank you! sry for taking your timelinolafett wrote: ↑Mon, 27. Jan 20, 16:51 You need to understand how the lodradius settings work, before changing those values randomly.
Take a look here, where i explained how that works. This then should help you be able to set proper values for your mod.
viewtopic.php?p=4892452#p4892452
My new hobby - modding favorite games
Code: Select all
<rule name="dbglodrule_1" range="40000.0" sizecontrib="100" speed="2.0" lodradius0="50" lodradius1="25" lodradius2="8.75" lodradius3="1.25">
Maybe someone forgot one 0linolafett wrote: ↑Tue, 28. Jan 20, 10:24 I asked around what the black stuff is.
Its caused by a set distance after which there is no light calculation being done anymore.
This setting is not easily accessible for you to change (defined in common.h "#define BGDIST (2000000.0f)").
There is probably also something off, as its set to 2000km and this darkness appears earlier than that.
Hi. Could you please look into the bug if you have time to spare please?
I understand. Thank you.linolafett wrote: ↑Thu, 2. Apr 20, 14:55 I am just an artist, not the graphics engine programmer, so i cant really help you there.
We are also very busy with other critical issues like currently the artifacting on amd gpus.
This dark shadow effect is on our long term to do list.
Hey linolafett, sry for bothering you again. I'm tweaking masstraffic now for my mod - my aim is to make masstraffic ships more visible. When editing LODs for "masstraffic" and "xs_ships" I can make them more visible in the distance. But at the same time, when tweaking "dbglodrule_ship_xs" lowering LODs makes the glow around the engine disappear while ships themselves are more visible in the distance. Is there a way to make the engine glow stay while at the same time they become more visible in the distance?