I have encountered a problem with my "enc_string_Table_custom.xml", Here is the contents of it: http://pastebin.com/RWYH86rC
I must have stared at it for over three hours... I give up... My error log claims: "XML file:text\eng\string_table_enc_custom.xml value: errDescr rror reading end tag."
I checked it for three hours and I could not find a error in my .xml. If anyone can sees a error, please post it, Thanks.
Now for the second part of my post,
Can I assign logics to custom, unique NPCs which I spawned via .script without touching the all.spawn? And if so, how?
Thanks guys
The extra slashes don't make me crash but I will clean em up. I added them as a last resort to find out what the problem was.
For some reason I ALWAYS think that there is supposed to be a </string> before the string table. It was staring at me for hours -_- Thanks again.
---QUOTATION--- Always run an XML through a Web browser to check it. If the Syntax is invalid, then it will highlight where it is. ---END QUOTATION---
Thanks for the tip. I'll be sure to use my browser (Firefox) to ensure that it is free of errors. I got rid of a lot of parsing errors just now.
I can run the game without crashing now, however, Firefox gives me this error:
XML Parsing Error: no element found
Location: file:///C:/Program%20Files%20(x86)/THQ/S.T.A.L.K.E.R.%20-%20Shadow%20of%20Chernobyl/gamedata/config/text/eng/string_table_enc_custom.xml
Line Number 73, Column 15:<string_table>
--------------^
I assume this is simply Firefox's way of saying there are no errors...
SetaKat
Ex modder, Zones only ferret and will someday release a game (Resident)
On forum: 02/20/2010
Messages: 6342
Actually, its saying there is an errror with the XML, and that it isn't well formed. If it was well formed, it would show the contents of the XML.
In this case, you have an error on line 73. Mind pastebin'ning your xml so we can look at it?
---QUOTATION--- Actually, its saying there is an errror with the XML, and that it isn't well formed. If it was well formed, it would show the contents of the XML.
In this case, you have an error on line 73. Mind pastebin'ning your xml so we can look at it? ---END QUOTATION---
---QUOTATION--- Your missing a </string> element at the bottom for the last descriptor string ---END QUOTATION---
---QUOTATION--- The extra slashes don't make me crash but I will clean em up. I added them as a last resort to find out what the problem was.
For some reason I ALWAYS think that there is supposed to be a </string> before the string table. It was staring at me for hours -_- Thanks again.
---END QUOTATION---
... I thought that the </string> was making me crash this whole time lol.. So.. I do need a string.. Ahhh my brain must be shrinking...