Can I Make My Own .txd File? -
Novacaine - 05.11.2016
Hi everyone,
Can we import image files into the game by using .txd files like iPLEOMAX's Textdraw editor's bottom bar? I tried to make a new .txd file with TXD workshop. But the image didn't appear in textdraw. Is there any way to import our new .txd files into the game?
Re: Can I Make My Own .txd File? -
Gotham - 05.11.2016
OMG , Make textdraws then only it will be visible..Use TDEditor.. A .TXT File Will be saved on Server/scriptfiles/NameOfProject.txt
Take those lines and copy and paste onto your script (read the .txt properly..)
Re: Can I Make My Own .txd File? -
Novacaine - 05.11.2016
Quote:
Originally Posted by Gotham
OMG , Make textdraws then only it will be visible..Use TDEditor.. A .TXT File Will be saved on Server/scriptfiles/NameOfProject.txt
Take those lines and copy and paste onto your script (read the .txt properly..)
|
Dude I know how to make textdraw. My question is can we import custom images into game. For ex. I'll make a server logo in photoshop and use that logo as textdraw in the game.
Re: Can I Make My Own .txd File? -
StrikerZ - 05.11.2016
It's possible. Use
this
Re: Can I Make My Own .txd File? -
Novacaine - 05.11.2016
Quote:
Originally Posted by Sunehildeep
|
Thanks but that's not what I want. I want to use as sprite. So it also should be a selectable textdraw.
Re: Can I Make My Own .txd File? -
StrikerZ - 05.11.2016
After creating your textdraw. In its codes, use these functions
this and
this and
this and use
this function to avoid confliction in the selectable textdraws
Re: Can I Make My Own .txd File? -
Novacaine - 05.11.2016
Quote:
Originally Posted by Sunehildeep
After creating your textdraw. In its codes, use these functions this and this and this and use this function to avoid confliction in the selectable textdraws
|
I guess I couldn't explain myself
I want to make my own TXD file with my own images. And I want to use that images as textdraw. I know "how to make textdraw" part. I don't know that "how to make TXD file" part
Re: Can I Make My Own .txd File? -
Novacaine - 05.11.2016
Alright. I've figured it out. I was just forgot to compress image.
Re: Can I Make My Own .txd File? -
Dignity - 05.11.2016
Quote:
Originally Posted by Novacaine
Alright. I've figured it out. I was just forgot to compress image.
|
Also make sure your image x and y are rounded off properly. For example 123, 124, 125 will cause issues. 128, 132, 136, 140 won't.
I used to make skin mods and they would often mess up if the sizes weren't proper. As long as you increment by 4 it should be fine.
Re: Can I Make My Own .txd File? -
Novacaine - 05.11.2016
Quote:
Originally Posted by Dignity
Also make sure your image x and y are rounded off properly. For example 123, 124, 125 will cause issues. 128, 132, 136, 140 won't.
I used to make skin mods and they would often mess up if the sizes weren't proper. As long as you increment by 4 it should be fine.
|
Thanks. I'll keep in mind.