AddEffectVoice - 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: AddEffectVoice (/thread-15177.html) |
AddEffectVoice - Homicide13 - 04-29-2012 What are the "EffectFile"s in the function PHP Code: void AddEffectVoice(string& asVoiceFile, string& asEffectFile, string& asTextCat, string& asTextEntry, I've looked through every one of these functions in the main game but none of them use this option. Does anybody know what kind of file is it even, and what does it do? There is an "effects" folder in textures folder, but this only has one file in it: colorconv_sepia.tga, which is just a 256x1 file that has a white to sepia gradient across it. I tried running a test map using this image file but nothing happened (as far as I could tell). If anyone has any idea as to what this does any help would be very much appreciated! RE: AddEffectVoice - narutohokager - 04-29-2012 Hi ! An exemple of this command : Code: AddEffectVoice("CH03L29_Ending_Agrippa_03", "", "Voice", "CH03L29_Ending_Agrippa_03", false, "", 0, 0); - "Voice" and " CH03L29_Ending_Agrippa_03" are categorie and name in the lang file - "false" and 0, 0 I dont really know what it do Hop i have helped you, I am not very good in English... sorry RE: AddEffectVoice - Homicide13 - 04-30-2012 Indeed, but my question lies with the 2nd argument in that command: the "asEffectFile" argument. I want to know what kind of file this is and what it does, but unfortunately every use of this function in the main game leaves this argument as a null value (as does your example). EDIT: I have found the answer: the "effect" is just another sound file (.ogg, not .snt as far as I'm aware) that plays alongside the voice file. |