Tremulous Forum

Media => Mapping Center => Topic started by: Evoc on August 04, 2008, 09:14:16 pm

Title: [SOLVED]Texture Issues in Compiled .bsp File, Textures Show Up Fine in .map File
Post by: Evoc on August 04, 2008, 09:14:16 pm
Hi, I have another question already in this forum, but it is unanswered, and since this question is completely unrelated, I am posting a separate topic for it.

This has also probably been answering, judging from the fact that every map has textures, and someone else has to have run into an issue similar to this one. Also, texture is a pretty widely-used term, so searching for it yielded no helpful results (so no flaming me about "N00b, use the search bar!").


Ok, here's my problem. In GtkRadiant (version 1.5), my textures look fine. Then, when I compile it, all the textures are off, and they are smaller and tiled. Some of them are fine, but only some. Most of them have shrunken down and tiled across my brushes. I have a feeling it has something to do with my compiling, although I tried lots of different "Build options" and it still did not fix my problem (oh, I am compiling with the Q3map2 Toolz).

So, does it have anything to do with my compiling? Are there certain "Build options" that would do this? And, how do I fix this?

If you need screenshots, I will post them, but I am sure most of you can picture what I am talking about.

Thanks for any and all help! And, everyone who helps will be credited in my map.
Title: Re: Texture Issues in Compiled .bsp File, Textures Show Up Fine in .map File
Post by: TRaK on August 04, 2008, 09:20:38 pm
This error is caused by q3map2 looking in the wrong place (usually baseq3) for your textures. When it doesn't find them, it just assumes they are all the default size, causing lots of scaling problems. It should work if you add "-fs_game base" to the end of each command line in q3map2toolz before you compile.
Title: Re: Texture Issues in Compiled .bsp File, Textures Show Up Fine in .map File
Post by: Evoc on August 05, 2008, 02:48:50 am
This does not seem to be working! Let's say that I have a line from the Q3Map2Tools command lines box, that says exactly the following, quotes and all:

"C:\Documents and Settings\Owner.LUCAS-DESKTOP\Desktop\q3map_2.5.16_win32_x86\q3map2.exe" -meta "C:\Program Files\Tremulous\base\maps\glassy-a4.map"

Where would I add "-fs_game base", and would I leave in the quotes?

Also, do I apply this to every single one of my command lines or one (just making sure)?
Title: Re: Texture Issues in Compiled .bsp File, Textures Show Up Fine in .map File
Post by: TRaK on August 05, 2008, 03:36:13 am
Add it to the end of each line, without the quotes.

There's an example in this topic: http://forums.urbanterror.net/index.php/topic,11583.0.html
Near the bottom (just replace 'q3ut4' with 'base')
Title: Re: Texture Issues in Compiled .bsp File, Textures Show Up Fine in .map File
Post by: Evoc on August 05, 2008, 04:56:27 am
IT WORKED! THANKS! But I have two other questions, they are in bold.

I was putting it there, but there was an unrecognized third "address" in the middle of each line, with "-fs_basepath" preceding it. So I checked the box in Q3MapToolz that said "-fs_basepath", and then add the "-fs_game base" line, and it worked! Apparently, you also need to have the -fs_basepath box checked. Also, does it matter where in the command line you place "-fs_basepath", and does the order of the command line matter at all?

You never mentioned this. And what does this "-fs_basepath" checkbox do anyways, besides make your little texture fix work? Thanks for your help! But I'm still curious. :P
Title: Re: [SOLVED]Texture Issues in Compiled .bsp File, Textures Show Up Fine in .map
Post by: TRaK on August 05, 2008, 07:11:44 am
I would place -fs_basepath near the end, before or after -fs_game. I'm not sure if it would work if you put it next to the other minor switches.

-fs_basepath defines the path to your /base directory. eg. if your base dir is at c:/programfiles/tremulous/base, fs_basepath would be c:/programfiles/tremulous/. You then set fs_game to tell q3map2 what your base directory is called (eg base, baseq3, q3ut4, etc.).
Title: Re: [SOLVED]Texture Issues in Compiled .bsp File, Textures Show Up Fine in .map
Post by: doomagent13 on August 05, 2008, 04:17:29 pm
Just as a side note, you might want to put the -fs_basepath and -fs_game switches at the FRONT, in order to reduce the likely-hood of adjustments to the compiling switches causing problems.