gfxgfx
 
Today at 09:11:39 AM |iR|Focalor - Saints win!
Today at 09:12:02 AM |iR|Focalorsmiley_aaqm
Today at 10:55:17 AM ReCycled - That interception was a great moment which iced the game for the Saints. A perfect read as to where Manning was preparing to throw.
Today at 11:16:14 AM M^tsterSir - Just you wait till next year my Vikings will goto the superbowl!
Today at 02:33:15 PM [BTF]Jehar[link] Q2 Kicker is RELEASE!
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
126357 Posts in 10584 Topics by 1959 Members - Latest Member: JamilaMichael February 08, 2010, 11:43:19 pm
*
gfx*HomeHelpSearchCalendarLoginRegistergfx
gfxgfx
      « previous next »
Pages: [1] Print
Author Topic: Problems with texturing my map  (Read 181 times)
Slayer :D
Full Member
***
Posts: 183

I SHOOT FROM THE HOOK!


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
QwazyWabbit
Swanky Member
*****
Posts: 529


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[Q2C]
Full Member
***
Posts: 236



View Profile WWW
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
Full Member
***
Posts: 183

I SHOOT FROM THE HOOK!


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
[EoM] Pr0c3550r®[Q2C]
Swanky Member
*****
Posts: 586


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: 529


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(Q2C)
Phenomenally Prodigious Member
**
Posts: 3505


AKA: |iR|Dervish


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
Full Member
***
Posts: 183

I SHOOT FROM THE HOOK!


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
Slayer :D
Full Member
***
Posts: 183

I SHOOT FROM THE HOOK!


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
X7[Q2C]
Full Member
***
Posts: 236



View Profile WWW
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!