Home | Webstore
Latest News: OOTP 26 Available - FHM 12 Available - OOTP Go! Available

Out of the Park Baseball 26 Buy Now!

  

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

Reply
 
Thread Tools
Old 04-20-2020, 11:54 AM   #1
blackrussian
All Star Reserve
 
blackrussian's Avatar
 
Join Date: Apr 2002
Posts: 954
Player specific play by play

I was having a look at the pbp xml file as i wanted to add some of my own text and saw that in the conditions list there is one called COND="90" (LAHMAN_ID). would it be possible to insert some text with that condition and have it pop up just for a specific player in a historical sim? for example:

<CAT id="193">
<OBJ id="88888" usage_chance_for_game="0.5" only_once_per_x2="1" text=[%game batter full name] digs in at the plate...(nl)the Shawon-o-Meter reading [%batting avg] today...
<COND id="90" value="dunstsh01"/>
<COND id="85" value="0"/>
<COND id="241" value="2"/>
</OBJ>

this would be referencing the infamous shawon-o-meter sign that was in stands at wrigley every game displaying dunston's batting average during his tenure with the cubs.

and using the same logic, could this also be used for ballpark specific pbp since there is a BALLPARK_NAME condition?
__________________
v'
blackrussian is offline   Reply With Quote
Old 04-20-2020, 12:29 PM   #2
pstrickert
Hall Of Famer
 
pstrickert's Avatar
 
Join Date: Dec 2005
Posts: 16,428
I'm pretty sure it can't be used. At least, that's what I've always been told when I've asked for player-specific and ballpark-specific PbP.
pstrickert is offline   Reply With Quote
Old 04-20-2020, 01:01 PM   #3
blackrussian
All Star Reserve
 
blackrussian's Avatar
 
Join Date: Apr 2002
Posts: 954
Quote:
Originally Posted by pstrickert View Post
I'm pretty sure it can't be used. At least, that's what I've always been told when I've asked for player-specific and ballpark-specific PbP.
bummer. well, if anyone upstairs is paying attention to the text mods i would love to see something added to the pbp mechanics where we could use unique player and ballpark ids. i have a fair amount of these ive been saving and id love to drop them in to my custom xml file
__________________
v'
blackrussian is offline   Reply With Quote
Old 04-20-2020, 01:21 PM   #4
blackrussian
All Star Reserve
 
blackrussian's Avatar
 
Join Date: Apr 2002
Posts: 954
for that matter, add unique team id's to the pbp conditions list while we're at it
__________________
v'
blackrussian is offline   Reply With Quote
Old 07-02-2020, 05:36 PM   #5
mpgafida
Bat Boy
 
Join Date: Jun 2020
Posts: 4
this would be referencing the infamous shawon-o-meter sign that was in 192.168.100.1 192.168.1.1 jpg to pdf stands at wrigley every game displaying dunston's batting average during his tenure with the cubs.

Last edited by mpgafida; 07-03-2020 at 07:21 AM.
mpgafida is offline   Reply With Quote
Old 07-05-2020, 11:56 PM   #6
fredbeene
All Star Starter
 
Join Date: Aug 2016
Posts: 1,619
Quote:
Originally Posted by blackrussian View Post
bummer. well, if anyone upstairs is paying attention to the text mods i would love to see something added to the pbp mechanics where we could use unique player and ballpark ids. i have a fair amount of these ive been saving and id love to drop them in to my custom xml file
Can you share your custom file?
I would love to have a more robust PBP.
fredbeene is offline   Reply With Quote
Old 07-07-2020, 08:21 PM   #7
blackrussian
All Star Reserve
 
blackrussian's Avatar
 
Join Date: Apr 2002
Posts: 954
Quote:
Originally Posted by fredbeene View Post
Can you share your custom file?
I would love to have a more robust PBP.
im hacking away at it as we speak. it started as a casual project, then i got pretty deep with it trying to understand how to write for it correctly. im close to finishing the first version, which has about 1300 new objects. im going to keep adding stuff in smaller chunks as i go after that

couple of weeks, i should have something to post here
__________________
v'
blackrussian is offline   Reply With Quote
Old 07-07-2020, 10:42 PM   #8
fredbeene
All Star Starter
 
Join Date: Aug 2016
Posts: 1,619
Quote:
Originally Posted by blackrussian View Post
im hacking away at it as we speak. it started as a casual project, then i got pretty deep with it trying to understand how to write for it correctly. im close to finishing the first version, which has about 1300 new objects. im going to keep adding stuff in smaller chunks as i go after that

couple of weeks, i should have something to post here
What are you using as xml editor?
notepad ++

I guess I will patiently wait for your post and explanation : )))
I would love to help out. But my first attempt was much more difficult than seems necessary.

In 94 (with strat) it was simple text file to be edited.
fredbeene is offline   Reply With Quote
Old 07-08-2020, 07:27 AM   #9
blackrussian
All Star Reserve
 
