Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
.Lang File Help .lang file not working?!
Ainz Offline
Junior Member

Posts: 9
Threads: 1
Joined: Sep 2012
Reputation: 0
#11
RE: .lang file not working?!

(09-23-2013, 05:03 PM)Your Computer Wrote: Does key1 at least work? If so, make sure there are no .map_cache files in your maps folder and try testing it in game again.

Nay none of the above works. Not with the Caches removed either.

Well I guess this bug isn't too bad, since I can just write the file anyway assuming it would work for the players playing the story... It'll just be a little annoying when testing stuff..

[Edit]
Just copied and pasted my file into a friends extra english.lang and it worked perfectly fine.. so it's just that my game doesn't recognize my lang file
(This post was last modified: 09-23-2013, 10:43 PM by Ainz.)
09-23-2013, 05:29 PM
Find
Your Computer Offline
SCAN ME!

Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation: 235
#12
RE: .lang file not working?!

Have you tried using a different (non-development) Amnesia profile and see if it worked there?

Tutorials: From Noob to Pro
09-24-2013, 04:36 AM
Website Find
Ainz Offline
Junior Member

Posts: 9
Threads: 1
Joined: Sep 2012
Reputation: 0
#13
RE: .lang file not working?!

(09-24-2013, 04:36 AM)Your Computer Wrote: Have you tried using a different (non-development) Amnesia profile and see if it worked there?

Nope I have only used my dev_user profile which was the only one that I had created. I was using 'Main ShowMenu="false" ' in my main_settings and thus jumped right into my map.

But now I have set it back to true, created a new profile and by chosing my custom story there on either profile it works perfectly.
Now switching back to ' Main ShowMenu="false" ' on both profiles it wouldn't work anymore.

Not sure where the problem might be. So here are my current main_settings:

<Main ShowMenu="false" ExitMenuDirectly="true" SaveConfig="false" DefaultProfileName="dev_user" UpdateLogActive="false" LoadDebugMenu="true" StartLanguage="english.lang" ScreenShotExt="jpg" ForceCacheLoadingAndSkipSaving="false" ShowPreMenu="false" />

<Graphics TextureQuality="0" TextureFilter="2" TextureAnisotropy="16.000000" Gamma="0.950000" Shadows="1" SSAOActive="true" SSAOSamples="16" ShadowQuality="2" ShadowResolution="2" SSAOResolution="0" ParallaxEnabled="true" WorldReflection="true" EdgeSmooth="true" GBufferType="0" NumOfGBufferTextures="3" OcclusionTestLights="true" Refraction="true" ShadowsActive="true" ParallaxQuality="0" ForceShaderModel3And4Off="false" PostEffectBloom="true" PostEffectImageTrail="true" PostEffectSepia="true" PostEffectRadialBlur="true" PostEffectInsanity="true" />

<Engine LimitFPS="true" SleepWhenOutOfFocus="true" />

<Screen Width="1024" Height="768" FullScreen="false" Vsync="false" />

<Physics PhysicsAccuracy="2" UpdatesPerSec="60.000000" />

<Sound Device="0" Volume="1.000000" MaxChannels="32" StreamBuffers="4" StreamBufferSize="262144" />

<MapLoad FastPhysicsLoad="false" FastStaticLoad="false" FastEntityLoad="false" />


And my (dev_user)user_settings:
<Game ShowCommentary="false" ShowCrossHair="true" FocusIconStyle="Default" ShowDeathHints="true" ShowSubtitles="true" ShowEffectSubtitles="true" ShowHints="true" />

<Debug ShowFPS="true" ShowSoundPlaying="false" ShowPlayerInfo="false" ShowEntityInfo="true" SaveCheckPointOnMapLoad="false" ShowDebugMessages="true" UseProgLog="false" ScriptDebugOn="true" InspectionMode="true" DisableFlashBacks="false" DrawPhysics="false" ReloadFromCurrentPosition="true" AllowQuickSave="true" />

<Input InvertMouse="false" SmoothMouse="true" MouseSensitivity="1.000000" />

<Map File="street.map" Folder="C:\Program Files (x86)\Valve\Steam\SteamApps\common\Amnesia The Dark Descent\custom_stories\New\maps\" StartPos="PlayerStartArea_1" />
09-24-2013, 03:13 PM
Find
Your Computer Offline
SCAN ME!

Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation: 235
#14
RE: .lang file not working?!

