Create Sprays
This is a tutorial of how to create custom sprays / add your own image to spray objects
Last updated
This is a tutorial of how to create custom sprays / add your own image to spray objects
Last updated
To replace the image of an existing spray, we will need to know the name of the texture of inside the said spray
Open Texture Toolkit and load one of the sprays (.ydr) files provided in the script
After you done that, your program should look like this:
The texture name of this file is "saints_spray_dif", so the name of our image that is going to replace is will be: "saints_spray_dif.dds"
Take your image, convert it to dds and resize it to the size shown above (512x512). Without doing this, the program will not let us replace the texture
Go back to Texture Toolkit, Press On "Import" under "Edit" and import your image
After that, go to "File" and use "Save As" to save it (recommended the file name to be spray_gangname) There is one last step before we can can test it in game
Think of the YTYP file as an "fxmanifest" file, its a file that handles all of our sprays and registers them as props Open The YTYP file provided in the script using OpenIV (Move it to your game folder if the file doesn't open but the program does)
To edit the file, enable "Edit Mode" on the right side of OpenIV right next to the search bar, and than right click the YTYP and click "Edit"
After you done that, a text editor will open showing you all the existing sprays. Every spray is created using the "item" tags, so we will need to create a new one Copy the template here:
Replace the spray_gangname with the file name you saved before, and paste this codeblock under any of these tags: (IF YOU WON'T DO IT CORRECTLY YOU THE YTYP FILE WON'T WORK)
Example:
Save the file using "Ctrl + S" / Pressing The save file in the top left
Move the YTYP file and the new Spray file / YDR file to both to the stream folder, start the script and see if it works
If after doing all of these you still haven't managed to make a new spray work, please open a ticket in my discord and i will try to assist you the best as i can