Jump to content
The Dark Mod Forums

Gas light entities - still make noise once extinguished.


Recommended Posts

Maybe the problem is that it's the atdm:lamp_wall_gasflame03_lit entity (which is an idStaticEntity) that has an s_shader set, not the light_gasflame attachment (which is the actual light entity)?

Some things I'm repeatedly thinking about...

 

- louder scream when you're dying

Link to post
Share on other sites

Maybe the problem is that it's the atdm:lamp_wall_gasflame03_lit entity (which is an idStaticEntity) that has an s_shader set, not the light_gasflame attachment (which is the actual light entity)?

Some of the electric lights have the shader applied that way and they stop making sounds when turned off, so its must be an issue with the entity definition for the gas light.

Edited by Bikerdude
Link to post
Share on other sites

Some of the electric lights have shader applied that was and they stop making sounds when turned off, so its must be an issue with the entity definition for the gas light.

Do those electric lights have idStaticEntity spawnclasses or idLight spawnclasses? atdm:wall_sphere_lit for example is an idLight entity. Whereas atdm:lamp_wall_gasflame03_lit is an idStaticEntity which spawns an idLight attachment.

Edited by VanishedOne

Some things I'm repeatedly thinking about...

 

- louder scream when you're dying

Link to post
Share on other sites

Some of the electric lights have the shader applied that way and they stop making sounds when turned off, so its must be an issue with the entity definition for the gas light.

Electric lights differ from gas lights and flames. While the first ones are light entities themselves, the latter one are only static objects with a light entity attached. Use the set command to alter spawnargs on attached entities or create your own entity.

FM's: Builder Roads, Old Habits, Old Habits Rebuild

Mapping and Scripting: Apples and Peaches

Sculptris Models and Tutorials: Obsttortes Models

My wiki articles: Obstipedia

Texture Blending in DR: DR ASE Blend Exporter

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...