blackrussian's Avatar
 
Join Date: Apr 2002
Posts: 954
Talking

Quote:
Originally Posted by fredbeene View Post
What are you using as xml editor?
notepad ++

I guess I will patiently wait for your post and explanation : )))
I would love to help out. But my first attempt was much more difficult than seems necessary.

In 94 (with strat) it was simple text file to be edited.
im just using textedit (macOs) to add the actual pbp. once its done, ill dump it into XMLmind to test the actual XML, make sure everything is tagged right, closed, etc. its not so much the XML, but its writing pbp to fit the game syntax so it makes sense. you have a lot of small interlocking parts that all need to make sense when you put them together in any sort of combination.

the other time consuming thing is was coming up with clever uses of conditions. if you see a particularly memorable line of text, you dont want to see it that much. barely ever. so ive made some hyperspecific set of conditions (with very low usage chances) for a lot of the text thats more on the color side of things. so maybe youll see a particular object once a season. or every 5 years. or never, depending on how long it takes you to play out a game.

theres a great foundation of all the necessary language you need to play already with the main xml file. you need a lot of bog standard stuff to make it work. since that part was already done, i just wanted to incorporate my own corpus to inject a little more life and color, especially since i usually play pitch by pitch. thats where you really want more variety. so when i looked at the file initially, i saw that there was quite a bit of room to expand.

once i finish this first big addition, its going to be as lot easier to add things as i go along bc i have a much better feel for how to write things specifically for the game. anyway. what started out as a simple attempt at a bit of tinkering spiralled into a very deep dive
__________________
v'
blackrussian is offline   Reply With Quote
Old 07-08-2020, 11:38 AM   #10
pstrickert
Hall Of Famer
 
pstrickert's Avatar
 
Join Date: Dec 2005
Posts: 16,428
Would you share a few examples of what you've added? I'm interested in seeing what kind of work you've done.
pstrickert is offline   Reply With Quote
Old 07-08-2020, 04:59 PM   #11
blackrussian
All Star Reserve
 
blackrussian's Avatar
 
Join Date: Apr 2002
Posts: 954
Quote:
Originally Posted by pstrickert View Post
Would you share a few examples of what you've added? I'm interested in seeing what kind of work you've done.
just ignore the formatting here and lack of </OBJ>'s and all that jazz. i have roughly 1500 of these done.


<OBJ id="69094" usage_chance_for_game="0.1" only_once_per_x2="1" text="called strike three!(nl)some people think a curveball is an optical illusion...(nl)but tell that to [%game batter]...(nl)who was completely fooled on that one.">
<COND id="43" value="3"/>

<OBJ id="66073" usage_chance_for_game="0.75" only_once_per_x2="1" text="popped up...(nl)drifting into the seats by third...(nl)[%game thirdbase] gives it the old college try ...(nl)but the ball sails into the seats."/>


<OBJ id="68170" usage_chance_for_game="0.05" only_once_per_x2="1" text="bouncer near the mound...(nl)[%game pitcher] makes the grab...(nl)the throw pulls [%game firstbase] off the bag...(nl)but he tags the runner out!(nl)he looks like he took it out of [%game batter]'s ear like a magician!"/>


<OBJ id="68192" usage_chance_for_game="0.33" only_once_per_x2="1" text="high bouncer to third...(nl)[%game thirdbase] plays it right off his bellybutton...(nl)comes up winging it...(nl)and gets [%game batter] at first.">


<OBJ id="63010" usage_chance_for_game="0.5" only_once_per_x2="1" text="[%game pitcher] has been pitching a great game...(nl)but he's gotten absolutely no support...(nl)and finds himself down in the [%game inning order long].">
<COND ID="409" value="6">
<COND ID="412" value="1">
<COND ID="412" value="3">
<COND ID="404" value="1">
<COND ID="403" value="0">
<COND ID="240" value="6">
<COND id="84" value="1"/>
<COND id="83" value="1"/>


<OBJ id="61017" usage_chance_for_game="0.25" only_once_per_x2="1" text="[%game pitcher] may be tipping his pitches...(nl)he's already given up [%game inning hr] home runs...(nl)from the stretch...(nl)the pitch...">
<COND id="69" value="0"/>
<COND id="240" value="4"/>
<COND id="331" value="2"/>


<OBJ id="66059" usage_chance_for_game=".75" only_once_per_x2="1" text="pulled foul down the right-field line...(nl)scattering a few players in the bullpen."/>
__________________
v'
blackrussian is offline   Reply With Quote
Reply

Bookmarks


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 12:34 PM.

 

Major League and Minor League Baseball trademarks and copyrights are used with permission of Major League Baseball. Visit MLB.com and MiLB.com.

Officially Licensed Product – MLB Players, Inc.

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 © 2023 OUT OF THE PARK DEVELOPMENTS. ALL RIGHTS RESERVED.

 

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