Page 1 of 1

Solved: Add color change bitmap

Posted: Sat Aug 04, 2007 7:37 pm
by hoho5000
Ok, so I'm trying the get some bipds that don't normally have color changes enable to have them. I changed the shader type to tex_bump_two_change_color, and set up the bitmaps within the shader. I used a premade color change bitmap, the lord hood one. This works, but it's not exactly what I wanted. My problem comes when I try to make a custom bitmap.

Now, when I do this, there's an unknown value within the first reflexive of the second reflexive that is currently labeled as a float. There seems to be a number which corresponds to certain types of bitmaps, or maybe to specify the type of bitmap being referenced. Anyways, the numbers look something like: 1.921812 etc. I've tried experimenting with setting it to different types, and I haven't tried all of them, but none of them seem to make it any more helpful. Normally this wouldn't matter, but I've looked through different shaders, and for certain color change bitmaps, there are different numbers. I then examined the bitmaps. Ones that had different numbers seemed to have little or no differences. So that number doesn't seem like it should specify a certain format, or size; so what does represent?

Anyways, when I try to make a custom one, by injecting a new color change bitmap over an old one, and doing the same thing and using the same values as I did the first time, the map freezes. Is the value in the shader important? Do you need a certain format, size etc? Or do you need a combination of the two. I know that someone released some bipds with custom color change bitmaps, but I don't know how they did it. I'm assuming they did with entity however. I on the other hand would like to be able to do it with H2Core and H2 Guerilla. Can anyone offer advice?

Edit:
Of course. H2Core and H2 Guerilla are getting on my nerves. I solved my problem by using what I did above. I think the messing with multiple applications, both referencing the same maps (mainmenu, shared, and singleplayer shared), really screws up H2Core. Every rebuild after you do something like that results in a black screen, which was my problem. What a waste of tags... Oh well.