Frictional Games Forum (read-only)

Full Version: Custom Entity in Custom Stories
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
nothing is more worse than having to change things in normal amnesia folder for your custom story. i have been making custom entities. Like barrels with fire. Now i put those files in my customstory map under entities/barrel01 and in here i have put all the information about barrels.
the problem is soon as i add a barrel and change his Entity.ENT file to the one with fire it shows correctly in level editor and ingame too. But soon as i restart the Level Editor it disapears and also doesn't show ingame.

how can i fix this?
That is one weird glitch you have going on there!

Try renaming your asset (including textures, material files, particle effects, etc). I believe there's already a barrel with a very similar name to yours and it might be calling that entity instead! I'd also change the pathing to a personal entity/static object folder like what I've done for mine:
Spoiler below!

[Image: CLRhKHh.png]

Add custom_stories to your resources.cfg if it's not there.

<Directory Path="/custom_stories" AddSubDirs="true"/>
Yeah unfortunately default Amnesia does not include the custom_stories directory as a resource area, so if you don't want the user to have to edit that one file (which a lot of people have gotten used to doing now), you're either gonna have to omit using custom assets, or create yourself a full conversion mod. With a mod you can control all the configuration yourself, but the installation might be a bit more intimidating for the user.