|
||||
| ||||
|
|
#1 |
|
All Star Reserve
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' |
|
|
|
|
|
#2 |
|
Hall Of Famer
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.
|
|
|
|
|
|
#3 |
|
All Star Reserve
Join Date: Apr 2002
Posts: 954
|
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' |
|
|
|
|
|
#4 |
|
All Star Reserve
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' |
|
|
|
|
|
#5 |
|
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. |
|
|
|
|
|
#6 | |
|
All Star Starter
Join Date: Aug 2016
Posts: 1,619
|
Quote:
I would love to have a more robust PBP.
|
|
|
|
|
|
|
#7 | |
|
All Star Reserve
Join Date: Apr 2002
Posts: 954
|
Quote:
couple of weeks, i should have something to post here
__________________
v' |
|
|
|
|
|
|
#8 | |
|
All Star Starter
Join Date: Aug 2016
Posts: 1,619
|
Quote:
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. |
|
|
|
|
|
|
#9 | |
|
All Star Reserve
Join Date: Apr 2002
Posts: 954
|
Quote:
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' |
|
|
|
|
|
|
#10 |
|
Hall Of Famer
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.
|
|
|
|
|
|
#11 | |
|
All Star Reserve
Join Date: Apr 2002
Posts: 954
|
Quote:
<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' |
|
|
|
|
![]() |
| Bookmarks |
|
|