If it works with ShowMenu=true, then you should just stick with ShowMenu=true. I can't duplicate the issue on my machine, and i doubt messing with the configuration any further will solve it.

Tutorials: From Noob to Pro
09-24-2013, 06:28 PM
Website Find
Ainz Offline
Junior Member

Posts: 9
Threads: 1
Joined: Sep 2012
Reputation: 0
#15
RE: .lang file not working?!

Mh yeah I guess so. Thanks for the workaround Big Grin

Better than not being able to see it at all I guess ;D
09-24-2013, 07:22 PM
Find
ShadowTV Offline
Junior Member

Posts: 11
Threads: 3
Joined: Sep 2013
Reputation: 0
#16
RE: .lang file not working?!

My extra_english.lang file doesn't work either. I made a new profile, restartet the game a couple of times and still no custom story description or signs/notes/display messages/death hints.

Here is my .lang file:

Spoiler below!

<LANGUAGE>

<CATEGORY Name="CustomStoryMain">
<Entry Name="Description"> You wake up, you had a nightmare about a game. Something is happening in your mansion. Soon you will find out, what is going on![br]
The power in the main floor, storage, kitchen, cellar and many other rooms just gone out.[br]
You need to turn the power back on! Otherwise...[br]
You are not alone! Always watch out for useful items.[br]
[br]
You need the Machine for Pigs patch for this Custom Story to work!</Entry>
</CATEGORY>

<CATEGORY Name="DeathHints">
<Entry Name="GlitchOutOfMap">Did you really just glitched out of the map?</Entry>
<Entry Name="Cellar">Barricade the door and hide in the closet!</Entry>
</CATEGORY>

<CATEGORY Name="Loading">
<Entry Name="LoadScreen1">'Alone. Yes, that's the key word, the most awful word in the English tongue.[br] Murder doesn't hold a candle to it and hell is only a poor synonym.'[br][br] - Stephen King </Entry>
<Entry Name="LoadScreen2">'Everybody is a book of blood; wherever we're opened, we're red.'[br][br] - Clive Barker, Books of Blood, Vols. 1-3 </Entry>
</CATEGORY>

<CATEGORY Name="Journal">
<Entry Name="Note_CrookedMan_Name">Crooked Man</Entry>
<Entry Name="Note_CrookedMan_Text"> There was a crooked man and he walked a crooked mile,[br]
He found a crooked sixpence upon a crooked stile.[br]
He bought a crooked cat, which caught a crooked mouse.[br]
And they all lived together in a little crooked house.</Entry>
<Entry Name="Quest_Nightmare_Text">Another nightmare. What is 'Abnormal: Pitchblack'? Is this a game?</Entry>
</Entry>
<Entry Name="Note_LONGTEXT_Name">READ THIS</Entry>
<Entry Name="Note_LONGTEXT_Text">
[br]A LOOOOOOOOOONG TEXT :D
</Entry>
</CATEGORY>

<CATEGORY Name="Inventory">
<Entry Name="ItemName_KitchenCrowbar">A very weak crowbar</Entry>
<Entry Name="ItemDesc_KitchenCrowbar">I can open only one door with it, I should try the kitchen.</Entry>
<Entry Name="ItemName_KeyThirdFloor">Cellar</Entry>
<Entry Name="ItemDesc_KeyThirdFloor">This one opens the cellar.</Entry>
</CATEGORY>

<CATEGORY Name="Levels">
<Entry Name="Outside">Mayfair</Entry>
</CATEGORY>

<CATEGORY Name="Signs">
<Entry Name="LivingRoomSign">Living Room</Entry>
<Entry Name="KitchenSign">Kitchen</Entry>
<Entry Name="KitchenSignCellar">Kitchen</Entry>
<Entry Name="CellarSign">Cellar</Entry>
<Entry Name="SecondFloor">Second Floor</Entry>
<Entry Name="StorageSign">Storage</Entry>
<Entry Name="UnderConstruction">UNDER CONSTRUCTION</Entry>
<Entry Name="SignDevLightbox">DevLightbox</Entry>
</CATEGORY>

<CATEGORY Name="Flashbacks">
<Entry Name=""></Entry>
</CATEGORY>

<CATEGORY Name="Voice">
<Entry Name=""></Entry>
</CATEGORY>

