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
Note Text Won't Show Up
bkrstirregular Offline
Junior Member

Posts: 17
Threads: 2
Joined: May 2012
Reputation: 0
#1
Note Text Won't Show Up

Hey Everyone

SO I made the mistake of thinking I was capable of modding this game for one of my finals...Little did I know that while I'm really great at making maps, I can't get them to work...

I've tried desperately for the last few days to try and get this note to show up in my game but the text simply does not. Could someone please help me out?

This is what I have in my .lang file at the moment

<LANGUAGE>
<RESOURCES>
</RESOURCES>
<CATEGORY Name= "CustomStoryDescription">
<Entry Name= "Description"> "An air of stern, deep, and irredeemable gloom hung over and pervaded all."</Entry>
</CATEGORY>
<CATEGORY Name= “Messages”>
<Entry Name=“msgname”> This Door Is Locked</Entry>
</CATEGORY>
<CATEGORY Name= "Journal">
<Entry Name="Note_firstnote_1_Text"> "It is with sincerest regrets that I pen this letter, knowing
that you will eventually discover it. If everything has gone according to plan,
then you will have no recollection of what has transpired. [br]There is little time and I have little strength left before
this potion overwhelms me, to relay the depths of the travesties that have
occurred in this home. It is for the best, I assure you. [br]Calm yourself – the pain in your lungs is surely still
intense, but it will pass in time…That bitter taste on your tongue is the
Damascus rose oil that I used to lace this memory cleanser. [br]I implore you – no, I beg you – find a way out of this
accursed place. Do not seek out the answers to what has been withheld from you.
Most importantly, do not be swayed by whatever atrocious facets of Roderick that
still linger here…He is not your friend anymore. [br]Move quickly, and keep your journal close… [br]If you believe it is safe, I have hidden the key behind her. [br]Your Former Self, [br]E."

</Entry>
<Entry Name="Note_firstnote_1_Name"> "A Hastily Written Note"</Entry>
</CATEGORY>
</LANGUAGE>


Also, my story description doesn't show up on the main menu? Ughh..if someone could help, I would be extremely grateful.

- Kat
(This post was last modified: 05-02-2012, 03:05 AM by bkrstirregular.)
05-01-2012, 08:40 PM
Find
TeamSD Offline
Member

Posts: 51
Threads: 3
Joined: Apr 2012
Reputation: 2
#2
RE: Note Text Won't Show Up

Change this

<CATEGORY Name= "CustomStoryDescription">

to
<CATEGORY Name="CustomStoryMain">

About the note. What is your notes "Notetext"? Click your note in editor and there, click "Entity". There is section called "NoteText". That is the link to your lang file.

EDIT: to simplify, there should read "firstnote_1" without the "".

(This post was last modified: 05-01-2012, 08:49 PM by TeamSD.)
05-01-2012, 08:47 PM
Find
Apjjm Offline
Is easy to say

Posts: 496
Threads: 18
Joined: Apr 2011
Reputation: 52
#3
RE: Note Text Won't Show Up

You seem to have unsupported characters, E.g.

“ instead of " in the parameters part
… instead of ...
One of the hyphens also flagged up as an error.

Removing these lets me open your document in my language editor tool without errors, and so should contain characters the game expects too:
<LANGUAGE>
<RESOURCES></RESOURCES>
<CATEGORY Name= "CustomStoryDescription">
<Entry Name= "Description"> "An air of stern, deep, and irredeemable gloom hung over and pervaded all."</Entry>
</CATEGORY>
<CATEGORY Name= "Messages">
<Entry Name="msgname"> This Door Is Locked</Entry>
</CATEGORY>
<CATEGORY Name= "Journal">
<Entry Name="Note_firstnote_1_Text"> "It is with sincerest regrets that I pen this letter, knowing
that you will eventually discover it. If everything has gone according to plan,
then you will have no recollection of what has transpired. [br]There is little time and I have little strength left before
this potion overwhelms me, to relay the depths of the travesties that have
occurred in this home. It is for the best, I assure you. [br]Calm yourself - the pain in your lungs is surely still
intense, but it will pass in time... That bitter taste on your tongue is the
Damascus rose oil that I used to lace this memory cleanser. [br]I implore you - no, I beg you - find a way out of this
accursed place. Do not seek out the answers to what has been withheld from you.
Most importantly, do not be swayed by whatever atrocious facets of Roderick that
still linger here... He is not your friend anymore. [br]Move quickly, and keep your journal close... [br]If you believe it is safe, I have hidden the key behind her. [br]Your Former Self, [br]E."

