john9818a on 11/3/2016 at 18:12
I though someone posted this recently but I couldn't find it. I have a Victrola that plays a song at a certain point in my mission. The problem is that when the player is outside the AmbientHack radius and renters, the song starts from the beginning. I know this is how ambients work but is there a way to keep it playing without giving the ambient a super large radius?
Yandros on 11/3/2016 at 18:19
I don't know of any way to do it, but would love to know as I have similar problems. Hopefully someone knows of a way but I suspect it isn't possible; the engine is just optimized not to play sounds that the player can't hear.
john9818a on 11/3/2016 at 18:45
One idea I had was to take half of the wav and move it to the end of the wav. At least the song won't be starting at the beginning. Either that idea or simply remove the intro so that it isn't so obvious.
gigagooga on 11/3/2016 at 18:51
The VOTrap might be a possibility in this case. Having schema with "mono_loop 0 0" triggered by something will play through VOTrap continuosly (and as environmental) until it's deactivated with reverse trigger. I don't really see other methods for this, but there might be some custom scripts out there that might help you.
Yandros on 11/3/2016 at 19:11
VOTraps play schemas in an environmental (non-locational) mode, though. It won't work in this case where it's a victrola.
LarryG on 11/3/2016 at 19:22
NVSimpleSchemaPlayerTrap?
Quote:
[h=1]NVSimpleSchemaPlayerTrap
(NVTrap)[/h]
A simple script that plays the schema specified by <kbd style="font-family: 'Courier New', Courier, mono; font-weight: bold; color: rgb(0, 0, 102); font-size: small;">NVSchema</kbd> at its location upon receiving TurnOn, and halts the schema on TurnOff
gigagooga on 11/3/2016 at 21:17
Quote Posted by Yandros
It won't work in this case where it's a victrola.
Well it takes some imagination, but it could work with few dozen markers :P
Yandros on 12/3/2016 at 00:46
I didn't mention that script Larry because I'm pretty sure it will be the same as using AmbientHacked, but it's worth a try.
john9818a on 12/3/2016 at 03:22
I'll try that tonight Larry. Thanks!
Gigagooga if I use a VOTrap the player will be possessed with the song anywhere on the map even if the player leaves the Victrola. My map is rather large.
Edit: I tried using NVSimpleSchemaPlayerTrap with NVSchema="vb" in the design notes and it didn't start the schema over. However I didn't specify a radius anywhere.
Yandros on 12/3/2016 at 14:42
When hyou say didn't start the schema over, you mean it didn't honor the loop params? It might be that NV didn't make it work with looping schemas.