SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 05/07/2018, 04: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, 07:03 AM   #2
Mike861
Big Clucker
 
Join Date: Feb 2018
Posts: 197
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, 05: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, 06:02 PM   #4
Kasis
Huge Clucker
 
Kasis's Avatar
 
Join Date: Mar 2010
Location: Weed, New Mexico
Posts: 481
Reputation: 71
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.
__________________

Radical Gamers
Kasis is offline   Reply With Quote
Old 05/07/2018, 06: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, 07: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, 07:45 PM   #7
J0sh...
High-roller
 
J0sh...'s Avatar
 
Join Date: Aug 2014
Location: Hamburger
Posts: 1,306
Reputation: 408
Default Re: How to get the textures of objects..

Open your gta3.img using IMG Tool or Spark or whatever. Then extract it.
__________________
🍔🍔🍔🍔🍔🍔🍔🍔🍔🍔🍔🍔
Yes I know my name has 3 dots.
Thanks for noticing, it was meant to signify a pause in the personal message asking to be named J0sh but they got included.
J0sh... is online now   Reply With Quote
Old 05/07/2018, 07: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, 08: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 07/07/2018, 12:14 AM   #10
J0sh...
High-roller
 
J0sh...'s Avatar
 
Join Date: Aug 2014
Location: Hamburger
Posts: 1,306
Reputation: 408
Default Re: How to get the textures of objects..

That txd is actually in gta_int.img.
__________________
🍔🍔🍔🍔🍔🍔🍔🍔🍔🍔🍔🍔
Yes I know my name has 3 dots.
Thanks for noticing, it was meant to signify a pause in the personal message asking to be named J0sh but they got included.
J0sh... is online now   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 06:17 PM
Help with setting textures on objects [SetMaterialObject] Amit1998 Scripting Help 3 13/07/2014 06:51 PM
Objects and objects LODS textures Baltazar Scripting Help 0 10/10/2013 12:31 AM
Moving textures for objects? markis95 General 3 22/06/2012 04:18 PM


All times are GMT. The time now is 01:05 AM.


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