</Entry>
<Entry Name="Note_firstnote_1_Name"> "A Hastily Written Note"</Entry>
</CATEGORY>
</LANGUAGE>
05-01-2012, 08:52 PM
Find
bkrstirregular Offline
Junior Member

Posts: 17
Threads: 2
Joined: May 2012
Reputation: 0
#4
RE: Note Text Won't Show Up

(05-01-2012, 08:47 PM)TeamSD Wrote: Change this

<CATEGORY Name= "CustomStoryDescription">

to
<CATEGORY Name="CustomStoryMain">

About the note. What is your notes "Notetext"? Click your note in editor and there, click "Entity". There is section called "NoteText". That is the link to your lang file.

EDIT: to simplify, there should read "firstnote_1" without the "".
It says firstnote_1


(05-01-2012, 08:52 PM)Apjjm Wrote: You seem to have unsupported characters, E.g.

“ instead of " in the parameters part
… instead of ...
One of the hyphens also flagged up as an error.

Removing these lets me open your document in my language editor tool without errors, and so should contain characters the game expects too:
<LANGUAGE>
<RESOURCES></RESOURCES>
<CATEGORY Name= "CustomStoryDescription">
<Entry Name= "Description"> "An air of stern, deep, and irredeemable gloom hung over and pervaded all."</Entry>
</CATEGORY>
<CATEGORY Name= "Messages">
<Entry Name="msgname"> This Door Is Locked</Entry>
</CATEGORY>
<CATEGORY Name= "Journal">
<Entry Name="Note_firstnote_1_Text"> "It is with sincerest regrets that I pen this letter, knowing
that you will eventually discover it. If everything has gone according to plan,
then you will have no recollection of what has transpired. [br]There is little time and I have little strength left before
this potion overwhelms me, to relay the depths of the travesties that have
occurred in this home. It is for the best, I assure you. [br]Calm yourself - the pain in your lungs is surely still
intense, but it will pass in time... That bitter taste on your tongue is the
Damascus rose oil that I used to lace this memory cleanser. [br]I implore you - no, I beg you - find a way out of this
accursed place. Do not seek out the answers to what has been withheld from you.
Most importantly, do not be swayed by whatever atrocious facets of Roderick that
still linger here... He is not your friend anymore. [br]Move quickly, and keep your journal close... [br]If you believe it is safe, I have hidden the key behind her. [br]Your Former Self, [br]E."

</Entry>
<Entry Name="Note_firstnote_1_Name"> "A Hastily Written Note"</Entry>
</CATEGORY>
</LANGUAGE>
I attempted to copy/paste your reworked code - but the text is still note showing up Sad


(This post was last modified: 05-01-2012, 09:26 PM by bkrstirregular.)
05-01-2012, 09:23 PM
Find
Cranky Old Man Offline
Posting Freak

Posts: 986
Threads: 20
Joined: Apr 2012
Reputation: 38
#5
RE: Note Text Won't Show Up

(05-01-2012, 09:23 PM)bkrstirregular Wrote: I attempted to copy/paste your reworked code - but the text is still note showing up Sad
The name of your note is "firstnote_1", right?

...and second of all, won't somebody correct the doublequotes of this wiki page?
http://wiki.frictionalgames.com/hpl2/tut...cked_doors
I had the same problem, and it's hard to spot without a colorscheme editor.


Noob scripting tutorial: From Noob to Pro

05-02-2012, 12:02 AM
Find
bkrstirregular Offline
Junior Member

