Iām currently trying to replace the carcols.ymt found in update/update.rpf/x64/data/ and I canāt seem to get it to work via streaming, and I canāt find a proper data file type to use in the fxmanifest.lua. Is it not possible to stream that particular file from the server? Iām trying to edit some licence plates for a friendās server and the text doesnāt look right with the modified textures.
@baltushka from what I can tell the only way to stream textures to vehshare.ytd is this:
Personally I used the CreateRuntimeTextureFromImage() native instead of CreateRuntimeTextureFromDuiHandle() so I wouldnāt have to rely on an external image host.
Nope. Still wondering why itās not possible anymore. I recall being able to stream vehshare.ytd LONG ago. Is it due to something related to performance?
Some unrelated refactor for reliability that changed asset registration order, as game code loads vehshare at a very early stage, this is loaded before custom assets are registered now.
You can however replace assets from vehshare.#td with your own txd fine using REQUEST_STREAMED_TEXTURE_DICT (or a similar name) and ADD_REPLACE_TEXTURE, and itās more efficient too as people wonāt have to download assets that you didnāt replace, this same trick also works for other common TXDs like graphics.#td though that one has a bit unusual an asset name (āplatform:/textures/graphicsā or so).
This is indeed the method I have been using, however Iām really sad there is no possibility to edit the carols.ymt to create addon license plates and only resort to replacing existing ones
Iāve seen several of them while searching the forum for instructions. Hereās one such example, I believe there are a few more in that thread, along with a handful more in their own threads. Mainly people are trying to alter the colour and size/placement of the license plate text for the purpose of having another state/countryās plates. Some even want to make āadd-onā plates and go past the default amount of plates. All this is possible via carcols.ymt to my knowledge.
So if lets say there is wheels pack and its has vehshare file. So if I take all files from that vehshare which is not by stock in there and would do ADD_REPLACE_TEXTURE you think it would work?
-Problem is when I stream wheels its bad textures because you need to stream vehshare.ytd