look at how the original source code looks like...
a absolute path is forbidden in most instenses...
a relative path is set from (A) the execution folder [or] (B) the game's gamecode folder.
IE: a
relative path is set up like this:
- Code: Select all
images/gfx/common.tga
# or
./images/gfx/common.tga #the "./" means current working directory
# or
../havoc/gfx/NotSoCommon.tga # the "../" means that you go up one level in the directory tree
and you have to use "/" and
not "\".
and remember to always think in a
case sensitive way IE: "a" is not "A" and "B" is not "b".... (images.png is not the same file as Images.PNG)
compair this with a
absolute path:
- Code: Select all
/home/randomuser/games/nexuiz/data/gfx/common.tga