<CATEGORY Name="TextDisplay">
<Entry Name="CrowbarTip">I think here is where I lost my crowbar.</Entry>

</CATEGORY>

<CATEGORY Name="Ending">
<Entry Name="MainCredits">
- ABNORMAL: PITCHBLACK -[br]
[br]
[br]
[br]
[br]
MADE BY
[br]
ImpactiFIX[br]
[br]
[br]
MUSIC BY
[br]
blacksheep806 (Phonograph)[br]
Alexstrazsa (Intro song)[br]
Violin Covers (Outro)[br]
[br]
[br]
MAP BY
[br]
ImpactiFIX[br]
[br]
[br]
VOICE ACTING BY
[br]
ImpactiFIX + Audacity[br]
[br]
[br]
SCRIPTING BY
[br]
ImpactiFIX + Tutorials[br]
[br]
[br]
ASSETS FOUND ON
[br]
Amnesia: Premonition[br]
Amnesia: The Dark Descent[br]
Amnesia: A Machine for Pigs[br]
ModDB
[br]
[br]
SPECIAL THANKS TO
[br]
DnALANGE (for giving me motivation)[br]
Frictional Games (for most of the assets)[br]
The Chinese Room (for most of the lamps and some models)[br]
[br]
TheUnbeholden for the cannon![br]
Alexstrazsa for the awesome Intro song![br]
Violin Covers for making a cover of "Pirates" I used in the outro![br]
blacksheep806 for "Sound of an Angel" for the Phonograph![br]
And of course YOU! (For playing 'Chapter One'!)[br]
[br]
TheAnonymouspixels for making a Let's Play for it!
[br]
http://www.youtube.com/user/TheAnonymouspixels
[br}
[br]
AND ALSO
[br]
Thanks to Frictional Games for making:[br]
- the HPL Engine,[br]
- Amnesia: The Dark Descent[br]
- Putting the Engine Scripts on a page[br]
- Making it possible to make custom stories[br]
- For being awesome[br]
- Making everything so easy![br]
[br]
[br]
THANKS FOR PLAYING, HOPE YOU ENJOYED!
</Entry>
</CATEGORY>

</LANGUAGE>


(This post was last modified: 06-21-2014, 03:33 PM by ShadowTV.)
06-21-2014, 02:13 PM
Find
DnALANGE Offline
Banned

Posts: 1,549
Threads: 73
Joined: Jan 2012
#17
RE: .lang file not working?!

You should make a new treadh for this.
Using older treads seems to be for bumping..
Please next time make another treadh.
AND next time make it in a spoiler Tongue like this:
Spoiler below!
Just a small test
About the issue : checking it now.. moment
--
First issue is this : http://www.youtube.com/user/TheAnonymouspixels
The http: // the // will cause problems..
Issue 2 : <Entry Name="Quest_Nightmare_Text">Another nightmare. What is 'Abnormal: Pitchblack'? Is this a game?</Entry>
</Entry> <<---???
<Entry Name="Note_LONGTEXT_Name">READ THIS</Entry>
---
Try that.. should work.. dont see anything fast now..
(This post was last modified: 06-21-2014, 02:31 PM by DnALANGE.)
06-21-2014, 02:25 PM
Find
ShadowTV Offline
Junior Member

Posts: 11
Threads: 3
Joined: Sep 2013
Reputation: 0
#18
RE: .lang file not working?!

(06-21-2014, 02:25 PM)DnALANGE Wrote: You should make a new treadh for this.
Using older treads seems to be for bumping..
Please next time make another treadh.
AND next time make it in a spoiler Tongue like this:
Spoiler below!
Just a small test
About the issue : checking it now.. moment
--
First issue is this : http://www.youtube.com/user/TheAnonymouspixels
The http: // the // will cause problems..
Issue 2 : <Entry Name="Quest_Nightmare_Text">Another nightmare. What is 'Abnormal: Pitchblack'? Is this a game?</Entry>
</Entry> <<---???
<Entry Name="Note_LONGTEXT_Name">READ THIS</Entry>
---
Try that.. should work.. dont see anything fast now..

Ok, will do that Smile

edit: Thanks a lot DnALANGE!!! It worked! +rep

(This post was last modified: 06-21-2014, 03:31 PM by ShadowTV.)
06-21-2014, 03:26 PM
Find




Users browsing this thread: 1 Guest(s)