Author Topic: Surface inspector problem  (Read 3987 times)

Obidose

  • Posts: 25
  • Turrets: +0/-0
Surface inspector problem
« on: February 06, 2007, 05:24:04 pm »
I have a problem with the editor in that whenever I line the textures up using the surface inspector, everything looks fine in the editor but as soon as I run it in game the number of texture repeats increases by a factor of 4 in both horizontal and vertical directions. I have some screenshots to illustrate.

http://i162.photobucket.com/albums/t261/obidose/Tremulous%20Map%20Problem/ingamedoor.jpg

http://i162.photobucket.com/albums/t261/obidose/Tremulous%20Map%20Problem/editordoor.jpg

What am I doing wrong?

Lava Croft

  • Guest
Surface inspector problem
« Reply #1 on: February 06, 2007, 05:59:00 pm »
If I recall correctly this is a Linux-related problem, and I think somebody brought it up before. I'm just too lazy to do a Search for you, sorry.

Ingar

  • Tremulous Developers
  • *
  • Posts: 554
  • Turrets: +302/-7
    • Ingar's projects on the Web
Surface inspector problem
« Reply #2 on: February 06, 2007, 05:59:08 pm »
This means gtkRadiant can find the textures, but q3map2 can not. It just assumes a default size (64x64?).

If you are using linux: q3map has (had, it should be fixed in SVN) a silly
bug that prevented it from finding textures in ~/.tremulous/base. I think it is looking in ~/.q3a and you can solve it by linking ~/.q3a to ~/.tremulous

I solved this by linking ~/.tremulous/base/textures to /opt/games/tremulous/base.

If you are using windows, this obviously won't work for you, but the problem should be the same: q3map2 can not find the textures your map needs, while gtkradiant and tremulous do. Move your textures to an appropriate location.

Read your compilation log.

Obidose

  • Posts: 25
  • Turrets: +0/-0
Surface inspector problem
« Reply #3 on: February 06, 2007, 06:39:32 pm »
Thanks ingar, thats very helpful. I should be able to sort this out now.

Obidose

  • Posts: 25
  • Turrets: +0/-0
Surface inspector problem
« Reply #4 on: February 06, 2007, 06:53:00 pm »
Actually maybe not. The reasoning seems fine but I don not know how to go about sorting it out.

Can anyone else who uses Q3map2 tell me how they set it up for tremulous (in windows)

I think the problem might be something to do with me using radiant 1.4 which for some reason did not include Q3map2. So I stuck it in myself and no doubt  did not do it properly. If i just abandon 1.4 and use 1.2 would I be better off?

Warrior

  • Posts: 230
  • Turrets: +2/-0
    • Warrior's Stuff
Surface inspector problem
« Reply #5 on: February 06, 2007, 07:43:45 pm »
Latest Gtk with bundled and updated q3map2 versions are here: http://zerowing.idsoftware.com/files/radiant/nightly/1.5/
If you like Gtk 1.4 I think you can use it with the updated q3map2 (you'll need only to do some replacements). I like the 1.5 that has a very better interface (at least in Windows).

Quote
Can anyone else who uses Q3map2 tell me how they set it up for tremulous (in windows)

http://tremmapping.pbwiki.com/
With updated files from http://warrior.memebot.com/gtk/trem-gtk-files.zip (default_build_menu.xml, game.xlink, default_shaderlist.txt, entities.def and trem.game; this zip file should be extracted to the GtkRadiant 1.5.0 folder) and: http://warrior.memebot.com/gtk/common_files.zip (common-spog.pk3, common.shader, entities.def, shaderlist.txt; this zip file should be extracted to the tremulous/base folder).

Obidose

  • Posts: 25
  • Turrets: +0/-0
Surface inspector problem
« Reply #6 on: February 06, 2007, 08:15:38 pm »
I have installed the latest nightly of 1.5 (18th jan 07) and I still have the same problem.

Ingar

  • Tremulous Developers
  • *
  • Posts: 554
  • Turrets: +302/-7
    • Ingar's projects on the Web
Surface inspector problem
« Reply #7 on: February 06, 2007, 11:29:49 pm »
I rebooted to XP and opened this thread in firefox. I even was too lazy to read the wiki, so I basicly followed Warrior's wise words:

- I installed Tremulous in C:\Games\Tremulous, and copied tjws exe into it
- I installed GtkRadiant-1.5.0-RC1.msi
- I download the zip files from Warrior' post
- Unzipped trem-gtk-files.zip to C:\Program Files\GtkRadiant 1.5.0
- Unzipped common_files.zip to C:\Games\Tremulous\base
- I opened C:\Program Files\GtkRadiant 1.5.0\games\trem.game
in notepad and changed the line with enginepath_win32 to
   enginepath_win32="C:/Games/Tremulous/"
- I made a small testroom, put it in
C:\Games\Tremulous\base\maps
and textures in
C:\Games\Tremulous\base\textures\test
and build it from the build menu

Works fine

Obidose

  • Posts: 25
  • Turrets: +0/-0
Surface inspector problem
« Reply #8 on: February 06, 2007, 11:37:02 pm »
Quote from: "Ingar"
I rebooted to XP and opened this thread in firefox. I even was too lazy to read the wiki, so I basicly followed Warrior's wise words:

- I installed Tremulous in C:\Games\Tremulous, and copied tjws exe into it
- I installed GtkRadiant-1.5.0-RC1.msi
- I download the zip files from Warrior' post
- Unzipped trem-gtk-files.zip to C:\Program Files\GtkRadiant 1.5.0
- Unzipped common_files.zip to C:\Games\Tremulous\base
- I opened C:\Program Files\GtkRadiant 1.5.0\games\trem.game
in notepad and changed the line with enginepath_win32 to
   enginepath_win32="C:/Games/Tremulous/"
- I made a small testroom, put it in
C:\Games\Tremulous\base\maps
and textures in
C:\Games\Tremulous\base\textures\test
and build it from the build menu

Works fine


How do I move the textures? Where are they originally I thought they were just combined within the pk3 files. Sorry but my knowledge of textures is limited.