Jump to content

Help understanding workshop mods.


kosmos88

Recommended Posts

Not sure if this belongs here or in the Troubleshooting section, as my query is a little bit of help plus curious how it works. Now, I've been tinkering the poster mods, 'Posters For You' and 'Personal Posters', to get a grasp of how things are done. I've been tinkering with mostly 'Posters For You' to add more posters, as the max one is 50 and I wanted to add 50 more. I was able to do it but it seems like theres a lag in workshop. However, 'Personal Posters' adds 204 posters ( 102 A frame + 102 B frame), seems to be little to no lag for that. Now here are the things I seen while reviewing both mods in CK:

 

  • The way 'Posters For You' is setup is that each poster is attached to it's own recipe, where as 'Personal Posters', is tied to a FormList and that is tied to a single recipe. Are there any benefits one over the other?
  • 'Posters For You' uses a new mesh, whereas 'Personal Posters' uses the existing poster frame meshes, and just need the material swaps and texture changes. 'Posters For You' mesh is larger than the existing poster mesh and looks to have glow textures as well. Is it because it needs to reference the outside mesh that it is causing the lag and/or the fact the texture is larger? If that's the case, is there some way to optimize it?

The only mods I have active is the 'Renovated Furniture' Mod and 'Fusebox Generator' mod. I guess I could contact the mod authors, but I feel like want to take a look at it myself and to grasp a better understanding of how this works. I apologize if this been discussed to death.

Link to comment
Share on other sites

You're pretty much answered your own question. Using the formlist speeds things up (very slightly) because it doesn't have to lookup and parse a whole bunch of recipes. Using the same mesh and just material swapping has a huge impact. The engine has already loaded the geometry and cached it. So material swapping and drawing a new texture is fairly quick comparatively. The larger meshes and larger textures will inherently take longer to draw, and especially so if it has to load new geometry for each one. Put all that together and you have an obvious difference that stands out.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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