But in the traintracks.xml the path to trains1.dat target common:/data/levels/gta5/trains1.dat
I try to target ./trains1.dat and trains1.dat but nothing work…
Is this an update on your post, or just a statement due to a lack of response from the community? If it’s the latter, then it’s probably because there isn’t a whole lot of people researching that topic.
I had already tried that during my first attempts but the result was the same: nothing.
That said for two days I can no longer load the traintracks.xml file, the client crashes as soon as I try … I assumed that updates to the fivem client had something to do with it. I will try again this evening!
Here ya go.
Ive noticed it works perfectly fine with less population. In my community once we get over 80-100 on one sync somethings start to freak out.
I have not looked into why or a better why to do this, but it works period.
Drag and Drop
I have tried this and it doesn’t change anything. It still spawns the exact same trains as the vanilla trains.xml no matter what I put in this one. So I don’t think the xml file is streamed and used. Anyone else get it to work?
Same way if you want to stream custom trainsX.dat referenced by traintracks.xml:
filename=“resources:/myresource/trains1.dat”
Then refresh and start the resource to stream files. All your players already online must to restart their games to get all latest files.
Any other resource which stream gta5.meta will be replaced by this. The last resource started with a gta5.meta file streamed will be used, all previously started will be replaced. So if you have some resources which stream this file you must to compile all modifications into one resource if you want to apply all modifications.
In addition, I did not test, but I was told that it did not work if the resource in question was in a subfolder containing [ ] ( in example [esx] )…