![]() |
ye ye another problem -.- "flashback" - 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 (https://www.frictionalgames.com/forum/forum-35.html) +--- Thread: ye ye another problem -.- "flashback" (/thread-6126.html) |
ye ye another problem -.- "flashback" - sassix - 01-09-2011 yo, well i want using 4 different flashbacks in one map, at least theyre working but all 4 flashbacks have the same text in it :O i dont know why :/ Quote:thats what i wrote in "onstart" .hps Quote:thats what i wrote in my start insanity section and thats what i wrote in the extra_german.lang Quote:<CATEGORY Name="Flashbacks"> hope u can help me and mb fix it ;/ THX RE: ye ye another problem -.- "flashback" - ModManDann - 01-09-2011 Flashbacks work like this: There is a flashback file, containing every line that should be said in the flashback. You can even put a background effect in it. The flashback file looks like this: Code: <Flashback> Now if we run this flashback you will hear the fb_sfx_15_journey.ogg in the background and see the following subtitle: "Autsch... Mein Kopf schmerzt. Ich sollte mir eine Aspirin aus dem Bad holen gehen !" The flashback will stop after about one second as there is no voice sound. The flashback line will last as long as the voice sound plays. You already have language file correct so we can leave it as it is. Now go to your level editor and put a flashback area at the place you want the player to have a flashback. In the flashback area options you can call a flashback file. Use the file you created. And there's your flashback. RE: ye ye another problem -.- "flashback" - sassix - 01-09-2011 aaah ok thx man ! but before i missunderstand (hope its right) something, i can delete these: AddEntityCollideCallback("Player", "flashback_01", "Collide_Area1", true, 1); and void Collide_Area1(string &in entity, int alState) { PlaySoundAtEntity("", "insanity_whisper.snt", "Player", 0, false); GiveSanityDamage(30.0f, true); AddTimer("Stoplook", 2.0f, "PlayerStopLook"); } stuff ? RE: ye ye another problem -.- "flashback" - ModManDann - 01-09-2011 you can delete that yes, but if you want to keep the effects you can keep it in there. RE: ye ye another problem -.- "flashback" - sassix - 01-09-2011 (01-09-2011, 06:01 PM)ModManDann Wrote: you can delete that yes, but if you want to keep the effects you can keep it in there. Alright, thx dude ! |