meshInfoCount Limit?

Hi Guys, been getting back to Sins Modding and it's all getting together now, but I've a quick question:

 

What is the limit of the "meshInfoCount" stat?
I'm using it for adding more meshes to for example "PlanetTerran". 

Using the debug it gives me an error, but my game still works, the max I've used is "meshInfoCount 10" and that seems to work?

Could someone clarify this please? :D

5,150 views 5 replies
Reply #1 Top

i think 6

Reply #2 Top

What happens when you use more than 6 entries?

My game does not minidump when using more than 6.

Reply #3 Top

Are the meshes after the sixth entry still being used?  It is possible that only the first 6 are loaded, and the last 4 are just ignored and never seen in-game...

The limit (if there is one) may not lead to a compilation error, but there could be a failsafe that limits how many textures are actually loaded and used...

You're working with a terran planet, right?  I guess you could just make meshes 7-10 temporarily volcanic or whatever, then it'd be real obvious if those ever got used...

Reply #4 Top

You might try playing with this setting in the diplomacy.user.setting too:

GS_MAX_NUM_DIFFERENT_PLANET_MESHES 5

Reply #5 Top

Alright I'll try them both and see what happens! Thanks

 

EDIT:

Like you said it will not load the meshes beyond the 5th one.
Also, changing the GS_... entry in the diplomacy.user file didn't work, guess I'll have to split the files :(