Hi metamorphium,
You FAQ says:
"It's most probably path problem. Remember that you should use relative path to the package. So if you for example in WME demo have package called data, you don't include data into the path. So in demo you have Game.ChangeScene("scenes\room\room.scene"); and not Game.ChangeScene("data\scenes\room\room.scene");"
About it, I can say yes, I am using relative paths to load it:
global drunkMan = Scene.LoadEntity("entities\drunkMan\drunkMan.entity");
This "entities" directory is inside "data" directory.
Making a comparision with actor loading, that is loaded in the game.script, this drunkMan is loaded in the scene_init.script. Should it be the reason for not being included into the package?
I think so, and the reason is, I just compiled wme_demo and renamed directory to "_wme_demo". When I tryied to execute the game.exe generated by the compiler, it returned an error message saying that important files could not be found, asking for a new installation for correcting the problem.
In my game, it doesn´t occurs, cause only the drunkMan is not found.
That makes me believe that those loaded files (like drunkMan) are not included in compiled file, and are loaded while executing, and need the files to be into the computer the game is being executed.
That gives me a lonely solution that is creating an installation system that will copy those files to the user computer.
I would like to use it in another way, I´d like to include it in the compiled file, but how to insert an entity into the scene, other than loading it in code?
Hope I didn´t create a whole mess here.