scale texture problem after compile

If you're looking for mapping help or you reckon you're a mapping guru, post your questions / solutions here

Moderator: Moderators

Post Reply
HaVaNa7
Private
Posts: 3
Joined: Thu May 11, 2006 1:30 am

scale texture problem after compile

Post by HaVaNa7 »

i'm making a map with a custom texture

In MoHradiant its like this, the way it should be:
http://img504.imageshack.us/img504/1063/goed0aa.jpg

But when i test my map the texture is multiplied on the wall How is that possible:( :
http://img506.imageshack.us/img506/9871/shot00113ld.jpg

Its really annoying so i hope someone can answer.

I have searched forum and i found this:

Code: Select all

The reason it's not showing correctly in the game is because the compiler can't find the size of the texture, so it creates it at default size (it doesn't know the real size). 

What I do, for most new textures, is to find a stock image that is simular to the one I am making. Then I'll copy that one to the desktop and open it up with photoshop. 

I then paste the new image onto the stock image and save it without changing its name. If it has an alpha layer, that has to be changed too. 

I then rename the image file on the desktop--not in photoshop. Doing it that way keeps the formating of the stock image in place for the new image. 

Texture images should be 512 X 512 in size. But, it can be smaller if you keep the numbers divisible by 32. 

265 X 512 
128 X 64 
512 X 128 
64 X 32 
but doesn' work infact i noticed that i get the problem also with original stock textures...

please help!
User avatar
k47a
товарищ
Posts: 810
Joined: Fri Mar 25, 2005 1:19 pm

Post by k47a »

Image
lizardkid
Windows Zealot
Posts: 3672
Joined: Fri Mar 19, 2004 7:16 pm
Location: Helena MT

Post by lizardkid »

thats what he quoted, he says he's tried that.

i've never had the problem, personally so i cant help you.
Moderator

۞
Abyssus pro sapientia
Olympus pro Ignarus
۞

AND STUFF™ © 2006
HaVaNa7
Private
Posts: 3
Joined: Thu May 11, 2006 1:30 am

Post by HaVaNa7 »

Finally i solved the problem.

I have do another long search in forum and i found this topic:

Code: Select all

I tried MBuilder, and it worked correctly. So I had a look at the .bat file MBuilder created. I believe the problems were caused by the internal bsp_* commands from the menu. It uses something like "-gamedir ../mohaa" which isn't correct. Just replaced the "../mohaa" with the basepath ("g:/action/mohaa") and it worked. 
I hope that this could help someone other!
Caboom
Corporal
Posts: 49
Joined: Sat Jun 17, 2006 7:36 am
Location: California

Post by Caboom »

Ok, so I am experiencing the same problem with my textures. The basepath for the directory is correct on my MBuilder so that is not the problem. Anybody have any suggestions? Thanks again!
User avatar
bdbodger
Moderator
Posts: 2596
Joined: Tue Feb 25, 2003 7:34 am
Location: canada
Contact:

Post by bdbodger »

maybe post your shader
Image
Rookie One.pl
Site Admin
Posts: 2752
Joined: Fri Jan 31, 2003 7:49 pm
Location: Nowa Wies Tworoska, Poland
Contact:

Post by Rookie One.pl »

I remember seeing a post by ydnar (the author of q3map2; he knows a lot about how it works ;) he's on the team that's making ET Quake Wars) on Splash Damage's forums where he explained that this happens when the compiler can't find the texture file itself. Make sure the file's where it's supposed to be and that the shader is 100% correct (hint: Radiant uses the image specified after "qer_editorimage" while the compiler uses the one that comes after "map" in the shader stage).
Admin
Image
Image
Honour guide me.

here's my stuff - inequation.org | here's where I work - thefarm51.com
Caboom
Corporal
Posts: 49
Joined: Sat Jun 17, 2006 7:36 am
Location: California

Post by Caboom »

I'm pretty sure the files are where they're supposed to be... How do I check the shader? Thanks for the responses!
User avatar
bdbodger
Moderator
Posts: 2596
Joined: Tue Feb 25, 2003 7:34 am
Location: canada
Contact:

Post by bdbodger »

Is this your custom texture or one you have downloaded ? .shader files go in the main\scripts directory they contain descriptions or should I say values for the different textures in the game . You can set the editor to only show shaders as well so non shader textures won't show in the editor .
Image
Caboom
Corporal
Posts: 49
Joined: Sat Jun 17, 2006 7:36 am
Location: California

Post by Caboom »

All of the textures I'm using should be stock.
Post Reply