SA-MP Forums Archive
How to get the textures of objects.. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: How to get the textures of objects.. (/showthread.php?tid=656008)



How to get the textures of objects.. - TheyFit - 05.07.2018

So i map what i want to add into the server with using map construction. Im told i need the textures of objects like this
Example: "
tmpobjid = CreateObject(19821, -99.851341, 1227.179077, 18.772188, 0.000000, 90.000000, 105.399963, 800.00);"
How do i get this for my objects?


Re: How to get the textures of objects.. - Mike861 - 05.07.2018

You need txd editor and blender program (afaik ,check the kalcors basics in 0.3.DL category)


Re: How to get the textures of objects.. - TheyFit - 05.07.2018

Quote:
Originally Posted by Mike861
Посмотреть сообщение
You need txd editor and blender program (afaik ,check the kalcors basics in 0.3.DL category)
I dont understand it though.. like how is this going to get what i quoted but also how do i get the .txd files for materials?


Re: How to get the textures of objects.. - Kasis - 05.07.2018

https://dev.prineside.com/en/gtasa_s...lcoholBottle2/

As you can see in screenshot there is this section files




use IMGtool to extract: lee_strip2_1.txd
then open it up with txdworkshop to access textures.


anyways i am not sure is this what you are really asking.

There are good in game tools like texture studio https://sampforum.blast.hk/showthread.php?tid=471474
and fuzes map editor https://sampforum.blast.hk/showthread.php?tid=554805

You can explore object textures and change them.


Re: How to get the textures of objects.. - TheyFit - 05.07.2018

Quote:
Originally Posted by Kasis
Посмотреть сообщение
https://dev.prineside.com/en/gtasa_s...lcoholBottle2/

As you can see in screenshot there is this section files




use IMGtool to extract: lee_strip2_1.txd
then open it up with txdworkshop to access textures.


anyways i am not sure is this what you are really asking.

There are good in game tools like texture studio https://sampforum.blast.hk/showthread.php?tid=471474
and fuzes map editor https://sampforum.blast.hk/showthread.php?tid=554805

You can explore object textures and change them.
Alright ill try that thanks


Re: How to get the textures of objects.. - TheyFit - 05.07.2018

Quote:
Originally Posted by Kasis
Посмотреть сообщение
https://dev.prineside.com/en/gtasa_s...lcoholBottle2/

As you can see in screenshot there is this section files




use IMGtool to extract: lee_strip2_1.txd
then open it up with txdworkshop to access textures.


anyways i am not sure is this what you are really asking.

There are good in game tools like texture studio https://sampforum.blast.hk/showthread.php?tid=471474
and fuzes map editor https://sampforum.blast.hk/showthread.php?tid=554805

You can explore object textures and change them.
Do you know how to get the .txd from the site that you mentioned?


Re: How to get the textures of objects.. - J0sh... - 05.07.2018

Open your gta3.img using IMG Tool or Spark or whatever. Then extract it.


Re: How to get the textures of objects.. - TheyFit - 05.07.2018

Quote:
Originally Posted by Freshncool
Посмотреть сообщение
Open your gta3.img using IMG Tool or Spark or whatever. Then extract it.
Alright thanks. ill see if i can get what im looking for.


Re: How to get the textures of objects.. - TheyFit - 05.07.2018

Quote:
Originally Posted by Freshncool
Посмотреть сообщение
Open your gta3.img using IMG Tool or Spark or whatever. Then extract it.
What if theres only a .dff and not a .txd for the object im wanting to do. I search for this object "fencesmallb" in either img-tool or spark and it only shows the .dff. how do i get the .txd?


Re: How to get the textures of objects.. - J0sh... - 06.07.2018

That txd is actually in gta_int.img.