+- 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: [SCRIPT] "AddEffectVoice" blackbox (/thread-30242.html)
(07-08-2015, 05:55 PM)Daemian Wrote: Take one line from the original game, one AddEffectVoice call, try it in your mod and if it works fine, start changing the values one by one to what you want until you find the error.
Funny thing is that if I copy paste a AddEffectVoice from the original game, it will work just fine, as it should. Like I thought earlier, it HAS to do something with my full conversion.
Yep, it does have something to do with the full conversion itself. As I said earlier, if I copy paste the line from the original game, it will work fine, but whenever I customize it to match my own stuff, it crashes upon entering the ScriptArea that is meant to start the dialogue.
(07-08-2015, 09:14 PM)Daemian Wrote: To make sure your resources.cfg it's correct, duplicate the original from Amnesia and add the directories custom stories and ObsessedByCruelty.
Now with your Effect Voice problem, change one value at a time until the wrong one cries.
I've kept changing the values, and when I removed the asTextCat (which was "Voices") it didn't crash, however since the category was removed, the entry couldn't been shown. So it has to be something wrong either with the .lang file itself, or the full conversion base I have.
<Entry Name="DriveCar_StartVoice_1">I haven't gotten a decent sleep in months...</Entry> <Entry Name="DriveCar_StartVoice_2">Every night I toss and turn and I keep going back to that place...</Entry> <Entry Name="DriveCar_StartVoice_3">That horrible place...</Entry> <Entry Name="DriveCar_StartVoice_4">I can feel it calling me...</Entry> <Entry Name="DriveCar_StartVoice_5">I'm going there and I'm going to deal with this once and for all!</Entry>
<Entry Name="DriveCar_1">What the hell?!</Entry> <Entry Name="DriveCar_2">I definatly can't keep going this way, I should find a way around.</Entry> <Entry Name="DriveCar_3">I Shouldn't go that way.</Entry> <Entry Name="DriveCar_4">This place is huge, but I should be able to find a way trough.</Entry> <Entry Name="DriveCar_5">Someone's been this way before...</Entry> <Entry Name="DriveCar_6"> I think I saw an opening in the fence on 1 of the buildings</Entry> <Entry Name="DriveCar_7">That lever could come in handy, I better take it with me.</Entry> <Entry Name="DriveCar_8">If I go looking for help, I should take my bag out of the car...</Entry> <Entry Name="DriveCar_9">Now that I have my backpack with me, I have some medkits and some medicine.</Entry> <Entry Name="DriveCar_9_1">Too bad I forgot to bring a flashlight, the sun is going down very soon.</Entry>
No, dude - my .lang file is full of stuff I just posted my voices category as an example, and removed the rest of the text. Anyways, i'll see with the resources thing
EDIT
Allright, I made the change to the resources as you suggested, Lange, and it sitll does not work. I'm running out of ideas how to fix this.