Jump to content
  • 0

How to Adjust the LODs for the Simply Dirt Roads Mod ?


Question

Posted

Hello everyone !

I am the author of the mod Simply Dirt Roads.

JPk9i74.webp

It’s a fairly simple mod that modifies the vanilla road meshes by removing the paved sections, leaving only the Landscape textures visible (a sort of alternative to Northern Roads).


A user noticed that after generating LODs with DynDOLOD, the roads still display the vanilla road textures.
I have tried reading several topics and posts on this forum, but I can’t find anything conclusive... Especially since I am French and might not understand all the nuances of your language...

Currently, I don't know if I need to create "_LOD.nif" models for each mesh and region, or if I just need to create a Mesh Mask Reference Rules. I haven't changed any data regarding the LODs of roads and bridges in the Creation Kit, but maybe I just need to modify something in my ESP ? Or maybe I just need to change the Road01 textures, etc., to dirt02, fallforestdirt01, reachdirt01, and snowlandscape01 ?

Sorry for all these questions. I’m attaching a screenshot taken by the user which clearly illustrates the issue.

SH5Yylp.jpeg

If anyone kind enough could help me out, it would be really great !
Thank you !

 

Clemus.

9 answers to this question

Recommended Posts

  • 0
Posted

I've removed the cobblestone path on Nifscope. So all that's left is the "Landscape" part. On esp, I had to touch up the texture sets and texture paths on the meshes, but nothing more. I've just tried Texgen and it still generates the vanilla road textures.

  • 0
Posted
1 hour ago, Clemus said:

Hello everyone !

I am the author of the mod Simply Dirt Roads.

JPk9i74.webp

It’s a fairly simple mod that modifies the vanilla road meshes by removing the paved sections, leaving only the Landscape textures visible (a sort of alternative to Northern Roads).


A user noticed that after generating LODs with DynDOLOD, the roads still display the vanilla road textures.
I have tried reading several topics and posts on this forum, but I can’t find anything conclusive... Especially since I am French and might not understand all the nuances of your language...

Currently, I don't know if I need to create "_LOD.nif" models for each mesh and region, or if I just need to create a Mesh Mask Reference Rules. I haven't changed any data regarding the LODs of roads and bridges in the Creation Kit, but maybe I just need to modify something in my ESP ? Or maybe I just need to change the Road01 textures, etc., to dirt02, fallforestdirt01, reachdirt01, and snowlandscape01 ?

Sorry for all these questions. I’m attaching a screenshot taken by the user which clearly illustrates the issue.

SH5Yylp.jpeg

If anyone kind enough could help me out, it would be really great !
Thank you !

 

Clemus.

Since you modified the full meshes, the LOD models for roads do not match anymore. The LOD models included in DynDOLOD Resources only have the stone parts. So simply not generating any LOD for roads seems yo be the best solution in this case.

Add a rule files that disables LOD for roads. https://dyndolod.info/Help/Mesh-Mask-Reference-Rules and https://dyndolod.info/Mod-Authors#How-to-add-a-rule-file-for-a-plugin

Create a new file ..\Data\DynDOLOD\DynDOLOD_SSE_simpledirtesp.ini
Edit it in notepad and add
[Skyrim LODGen]
LODGen1=\roads\,None,None,None,None,None,Unchanged,1
LODGen2=roadchunk,None,None,None,None,None,Unchanged,1

Ship the file with your mod or let me know if you want me to include it in the next alpha version.

Let me know in case something does not work as expected or needs further clarification. In that case include DynDOLOD log and debug log as explained https://dyndolod.info/Official-DynDOLOD-Support-Forum#Post-Logs and useful screenshots of full and LOD model as explained in https://dyndolod.info/Official-DynDOLOD-Support-Forum#In-Game-Screenshots

  • 0
Posted

Thank you very much for your reply ! :)

