Here is what I want to be doing:
I have a basic model for my main characters (as all 3 basically look the same, but with different colours) as I hope to have different costumes and such, I was trying to write some code that would load in the texture for the models skin, re-colour it with code, then paste it back on to the model...
but my code does not replace the colour, it does nothing :/
set current bitmap 0
LOAD IMAGE "ppg/powerpuff.bmp",1
PASTE IMAGE 1,1,1,1
FOR x=1 TO 512
FOR y=1 TO 512
if point(x,y)=rgb(155,105,105) then dot x,y,RGB(255,0,0)
NEXT y
NEXT x
get image Texture_no,1,1,512,512
Obviously after that I have code to paste image texture_no onto the model... but it just looks the same as the image I load in the first place...
Unless point(x,y) can't understand the RGB thing, is there a way to make it... to translate it into/from RGB values :S or anyone know what I should be doing