 | |  |
|
Pages: [1]
|
 |
|
Author
|
Topic: Problems with texturing my map (Read 181 times)
|
Slayer :D
Full Member
  
Posts: 183
I SHOOT FROM THE HOOK!
|
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? 
|
|
|
|
|
Logged
|
|
|
|
|
QwazyWabbit
|
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]
|
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!
|
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  I tried setting the filename-data to eternity/yellowglobelight but it still gives the warning: Warning: Incorrectly referenced texture eternity\yellowglobelight.wal 
|
|
|
|
|
Logged
|
|
|
|
|
|
|
QwazyWabbit
|
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
|
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!
|
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. 
|
|
|
|
|
Logged
|
|
|
|
Slayer :D
Full Member
  
Posts: 183
I SHOOT FROM THE HOOK!
|
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]
|
|
|
|
|
« Last Edit: November 03, 2009, 12:38:52 pm by X7[Q2C] »
|
Logged
|
|
|
|
|
 |