I hadn't understood that an .ini file was required in addition to the Mesh Mask Reference Rules. 
However, I have one last question. My mod also includes a bridge modification. Would the safest way to have corresponding lods be to create them for each region and add them to my esp via the statics object edit in a Meshes/Lod/SimpleDirt/Bridges folder ? ( I don't think this would take very long to do, I'd just like to make sure I'm not doing anything wrong ). 

 

I've made another road mod called Real Dirt Roads, which includes road textures. As for the snow-covered roads, I proceeded in the same way as Simply, removing the cobblestones completely and creating a new folder with the new meshes (as it also includes modifications to be compatible with Footprints and the sound of footsteps). I guess I couldn't do it the same way. ( And I wouldn't want to bother you once again with a similar problem before your next alpha release.

 

Thanks again for your answers, I'll try to find a solution for Simply first. I'll get back to you to tell you what worked. And I have no problem adding it to your next alpha release. Maybe it'll be easier for users of this kind of mod.

  • 0
Posted

It worked ! Thanks so much ! So I created the ini for the high, medium and low values. I'll be able to publish this. I'll take a closer look at the bridges.

Capture d'écran 2024-05-18 192029.jpg

  • 0
Posted
43 minutes ago, Clemus said:

Thank you very much for your reply ! :)

I hadn't understood that an .ini file was required in addition to the Mesh Mask Reference Rules. 
However, I have one last question. My mod also includes a bridge modification. Would the safest way to have corresponding lods be to create them for each region and add them to my esp via the statics object edit in a Meshes/Lod/SimpleDirt/Bridges folder ? ( I don't think this would take very long to do, I'd just like to make sure I'm not doing anything wrong ). 

Since you modified the full models of bridges and also have filename collisions - the same filename used in different folders - I suggest to use the CRC32 of the full model as part for all the LOD filenames. See https://dyndolod.info/Mod-Authors#How-to-add-your-own-object-LOD-models

For example, copy ..\Meshes\lod\bridge\bridgenarrow01_lod_1.nif to bridgenarrow01_C88D9EE2_lod_1.nif, then remove the "BridgeNarrow01:7" shape from it.
For example, copy ..\Meshes\lod\bridge\bridgenarrow01_lod_1.nif to bridgenarrow01_28960E8B_lod_1.nif, then remove the "BridgeNarrow01:7" shape from it and replace the textures textures\landscape\Dirt02.dds and Dirt02_N.dds "for" BridgeNarrow01: with textures\landscape\snow01landscape.dds and snow01_n.dds

You will probably want to edit the 3D in Blender or 3DMax to close the holes to the side walls that will happen because of that. I would keep the new LOD files in the same folder ..\Meshes\lod\bridge\

16 minutes ago, Clemus said:

It worked ! Thanks so much ! So I created the ini for the high, medium and low values. I'll be able to publish this. I'll take a closer look at the bridges.

Capture d'écran 2024-05-18 192029.jpg

You do not need to create low, medium, high INI files if they all contain the same rules as the normal INI. They are only needed if you want different rules for a preset.

  • Thanks 1
  • 0
Posted
43 minutes ago, Clemus said:

I've made another road mod called Real Dirt Roads, which includes road textures. As for the snow-covered roads, I proceeded in the same way as Simply, removing the cobblestones completely and creating a new folder with the new meshes (as it also includes modifications to be compatible with Footprints and the sound of footsteps). I guess I couldn't do it the same way. ( And I wouldn't want to bother you once again with a similar problem before your next alpha release.

Thanks again for your answers, I'll try to find a solution for Simply first. I'll get back to you to tell you what worked. And I have no problem adding it to your next alpha release. Maybe it'll be easier for users of this kind of mod.

Yeah this is somewhat "bad" since there are filename collisions with different full models havening the same filename.

However, the LOD models included in DynDOLOD Resources might still work for the roads in ..\meshes\landscape\roads\roadstraight02.nif and you can add a rule as before to disable LOD for the full models in \SRsnowyroads like so:

[Skyrim LODGen]
LODGen1=\srsnowyroads,None,None,None,None,None,Unchanged,1

The bridges you do as above.

If anything does not have the desired results let me know.

  • Thanks 1
  • 0
Posted

Wow, I understand much better the problems and the solutions I can bring to all this.
Yes, I suppose it was a bad idea not to change the names of the meshes for the snowy roads... I didn't think it would have caused so many problems...
I think I'll be able to solve this problem soon with your help.:)

Many Thanks Sheson. Thank you for taking the time to reply and help me. 
I'll get back to you if I run into any more problems. and if that works too. 

Have a nice day !

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Guidelines, Privacy Policy, and Terms of Use.