Page 1 of 1

Library Nodes not working online

PostPosted: 20 Jun 2021, 15:07
by sridharkumar
I have a really big issue with my track playing online. And, i also have a feeling that this is causing lags. The library nodes from stk such as barrels, lamps and vases are not showing on my track when playing online. I haven't configured them as 'invisible' but they are invisible only online. This causes lots of unexpected crashes and maybe also lags.

This is when playing offline:
2021-06-20 14_11_02-SuperTuxKart.png

This is when playing online:
2021-06-20 16_03_33-Photos.jpg

I am sure that official tracks don't have this kind of problem. In the photo above the barrels are the indication for the shortcut and if it is invisible nobody takes it. Please tell the what mistake i have done and how to correct it.

Sridhar

Re: Library Nodes not working online

PostPosted: 20 Jun 2021, 18:25
by benau
Because you are adding too many movable objects, STK online use max 15 of them

Re: Library Nodes not working online

PostPosted: 20 Jun 2021, 18:39
by benau
and by the way you are not using library object anyway, I see stklib_*.spm inside your track folder, make sure you alt-L instead of shift-D

Re: Library Nodes not working online

PostPosted: 20 Jun 2021, 19:19
by sridharkumar
Ok, the spm file(s) are still visible, but whatever library object I duplicated with alt-d is still invisible. There is no such file as stklib_fitchBarrel_a.spm. I don't know all names of library objects but i used some of them that I did not know by importing them from official tracks. Is that the problem?

Re: Library Nodes not working online

PostPosted: 21 Jun 2021, 01:50
by benau
You are doing it very wrongly.....

You should not import the library objects from official track .blend but click the import button:

https://supertuxkart.net/Making_Tracks: ... Repository

To use a model from the media repository, in Blender, in the Info window, go to File > Link. Navigate to the library folder in the media repo, find an object, then open the .blend file. In the "Object" folder, open the object that you want. (There should usually only be one object per .blend, unless the library node uses Level of Detail.) Make it a proxy by going to Object > Make Proxy in the 3D View window header so that you can move, rotate, and scale it.

When you duplicate a library object in your scene, be sure to use Alt + D (link duplicate) rather than Shift + D (actual duplicate). If you use an actual duplicate, the object will no longer be linked to the library.

Re: Library Nodes not working online

PostPosted: 21 Jun 2021, 06:15
by sridharkumar
Ohh, I get it. Thanks!

Re: Library Nodes not working online

PostPosted: 14 Jul 2021, 17:44
by sridharkumar
So, I redid the whole thing by deleting them and importing from the actual folder, of the library object but it is still not visible. At least it is not even there when I create my own server. But In other servers, it is still like physics-only object. Is this a server problem or a bug? Because those same objects work very well in island soccer.

Re: Library Nodes not working online

PostPosted: 15 Jul 2021, 01:10
by benau
you need to post your .blend folder and exported track here so i can look