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
Configuration Files Help Note Wont appear in my mod
Cranky Old Man Offline
Posting Freak

Posts: 986
Threads: 20
Joined: Apr 2012
Reputation: 38
#11
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.



Noob scripting tutorial: From Noob to Pro

04-18-2012, 12:34 PM
Find
jessehmusic Offline
Senior Member

Posts: 423
Threads: 102
Joined: Dec 2011
Reputation: 8
#12
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?????...

http://www.moddb.com/mods/jessehmusic - Hospital of horror , WIP
04-18-2012, 12:37 PM
Website Find
Cranky Old Man Offline
Posting Freak

Posts: 986
Threads: 20
Joined: Apr 2012
Reputation: 38
#13
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.


Noob scripting tutorial: From Noob to Pro

(This post was last modified: 04-18-2012, 12:56 PM by Cranky Old Man.)
04-18-2012, 12:56 PM
Find
jessehmusic Offline
Senior Member

Posts: 423
Threads: 102
Joined: Dec 2011
Reputation: 8
#14
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

http://www.moddb.com/mods/jessehmusic - Hospital of horror , WIP
04-18-2012, 01:24 PM
Website Find
Cranky Old Man Offline
Posting Freak

Posts: 986
Threads: 20
Joined: Apr 2012
Reputation: 38
#15
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.


Noob scripting tutorial: From Noob to Pro

04-18-2012, 01:30 PM
Find
jessehmusic Offline
Senior Member

Posts: 423
Threads: 102
Joined: Dec 2011
Reputation: 8
#16
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... -.-

http://www.moddb.com/mods/jessehmusic - Hospital of horror , WIP
04-18-2012, 01:56 PM
Website Find
Cranky Old Man Offline
Posting Freak

Posts: 986
Threads: 20
Joined: Apr 2012
Reputation: 38
#17
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.

Noob scripting tutorial: From Noob to Pro

(This post was last modified: 04-18-2012, 02:24 PM by Cranky Old Man.)
04-18-2012, 02:22 PM
Find
jessehmusic Offline
Senior Member

Posts: 423
Threads: 102
Joined: Dec 2011
Reputation: 8
#18
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>


??

http://www.moddb.com/mods/jessehmusic - Hospital of horror , WIP
04-18-2012, 04:10 PM
Website Find
jessehmusic Offline
Senior Member

Posts: 423
Threads: 102
Joined: Dec 2011
Reputation: 8
#19
RE: Note Wont appear in my mod

anyone whast the prob?!??

http://www.moddb.com/mods/jessehmusic - Hospital of horror , WIP
04-20-2012, 11:11 AM
Website Find
Knittel Offline
Junior Member

Posts: 8
Threads: 1
Joined: Apr 2012
Reputation: 0
#20
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.

[Image: 2ZwH0ZGD0AwL2.png]
[TRACKMANIA]


04-20-2012, 11:30 AM
Find




Users browsing this thread: 1 Guest(s)