Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Inactive entities/particles/objects still showing & sound problem
Spazatron Offline
Junior Member

Posts: 33
Threads: 17
Joined: Oct 2012
Reputation: 2
#1
Inactive entities/particles/objects still showing & sound problem

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?
(This post was last modified: 09-29-2014, 01:22 PM by Spazatron.)
09-29-2014, 01:20 PM
Find
DeAngelo Offline
Senior Member

Posts: 263
Threads: 26
Joined: Feb 2013
Reputation: 11
#2
RE: Inactive entities/particles/objects still showing & sound problem

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.

A Late Night Drink http://www.moddb.com/mods/a-late-night-drink
Check out my LP channel, CatBearGaming, I take all Custom Story requests!
09-29-2014, 01:33 PM
Find
Spazatron Offline
Junior Member

Posts: 33
Threads: 17
Joined: Oct 2012
Reputation: 2
#3
RE: Inactive entities/particles/objects still showing & sound problem

(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!
09-29-2014, 01:52 PM
Find
Mudbill Offline
Muderator

Posts: 3,881
Threads: 59
Joined: Apr 2013
Reputation: 179
#4
RE: Inactive entities/particles/objects still showing & sound problem

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

09-29-2014, 04:05 PM
Find




Users browsing this thread: 1 Guest(s)