Home | Webstore
Latest News: OOTP Update 20.4.40 - OOTP 20 Available - FHM 5 Available

OOTP Baseball 20 - AVAILABLE NOW!

  

Go Back   OOTP Developments Forums > Out of the Park Baseball 20 > OOTP Mods > OOTP Mods - In-Game Text and PbP Commentary

Reply
 
Thread Tools
Old 11-29-2016, 11:35 AM   #1
andjbock
Hall Of Famer
 
andjbock's Avatar
 
Join Date: Jul 2003
Location: Somerville, MA, USA Bats: Right Throws: Left
Posts: 3,538
Thanks: 99
Thanked 169x in 97 posts
Adding OBJ ID 's to existing CAT ID 's

Hi,

If I want to add additional personality descriptions (or any kind of extra text in general) to the game. Can I simply copy and existing OBJ ID, give it a new numerical value and then edit the new text inside the english.xml file?

Existing in English.xml:
HTML Code:
<CAT id="704">
     <OBJ id="26320" text="A baseball rat, he's the first one to the park each day and the last one to leave."/>
</CAT>

My Addition:
HTML Code:
<CAT id="704">
     <OBJ id="26320" text="A baseball rat, he's the first one to the park each day and the last one to leave."/>
     <OBJ id="99998" text="A baseball gazelle, he takes Viagra before each game."/>
     <OBJ id="99999" text="A baseball manatee, he's the first one to the park on Tuesdays."/>
</CAT>
andjbock is offline   Reply With Quote
Old 11-29-2016, 12:37 PM   #2
pstrickert
Hall Of Famer
 
pstrickert's Avatar
 
Join Date: Dec 2005
Posts: 12,244
Thanks: 2,771
Thanked 3,594x in 1,997 posts
Quote:
Originally Posted by andjbock View Post
Hi,

If I want to add additional personality descriptions (or any kind of extra text in general) to the game. Can I simply copy and existing OBJ ID, give it a new numerical value and then edit the new text inside the english.xml file?

Existing in English.xml:
HTML Code:
<CAT id="704">
     <OBJ id="26320" text="A baseball rat, he's the first one to the park each day and the last one to leave."/>
</CAT>

My Addition:
HTML Code:
<CAT id="704">
     <OBJ id="26320" text="A baseball rat, he's the first one to the park each day and the last one to leave."/>
     <OBJ id="99998" text="A baseball gazelle, he takes Viagra before each game."/>
     <OBJ id="99999" text="A baseball manatee, he's the first one to the park on Tuesdays."/>
</CAT>
I'm not 100% sure, but I think your additions should work. Just backup the original file before you try it.
pstrickert is offline   Reply With Quote
Old 11-29-2016, 02:59 PM   #3
andjbock
Hall Of Famer
 
andjbock's Avatar
 
Join Date: Jul 2003
Location: Somerville, MA, USA Bats: Right Throws: Left
Posts: 3,538
Thanks: 99
Thanked 169x in 97 posts
Thanks. I'll create test league tonight when I am home.

Last edited by andjbock; 11-29-2016 at 03:05 PM.
andjbock is offline   Reply With Quote
Old 11-30-2016, 08:19 AM   #4
andjbock
Hall Of Famer
 
andjbock's Avatar
 
Join Date: Jul 2003
Location: Somerville, MA, USA Bats: Right Throws: Left
Posts: 3,538
Thanks: 99
Thanked 169x in 97 posts
I uploaded 1 line with an obj I'd set to 5000 and it worked. I have now started adding extra rows to cat ids
andjbock is offline   Reply With Quote
Old 11-30-2016, 01:54 PM   #5
pstrickert
Hall Of Famer
 
pstrickert's Avatar
 
Join Date: Dec 2005
Posts: 12,244
Thanks: 2,771
Thanked 3,594x in 1,997 posts
Do you mean 50000? It'd probably be safer to go with even higher numbers.
pstrickert is offline   Reply With Quote
Old 11-30-2016, 01:56 PM   #6
pstrickert
Hall Of Famer
 
pstrickert's Avatar
 
