How to apply a different color to Matites neon tubes? - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP DL Edition (
https://sampforum.blast.hk/forumdisplay.php?fid=92)
+--- Forum: SA-MP 0.3.DL (
https://sampforum.blast.hk/forumdisplay.php?fid=90)
+--- Thread: How to apply a different color to Matites neon tubes? (
/showthread.php?tid=646050)
How to apply a different color to Matites neon tubes? -
mschnitzer - 09.12.2017
Hi,
I exported the 'RedNeonTube1.dff' file from SAMP.img and I imported it to Blender. How can I now apply a different color to it? I'd like to create a purple one.
Re: How to apply a different color to Matites neon tubes? -
RogerCosta - 09.12.2017
SetObjectMaterial with clean texture and adjust color, not work?
Re: How to apply a different color to Matites neon tubes? -
mschnitzer - 09.12.2017
Well, maybe I'm to unexperienced in that (please teach me if I'm wrong), but it seems that we're talking about two different things.
When I open up that dff file, there must be something that indicates which color it should use. As a first try, I created a new txd and added a 32x32 violet png file to it, then I adjusted the name of the material from "Mat_RedNeonTube1" to "violet" (the name of the png in my txd)
In Game, it doesn't have any affect. It just represents the object without any effect.
Re: How to apply a different color to Matites neon tubes? -
Meta - 09.12.2017
I don't think that light colors can be changed with materials thus need to occupy single objects with individual IDs.
Re: How to apply a different color to Matites neon tubes? -
DRIFT_HUNTER - 09.12.2017
http://gtaforums.com/topic/525891-sa...-2dfx-effects/
Re: How to apply a different color to Matites neon tubes? -
mooman - 09.12.2017
You can just use a hex editor to edit the individual bytes. I did this with the pointlight objects and now can make any colour I want using a script. In the red dff look for FF 00 00 and then look in the same place in the green dff for the pattern 00 FF 00, etc. The quickest way of doing it is using some program that can compare files.
Re: How to apply a different color to Matites neon tubes? -
mschnitzer - 09.12.2017
Quote:
Originally Posted by mooman
You can just use a hex editor to edit the individual bytes. I did this with the pointlight objects and now can make any colour I want using a script. In the red dff look for FF 00 00 and then look in the same place in the green dff for the pattern 00 FF 00, etc. The quickest way of doing it is using some program that can compare files.
|
Lol... You're a fucking genius

It is so fucking obvious but never had the idea to do so... Thanks man!
I'll gonna create a script to do this with the provided color and will release it here.