Here’s what I’ve done so far:
- Edited texture ‘int_wall07.tga’, using PaintShopPro, by copying a 256 x 128 swatch (just wanted the top white half), pasting into a new file, then saving as ‘test.tga’ in /textures/iffy
NOTE: For some reason, I copied a 256 x 128 section, but it always gets pasted as 256 x 129. No idea why.
- Selected brush face in Radiant an applied the ‘test.tga’ texture to it. I see it find in the Radiant editor
- Wrote a new .shader file with the following, named it iffy.shader, and saved it in /scripts
textures/iffy/test
{
qer_editorimage textures/iffy/test.tga
surfaceparm woodsteps
surfaceparm playerclip
{
map textures/iffy/test.tga
}
}
- Edited shaderlist.txt by adding ‘iffy’ at the end, then saved
- Compiled map and got the following errors:
^1Image not power of 2 scaled: textures/iffy/test.tga
^3WARNING: R_FindImageFile could not find 'textures/iffy/test.tga' in shader 'textures/iffy/test'
^3Shader textures/iffy/test has a stage with no image
Questions:
- What am I doing wrong (duh!)
- I have no idea why my copied section is getting pasted with the additional pixel. Any tricks I should know? I am using and snapping to an 8 pixel grid
- I double checked the target texture and it is in /textures/iffy/ and named test.tga
- What do I need to so to fix the “stage with no image” error?
Thanks all
