Surface Inspector Problem


(Boosted) #1

im back with a new problem :smiley:

this time the surface inspector doesnt seem to work correctly.
so, i use a custom texture for a brush, open up the SI and select “width 1” “height 1” and click fit.
it does fit in radiant…
buuuuut.
in game it does repeat the texture 4x4.
like id have set width 4 height 4, but i didnt.
i triple checked but im unable to find a fix :confused:
(using radiant 1.4)


(999apple) #2

Hmmm try -> SHIFT + S =) some kind of surface inspector ^^


(Boosted) #3

i want to have it fitted, but its not supposed to be repeated 4 times.
only once…

ive had the same problem with other signs but i somehow got it fixed.
but im not able to remember what did the trick.


(Tyrlop) #4

i also got the problem but its 2x2 for me :frowning:
,_ _
|||
|||

like that :frowning: any one knows howto fix maybe???


(Boosted) #5

its getting even stranger…
i made a little “test room” and made a sign in it, and made it fitting again.
compiled, tested and again, it shows me 4x4 in game.
did send the mapfile to a friend, he compiled (didnt change a thing) it and it works just fine… wtf?!

im using radiant 1.4, hes been using 1.5.

ive installed 1.5 too, compiled the test room and it was fine…huh?
but i cant compile my real map with 1.5, its giving me 50+ errors while i have 0 in 1.4.
it wont even build the .bsp.
so i have to find the fix for the problem…its annoying :@
downside is i dont know whats causing it thus i cant fix it :roll:


(S14Y3R) #6

Are you fitting a custom shader?
if custom shader, are you using either tcMod scale x x, tcgen ivector (x x x), or tcgen vector (x x x)?
Is your texture a weird size(like not 256x256, or 512x512)

If no to above questions and it still wants to show up as 4x4, try using tcMod scale 1 1, and if its still 4x4, turn the scale down to tcMod scale 0.25 0.25(smaller #s =bigger texture)

That’s weird it works in 1.5.0 and not 1.4.0 :?


(Boosted) #7

forgive my noobieness, its a custom texture a simple picture i guess that is a custom shader?

its 256x256.
im not sure what u mean with tcgen ivector ect :S
this is what ive currently set:


(S14Y3R) #8

k, so its not a shader thing, as you’ve got no clue what i’m talking about. lols.
k, i’ll try to sum it up. there is a difference between a texture and a shader.
texture=raw image
shader=used to manipulate that image, -eg.hitsounds, walksounds(metal/wood), alphashadowing(see through stuff), water waves, sky, smoke, etc…

step 1:
if you haven’t already, create a shader for your map. call it mapname.shader or something. And add the name of that shader to shaderlist.txt in /scripts folder(radiant uses shaderlist.txt for available shaders, if its not listed radiant won’t see it)

edit the textures/path below to your image location.

*note: textures/mapname<----must be same as shadername, or you’ll get errors!


textures/mapname/myfirstshader
{
    qer_editorimage textures/path/to/image.tga //allows you to see your image in radiant

    {
		map $lightmap //so it gets lightmapped
	}

	{
		map textures/path/to/image.tga
		rgbGen identity //for reflective(bounce) light
		tcMod scale  1 1 // <--this is the line i'm talking about for you to edit
	}
}

with “tcMod scale 1 1” your image will tile in its actual size.

Test with scale 1 1 first, if it still goes 4x4, reduce the scale by 4 to .25 .25(smaller #= bigger image ingame)

@Tyrlop you’d want scale .5 .5 to make 2x larger

Hope that explains what i’m talking about :stuck_out_tongue:

gl.


(Boosted) #9

im a beginner, what do u expect :smiley:

but however, i created the shader, put it in etmain/scripts edited shaderlist.txt and tried 1 1 and 0.25 0.25.
aint working :S

yeah, the filenames are correct (im not THAT kind of noob :)).
restarted radiant as well before compiling again.
like i said in a earlier post it also happend to other “signs” but somewhat fixed itself.
im clueless.


(Tyrlop) #10

eh dont understand, it works great in gtk, but after compile its 2x2
:frowning:


(S14Y3R) #11

Damn, sorry guys I thought that might’ve worked…

Try one more thing before reinstalling radiant(after making backups of everything, of course)…yes :frowning: the “R” word…

make your brush the size of 4x4(or 2x2 Ty), and do a fit of 4x4, then clip the brush back down. Or even test it oversized to see what it does…does it go to 8x8?

One quick question before all that though, after you press fit, are you pressing apply? or just hitting done…?

Has anyone else had this “quirk” with the surface inspector?

I can’t recreate the error, so I don’t really have a solution, just suggestions…


(Boosted) #12

all not working…when i set it to 4x4 it will show 16x16 in game.
reinstalling wont help either since its abviously a problem with q3map2.
radiant 1.4 uses 2.5.11 while 1.5 uses 2.5.13.
since i get lotta errors with 13 ill try .12 and .10.
ill report back later on.

edit…

compiled it with 2.5.10 and that worked.
finally :roll: