+- 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 causing game to randomly crash (No FATAL ERROR) (/thread-7885.html)
RE: extra_english now is working, but I need help with a different script :) - RawkBandMan - 07-22-2011
Bump :3 Please help me!
RE: extra_english now is working, but I need help with a different script :) - Obliviator27 - 07-23-2011
Can't say that I see a problem with your scripts. All I can think of to suggest is to doublecheck your in-game names.
RE: extra_english now is working, but I need help with a different script :) - RawkBandMan - 07-24-2011
Never Mind got it. I just need to work on my map. Will post other problems I have!
RE: extra_english now is working, but I need help with a different script :) - RawkBandMan - 08-18-2011
DUN DUN DUN!!!!!!
My extra_english.lang is now, once again, not working.
extra_english.lang
Spoiler below!
<LANGUAGE>
<CATEGORY Name="CustomStoryMain">
<Entry Name="Description"You are a man named Robert Lightwood. You are having personal problems, such as depression, for an unknown reason. Your wife, Maryse Lightwood, goes on a trip to somewhere in the desert, and she dies along the way. She gives you most the things she owns in her will, including a strange artifact she found in the desert. You keep it, and strange things start happening. Such as voices telling you to "Throw it away," or "Give it to me." You ignore them, and keep living, or trying to. You are then taking a nice stroll down an abandoned road when you hear something in the bushes. You get weak from fear and fall to the floor. The world goes dark and something slaps you on the head. You wake in a cell and the story begins.
</Entry>
</CATEGORY>
<CATEGORY Name="Inventory">
<Entry Name="ItemName_CellKey">Cell #801</Entry>
<Entry Name="ItemDesc_CellKey">On the side there are words scratched in. They say "Cell #801".</Entry>
<Entry Name="ItemName_CellsDoor">Specialty Threat Cells Corridor</Entry>
<Entry Name="ItemDesc_CellsDoor">A key for a locked door in the cells where they kept me.</Entry>
<Entry Name="ItemName_SouthCells">Southern Cells</Entry>
<Entry Name="ItemName_SouthCells">The key for the Southern Cells.</Entry>
<Entry Name="ItemName_AwesomeKey">Back Hall Corridor</Entry>
<Entry Name="ItemDesc_AwesomeKey">This must be for a door in the Hallway of the Back Hall.</Entry>
</CATEGORY>
<CATEGORY Name="Ending">
<Entry Name="StartCredits">
Escape Hell Beta[br]
Made By: XxRoCkBaNdMaNxX[br]
Thanks to [br]XxWestKillzXx and [FuG]wolfofdestruction for beta testing and motivation![br][br]
Following People from Frictional Games Forums: [br]Roenlond, Mofo, Kyle, Greven, Phoroneus,
Frictional Games for this awesome piece of work
Everyone in the community for playing.[br] Stay tuned for the full custom!..... [br][br][br][br]and for Chapter 2
</Entry>
</CATEGORY>
<CATEGORY Name="Levels">
<Entry Name="level_dungeon_1">Water Works</Entry>
<Entry Name="level_dungeon_2">Outer Cells</Entry>
<Entry Name="level_wood_1">Specialty Threats Cells</Entry>
<Entry Name="level_celler_1">Southern Cells</Entry>
<Entry Name="level_celler_2">Northern Cells</Entry>
</CATEGORY>
</LANGUAGE>
Nothing in it is working, not the inventory, description, names, or levels. Havent checked credits, but Im sure thats not working aswell!!
RE: extra_english no longer working, once again!!! - GreyFox - 08-18-2011
The world goes dark and something slaps you on the head. You wake in a cell and the story begins.
</Entry>
you pressed enter and the </Entry> is not lined up with your first paragraph, could this be the problem?
-Grey Fox
RE: extra_english no longer working, once again!!! - RawkBandMan - 08-24-2011
(08-18-2011, 09:12 PM)GreyFox Wrote: The world goes dark and something slaps you on the head. You wake in a cell and the story begins.
</Entry>
you pressed enter and the </Entry> is not lined up with your first paragraph, could this be the problem?
-Grey Fox
Nope still getting the problem.
Welp.
extra_english.lang
Spoiler below!
<LANGUAGE>
<CATEGORY Name="CustomStoryMain">
<Entry Name="Description"You are a man named Robert Lightwood. You are having personal problems, such as depression, for an unknown reason. Your wife, Maryse Lightwood, goes on a trip to somewhere in the desert, and she dies along the way. She gives you most the things she owns in her will, including a strange artifact she found in the desert. You keep it, and strange things start happening. Such as voices telling you to "Throw it away," or "Give it to me." You ignore them, and keep living, or trying to. You are then taking a nice stroll down an abandoned road when you hear something in the bushes. You get weak from fear and fall to the floor. The world goes dark and something slaps you on the head. You wake in a cell and the story begins.</Entry>
</CATEGORY>
<CATEGORY Name="Inventory">
<Entry Name="ItemName_CellKey">Cell #801</Entry>
<Entry Name="ItemDesc_CellKey">On the side there are words scratched in. They say "Cell #801".</Entry>
<Entry Name="ItemName_CellsDoor">Specialty Threat Cells Corridor</Entry>
<Entry Name="ItemDesc_CellsDoor">A key for a locked door in the cells area where they kept me.</Entry>
<Entry Name="ItemName_SouthCells">Southern Cells</Entry>
<Entry Name="ItemName_SouthCells">The key for the Southern Cells.</Entry>
<Entry Name="ItemName_AwesomeKey">Back Hall Corridor</Entry>
<Entry Name="ItemDesc_AwesomeKey">This must be for a door in the Hallway of the Back Hall.</Entry>
</CATEGORY>
<CATEGORY Name="Ending">
<Entry Name="StartCredits">
Escape Hell Beta[br]
Made By: XxRoCkBaNdMaNxX[br]
Thanks to [br]XxWestKillzXx and [FuG]wolfofdestruction for beta testing and motivation![br][br]
Following People from Frictional Games Forums: [br]Roenlond, Mofo, Kyle, Greven, Phoroneus,
Frictional Games for this awesome piece of work
Everyone in the community for playing.[br] Stay tuned for the full custom!..... [br][br][br][br]and for Chapter 2
</Entry>
</CATEGORY>
<CATEGORY Name="Levels">
<Entry Name="level_dungeon_1">Water Works</Entry>
<Entry Name="level_dungeon_2">Outer Cells</Entry>
<Entry Name="SpecialCells">Specialty Threats Cells</Entry>
<Entry Name="SouthernCells">Southern Cells</Entry>
<Entry Name="NorthernCells">Northern Cells</Entry>
</CATEGORY>
</LANGUAGE>
RE: extra_english no longer working, once again!!! - graykin - 08-24-2011
You have to close off your <Entry Name="Description" in the beginning. It should be:
<Entry Name="Description">
RE: extra_english no longer working, once again!!! - RawkBandMan - 08-24-2011
(08-24-2011, 07:39 PM)graykin Wrote: You have to close off your <Entry Name="Description" in the beginning. It should be:
<Entry Name="Description">
Well, the description is working, but when I enter the game, it crashes and says
(83,1) Unexpected end of file
Or something like that...
void wakeUp () {
StartPlayerLookAt("servant_grunt_1", 11.0f, 11.0f, "");
FadeOut(0); // Instantly fades the screen out. (Good for starting the game)
FadeIn(10); // Amount of seconds the fade in takes
FadeImageTrailTo(2, 2);
FadeSepiaColorTo(100, 4);
SetPlayerActive(false);
FadePlayerRollTo(50, 220, 220); // "Tilts" the players head
FadeRadialBlurTo(0.15, 2);
SetPlayerCrouching(true); // Simulates being on the ground
AddTimer("trig1", 16.0f, "beginStory"); // Change '11.0f' to however long you want the 'unconciousness' to last
}