Frictional Games Forum (read-only)

Full Version: having problems with custom entities
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
So i have custom entities which work fine at first but if i add them then uit the editor and go back in it says "error failed to load some parts of map" and then the custom entities are gone how do i fix this?
The level editor doesn't read objects from your "custom_stories" folder. Create a folder in "static_objects" or "entities" titled <The name of your story>. Place your stuff there. When it's time to release the story copy the folders to:
custom_stories/<The name of your story>/entities
custom_stories/<The name of your story>/static_objects
Or open the "resources.cfg" in your root folder and add the directory to "custom_stories". Paste this at the bottom of the list of directories:

<Directory Path="/custom_stories" AddSubDirs="true" />

This allows the editors to read anything in the "custom_stories" folder and you should see all of your items just fine. =] Saves disk space and it seems this was your preferred method of mapping.