Jump to content

Prefab for graveyard fog?


Recommended Posts

You have to perform some weird extras to make the mist emitter emit mist.

Example:

local m = c_spawn("mist"); m.entity:SetAABB(10, 2); m.components.emitter.area_emitter = CreateSphereEmitter(20); m.components.emitter.density_factor = math.ceil(20 / 4) / 31; m.components.emitter:Emit();

Also, the mist prefab isn't networked. What happens is that when you download your world from the server, you get some special places where your game puts the mist and configures it properly.

This means that if you have a server without caves, only you will see the mist.

On a server with caves, either one person only or nobody will see the mist.

 

Overall, not worth it. You need to create a mod with your own custom mist.

Archived

This topic is now archived and is closed to further replies.

Please be aware that the content of this thread may be outdated and no longer applicable.

×
  • Create New...