Frictional Games Forum (read-only)
Inactive entities/particles/objects still showing & sound problem - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html)
+---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html)
+---- Thread: Inactive entities/particles/objects still showing & sound problem (/thread-26462.html)



Inactive entities/particles/objects still showing & sound problem - Spazatron - 09-29-2014

I have three problems:

1. I have set a dust particle and a box entity as inactive in the Level Editor, but when I play the map, they're both showing.

2. I have a clock sound playing at a clock, and I have the settings in the sound's .snt file set to 3D and I've set my min distance to 0.5 and max distance to 19, but the sound doesn't get quieter as I move away from the clock, and even outside of the max distance I can hear the clock as if it's playing directly in front of me.

3. I have some oil and tinderboxes set to "StaticPhysics" but I can still pick them up... is this the right way to stop the player picking them up?


RE: Inactive entities/particles/objects still showing & sound problem - DeAngelo - 09-29-2014

1: Check your map cache files
2: I dunno, I haven't worked much with sounds
3: No, static physics just makes it so they can't move around in the level. Disabling player interaction is what you want.

void SetEntityInteractionDisabled(string& asName, bool abDisabled);

Disallows interaction with an entity.


RE: Inactive entities/particles/objects still showing & sound problem - Spazatron - 09-29-2014

(09-29-2014, 01:33 PM)DeAngelo Wrote: 1: Check your map cache files
2: I dunno, I haven't worked much with sounds
3: No, static physics just makes it so they can't move around in the level. Disabling player interaction is what you want.

void SetEntityInteractionDisabled(string& asName, bool abDisabled);

Disallows interaction with an entity.

There are no map cache files, I deleted them. But thanks for the SetEntityInteractionDisabled!


RE: Inactive entities/particles/objects still showing & sound problem - Mudbill - 09-29-2014

Perhaps you should keep these two threads merged as they kinda regard the same issues.
https://www.frictionalgames.com/forum/thread-26464.html