|
||||
|
![]() |
#1 |
OOTP Developer
Join Date: Jun 2009
Location: Here and there
Posts: 15,812
|
English.xml Links
Below you can find links to basic descriptions of the categories, tokens, and conditions available to edit for the text engine. Please note that some descriptions may be out of date, and not every category is actually currently in use.
Categories: https://www.dropbox.com/s/vemlo58c0i...ories.xls?dl=0 Tokens: https://www.dropbox.com/s/3zblxth7xg...okens.xls?dl=0 Conditions: https://www.dropbox.com/s/7cyjonm4ey..._List.xls?dl=0 |
![]() |
![]() |
![]() |
#2 |
Hall Of Famer
Join Date: Apr 2014
Posts: 2,282
|
Thank you for posting this. Is there some way to edit what emails get sent using this information? I tried deleting the shutouts category but the emails still get sent, they just have an error: category not found heading.
|
![]() |
![]() |
![]() |
#3 | |
All Star Starter
Join Date: Aug 2016
Posts: 1,619
|
Quote:
I hope these will be enhanced in the future! |
|
![]() |
![]() |
![]() |
#4 |
All Star Reserve
Join Date: Apr 2002
Posts: 954
|
i just noticed that there are conditions numbered 389,391,392, 394-414 in the latest text file. does anyone know what they are, and/or can update the conditions list table with the new ones? (edit) also noticed new categories 944-954. some of these are rather obvious, like 954 is the winner of the homerun derby. but would be nice to have all this new stuff added to the lists.
__________________
v' Last edited by blackrussian; 04-25-2020 at 09:31 AM. Reason: added more information |
![]() |
![]() |
![]() |
#5 | |
All Star Starter
Join Date: Aug 2016
Posts: 1,619
|
Quote:
Appears we lose them and have to build them back in? |
|
![]() |
![]() |
![]() |
#6 | |
Hall Of Famer
Join Date: May 2004
Posts: 10,611
|
At the very least, your 20 folder is not the same as your 19 folder so you’d need to move your english.xml file over. At that, though, I’d look at the 20 english.xml to see if there’s new categories or what have you that you need to add in. And of course, make a backup of the 20 file before you overwrite it.
__________________
Quote:
|
|
![]() |
![]() |
![]() |
#7 | |
All Star Starter
Join Date: Aug 2016
Posts: 1,619
|
Quote:
I have searched but i do not see anyone that has uploaded additions enhancements. I find that hard to believe....20 years in people must have added some fun to the pbp?? it really helps with the immersion into the game. |
|
![]() |
![]() |
![]() |
#8 |
Hall Of Famer
Join Date: Apr 2009
Location: Long Island
Posts: 11,650
|
Matt, thanks for those links to your spreadsheets. While I would not even presume to create new material (for now, at least), these tables will greatly help in correcting the occasional typo in english.xml and storylines_english.xml.
__________________
- Bru |
![]() |
![]() |
![]() |
#9 |
Hall Of Famer
Join Date: Dec 2005
Posts: 16,427
|
Bru, please report typos so we can fix them for everyone. Thanks.
![]() |
![]() |
![]() |
![]() |
#10 |
Hall Of Famer
Join Date: Apr 2009
Location: Long Island
Posts: 11,650
|
This thread is like striking gold. I had to use Google Search repeatedly to find it again.*
The links to Matt's Dropbox files still work, and I see that this is part of the Mods forums that are being brought forward now to OOTP 26. So, there is a chance that this post will be seen. First, my thanks to Matt once again for having posted this in the first place. This time, I have downloaded AND saved these spreadsheet files. (I neglected to do the latter last year.) Second, pstrickert, will you see this and respond? Per your request, I am reporting this error; the second name reference is incorrect: You want us to "please report typos so we can fix them for everyone" and I certainly want the same. But here is the situation: I am still on OOTP 25 and probably will be for the foreseeable future. Hence I cannot rely on your fixes for OOTP 26. So, if I post what I find, which may gain momentum because I am playing the heck out of OOTP 25 now that I have committed to it long-term, will you answer some hopefully quick questions? Such as this. I found the entry (yellow highlight) in storylines_english.xml: Am I correct in saying the error is in the second "%personname#1" and that it should have been "%personname#2" as in similar messages in which a manager has a comment to make (e.g., green highlight)? And one auxiliary question: Are these XML entries all hard-coded someplace, so that the game knows "%personname#1" is the player and "%personname#2" is the manager just from having picked a certain player to apply the circumstance to? That is, the first person is the player and the second person is his manager? That's what has me head scratching — how does the XML file know whom we are talking about from these generic codes? I am not asking for a tutorial. As a matter of fact, I have put together a document from the In-Game Text section of the defunct online manual. I just need a few details cleared up . . . in exchange for future typo reporting? *EDIT: All right, all right, stop laughing. I saw, after I posted this and went back out to the forum, that this thread was stickied. Well, good! ![]()
__________________
- Bru Last edited by Déjà Bru; 03-31-2025 at 07:33 PM. |
![]() |
![]() |
![]() |
#11 |
Hall Of Famer
Join Date: Dec 2005
Posts: 16,427
|
I believe you've identified the problem. #2 must refer to the manager. But this is actually a storyline. I don't have access to that database. In fact, I'm not sure who handles storylines. joefromchicago used to, I think. As for how everything holds together, Matt would know. All I know is that it can get quite complicated.
![]() |
![]() |
![]() |
![]() |
#12 | |
Hall Of Famer
Join Date: Apr 2009
Location: Long Island
Posts: 11,650
|
Quote:
So, as to my other question, is it embedded in the program that, were it to select Article ID = "72" and apply it, either randomly or due to some protocol, to Player X, it is hard-coded so that "%personname#1" will display that player's name and "%personname#2" will display his manager's name (subject to the suffixes f and l as to format)? Say the text was rearranged a bit. Say it reads "Giants manager So-and-So announced today that RP Such-and-Such has an undisclosed injury. When questioned about the exact nature of the injury, So-and-So responded with a curt 'Mind your own darned business' and left the podium." Would that be as follows? <TEXT>[%teamnickname] manager [%personname#2 f l] announced today that RP [%personname#1 f l] has an undisclosed injury. When questioned about the exact nature of the injury, [%personname#2 l] responded with a curt 'Mind your own darned business' and left the podium.</TEXT> In other words, person #2 is the manager and person #1 is the player, regardless of their order of appearance in the text?
__________________
- Bru Last edited by Déjà Bru; 03-31-2025 at 09:11 PM. |
|
![]() |
![]() |
![]() |
#13 |
Hall Of Famer
Join Date: Dec 2005
Posts: 16,427
|
Only Matt knows! No, seriously, as I understand it, recaps and news stories assume the potential appearance of specific persons (starting pitcher, winning pitcher, key performer, winning manager, losing manager, etc.). Each is assigned a token. But I don't think we can assume all of these tokens will always be available for each recap or news story. It kind of depends on what event or result is being described. Things get tricky when the recap or story assumes multiple persons will appear in a specific order. "Rewriting" a text object could reverse the order in which persons appear. Sorry I can't be more helpful.
|
![]() |
![]() |
![]() |
#14 |
Hall Of Famer
Join Date: Dec 2005
Posts: 16,427
|
To make things worse, you're referring to a storyline, which may or may not follow the same rules.
![]() |
![]() |
![]() |
![]() |
#15 | |
Hall Of Famer
Join Date: Apr 2009
Location: Long Island
Posts: 11,650
|
Quote:
That's enough to go on; I was initially stymied by the vagueness of %personname until I began to realize that these XML entries are just serving as placeholders, not determining which player or manager is involved. The program has already selected those identities and all we are doing in the XML file is supplying the program with which names that we want to use. Quid pro quo: If it's all right, I will post whatever else that I find in this thread, whether it's in english.xml or storylines_english.xml (I will always identify which file is involved). There should be somebody in charge of the latter file; hopefully whomever that is will notice this thread and take action.
__________________
- Bru |
|
![]() |
![]() |
![]() |
Bookmarks |
|
|