Cranky Old Man
Posting Freak
Posts: 986
Threads: 20
Joined: Apr 2012
Reputation:
38
|
RE: Note Wont appear in my mod
(04-18-2012, 12:21 PM)jessehmusic Wrote: help please?!
Okay, the lang file seems to have good format.
First of all, have you set the NoteText field of your notes, to Patient and Patient1 respectively?
If you have, there might be an issue with the quotation marks in the note text, being interpreted as formatting by the engine. Try writing two ' characters instead, or maybe some special tag like /" would work.
|
|
04-18-2012, 12:34 PM |
|
jessehmusic
Senior Member
Posts: 423
Threads: 102
Joined: Dec 2011
Reputation:
8
|
RE: Note Wont appear in my mod
(04-18-2012, 12:34 PM)Cranky Old Man Wrote: (04-18-2012, 12:21 PM)jessehmusic Wrote: help please?!
Okay, the lang file seems to have good format.
First of all, have you set the NoteText field of your notes, to Patient and Patient1 respectively?
If you have, there might be an issue with the quotation marks in the note text, being interpreted as formatting by the engine. Try writing two ' characters instead, or maybe some special tag like /" would work. okey?????...
|
|
04-18-2012, 12:37 PM |
|
Cranky Old Man
Posting Freak
Posts: 986
Threads: 20
Joined: Apr 2012
Reputation:
38
|
RE: Note Wont appear in my mod
(04-18-2012, 12:37 PM)jessehmusic Wrote: okey?????... What kind of answer is that? If you're confused over something, tell me. It it worked or didn't work, tell me.
(This post was last modified: 04-18-2012, 12:56 PM by Cranky Old Man.)
|
|
04-18-2012, 12:56 PM |
|
jessehmusic
Senior Member
Posts: 423
Threads: 102
Joined: Dec 2011
Reputation:
8
|
RE: Note Wont appear in my mod
(04-18-2012, 12:56 PM)Cranky Old Man Wrote: (04-18-2012, 12:37 PM)jessehmusic Wrote: okey?????... What kind of answer is that? If you're confused over something, tell me. It it worked or didn't work, tell me. didn't understand
|
|
04-18-2012, 01:24 PM |
|
Cranky Old Man
Posting Freak
Posts: 986
Threads: 20
Joined: Apr 2012
Reputation:
38
|
RE: Note Wont appear in my mod
(04-18-2012, 01:24 PM)jessehmusic Wrote: didn't understand Okay, if you didn't understand even what a NoteText field is, then you should watch this episode of From Noob to Pro.
|
|
04-18-2012, 01:30 PM |
|
jessehmusic
Senior Member
Posts: 423
Threads: 102
Joined: Dec 2011
Reputation:
8
|
RE: Note Wont appear in my mod
(04-18-2012, 01:30 PM)Cranky Old Man Wrote: (04-18-2012, 01:24 PM)jessehmusic Wrote: didn't understand Okay, if you didn't understand even what a NoteText field is, then you should watch this episode of From Noob to Pro. i know how to make the notes , but didnt understand that you said... -.-
|
|
04-18-2012, 01:56 PM |
|
Cranky Old Man
Posting Freak
Posts: 986
Threads: 20
Joined: Apr 2012
Reputation:
38
|
RE: Note Wont appear in my mod
(04-18-2012, 01:56 PM)jessehmusic Wrote: (04-18-2012, 01:30 PM)Cranky Old Man Wrote: (04-18-2012, 01:24 PM)jessehmusic Wrote: didn't understand
Okay, if you didn't understand even what a NoteText field is, then you should watch this episode of From Noob to Pro.
i know how to make the notes , but didnt understand that you said... -.-
Okay, if you know about the field, then it's possible that you don't know what double quotation marks are.
This is a double quotation mark: "
Weird things can happen when a script compiler encounter a double quotation mark, because the compiler may think that it is the beginning or end of an entry, and then misunderstand and miscompile the rest of the script.
Usually, instead of typing a double quotation mark, the engine will let you type a special sequence of character that will be translated into a quotation mark in-game. In AngelScript this sequence is this: \"
Simply type \ (and not / ) right before the quotation marks, and your notes could start working as they should.
If this doesn't work, instead try replacing the double quotation marks with two single quotation marks. Turn " into ''. The reader will probably not notice it.
(This post was last modified: 04-18-2012, 02:24 PM by Cranky Old Man.)
|
|
04-18-2012, 02:22 PM |
|
jessehmusic
Senior Member
Posts: 423
Threads: 102
Joined: Dec 2011
Reputation:
8
|
RE: Note Wont appear in my mod
(04-18-2012, 02:22 PM)Cranky Old Man Wrote: (04-18-2012, 01:56 PM)jessehmusic Wrote: (04-18-2012, 01:30 PM)Cranky Old Man Wrote: (04-18-2012, 01:24 PM)jessehmusic Wrote: didn't understand
Okay, if you didn't understand even what a NoteText field is, then you should watch this episode of From Noob to Pro.
i know how to make the notes , but didnt understand that you said... -.-
Okay, if you know about the field, then it's possible that you don't know what double quotation marks are.
This is a double quotation mark: "
Weird things can happen when a script compiler encounter a double quotation mark, because the compiler may think that it is the beginning or end of an entry, and then misunderstand and miscompile the rest of the script.
Usually, instead of typing a double quotation mark, the engine will let you type a special sequence of character that will be translated into a quotation mark in-game. In AngelScript this sequence is this: \"
Simply type \ (and not / ) right before the quotation marks, and your notes could start working as they should.
If this doesn't work, instead try replacing the double quotation marks with two single quotation marks. Turn " into ''. The reader will probably not notice it. <CATEGORY Name="Journal">
<Entry Name="Note_Patient_Name">Patient, Eric</Entry>
<Entry Name="Note_Patient_Text">1 July 2001 , an patient called Eric arrived today , the report says he is in coma , take care of him in the "Emergancy Hall"</Entry>
<Entry Name="Note_Patient1_Name">Patient , Richard</Entry>
<Entry Name="Note_Patient1_Text">3 July 2001 , an patient called Richard arrvied with some disease , never seen something like that before , take him down to the "Disease hall"</Entry>
</CATEGORY>
??
|
|
04-18-2012, 04:10 PM |
|
jessehmusic
Senior Member
Posts: 423
Threads: 102
Joined: Dec 2011
Reputation:
8
|
RE: Note Wont appear in my mod
anyone whast the prob?!??
|
|
04-20-2012, 11:11 AM |
|
Knittel
Junior Member
Posts: 8
Threads: 1
Joined: Apr 2012
Reputation:
0
|
RE: Note Wont appear in my mod
(04-18-2012, 04:10 PM)jessehmusic Wrote: <CATEGORY Name="Journal">
<Entry Name="Note_Patient_Name">Patient, Eric</Entry>
<Entry Name="Note_Patient_Text">1 July 2001 , an patient called Eric arrived today , the report says he is in coma , take care of him in the "Emergancy Hall"</Entry>
<Entry Name="Note_Patient1_Name">Patient , Richard</Entry>
<Entry Name="Note_Patient1_Text">3 July 2001 , an patient called Richard arrvied with some disease , never seen something like that before , take him down to the "Disease hall"</Entry>
</CATEGORY> Probably the Problem is that the Quotation Marks are probably interpreted as values of attributes ->
In easy words: Dont write " in your text.
But if you still want to use that, then write 2 times this symbol ' . It looks equal, but won't be interpreted as an attribute.
This should be the solution:
<CATEGORY Name="Journal">
<Entry Name="Note_Patient_Name">Patient, Eric</Entry>
<Entry Name="Note_Patient_Text">1 July 2001 , an patient called Eric arrived today , the report says he is in coma , take care of him in the ''Emergancy Hal''</Entry>
<Entry Name="Note_Patient1_Name">Patient , Richard</Entry>
<Entry Name="Note_Patient1_Text">3 July 2001 , an patient called Richard arrvied with some disease , never seen something like that before , take him down to the ''Disease hall''</Entry>
</CATEGORY>
NB! Do not just copy this part into your text! You need to understand what we want to tell you, otherwise you will have the same problem very soon again.
[TRACKMANIA]
|
|
04-20-2012, 11:30 AM |
|
|