SA-MP Forums

Go Back   SA-MP Forums > SA-MP DL Edition > SA-MP 0.3.DL

Reply
 
Thread Tools Display Modes
Old 23/02/2019, 11:59 AM   #1
Gokz
Little Clucker
 
Join Date: Jun 2012
Posts: 48
Reputation: 2
Default Tranparency in a custom object?

Hi, i would like to know how can we do to have the transparent texture on SAMP.
in blender that's perfect but Ingame thats don't work. Any help? Thanks
Gokz is offline   Reply With Quote
Old 23/02/2019, 01:00 PM   #2
Yaozu
Little Clucker
 
Yaozu's Avatar
 
Join Date: May 2018
Location: UK, River Styx
Posts: 42
Reputation: 65
Default Re: Tranparency in a custom object?

Transparency is not done within Blender.

You first need to edit the texture you want to be transparent in photoshop or whatever editing software you're using.

Then you need to import the texture into the TXD that the object will be using.

Then you use blender to map the texture to the object.
__________________
Yaozu is offline   Reply With Quote
Old 23/02/2019, 01:15 PM   #3
Gokz
Little Clucker
 
Join Date: Jun 2012
Posts: 48
Reputation: 2
Default Re: Tranparency in a custom object?

Yea i understood that, the texture is transparent i have no problems with that, it's in TXD Workshop seems that don't support png files
Gokz is offline   Reply With Quote
Old 23/02/2019, 01:21 PM   #4
Yaozu
Little Clucker
 
Yaozu's Avatar
 
Join Date: May 2018
Location: UK, River Styx
Posts: 42
Reputation: 65
Default Re: Tranparency in a custom object?

Posting a screenshot of the issue would be helpful.

PNG's are supported by TXDWorshop.
__________________
Yaozu is offline   Reply With Quote
Old 23/02/2019, 01:27 PM   #5
Gokz
Little Clucker
 
Join Date: Jun 2012
Posts: 48
Reputation: 2
Default Re: Tranparency in a custom object?

------
Gokz is offline   Reply With Quote
Old 23/02/2019, 01:31 PM   #6
Yaozu
Little Clucker
 
Yaozu's Avatar
 
Join Date: May 2018
Location: UK, River Styx
Posts: 42
Reputation: 65
Default Re: Tranparency in a custom object?

Are you able to upload the files so I can take a look?
__________________
Yaozu is offline   Reply With Quote
Old 23/02/2019, 01:32 PM   #7
Gokz
Little Clucker
 
Join Date: Jun 2012
Posts: 48
Reputation: 2
Default Re: Tranparency in a custom object?

Do you have Discord?
Gokz is offline   Reply With Quote
Old 23/02/2019, 01:35 PM   #8
Yaozu
Little Clucker
 
Yaozu's Avatar
 
Join Date: May 2018
Location: UK, River Styx
Posts: 42
Reputation: 65
Default Re: Tranparency in a custom object?

Yea, here is my discord tag N/A
__________________

Last edited by Yaozu; 23/02/2019 at 05:27 PM.
Yaozu is offline   Reply With Quote
Old 23/02/2019, 02:26 PM   #9
Promlesbian
Little Clucker
 
Join Date: Dec 2013
Location: Seattle,Washington State,USA
Posts: 34
Reputation: 12
Default Re: Tranparency in a custom object?

Use MagicTXD and replace image with an invisible texture. One can be easily made with Paint3D.
Look at Pics.

Promlesbian is offline   Reply With Quote
Old 23/02/2019, 05:00 PM   #10
Yaozu
Little Clucker
 
Yaozu's Avatar
 
Join Date: May 2018
Location: UK, River Styx
Posts: 42
Reputation: 65
Default Re: Tranparency in a custom object?

Quote:
Originally Posted by Promlesbian View Post
Use MagicTXD and replace image with an invisible texture. One can be easily made with Paint3D.
There is no need to do this with MagicTXD as it automatically creates the alpha channel for the texture.

Fixed his issue over discord.

His issue was that the texture was damaged in the compression process and also the texture wasn't mapped correctly to the object.
__________________
Yaozu 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
0.3.DL Custom object help Zeus666 Scripting Help 0 17/03/2018 12:36 PM
custom object help speediekiller2 Scripting Help 4 10/04/2013 05:49 PM
Custom object for 0.3c? RelaxCafe Scripting Help 1 26/10/2011 07:05 AM
how to use custom object? Newbie Scripting Help 0 24/09/2011 08:43 AM
Custom object Omecken Help Archive 0 26/02/2011 02:57 PM


All times are GMT. The time now is 08:26 AM.


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