gfxgfx
 
Today at 02:46:03 PM Om3ga - which makes you wonder why it's not ...receiving... as much news coverage! Please do what you can to help. Copy this as your status for a day| your status for humanity
Today at 04:25:39 PM UUD-40 - I've seen it in the news every day.
Today at 04:27:14 PM UUD-40 - About a quarter million died in the 2004 tsunami and 2010 Hati quake, each... afaik.
Today at 07:49:29 PM ReCycled - Steven Hawking clears up some stuff: [link]
Today at 07:51:17 PM ReCycled - What is black all over and sits at the top of the stairs? Steven Hawking after a house fire...
Welcome, Guest. Please login or register.

Login with username, password and session length



TastyCast: Live and streaming video

Exciting Expenses & Donations graph!
 
gfx gfx
gfx
143241 Posts in 11903 Topics by 2001 Members - Latest Member: ty September 02, 2010, 08:39:35 pm
*
gfx*HomeHelpSearchCalendarLoginRegistergfx
gfxgfx
      « previous next »
Pages: [1] Print
Author Topic: Problems with texturing my map  (Read 258 times)
Slayer :D
Sr. Member
****
Posts: 380


View Profile
Problems with texturing my map
« on: October 28, 2009, 08:41:33 pm »

I'm having issues with texturing my map.
r1q2 says:

"Warning: Incorrectly referenced texture eternity\yellowglobelight"

However, the map loads fine and my custom textures are there. Could somebody tell me what I'm doing wrong? smiley_aasg
Logged

[TC]Granny: hacking never ends but its ok. If ppl didnt hack id be bored of q2

console: Thats a strange attitude. Hope we catch you someday Kiss

AC VIO: [TC]RiDiX was kicked: 'wallhack'
QwazyWabbit
Swanky Member
*****
Posts: 637


View Profile
Re: Problems with texturing my map
« Reply #1 on: October 28, 2009, 10:04:58 pm »

The texture path contains a backslash ---> \

All your paths should only contain forward slashes ---> /

Even though Q2 is originally a Windows game, the path specifications always follow the Linux (UNIX) conventions.

Don't worry about using Windows paths in your filename paths, the mapping program should be changing them according to the platform it's running on and accessing them correctly just as Quake 2 does.
« Last Edit: October 28, 2009, 10:08:49 pm by QwazyWabbit » Logged
X7
Sr. Member
****
Posts: 296


Quake II


View Profile
Re: Problems with texturing my map
« Reply #2 on: October 29, 2009, 12:51:47 am »

If you need more help.

Join us at the Quake 2 Cafe'

http://leray.proboards.com/

We have about 20 Quake 2 mappers that stop by each week.


X7
« Last Edit: October 29, 2009, 06:45:25 am by X7[Q2C] » Logged


Slayer :D
Sr. Member
****
Posts: 380


View Profile
Re: Problems with texturing my map
« Reply #3 on: November 02, 2009, 06:39:00 am »

I tried, but it still doesn't work! The only way it works is putting the texture into the base texture directory, but then it warns about collisions. How do I make it work correctly? Anyway, what should the filename-data in the .wal file be given that the texture is in the folder:

baseq2\textures\eternity\yellowglobelight.wal
Question

I tried setting the filename-data to eternity/yellowglobelight but it still gives the warning:

Warning: Incorrectly referenced texture eternity\yellowglobelight.wal

41616-4
Logged

[TC]Granny: hacking never ends but its ok. If ppl didnt hack id be bored of q2

console: Thats a strange attitude. Hope we catch you someday Kiss

AC VIO: [TC]RiDiX was kicked: 'wallhack'
[EoM] Pr0c3550r®[Q2C]
Swanky Member
*****
Posts: 590


Founder [EoM]


View Profile WWW
Re: Problems with texturing my map
« Reply #4 on: November 02, 2009, 06:57:55 am »

If you need more help.

