Frictional Games Forum (read-only)
[CHAOS] How do I use the phonograph? - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html)
+---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html)
+---- Thread: [CHAOS] How do I use the phonograph? (/thread-16621.html)



How do I use the phonograph? - Magasztos - 06-30-2012

I actually have 2 questions but the 1st is the most important:

1. How do I play sound using the phonograph?
2. Can someone help me find the sound file you first hear when waking up in the cell?

("Bienvenue, you are now listening to the sound of my disembodied voice. It will serve you no purpose to look for me, for this is a voice from the past.

I bid you welcome to my Cabinet of Perturbation. it is my study of the human psyche - specifically yours. A set of recordings have been prepared to chaperone you through the chambers ahead.

There are a few parts to this study and it is up to you - not only to pass, but figure out what elements are important. Please go on, move into the next chamber. Just remember they can all be saved, there is always a way.")


RE: How do I use the phonograph? - EXAWOLT - 06-30-2012

SetWheelStuckState(string& asName, int alState, bool abEffects);
Makes a prop\wheel\lever stuck in a certain state.

asName - internal name
alState - 0 = not stuck, 1 = at max, -1 = at min
abEffects - use effects
void abEffects
(string& asName, int alState, bool abEffects);

{
PlaySoundATEntity("", "sound.snt", "phonograph", 1, false);
or you can use= PlayGuiSound("sound.snt", 50.0f);
}