Sign in to follow this  
Followers 0
XodusArt2

Skin file LOD distance

9 posts in this topic

So since the introduction of skinfile LODs, I've had trouble with them, and never quite figured out how to change the LODs so it doesn't look fucky like five feet away.

I'm sure it is a simple fix, like changing a byte in 010 editor, but from what I can see it isn't documented, even in wowdev.

 

Share this post


Link to post
Share on other sites

@Alastor Strix'Efuartus once told me that it is completely documented somewhere and that the only issue is that noone has made an editor/script for editing this sort of thing. Idk, maybe he was wrong, but he might possibly know a thing or two.

Share this post


Link to post
Share on other sites

Afair, that's purely dependent on the entity/doodadLodDist cvar, for all models. It might be multiplied with the bounding box radius in header, but afaik not.

Share this post


Link to post
Share on other sites

Sorry, I've tried all the LodDist Cvars, nothing works. Unless I'm missing one, what do I change?

7 hours ago, wungasaurus said:

Afair, that's purely dependent on the entity/doodadLodDist cvar, for all models. It might be multiplied with the bounding box radius in header, but afaik not.

 

Share this post


Link to post
Share on other sites

Setting both cvars to high values should only change to lod skins very far away. I haven't found a model specific setting though.

Share this post


Link to post
Share on other sites

When you say both Cvars, which ones do you mean exactly? 

4 minutes ago, wungasaurus said:

Setting both cvars to high values should only change to lod skins very far away. I haven't found a model specific setting though.

 

Share this post


Link to post
Share on other sites

From disassembly, doodadLodDist is checked for static objects and entityLodDist is used for units. I haven't seen other cases calling CM2Model::SetLod

Share this post


Link to post
Share on other sites

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
Sign in to follow this  
Followers 0