Join us at the Quake 2 Cafe'

http://leray.proboards.com/

We have about 20 Quake 2 mappers that stop by each week.


X7

Like X7 said  Wink
Logged

IN YEAR 5
QwazyWabbit
Swanky Member
*****
Posts: 637


View Profile
Re: Problems with texturing my map
« Reply #5 on: November 02, 2009, 01:16:34 pm »

Make sure all references to the textures in your map file have the forward slash (/) in them.  I think the file reference can occur more than once and you need to make sure they are all corrected. Restart your mapping program to make sure all the changes take place.

Make sure you restart your test server to reload the maps and reinitialize the Q2 file system. Renaming or moving a map or texture on an active server doesn't work since the files are cached.

Consult the mappers at the site X7 cited, those guys are the foremost Q2 mappers on the planet, you won't get better advice on how to do maps than theirs. Jester, Le Ray, Maric, PeeweeRoTA all come to mind. I don't know how frequently they use that board or how much they offer advice to new mappers but it's definitely on-topic in those boards and might even be a FAQ.

FWIW, that message comes from a specific check in r1q2 source code that looks for the backslash in file paths and emits that message so that is exactly what your problem is. If you put the texture in the root the system will complain that it isn't in a subdirectory.

The design policy is for your textures to be either common from the original Q2 sets or your unique custom textures in a folder unique to each author so there are no name collisions between different map authors.

Good luck.
« Last Edit: November 02, 2009, 01:24:11 pm by QwazyWabbit » Logged
Whirlingdervish
Super ShortBus Extravaganza
Brobdingnagian Member
*
Posts: 4088


SHORTBUS SAMMICH!!! BOOYA!


View Profile WWW
Re: Problems with texturing my map
« Reply #6 on: November 02, 2009, 01:25:36 pm »

you can also directly edit the paths in your .bsp file in notepad.

use find/replace to check for the wrong ones and replace them with the right slash
Logged

Slayer :D
Sr. Member
****
Posts: 380


View Profile
Re: Problems with texturing my map
« Reply #7 on: November 03, 2009, 06:28:19 am »

Thank you Dervish! I fixed it; only you need to use a hex editor not notepad because notepad sometimes saves it as ascii text rather than keeping the binary format. good
Logged

[TC]Granny: hacking never ends but its ok. If ppl didnt hack id be bored of q2

console: Thats a strange attitude. Hope we catch you someday Kiss

AC VIO: [TC]RiDiX was kicked: 'wallhack'
Slayer :D
Sr. Member
****
Posts: 380


View Profile
Re: Problems with texturing my map
« Reply #8 on: November 03, 2009, 06:30:06 am »

I also think I found the source of the problem. QuArK makes the .map file with eternity\tanacoustictile.wal rather than eternity/tanacoustictile.wal.
Logged

[TC]Granny: hacking never ends but its ok. If ppl didnt hack id be bored of q2

console: Thats a strange attitude. Hope we catch you someday Kiss

AC VIO: [TC]RiDiX was kicked: 'wallhack'
X7
Sr. Member
****
Posts: 296


Quake II


View Profile
Re: Problems with texturing my map
« Reply #9 on: November 03, 2009, 12:36:51 pm »

Look like there is a bug in quark-win32-6.6.0Beta2 with textures links...


I posted the problem At QuArk forum...

http://quark.sourceforge.net/forums/index.php?topic=381.0



I'm still using quark-win32-6.6.0Beta1, no problems, it puts the forward slash (/)


X7   Afro

« Last Edit: November 03, 2009, 12:38:52 pm by X7[Q2C] » Logged


gfx
Pages: [1] Print 
gfx
Jump to:  
gfx
Quake II | Powered by SMF 1.0.9.
© 2001-2005, Lewis Media. All Rights Reserved.

Helios design by Bloc
gfx
Powered by MySQL Powered by PHP Valid XHTML 1.0! Valid CSS!