Billboard Replacement

This script will replace the texture on the billboard behind Simeon’s Car Dealer Shop without the need of uploading any ymap, ydr or ytd

Edit all the Texture provided in the Texture Folder
Upload to a webserver and replace the URL within the script

Using self-hosted ImageServer recommended : GitHub - LoganHeinzelman/image-server: NodeJS image server

TODO :
• Use 1 Txd instead of seperated
• Better Load on Join instead of Waiting for 20s

Known Bug :
• The game will attempt to reload the texture from vanilla game file ( Find a way to detect the changes and run the AddReplaceTexture again )

Credit : karma_83 for providing all the Textures and LOD Location
Please give credit!!

Result :
Video


LOD :
image

Download :
Github

9 Likes

you nailed it! :slight_smile:

1 Like

The game will attempt to reload the texture from GTA Files if we got too far away,
Updated with Proximity Code that will load the Texture OTS ( Experimental )
Improvement needed.

1 Like

Code updated again to resolve the Memory Leaking issues.
Still need improvement

Nice work. Here are few suggestions:
You have hard coded the texture path. That path will not be available on other clients. You can instead pack all the textures in a YTD → stream the YTD → Request YTD and load the textures from it instead of using the hardcoded file paths. Also it would be great if you try to use fxmanifest instead of __resource.lua

Thanks for the suggest :ok_hand:
Some server still using older version of FXServer ( not sure why, probably ZH’s fault? )
That’s why I am using __resource for this post, I am using fxmanifest.lua on my server.

I don’t quite get the other clients , you mean other GameBuild ?

is there possible to put gif ?

yes, you can stream video too

1 Like

just from a link ??

yes as long as it end with .mp4
It will stream with a player so you need to figure out a way to play the video without showing the player thingy ( Why not GIF? )

1 Like

looking good

thank you i will try out this

is there px size for the banners ??

Check out the texture file provided.

1 Like

can this be used on more billboards?

It’s the same process. You need to find the texture within the game file and replace the .ytd name

The current problem is that the distance is too far.
The script failed when returning to the starting point.
Will not display pictures.
sorry, my English is not well