Posts: 17
Threads: 2
Joined: May 2012
Reputation: 0
#6
RE: Note Text Won't Show Up

(05-02-2012, 12:02 AM)Cranky Old Man Wrote:
(05-01-2012, 09:23 PM)bkrstirregular Wrote: I attempted to copy/paste your reworked code - but the text is still note showing up Sad
The name of your note is "firstnote_1", right?

...and second of all, won't somebody correct the doublequotes of this wiki page?
http://wiki.frictionalgames.com/hpl2/tut...cked_doors
I had the same problem, and it's hard to spot without a colorscheme editor.
yeah the entity text says firstnote_1 and so is the entity name

05-02-2012, 12:04 AM
Find
Cranky Old Man Offline
Posting Freak

Posts: 986
Threads: 20
Joined: Apr 2012
Reputation: 38
#7
RE: Note Text Won't Show Up

(05-02-2012, 12:04 AM)bkrstirregular Wrote:
(05-02-2012, 12:02 AM)Cranky Old Man Wrote:
(05-01-2012, 09:23 PM)bkrstirregular Wrote: I attempted to copy/paste your reworked code - but the text is still note showing up Sad
The name of your note is "firstnote_1", right?

...and second of all, won't somebody correct the doublequotes of this wiki page?
http://wiki.frictionalgames.com/hpl2/tut...cked_doors
I had the same problem, and it's hard to spot without a colorscheme editor.
yeah the entity text says firstnote_1 and so is the entity name

I don't know why it would make a difference, but try switching the order of the name and text entries:

    <Entry Name="Note_firstnote_1_Name"> "A Hastily Written Note"</Entry>

        
        <Entry Name="Note_firstnote_1_Text">
             "It is with sincerest regrets that I pen this letter, knowing
            that you will eventually discover it. If everything has gone according to plan,
            then you will have no recollection of what has transpired. [br]There is little time and I have little strength left before
            this potion overwhelms me, to relay the depths of the travesties that have
            occurred in this home. It is for the best, I assure you. [br]Calm yourself - the pain in your lungs is surely still
            intense, but it will pass in time... That bitter taste on your tongue is the
            Damascus rose oil that I used to lace this memory cleanser. [br]I implore you - no, I beg you - find a way out of this
            accursed place. Do not seek out the answers to what has been withheld from you.
            Most importantly, do not be swayed by whatever atrocious facets of Roderick that
            still linger here... He is not your friend anymore. [br]Move quickly, and keep your journal close... [br]If you believe it is safe, I have hidden the key behind her. [br]Your Former Self, [br]E."
        </Entry>


Also, could you temporarily change the long text to something short like "I'm a little teapot." to make sure that it's not the size of the text, or any invisible character in the text?


Noob scripting tutorial: From Noob to Pro

(This post was last modified: 05-02-2012, 12:33 AM by Cranky Old Man.)
05-02-2012, 12:32 AM
Find
bkrstirregular Offline
Junior Member

Posts: 17
Threads: 2
Joined: May 2012
Reputation: 0
#8
RE: Note Text Won't Show Up

Didn't work Sad
05-02-2012, 12:45 AM
Find
Cranky Old Man Offline
Posting Freak

Posts: 986
Threads: 20
Joined: Apr 2012
Reputation: 38
#9
RE: Note Text Won't Show Up

(05-02-2012, 12:45 AM)bkrstirregular Wrote: Didn't work Sad
This is really weird. Maybe you could rename the note and entries to "firstnote1" instead of "firstnote_1". If that doesn't help, I'm going to have to give up. Are you sure that the extra_english.lang is in your custom story folder, next to the maps\ folder?


Noob scripting tutorial: From Noob to Pro

05-02-2012, 01:31 AM
Find
bkrstirregular Offline
Junior Member

Posts: 17
Threads: 2
Joined: May 2012
Reputation: 0
#10
RE: Note Text Won't Show Up

Nothing seems to be working Sad And my story description doesn't seem to show up either...

Thanks for trying to help though, I really appreciate it.
05-02-2012, 01:59 AM
Find




Users browsing this thread: 2 Guest(s)