gfxgfxQuArK Forumsgfxgfx
gfx gfx
gfx
QuArK logo
Welcome, Guest. Please login or register.
November 26, 2009, 12:33:32 AM

Login with username, password and session length
QuArK 6.6.0 Beta 3 is out! Get it from the download page now!
gfx
gfx
*
gfxgfx
gfxgfx gfxgfx
Search:     Advanced search
gfxgfx Home Help Search Login Register   gfxgfx
gfx gfx
gfx
Pages: [1]
Print
Author Topic: textures links bad  (Read 59 times)
X7[Q2C]
Sr. Member
****
Posts: 107


Quake II

bplews@hotmail.com wplews
« on: November 03, 2009, 08:54:53 AM »

I was going to show a new Q2 mapper how to make a texture add-on.

But in the quark-win32-6.6.0Beta2 when I made a test add-on,

the texture links are bad..

It made the link with the back slash (\)

All texture links should have the forward slash (/) in them.


A quote form a Q2 MOD coder

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.

end of quote







BTW I'm still using quark-win32-6.6.0Beta1.

Textures add-on work ok, uses the forward slash (/)


X7


Logged

DanielPharos
Global Moderator
Hero Member
*****
Posts: 457


Dancing Dan


« Reply #1 on: November 03, 2009, 11:15:32 AM »

Looking at the source code behind that button... It extracts the texturenames from the BSP files (amongst things). Are you sure the texturenames in the BSP files aren't using the wrong slashes?
Logged
X7[Q2C]
Sr. Member
****
Posts: 107


Quake II

bplews@hotmail.com wplews
« Reply #2 on: November 03, 2009, 12:28:16 PM »

Not using BSP files.

I was going to make a test add-on for textures.

But when I made the add-on with quark-win32-6.6.0Beta2 it used the back slash (\)

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


The image above is from quark-win32-6.6.0Beta2



Here is the post where the mapper is having the problem..

http://tastyspleen.net/quake/forums/index.php?topic=12217.0




X7
Logged

DanielPharos
Global Moderator
Hero Member
*****
Posts: 457


Dancing Dan


« Reply #3 on: November 10, 2009, 05:18:43 AM »

Ah, I see. Yeah, I think I messed about with the slashes... Just use beta 1 for this right now. I have to figure out a way of converting all the slashes to whatever the current game wants.
Logged
cdunde
Global Moderator
Hero Member
*****
Posts: 264


Keep your QuArK knife sharp!


Email
« Reply #4 on: November 10, 2009, 04:50:24 PM »

The older games seem to be more sensitive to them then the newer games.
Or am I wrong about that  Huh

If not, the I would say set them all to forward slashes.

Is it possible they did it that way because Unix or Linux cater to forward slashes
and Windows is more forgiving...so the game makers selected them...
or did they even exist back then.  Undecided

cdunde
« Last Edit: November 10, 2009, 04:55:23 PM by cdunde » Logged
Pages: [1]
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.10 | SMF © 2006-2009, Simple Machines LLC
Cerberus design by Bloc
Valid XHTML 1.0! Valid CSS!
gfx
gfxgfx gfxgfx