Ambient Sound and PointLight not "following" Elev. movement

Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.

Post a reply

Smilies
:D :) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :geek: :ugeek: :!: :?: :idea: :arrow: :| :mrgreen: :3: :wub: >:( :blergh:
View more smilies

BBCode is OFF
Smilies are ON

Topic review
   

Expand view Topic review: Ambient Sound and PointLight not "following" Elev. movement

Re: Ambient Sound and PointLight not "following" Elev. movem

by Enjay » Sat Oct 13, 2018 6:47 pm

How about defining an (invisible) actor that moves with the sector and defining a dynamic light for it?

Re: Ambient Sound and PointLight not "following" Elev. movem

by Kappes Buur » Sat Oct 13, 2018 10:54 am

The ambient sound should be audible regardless of the sector height. Just place the sound close to or in the sector.

For the dynamic lights you could place several at different heights.
Or deactivate them at first and activate, then deactivate them, with a script as the player moves through the height of the dynamic lights. Perhaps something like GetActorFloorZ. There are a few ways of doing this.

Ambient Sound and PointLight not "following" Elev. movement

by XLightningStormL » Fri Oct 12, 2018 11:18 pm

So for my map I have an elevator that also uses Dynamic Lights (to represent Emergency Power) and also includes Elevator Music, however when the Elevator moves, the two actors don't actually follow the lifts movement and will keep the same Z-location for some reason.

Anyway to fix this? It kinda ruins the point of using either.

Top