View Single Post
Old 10-09-2006, 10:12 PM   #6
disposableheros
Hall Of Famer
 
disposableheros's Avatar
 
Join Date: Jun 2004
Posts: 4,332
Quote:
Originally Posted by M's rule View Post
The problem occurs because three of the messages in the Balk category specifically mention first base, and they have no condition attached to them that requires a runner to be present at first base.

You can fix the problem in your own XML file in one of two ways: Either delete the problematic messages, which are the first three text objects in category 17, or insert the condition that requires a runner to be on first base before the message can be called.

The text that needs to be changed (or deleted) is replicated below. After you open the XML file, search from the beginning of the file for "17" (including the quotes), and you’ll find the line that reads <TEXT_CATEGORY id=17>

Now, select the three text objects that appear directly following that line, which are:

<TEXT_OBJECT id=54 text="Here\'s the delivery...(nl)No, it\'s a move to first...(nl)The umpire calls a balk!(nl)He\'s saying that [%personname L] swung his lead foot past the rubber(nl)before he tried to pick off the runner." />
<TEXT_OBJECT id=1407 text="looks to first...(nl)[%personname L] starts to throw to first but decides against it...The umpire stops play...(nl)A balk has been called. " />
<TEXT_OBJECT id=6258 text="throw to first base...(and it looks like [%personname L] has the runner caught!(nl)What an excellent pickoff move!(nl)Wait...(nl)There\'s a break in the action...(nl)The umpire has declared that [%personname L] didn\'t step directly toward the base when he threw the ball.(nl)That\'s going to be a balk." />

If you want to delete them, just hit the appropriate key. If you want to add the necessary condition, replace the selected text with the following text.

<TEXT_OBJECT id=54 text="Here\'s the delivery...(nl)No, it\'s a move to first...(nl)The umpire calls a balk!(nl)He\'s saying that [%personname L] swung his lead foot past the rubber(nl)before he tried to pick off the runner." />
<TEXT_CONDITION id=48 value="1" />
</TEXT_OBJECT>
<TEXT_OBJECT id=1407 text="looks to first...(nl)[%personname L] starts to throw to first but decides against it...The umpire stops play...(nl)A balk has been called. " />
<TEXT_CONDITION id=48 value="1" />
</TEXT_OBJECT>
<TEXT_OBJECT id=6258 text="throw to first base...(and it looks like [%personname L] has the runner caught!(nl)What an excellent pickoff move!(nl)Wait...(nl)There\'s a break in the action...(nl)The umpire has declared that [%personname L] didn\'t step directly toward the base when he threw the ball.(nl)That\'s going to be a balk." />
<TEXT_CONDITION id=48 value="1" />
</TEXT_OBJECT>

Any questions, post here or send me a PM.
if you use the OTE, you just open the file and navigate to the "balk" category.

the OTE is one of the best mods out there. i hope the revisions are still in the works. http://www.ootpdevelopments.com/boar...d.php?t=123990
__________________
2 Wild Cards, 11 Division Champs, 4 League Champs, 3 World Champs, and 3 Best GM awards

Baseball Maelstrom - New York Mets - 180-149 .547
Corporate League Baseball - Coke Buzz - 889-649 .578
Western Hemisphere Baseball League - Santiago Saints - 672-793 .459

Record - 2428-2271 .517
disposableheros is offline