Posted By: Rich
A little help with paths. - 08/08/10 12:49
Hi, I did a little searching and testing things but I can't seem to make this work right.
I have a level that has some models in it.
The maps are stored in a folder named "maps", models in a folder named "models" and the script is run in the main directory.
I set the model up in WED, and when I run my script from sed, when the engine loads I get an error W1301 saying " "modelname": cannot open file".
I have tried this, and it does nothing:
I am probably doing something wrong but the manual doesn't really seem to help me too much, so I thought I would post here.
Thanks for reading and any suggestions.
I have a level that has some models in it.
The maps are stored in a folder named "maps", models in a folder named "models" and the script is run in the main directory.
I set the model up in WED, and when I run my script from sed, when the engine loads I get an error W1301 saying " "modelname": cannot open file".
I have tried this, and it does nothing:
Code:
#define PRAGMA_PATH "%EXE_DIR%\scripts\"; #define PRAGMA_PATH "%EXE_DIR%\maps\"; #define PRAGMA_PATH "%EXE_DIR%\models\";
I am probably doing something wrong but the manual doesn't really seem to help me too much, so I thought I would post here.
Thanks for reading and any suggestions.