SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 05/07/2018, 03:00 AM   #1
TheyFit
Little Clucker
 
Join Date: Apr 2018
Location: Illinois, United States
Posts: 18
Reputation: 9
Default How to get the textures of objects..

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?
TheyFit is offline   Reply With Quote
Old 05/07/2018, 06:03 AM   #2
Mike861
Huge Clucker
 
Join Date: Feb 2018
Posts: 201
Reputation: 14
Default Re: How to get the textures of objects..

You need txd editor and blender program (afaik ,check the kalcors basics in 0.3.DL category)
Mike861 is offline   Reply With Quote
Old 05/07/2018, 04:47 PM   #3
TheyFit
Little Clucker
 
Join Date: Apr 2018
Location: Illinois, United States
Posts: 18
Reputation: 9
Default Re: How to get the textures of objects..

Quote:
Originally Posted by Mike861 View Post
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?
TheyFit is offline   Reply With Quote
Old 05/07/2018, 05:02 PM   #4
Kasis
Huge Clucker
 
Kasis's Avatar
 
Join Date: Mar 2010
Location: Weed, New Mexico
Posts: 398
Reputation: 77
Default Re: How to get the textures of objects..

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 http://forum.sa-mp.com/showthread.php?t=471474
and fuzes map editor http://forum.sa-mp.com/showthread.php?t=554805

You can explore object textures and change them.
__________________
Kasis is offline   Reply With Quote
Old 05/07/2018, 05:15 PM   #5
TheyFit
Little Clucker
 
Join Date: Apr 2018
Location: Illinois, United States
Posts: 18
Reputation: 9
Default Re: How to get the textures of objects..

Quote:
Originally Posted by Kasis View Post
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 http://forum.sa-mp.com/showthread.php?t=471474
and fuzes map editor http://forum.sa-mp.com/showthread.php?t=554805

You can explore object textures and change them.
Alright ill try that thanks
TheyFit is offline   Reply With Quote
Old 05/07/2018, 06:35 PM   #6
TheyFit
Little Clucker
 
Join Date: Apr 2018
Location: Illinois, United States
Posts: 18
Reputation: 9
Default Re: How to get the textures of objects..

Quote:
Originally Posted by Kasis View Post
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 http://forum.sa-mp.com/showthread.php?t=471474
and fuzes map editor http://forum.sa-mp.com/showthread.php?t=554805

You can explore object textures and change them.
Do you know how to get the .txd from the site that you mentioned?
TheyFit is offline   Reply With Quote
Old 05/07/2018, 06:45 PM   #7
J0sh...
Banned
 
Join Date: Aug 2014
Location: Hamburger
Posts: 1,306
Reputation: 461
Default Re: How to get the textures of objects..

Open your gta3.img using IMG Tool or Spark or whatever. Then extract it.
J0sh... is offline   Reply With Quote
Old 05/07/2018, 06:55 PM   #8
TheyFit
Little Clucker
 
Join Date: Apr 2018
Location: Illinois, United States
Posts: 18
Reputation: 9
Default Re: How to get the textures of objects..

Quote:
Originally Posted by Freshncool View Post
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.
TheyFit is offline   Reply With Quote
Old 05/07/2018, 07:20 PM   #9
TheyFit
Little Clucker
 
Join Date: Apr 2018
Location: Illinois, United States
Posts: 18
Reputation: 9
Default Re: How to get the textures of objects..

Quote:
Originally Posted by Freshncool View Post
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?
TheyFit is offline   Reply With Quote
Old 06/07/2018, 11:14 PM   #10
J0sh...
Banned
 
Join Date: Aug 2014
Location: Hamburger
Posts: 1,306
Reputation: 461
Default Re: How to get the textures of objects..

That txd is actually in gta_int.img.
J0sh... is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Custom textures on objects DeadDon SA-MP 0.3.DL 1 10/06/2018 05:17 PM
Help with setting textures on objects [SetMaterialObject] Amit1998 Scripting Help 3 13/07/2014 05:51 PM
Objects and objects LODS textures Baltazar Scripting Help 0 09/10/2013 11:31 PM
Moving textures for objects? markis95 General 3 22/06/2012 03:18 PM


All times are GMT. The time now is 01:15 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.