How to apply a different color to Matites neon tubes?
#1

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.
Reply
#2

SetObjectMaterial with clean texture and adjust color, not work?
Reply
#3

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.
Reply
#4

I don't think that light colors can be changed with materials thus need to occupy single objects with individual IDs.
Reply
#5

http://gtaforums.com/topic/525891-sa...-2dfx-effects/
Reply
#6

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.
Reply
#7

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.

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)