Development questions - 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: Development questions (/thread-14909.html) |
Development questions - LulleBulle - 04-18-2012 1. How do I put a song through the entire story and which one is the Amnesia main one? 2. how do I create the effect that you like lie down on the floor? 3. How do I create the blue puzzle effect & sound? 4. how do I do "focus level door" text? Tried following instructions in level editor, failed. RE: Development questions - jamessnk1 - 04-19-2012 (04-18-2012, 10:30 PM)LulleBulle Wrote: 1. How do I put a song through the entire story and which one is the Amnesia main one?I'll try and answer what I can. 1. If you have a .ogg file of the music and a .snt file for it you can just put the sound in each map right in level editor. 2. The lying down on the floor is when you trigger complete insanity I think, although I'm not sure how. If you open someone elses story and look at their script you can find out from there. You probably just give 100 sanity damage though. 3. That effect is when you return the sanity of the player. Which is simply: GiveSanityBoost(); 4. Do you mean have text show up when you look at the door? If so: SetEntityPlayerLookAtCallback(string& asName, string& asCallback, bool abRemoveWhenLookedAt); then as the function you would put: void string& asCallback(void MyFunc(string &in asEntity, int alState) { SetMessage(string& asTextCategory, string& asTextEntry, float afTime); } hopefully this was at least a little helpful im kinda new at this too haha RE: Development questions - Damascus - 04-19-2012 I'll elaborate on these a little. (04-18-2012, 10:30 PM)LulleBulle Wrote: 1. How do I put a song through the entire story and which one is the Amnesia main one?1. Put the following script right in the OnStart section and the song will begin playing as soon as you start the game. If you choose a song that loops, it will keep going through the whole game. Spoiler below!
Spoiler below!
4. I don't know what that is, so hopefully someone else knows. |