Join Date: Dec 2005
Posts: 12,244
Thanks: 2,771
Thanked 3,594x in 1,997 posts
And be aware that you'll have to make the same additions by hand whoever the English.xml file is officially updated.
pstrickert is offline   Reply With Quote
Old 12-01-2016, 10:34 AM   #7
andjbock
Hall Of Famer
 
andjbock's Avatar
 
Join Date: Jul 2003
Location: Somerville, MA, USA Bats: Right Throws: Left
Posts: 3,538
Thanks: 99
Thanked 169x in 97 posts
Quote:
Originally Posted by pstrickert View Post
Do you mean 50000? It'd probably be safer to go with even higher numbers.
Yes, that was a typo.
andjbock is offline   Reply With Quote
Old 12-01-2016, 10:39 AM   #8
andjbock
Hall Of Famer
 
andjbock's Avatar
 
Join Date: Jul 2003
Location: Somerville, MA, USA Bats: Right Throws: Left
Posts: 3,538
Thanks: 99
Thanked 169x in 97 posts
Quote:
Originally Posted by pstrickert View Post
And be aware that you'll have to make the same additions by hand whoever the English.xml file is officially updated.
The game is crashing when I remove existing lines, so I do see that I would most likely always have to replace the default english.xml file with mine.

I've been watching too much Westworld and am looking at ways to "humanify" the game more, so if this doesn't prove effective I may have to look elsewhere.
andjbock is offline   Reply With Quote
Old 12-07-2016, 09:20 PM   #9
andjbock
Hall Of Famer
 
andjbock's Avatar
 
Join Date: Jul 2003
Location: Somerville, MA, USA Bats: Right Throws: Left
Posts: 3,538
Thanks: 99
Thanked 169x in 97 posts
Unfortunately this project will have to be suspended. I keep running into parsing errors and have been pretty diligent about checking for typos and errors.

I added 1 line and it worked, but every time I add multiple lines to multiple CAT the game crashes.
andjbock is offline   Reply With Quote
Old 12-07-2016, 10:22 PM   #10
pstrickert
Hall Of Famer
 
pstrickert's Avatar
 
Join Date: Dec 2005
Posts: 12,244
Thanks: 2,771
Thanked 3,594x in 1,997 posts
andjbock, why don't you send a PM to endgame (a super-friendly, jack-of-all-trades, no-worries guy)? He's added some text to the seventh-inning stretch category. Maybe he can diagnose your problem.
pstrickert is offline   Reply With Quote
Old 12-08-2016, 11:13 AM   #11
andjbock
Hall Of Famer
 
andjbock's Avatar
 
Join Date: Jul 2003
Location: Somerville, MA, USA Bats: Right Throws: Left
Posts: 3,538
Thanks: 99
Thanked 169x in 97 posts
Thanks.
andjbock is offline   Reply With Quote
Reply

Bookmarks

Tags
cat id, english.xml, obj id, pbp, xml

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:16 AM.

 

Major League Baseball trademarks and copyrights are used with permission of MLB Advanced Media, L.P. Minor League Baseball trademarks and copyrights are used with the permission of Minor League Baseball. All rights reserved.

The Major League Baseball Players Association (www.MLBPLAYERS.com ) is the collective bargaining representative for all professional baseball players of the thirty Major League Baseball teams and serves as the exclusive group licensing agent for commercial and licensing activities involving active Major League baseball players. On behalf of its members, it operates the Players Choice licensing program and the Players Choice Awards, which benefit the needy through the Major League Baseball Players Trust, a charitable foundation established and run entirely by Major League baseball players. Follow: @MLB_Players; @MLBPAClubhouse; @MLBPlayersTrust

Out of the Park Baseball is a registered trademark of Out of the Park Developments GmbH & Co. KG

Google Play is a trademark of Google Inc.

Apple, iPhone, iPod touch and iPad are trademarks of Apple Inc., registered in the U.S. and other countries.

COPYRIGHT © 2017 OUT OF THE PARK DEVELOPMENTS. ALL RIGHTS RESERVED.

 

Powered by vBulletin® Version 3.8.10
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Copyright © 2018 Out of the Park Developments