Admin
Increased Defensive Importance Part 2
April 10, 2007 at 03:29PM View BBCode
Here's the first thread on this topic if you missed it:
http://www.simdynasty.com/oldforum-viewthread.jsp?tid=132897
I added in some code this morning that takes a percentage of ground outs and turns them into singles. The code isn't accounting for defensive skills yet, it just randomly takes some of the outs (about 2%) and makes 50% of those singles.
You'll notice in Dynasty Vision when this happens because it will either say the batter got an infield single, or a single "passed" an infielder. If it is an infield single, runners should advance a single base.
I want to run some games to test the mechanics of this. Next, I'll take that random chance and base it on fielders defensive skills.
Tyson
Admin
April 10, 2007 at 03:39PM View BBCode
Here's a boxscore with one hit passed the SS in the 3rd inning:
http://beta.simdynasty.com/boxscore.jsp?cityid=7&boxscoreid=4969881
The runner on first went to 3rd, then back to 2nd on the next play. That should be fixed for game 2.
Here's a game with an infield single, 3rd inning as well:
http://beta.simdynasty.com/boxscore.jsp?cityid=7&boxscoreid=4969878
Tyson
Admin
April 10, 2007 at 04:03PM View BBCode
Starting with game 4, I am weighing defensive skills for the chances of turning a out into a single.
Also, for grounders in this category, the dynasty vision will say something like, "Joe Smith grounds out to the shortstop on a nice play by the shortstop." That way you know that with a lesser fielder, it would have been a hit.
Any suggestions for the part that says "on a nice play by the XYZ." would be appricated. It has to fit double plays, force outs, fielders choices, etc.
Tyson
rnznsmn
April 10, 2007 at 04:12PM View BBCode
Originally posted by Admin
Any suggestions for the part that says "on a nice play by the XYZ." would be appricated. It has to fit double plays, force outs, fielders choices, etc.
Tyson
Tyson,
Are you looking for several terms to choose from? Can you weight them based on a player's stats?
For instance, guys with higher range might say:
- "after a brilliant diving catch" (or diving stop, if you can differentiate from groundouts and lineouts)
Alternatively, guys with a higher arm might say:
- "on a nice throw by the shortstop"
~rnz
CaseyStengel
April 10, 2007 at 04:13PM View BBCode
Could you bold or color these plays temporarily so they could standout as we view the games.
Also how about adding fielding scoring. For example:
Frank Wilson flies out to the left fielder. (7)
Hal Coleman grounds into a force play to the shortstop. (6-4)
Gary Allen is out at second base with the 2B covering the bag.
Bobby Lee grounds out to the first baseman (3 Unassisted) (3) - you wont need "unassisted"
Earl Reed grounds out to the shortstop. (6-3)
Cristian Devore grounds into a 6-4-3 double play. - you got this covered already or you could say "Cristian Devore grounds into a double play (6-4-3)"
[Edited on 4-10-2007 by CaseyStengel]
Admin
April 10, 2007 at 04:24PM View BBCode
It might be tough to do with the way it's programmed to color these. If you're using Firefox, use the search bar and search for either "infield single" or "passed the". That's how I've been looking for them.
Tyson
Admin
April 10, 2007 at 04:25PM View BBCode
rnz - for now, I'm looking for one phrase to cover every situation. It sounds a tad clunky to say, "Joe Smith grounds out to the shortstop on a nice play by the shortstop." but sounds good if the first part is "Joe Smith grounds into a 4-6-3 double play on a nice play by the shortstop." But that might be the best we can do for now.
Tyson
CaseyStengel
April 10, 2007 at 04:29PM View BBCode
OK.
FYI - I updated my previous post as you were responding to the original one.
Admin
April 10, 2007 at 04:36PM View BBCode
Casey - I've considered that. For the most part, the boxscore reads like text like an announcer calling a game. I'm not sure if I'd want to take it in that direction or not.
Tyson
CaseyStengel
April 10, 2007 at 07:47PM View BBCode
I can see the point especially if you ever incorporate sound/speach in the program.
CaseyStengel
April 10, 2007 at 08:00PM View formatted
You are viewing the raw post code; this allows you to copy a message with BBCode formatting intact.
[quote]Johnny Gross singles passed the shortstop.[/quote]
Although [b]passed[/b] is a word, i believe [b]past[/b] is the better usage:
[quote]Johnny Gross singles past the shortstop.[/quote]
Dictionary Definition of past [quote]preposition[*]to or on the further side of : [i]he rode on past the crossroads.[/i]
[*]in front of or from one side to the other of : [i]he began to drive slowly past the houses.[/i]
adverb[*]so as to pass from one side of something to the other : [i]large angelfish swim slowly past.[/i][/quote]
The ball passed through the shortstop's legs.
He hit the ball past the shortstop.
[Edited on 4-10-2007 by CaseyStengel]
rzafan
April 10, 2007 at 09:08PM View BBCode
How about "Joe Smith hits a liner up the middle, Ozzie Smith makes a great play, throws it to Jose Lind for the out(.), on to Derek Bell for a double play!" I know it sounds announcer-y, but it's pretty functional. It could easy change to "Joe Smith hits a liner up the middle, it goes through for a hit". I think adding audio/speech would set this already great game to a whole different level. If anyone has suggestions on how a programming illiterate gamer(me) could add mp3 recordings to the box score to be played while its scripting, I'd LOVE to work on it.
Admin
April 10, 2007 at 09:47PM View BBCode
rza - yeah, that's beyond what I'm willing to work on at this point. I was just looking for someone to come up with a 3-6 word phrase that fit all 4 situations (ground outs, DP, force outs, fielders choice), like "on a nice play by the XYZ". Perhaps mine is the best way to do it.
Here's a site that has the technology of what you're asking about:
http://www.sitepal.com/
It's an audio announcer. I don't think there is much demand for something like this on SD, but maybe I am wrong.
Tyson
ScooterPie
April 10, 2007 at 10:02PM View BBCode
1. Casey is right. It's "past."
2. Does the phrase about a nice play need to come at the end of the sentence? Or can it come before, if we find a phrase that works better that way?
3. What phrases do we need to complete?
- a. Batter lines out to the shortstop
- b. Batter grounds out to the shortstop
- c. Batter pops out to the shortstop (I guess popouts probably don't have great plays on them, though?)
- d. Batter flies out to the center fielder
- e. Batter grounds into a X-X-X double play
Are those the ones we need to cover?
scooter
Admin
April 11, 2007 at 01:51PM View BBCode
Yes, those are basically them. I'll probably leave it at the end if I can. The phrases are slightly different than that, but you have the jist.
I'll changed it to past. Thanks.
Tyson
Closer
April 11, 2007 at 02:46PM View BBCode
Can there be a "call" to a list of say about 8 scripts that could be randomly used, instead of the same "1" script over and over? Like Joe Smith grounds out on a dribbler charged by the SS. On a low liner speared on a jump by the SS. On a diving stop by the SS. etc.?
Closer
April 11, 2007 at 02:47PM View BBCode
With a call list, if possible, it would seem it would be easy to add more scripts as invented.
Admin
April 11, 2007 at 02:49PM View BBCode
Yes, I agree that would be cool. Just not a priority for me yet. Do you agree?
Tyson
Closer
April 11, 2007 at 02:51PM View BBCode
I agree its aesthetic in function and if it means a delay in gameplay advance, then by all means let it stew a bit.
Admin
April 11, 2007 at 02:52PM View BBCode
I was just hoping someone could improve on my 7 word, quicky phrase. I don't want to put much more than 2 minutes more time into it at this point though.
It's one of those things that is easy enough to change that we can work on this later. I likely won't be making any more significant changes once we hit May 1st, so the code will be stable for a May 12th release. So maybe for the days leading up to the release, we can work on grammar and some of the other things.
Tyson
[Edited on 4-11-2007 by Admin]
Admin
April 11, 2007 at 03:17PM View BBCode
Ok - I've completed pass #1 at turning some outs into singles, and some singles into outs. I need to spend a more time on making the percentages and numbers realistic, but the mechanics seem to be working okay.
Tyson
ScooterPie
April 11, 2007 at 08:21PM View BBCode
Tyson, the best I've come up with on the phrasing is a minor variation on what you already had: "Batter grounds out to the shortstop. Great play by the shortstop!"
Punctuate to taste. Exclamation point can be a period instead. You can say "... to the shortstop - great play by the shortstop!" Or you can say "good" or "nice" or "nifty" or "swell" instead of "great."
I think it scans okay with all the possibilities. And it sounds just the tiniest bit less clunky than putting it in the same sentence, as you had it. (I know this isn't your priority; just tossing it out so it's there when you want it.)
scooter
lvnwrth
April 11, 2007 at 10:26PM View BBCode
Or you could just put a Harry Caray at the end of the description as it presently exists: "Holy Cow!! Did you see that?"
Pages: 1 2