Home | Webstore
Latest News: OOTP 27 Buy Now - FHM 12 Available - OOTP Go! 27 Available

Out of the Park Baseball 27 Buy Now!

  

Go Back   OOTP Developments Forums > Out of the Park Baseball 27 > OOTP Mods > OOTP Mods - Logos, Graphics, and HTML

Reply
 
Thread Tools
Old 07-05-2013, 10:19 AM   #1
ThatSeventiesGuy
Hall Of Famer
 
ThatSeventiesGuy's Avatar
 
Join Date: Mar 2013
Location: Midland, MI
Posts: 3,429
Trying my hand at creating a baseball card template...and so far, failing miserably.

How do you figure out the x, y, and all that for the xml code? I thought Paint.net was supposed to tell you that stuff, but so far I can't figure it out.

Here's my template. Right size, so far as I can tell. The proper areas are alpha'ed, but it doesn't show here.



And my xml code needs HUGE work. Can anybody help? I cut and pasted some xml from other card sets, and tried to change it, but couldn't figure out how to determine the x, y, height, and width values. The fonts and colors should be good to go though, I think. I might need to do something else to fiddle with the picture border for team colors, maybe? I am SO freaking lost.

<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- 1987 ProCards card template for OOTP by ThatSeventiesGuy -->

<PICTURE width="533" height="311">
<ELEMENTS>
<!-- Photo Data - Front -->

<ELEMENT type="image" x="5" y="-5" zorder="1" width="212" height="310" facegen_zoom = "random"
facegen_angle = "random" content="PICTURE" />
<ELEMENT type="image" x="0" y="0" zorder="10" content="1987_procards_default.png" />
<ELEMENT type="image" x="0" y="0" zorder="15" trialpha_red="[%TEAM_BG_COLOR]" content="color_bar.png" />

<ELEMENT type="image" x="0" y="0" zorder="90" content="[%YEAR]_1987_procards_[%PERSON_FIRST_NAME]_[%PERSON_LAST_NAME].png" />
<ELEMENT type="image" x="155" y="205" zorder="50" content="TEAM_LOGO_60" />



<!-- Personal Data - Front -->

<ELEMENT type="text" x=78" y="10" width="284" height="10" align="shrink" valign="bottom" zorder="20" font_name="verabd" font_color="000000" font_x_size="20" font_y_size="18" content="[%PERSON_FIRST_NAME] [%PERSON_LAST_NAME]" />


<ELEMENT type="text" x="9" y="7" width="6" height="4" align="shrink" valign="bottom" zorder="40" font_name="verabd" font_color="000000" font_x_size="30" font_y_size="24" content="[%TEAM_NAME]" />

<ELEMENT type="text" x="90" y="290" width="300" height="16" align="shrink" valign="bottom" zorder="50" font_name="verabd" font_color="000000" font_x_size="20" font_y_size="18" content="[%POSITION_SHORT]" />

<!-- Personal Data - Back -->

<ELEMENT type="text" x="255" y="78" width="24" height="14" align="center" valign="middle" zorder="20" font_name="vera" font_color="#000000" font_x_size="12" font_y_size="14" content="[%RANDOM_NUMBER][%RANDOM_NUMBER]" />

<ELEMENT type="text" x="299" y="53" width="171" height="14" align="left" valign="middle" zorder="20" font_name="vera" font_color="#000000" font_x_size="11" font_y_size="13" content="[%PERSON_NAME]" />

<ELEMENT type="text" x="299" y="66" width="235" height="32" align="left" valign="middle" zorder="20" font_name="vera" font_color="#000000" font_x_size="10" font_y_size="12" content="[%TEAM_NAME_NICK]\n[%LEAGUE_NAME]" />

<ELEMENT type="text" x="299" y="90" width="235" height="32" align="left" valign="middle" zorder="20" font_name="vera" font_color="#000000" font_x_size="10" font_y_size="10" content="Bats: [%PERSON_BATS_U]     Throws: [%PERSON_THROWS_U]     Ht: [%PERSON_HEIGHT]     Wt: [%PERSON_WEIGHT]\nAge: [%AGE]     Hometown: [%PERSON_CITY_OF_BIRTH]" />

<ELEMENT type="text" x="468" y="53" width="48" height="14" align="left" valign="middle" zorder="20" font_name="vera" font_color="#000000" font_x_size="10" font_y_size="13" content="[%POSITION]" />




<!-- Year and Team columns -->

<ELEMENT type="text" x="239" y="119" width="20" height="150" content="Year\n[%SEASON11_YEAR]\n[%SEASON10_YEAR]\n[%SEASON9_YEAR]\n[%SEASON8_YEAR]\n[%SEASON7_YEAR]\n[%SEASON6_YEAR]\n[%SEASON5_YEAR]\n[%SEASON4_YEAR]\n[%SEASON3_YEAR]\n[%SEASON2_YEAR]\n[%SEASON1_YEAR]\n[%SEASON_YEAR]\nTotal" align="right" zorder="20" font_name="vera" font_color="#000000" font_x_size="8" font_y_size="9" />

<ELEMENT type="text" x="262" y="119" width="60" height="150" content="Team\n[%SEASON11_TEAM]\n[%SEASON10_TEAM]\n[%SEASON9_TEAM]\n[%SEASON8_TEAM]\n[%SEASON7_TEAM]\n[%SEASON6_TEAM]\n[%SEASON5_TEAM]\n[%SEASON4_TEAM]\n[%SEASON3_TEAM]\n[%SEASON2_TEAM]\n[%SEASON1_TEAM]\n [%SEASON_TEAM]\n" align="left" zorder="20" font_name="vera" font_color="#000000" font_x_size="8" font_y_size="9" />


<!-- Pitching Stats -->

<ELEMENT type="text" x="293" y="119" width="25" height="150" content="W\n[%SEASON11_W]\n[%SEASON10_W]\n[%SEASON9_W]\n[%SEASON8_W]\n[%SEASON7_W]\n[%SEASON6_W]\n[%SEASON5_W]\n[%SEASON4_W]\n[%SEASON3_W]\n[%SEASON2_W]\n[%SEASON1_W]\n[%SEASON_W]\n[%CAREER_W]" align="right" zorder="20" font_name="vera" font_color="#000000" font_x_size="8" font_y_size="9" />

<ELEMENT type="text" x="312" y="119" width="25" height="150" content="L\n[%SEASON11_L]\n[%SEASON10_L]\n[%SEASON9_L]\n[%SEASON8_L]\n[%SEASON7_L]\n[%SEASON6_L]\n[%SEASON5_L]\n[%SEASON4_L]\n[%SEASON3_L]\n[%SEASON2_L]\n[%SEASON1_L]\n[%SEASON_L]\n[%CAREER_L]" align="right" zorder="20" font_name="vera" font_color="#000000" font_x_size="8" font_y_size="9" />

<ELEMENT type="text" x="335" y="119" width="25" height="150" content="ERA\n[%SEASON11_ERA]\n[%SEASON10_ERA]\n[%SEASON9_ERA]\n[%SEASON8_ERA]\n[%SEASON7_ERA]\n[%SEASON6_ERA]\n[%SEASON5_ERA]\n[%SEASON4_ERA]\n[%SEASON3_ERA]\n[%SEASON2_ERA]\n[%SEASON1_ERA]\n[%SEASON_ERA]\n[%CAREER_ERA]" align="right" zorder="20" font_name="vera" font_color="#000000" font_x_size="8" font_y_size="9" />

<ELEMENT type="text" x="359" y="119" width="25" height="150" content="G\n[%SEASON11_GP]\n[%SEASON10_GP]\n[%SEASON9_GP]\n[%SEASON8_GP]\n[%SEASON7_GP]\n[%SEASON6_GP]\n[%SEASON5_GP]\n[%SEASON4_GP]\n[%SEASON3_GP]\n[%SEASON2_GP]\n[%SEASON1_GP]\n[%SEASON_GP]\n[%CAREER_GP]" align="right" zorder="20" font_name="vera" font_color="#000000" font_x_size="8" font_y_size="9" />

<ELEMENT type="text" x="378" y="119" width="25" height="150" content="SV\n[%SEASON11_SV]\n[%SEASON10_SV]\n[%SEASON9_SV]\n[%SEASON8_SV]\n[%SEASON7_SV]\n[%SEASON6_SV]\n[%SEASON5_SV]\n[%SEASON4_SV]\n[%SEASON3_SV]\n[%SEASON2_SV]\n[%SEASON1_SV]\n[%SEASON_SV]\n[%CAREER_SV]" align="right" zorder="20" font_name="vera" font_color="#000000" font_x_size="8" font_y_size="9" />

<ELEMENT type="text" x="401" y="119" width="30" height="150" content="IP\n[%SEASON11_IP]\n[%SEASON10_IP]\n[%SEASON9_IP]\n[%SEASON8_IP]\n[%SEASON7_IP]\n[%SEASON6_IP]\n[%SEASON5_IP]\n[%SEASON4_IP]\n[%SEASON3_IP]\n[%SEASON2_IP]\n[%SEASON1_IP]\n[%SEASON_IP]\n[%CAREER_IP]" align="right" zorder="20" font_name="vera" font_color="#000000" font_x_size="8" font_y_size="9" />

<ELEMENT type="text" x="429" y="119" width="25" height="150" content="HA\n[%SEASON11_HA]\n[%SEASON10_HA]\n[%SEASON9_HA]\n[%SEASON8_HA]\n[%SEASON7_HA]\n[%SEASON6_HA]\n[%SEASON5_HA]\n[%SEASON4_HA]\n[%SEASON3_HA]\n[%SEASON2_HA]\n[%SEASON1_HA]\n[%SEASON_HA]\n[%CAREER_HA]" align="right" zorder="20" font_name="vera" font_color="#000000" font_x_size="8" font_y_size="9" />

<ELEMENT type="text" x="449" y="119" width="25" height="150" content="HRA\n[%SEASON11_HRA]\n[%SEASON10_HRA]\n[%SEASON9_HRA]\n[%SEASON8_HRA]\n[%SEASON7_HRA]\n[%SEASON6_HRA]\n[%SEASON5_HRA]\n[%SEASON4_HRA]\n[%SEASON3_HRA]\n[%SEASON2_HRA]\n[%SEASON1_HRA]\n[%SEASON_HRA]\n[%CAREER_HRA]" align="right" zorder="20" font_name="vera" font_color="#000000" font_x_size="8" font_y_size="9" />

<ELEMENT type="text" x="471" y="119" width="25" height="150" content="BB\n[%SEASON11_BB]\n[%SEASON10_BB]\n[%SEASON9_BB]\n[%SEASON8_BB]\n[%SEASON7_BB]\n[%SEASON6_BB]\n[%SEASON5_BB]\n[%SEASON4_BB]\n[%SEASON3_BB]\n[%SEASON2_BB]\n[%SEASON1_BB]\n[%SEASON_BB]\n[%CAREER_BB]" align="right" zorder="20" font_name="vera" font_color="#000000" font_x_size="8" font_y_size="9" />

<ELEMENT type="text" x="493" y="119" width="25" height="150" content="SO\n[%SEASON11_K]\n[%SEASON10_K]\n[%SEASON9_K]\n[%SEASON8_K]\n[%SEASON7_K]\n[%SEASON6_K]\n[%SEASON5_K]\n[%SEASON4_K]\n[%SEASON3_K]\n[%SEASON2_K]\n[%SEASON1_K]\n[%SEASON_K]\n[%CAREER_K]" align="right" zorder="20" font_name="vera" font_color="#000000" font_x_size="8" font_y_size="9" />


<!-- Batting Stats -->

<ELEMENT type="text" x="288" y="119" width="25" height="150" content="AVG\n[%SEASON11_AVG]\n[%SEASON10_AVG]\n[%SEASON9_AVG]\n[%SEASON8_AVG]\n[%SEASON7_AVG]\n[%SEASON6_AVG]\n[%SEASON5_AVG]\n[%SEASON4_AVG]\n[%SEASON3_AVG]\n[%SEASON2_AVG]\n[%SEASON1_AVG]\n[%SEASON_AVG]\n[%CAREER_AVG]" align="right" zorder="20" font_name="vera" font_color="#000000" font_x_size="8" font_y_size="9" />

<ELEMENT type="text" x="311" y="119" width="25" height="150" content="G\n[%SEASON11_G]\n[%SEASON10_G]\n[%SEASON9_G]\n[%SEASON8_G]\n[%SEASON7_G]\n[%SEASON6_G]\n[%SEASON5_G]\n[%SEASON4_G]\n[%SEASON3_G]\n[%SEASON2_G]\n[%SEASON1_G]\n[%SEASON_G]\n[%CAREER_G]" align="right" zorder="20" font_name="vera" font_color="#000000" font_x_size="8" font_y_size="9" />

<ELEMENT type="text" x="336" y="119" width="25" height="150" content="AB\n[%SEASON11_AB]\n[%SEASON10_AB]\n[%SEASON9_AB]\n[%SEASON8_AB]\n[%SEASON7_AB]\n[%SEASON6_AB]\n[%SEASON5_AB]\n[%SEASON4_AB]\n[%SEASON3_AB]\n[%SEASON2_AB]\n[%SEASON1_AB]\n[%SEASON_AB]\n[%CAREER_AB]" align="right" zorder="20" font_name="vera" font_color="#000000" font_x_size="8" font_y_size="9" />

<ELEMENT type="text" x="359" y="119" width="25" height="150" content="H\n[%SEASON11_H]\n[%SEASON10_H]\n[%SEASON9_H]\n[%SEASON8_H]\n[%SEASON7_H]\n[%SEASON6_H]\n[%SEASON5_H]\n[%SEASON4_H]\n[%SEASON3_H]\n[%SEASON2_H]\n[%SEASON1_H]\n[%SEASON_H]\n[%CAREER_H]" align="right" zorder="20" font_name="vera" font_color="#000000" font_x_size="8" font_y_size="9" />

<ELEMENT type="text" x="381" y="119" width="25" height="150" content="R\n[%SEASON11_R]\n[%SEASON10_R]\n[%SEASON9_R]\n[%SEASON8_R]\n[%SEASON7_R]\n[%SEASON6_R]\n[%SEASON5_R]\n[%SEASON4_R]\n[%SEASON3_R]\n[%SEASON2_R]\n[%SEASON1_R]\n[%SEASON_R]\n[%CAREER_R]" align="right" zorder="20" font_name="vera" font_color="#000000" font_x_size="8" font_y_size="9" />

<ELEMENT type="text" x="399" y="119" width="25" height="150" content="2B\n[%SEASON11_2B]\n[%SEASON10_2B]\n[%SEASON9_2B]\n[%SEASON8_2B]\n[%SEASON7_2B]\n[%SEASON6_2B]\n[%SEASON5_2B]\n[%SEASON4_2B]\n[%SEASON3_2B]\n[%SEASON2_2B]\n[%SEASON1_2B]\n[%SEASON_2B]\n[%CAREER_2B]" align="right" zorder="20" font_name="vera" font_color="#000000" font_x_size="8" font_y_size="9" />

<ELEMENT type="text" x="417" y="119" width="25" height="150" content="3B\n[%SEASON11_3B]\n[%SEASON10_3B]\n[%SEASON9_3B]\n[%SEASON8_3B]\n[%SEASON7_3B]\n[%SEASON6_3B]\n[%SEASON5_3B]\n[%SEASON4_3B]\n[%SEASON3_3B]\n[%SEASON2_3B]\n[%SEASON1_3B]\n[%SEASON_3B]\n[%CAREER_3B]" align="right" zorder="20" font_name="vera" font_color="#000000" font_x_size="8" font_y_size="9" />

<ELEMENT type="text" x="436" y="119" width="25" height="150" content="HR\n[%SEASON11_HR]\n[%SEASON10_HR]\n[%SEASON9_HR]\n[%SEASON8_HR]\n[%SEASON7_HR]\n[%SEASON6_HR]\n[%SEASON5_HR]\n[%SEASON4_HR]\n[%SEASON3_HR]\n[%SEASON2_HR]\n[%SEASON1_HR]\n[%SEASON_HR]\n[%CAREER_HR]" align="right" zorder="20" font_name="vera" font_color="#000000" font_x_size="8" font_y_size="9" />

<ELEMENT type="text" x="458" y="119" width="25" height="150" content="RBI\n[%SEASON11_RBI]\n[%SEASON10_RBI]\n[%SEASON9_RBI]\n[%SEASON8_RBI]\n[%SEASON7_RBI]\n[%SEASON6_RBI]\n[%SEASON5_RBI]\n[%SEASON4_RBI]\n[%SEASON3_RBI]\n[%SEASON2_RBI]\n[%SEASON1_RBI]\n[%SEASON_RBI]\n[%CAREER_RBI]" align="right" zorder="20" font_name="vera" font_color="#000000" font_x_size="8" font_y_size="9" />

<ELEMENT type="text" x="480" y="119" width="25" height="150" content="K\n[%SEASON11_HITTER_K]\n[%SEASON10_HITTER_K]\n[%SEASON9_HITTER_K]\n[%SEASON8_HITTER_K]\n[%SEASON7_HITTER_K]\n[%SEASON6_HITTER_K]\n[%SEASON5_HITTER_K]\n[%SEASON4_HITTER_K]\n[%SEASON3_HITTER_K]\n[%SEASON2_HITTER_K]\n[%SEASON1_HITTER_K]\n[%SEASON_HITTER_K]\n[%CAREER_HITTER_K]" align="right" zorder="20" font_name="vera" font_color="#000000" font_x_size="8" font_y_size="9" />

<ELEMENT type="text" x="499" y="119" width="25" height="150" content="SB\n[%SEASON11_SB]\n[%SEASON10_SB]\n[%SEASON9_SB]\n[%SEASON8_SB]\n[%SEASON7_SB]\n[%SEASON6_SB]\n[%SEASON5_SB]\n[%SEASON4_SB]\n[%SEASON3_SB]\n[%SEASON2_SB]\n[%SEASON1_SB]\n[%SEASON_SB]\n[%CAREER_SB]" align="right" zorder="20" font_name="vera" font_color="#000000" font_x_size="8" font_y_size="9" />


</ELEMENTS>
</PICTURE>

I even downloaded Paint.net because it supposedly told you those x-y values, but if it does, I can't figure out how or where. Or in GIMP, which is what I normally use.

The final product is supposed to look like this, 1987 ProCards:

http://2.bp.blogspot.com/_VbZXTgtIEh...2B%2523142.jpg

Any help would be appreciated. I'd like to be able to make these myself, so I don't have to ask other people to make them all the time. Thanks!
ThatSeventiesGuy is offline   Reply With Quote
Old 07-05-2013, 01:17 PM   #2
ThatSeventiesGuy
Hall Of Famer
 
ThatSeventiesGuy's Avatar
 
Join Date: Mar 2013
Location: Midland, MI
Posts: 3,429
Crap! I thought I had it figured out, but OOTP keeps giving me a "Invalid output image width value" error message every time I try to make a card. Okay, what in the crap am I doing wrong, exactly?
ThatSeventiesGuy is offline   Reply With Quote
Old 07-05-2013, 02:13 PM   #3
klavier
Major Leagues
 
klavier's Avatar
 
Join Date: Jan 2011
Location: FL
Posts: 396
For <PICTURE width="533" height="311"> it should be 537 for the width. That may be what's giving you the error.

If you're using blue in the trialpha layer you need to change "trialpha_red=..." to blue.

Haven't used GIMP in a long time and never tried Paint.net so I'm not sure exactly how to get the position and dimensions in them, wish I could help you out more with those.

For the player pic you probably want y at about 35 or too much of the cap might be covered by the top of the card.

Last edited by klavier; 07-05-2013 at 02:55 PM.
klavier is offline   Reply With Quote
Old 07-05-2013, 03:01 PM   #4
ThatSeventiesGuy
Hall Of Famer
 
ThatSeventiesGuy's Avatar
 
Join Date: Mar 2013
Location: Midland, MI
Posts: 3,429
I changed the width to 537, AND redid the template, but I'm still getting the error. Not sure if there's something up with something else later in the xml, or my template's still a bit off somehow, or what.

Last edited by ThatSeventiesGuy; 07-05-2013 at 03:19 PM.
ThatSeventiesGuy is offline   Reply With Quote
Old 07-05-2013, 03:36 PM   #5
ThatSeventiesGuy
Hall Of Famer
 
ThatSeventiesGuy's Avatar
 
Join Date: Mar 2013
Location: Midland, MI
Posts: 3,429
Could the problem be that I saved it as an xml document in Microsoft Word, then uploaded it to OOTP? I noticed none of the other card templates are Word documents. Problem is, I have no idea how or on what system they were saved. And Word is the only program I have that will even do xml docs.
ThatSeventiesGuy is offline   Reply With Quote
Old 07-05-2013, 03:49 PM   #6
klavier
Major Leagues
 
klavier's Avatar
 
Join Date: Jan 2011
Location: FL
Posts: 396
The "first name last name" text element for the front of the card is missing the beginning quotation in the x value.

<ELEMENT type="text" x=78" y="10" ... content="[%PERSON_FIRST_NAME] [%PERSON_LAST_NAME]" />

Last edited by klavier; 07-05-2013 at 04:05 PM.
klavier is offline   Reply With Quote
Old 07-05-2013, 03:56 PM   #7
ThatSeventiesGuy
Hall Of Famer
 
ThatSeventiesGuy's Avatar
 
Join Date: Mar 2013
Location: Midland, MI
Posts: 3,429
Tried that, but no dice. STILL getting the error message. Either my xml is off elsewhere, or OOTP just doesn't like 1987 ProCards.
ThatSeventiesGuy is offline   Reply With Quote
Old 07-05-2013, 04:03 PM   #8
TribeFanInNC
Hall Of Famer
 
TribeFanInNC's Avatar
 
Join Date: Oct 2007
Posts: 4,019
Yep, most errors I've run across are format issues (like the missing ") or using an invalid token.

I don't have a good way of determining x/y/z. And spacing things is definitely the hard part, particularly the text. I ususally just try to copy someone else's good spacing and move/modify as necessary.

Stick with it, you'll get it eventually.
TribeFanInNC is offline   Reply With Quote
Old 07-05-2013, 04:05 PM   #9
klavier
Major Leagues
 
klavier's Avatar
 
Join Date: Jan 2011
Location: FL
Posts: 396
Quote:
Originally Posted by ThatSeventiesGuy View Post
Could the problem be that I saved it as an xml document in Microsoft Word, then uploaded it to OOTP? I noticed none of the other card templates are Word documents. Problem is, I have no idea how or on what system they were saved. And Word is the only program I have that will even do xml docs.
I wouldn't use MS Word to make your xmls, they probably add a bunch of junk when you save it in their format. You can use Notepad to edit the xml files or there maybe a free program out there that could be easier to use (I use an old copy of Dreamweaver that a friend gave me after he upgraded).
klavier is offline   Reply With Quote
Old 07-05-2013, 04:17 PM   #10
TribeFanInNC
Hall Of Famer
 
TribeFanInNC's Avatar
 
Join Date: Oct 2007
Posts: 4,019
In reference to this line:
<ELEMENT type="image" x="5" y="-5" zorder="1" width="212" height="310" facegen_zoom = "random" facegen_angle = "random" content="PICTURE" />

Can y be -5? I've never used negative values. Seems like that would technically be off picture.

I also use WordPad.
TribeFanInNC is offline   Reply With Quote
Old 07-05-2013, 04:20 PM   #11
ThatSeventiesGuy
Hall Of Famer
 
ThatSeventiesGuy's Avatar
 
Join Date: Mar 2013
Location: Midland, MI
Posts: 3,429
I already noticed that and fixed it awhile ago, but thanks for trying. I'm about to cry uncle on this one. I can't figure out what the heck's wrong. The sad thing is, it's probably something horribly obvious that I'm just overlooking.

Here's my updated xml. If anybody can spot the problem(s), please let me know.

<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- 1987 ProCards card template for OOTP by ThatSeventiesGuy -->

<PICTURE width="537" height="311">
<ELEMENTS>
<!-- Photo Data - Front -->

<ELEMENT type="image" x="5" y="35" zorder="1" width="212" height="310" facegen_zoom = "random"
facegen_angle = "random" content="PICTURE" />
<ELEMENT type="image" x="0" y="0" zorder="10" content="1987_procards_default.png" />
<ELEMENT type="image" x="0" y="0" zorder="15" trialpha_blue="[%TEAM_BG_COLOR]" content="color_bar_1987_procards.png" />

<ELEMENT type="image" x="78" y="10" zorder="90" content="[%YEAR]_1987_procards_[%PERSON_FIRST_NAME]_[%PERSON_LAST_NAME].png" />
<ELEMENT type="image" x="9" y="253" zorder="50" content="TEAM_LOGO_60" />



<!-- Personal Data - Front -->

<ELEMENT type="text" x=78" y="285" width="114" height="20” align="shrink" valign="bottom" zorder="20" font_name="verabd" font_color="000000" font_x_size="12" font_y_size="12" content="[%PERSON_FIRST_NAME] [%PERSON_LAST_NAME]" />


<ELEMENT type="text" x="9" y="7" width="209" height="26" align="shrink" valign="bottom" zorder="40" font_name="verabd" font_color="000000" font_x_size="25" font_y_size="25" content="[%TEAM_NAME]" />

<ELEMENT type="text" x="198" y="285" width="22" height="20" align="shrink" valign="bottom" zorder="50" font_name="verabd" font_color="000000" font_x_size="10" font_y_size="10" content="[%POSITION_SHORT]" />

<!-- Personal Data - Back -->

<ELEMENT type="text" x="239" y="46" width="24" height="10" align="center" valign="middle" zorder="20" font_name="vera" font_color="#000000" font_x_size="10" font_y_size="10" content="[%RANDOM_NUMBER][%RANDOM_NUMBER]" />

<ELEMENT type="text" x="244" y="62" width="171" height="14" align="left" valign="middle" zorder="20" font_name="vera" font_color="#000000" font_x_size="11" font_y_size="13" content="[%PERSON_NAME]" />

<ELEMENT type="text" x="244" y="80" width="235" height="32" align="left" valign="middle" zorder="20" font_name="vera" font_color="#000000" font_x_size="10" font_y_size="12" content="[%TEAM_NAME_NICK]\n[%LEAGUE_NAME]" />

<ELEMENT type="text" x="244" y="104" width="235" height="32" align="left" valign="middle" zorder="20" font_name="vera" font_color="#000000" font_x_size="10" font_y_size="10" content="Bats: [%PERSON_BATS_U] * * Throws: [%PERSON_THROWS_U] * * Ht: [%PERSON_HEIGHT] * * Wt: [%PERSON_WEIGHT]\nAge: [%AGE] * * Hometown: [%PERSON_CITY_OF_BIRTH]" />

<ELEMENT type="text" x="244" y="110" width="114" height="14" align="left" valign="middle" zorder="20" font_name="vera" font_color="#000000" font_x_size="10" font_y_size="13" content="[%POSITION]" />




<!-- Year and Team columns -->

<ELEMENT type="text" x="244" y="120" width="20" height="150" content="Year\n[%SEASON5_YEAR]\n[%SEASON4_YEAR]\n[%SEASON3_YEAR]\n[%SEASON2_YEAR]\n[%SEASON1_YEAR]\n[%SEASON_YEAR]\nTotal" align="right" zorder="20" font_name="vera" font_color="#000000" font_x_size="8" font_y_size="9" />

<ELEMENT type="text" x="244" y="125" width="60" height="150" content="Team\n[%SEASON5_TEAM]\n[%SEASON4_TEAM]\n[%SEASON3_TEAM]\n[%SEASON2_TEAM]\n[%SEASON1_TEAM]\n [%SEASON_TEAM]\n" align="left" zorder="20" font_name="vera" font_color="#000000" font_x_size="8" font_y_size="9" />


<!-- Pitching Stats -->

<ELEMENT type="text" x="244" y="119" width="25" height="150" content="W\n[%SEASON5_W]\n[%SEASON4_W]\n[%SEASON3_W]\n[%SEASON2_W]\n[%SEASON1_W]\n[%SEASON_W]\n[%CAREER_W]" align="right" zorder="20" font_name="vera" font_color="#000000" font_x_size="8" font_y_size="9" />

<ELEMENT type="text" x="312" y="119" width="25" height="150" content="L\n[%SEASON11_L]\n[%SEASON10_L]\n[%SEASON9_L]\n[%SEASON8_L]\n[%SEASON7_L]\n[%SEASON6_L]\n[%SEASON5_L]\n[%SEASON4_L]\n[%SEASON3_L]\n[%SEASON2_L]\n[%SEASON1_L]\n[%SEASON_L]\n[%CAREER_L]" align="right" zorder="20" font_name="vera" font_color="#000000" font_x_size="8" font_y_size="9" />

<ELEMENT type="text" x="335" y="119" width="25" height="150" content="ERA\n[%SEASON11_ERA]\n[%SEASON10_ERA]\n[%SEASON9_ERA]\n[%SEASON8_ERA]\n[%SEASON7_ERA]\n[%SEASON6_ERA]\n[%SEASON5_ERA]\n[%SEASON4_ERA]\n[%SEASON3_ERA]\n[%SEASON2_ERA]\n[%SEASON1_ERA]\n[%SEASON_ERA]\n[%CAREER_ERA]" align="right" zorder="20" font_name="vera" font_color="#000000" font_x_size="8" font_y_size="9" />

<ELEMENT type="text" x="359" y="119" width="25" height="150" content="G\n[%SEASON11_GP]\n[%SEASON10_GP]\n[%SEASON9_GP]\n[%SEASON8_GP]\n[%SEASON7_GP]\n[%SEASON6_GP]\n[%SEASON5_GP]\n[%SEASON4_GP]\n[%SEASON3_GP]\n[%SEASON2_GP]\n[%SEASON1_GP]\n[%SEASON_GP]\n[%CAREER_GP]" align="right" zorder="20" font_name="vera" font_color="#000000" font_x_size="8" font_y_size="9" />

<ELEMENT type="text" x="378" y="119" width="25" height="150" content="SV\n[%SEASON11_SV]\n[%SEASON10_SV]\n[%SEASON9_SV]\n[%SEASON8_SV]\n[%SEASON7_SV]\n[%SEASON6_SV]\n[%SEASON5_SV]\n[%SEASON4_SV]\n[%SEASON3_SV]\n[%SEASON2_SV]\n[%SEASON1_SV]\n[%SEASON_SV]\n[%CAREER_SV]" align="right" zorder="20" font_name="vera" font_color="#000000" font_x_size="8" font_y_size="9" />

<ELEMENT type="text" x="401" y="119" width="30" height="150" content="IP\n[%SEASON11_IP]\n[%SEASON10_IP]\n[%SEASON9_IP]\n[%SEASON8_IP]\n[%SEASON7_IP]\n[%SEASON6_IP]\n[%SEASON5_IP]\n[%SEASON4_IP]\n[%SEASON3_IP]\n[%SEASON2_IP]\n[%SEASON1_IP]\n[%SEASON_IP]\n[%CAREER_IP]" align="right" zorder="20" font_name="vera" font_color="#000000" font_x_size="8" font_y_size="9" />

<ELEMENT type="text" x="429" y="119" width="25" height="150" content="HA\n[%SEASON11_HA]\n[%SEASON10_HA]\n[%SEASON9_HA]\n[%SEASON8_HA]\n[%SEASON7_HA]\n[%SEASON6_HA]\n[%SEASON5_HA]\n[%SEASON4_HA]\n[%SEASON3_HA]\n[%SEASON2_HA]\n[%SEASON1_HA]\n[%SEASON_HA]\n[%CAREER_HA]" align="right" zorder="20" font_name="vera" font_color="#000000" font_x_size="8" font_y_size="9" />

<ELEMENT type="text" x="449" y="119" width="25" height="150" content="HRA\n[%SEASON11_HRA]\n[%SEASON10_HRA]\n[%SEASON9_HRA]\n[%SEASON8_HRA]\n[%SEASON7_HRA]\n[%SEASON6_HRA]\n[%SEASON5_HRA]\n[%SEASON4_HRA]\n[%SEASON3_HRA]\n[%SEASON2_HRA]\n[%SEASON1_HRA]\n[%SEASON_HRA]\n[%CAREER_HRA]" align="right" zorder="20" font_name="vera" font_color="#000000" font_x_size="8" font_y_size="9" />

<ELEMENT type="text" x="471" y="119" width="25" height="150" content="BB\n[%SEASON11_BB]\n[%SEASON10_BB]\n[%SEASON9_BB]\n[%SEASON8_BB]\n[%SEASON7_BB]\n[%SEASON6_BB]\n[%SEASON5_BB]\n[%SEASON4_BB]\n[%SEASON3_BB]\n[%SEASON2_BB]\n[%SEASON1_BB]\n[%SEASON_BB]\n[%CAREER_BB]" align="right" zorder="20" font_name="vera" font_color="#000000" font_x_size="8" font_y_size="9" />

<ELEMENT type="text" x="493" y="119" width="25" height="150" content="SO\n[%SEASON11_K]\n[%SEASON10_K]\n[%SEASON9_K]\n[%SEASON8_K]\n[%SEASON7_K]\n[%SEASON6_K]\n[%SEASON5_K]\n[%SEASON4_K]\n[%SEASON3_K]\n[%SEASON2_K]\n[%SEASON1_K]\n[%SEASON_K]\n[%CAREER_K]" align="right" zorder="20" font_name="vera" font_color="#000000" font_x_size="8" font_y_size="9" />


<!-- Batting Stats -->

<ELEMENT type="text" x="288" y="119" width="25" height="150" content="AVG\n[%SEASON11_AVG]\n[%SEASON10_AVG]\n[%SEASON9_AVG]\n[%SEASON8_AVG]\n[%SEASON7_AVG]\n[%SEASON6_AVG]\n[%SEASON5_AVG]\n[%SEASON4_AVG]\n[%SEASON3_AVG]\n[%SEASON2_AVG]\n[%SEASON1_AVG]\n[%SEASON_AVG]\n[%CAREER_AVG]" align="right" zorder="20" font_name="vera" font_color="#000000" font_x_size="8" font_y_size="9" />

<ELEMENT type="text" x="311" y="119" width="25" height="150" content="G\n[%SEASON11_G]\n[%SEASON10_G]\n[%SEASON9_G]\n[%SEASON8_G]\n[%SEASON7_G]\n[%SEASON6_G]\n[%SEASON5_G]\n[%SEASON4_G]\n[%SEASON3_G]\n[%SEASON2_G]\n[%SEASON1_G]\n[%SEASON_G]\n[%CAREER_G]" align="right" zorder="20" font_name="vera" font_color="#000000" font_x_size="8" font_y_size="9" />

<ELEMENT type="text" x="336" y="119" width="25" height="150" content="AB\n[%SEASON11_AB]\n[%SEASON10_AB]\n[%SEASON9_AB]\n[%SEASON8_AB]\n[%SEASON7_AB]\n[%SEASON6_AB]\n[%SEASON5_AB]\n[%SEASON4_AB]\n[%SEASON3_AB]\n[%SEASON2_AB]\n[%SEASON1_AB]\n[%SEASON_AB]\n[%CAREER_AB]" align="right" zorder="20" font_name="vera" font_color="#000000" font_x_size="8" font_y_size="9" />

<ELEMENT type="text" x="359" y="119" width="25" height="150" content="H\n[%SEASON11_H]\n[%SEASON10_H]\n[%SEASON9_H]\n[%SEASON8_H]\n[%SEASON7_H]\n[%SEASON6_H]\n[%SEASON5_H]\n[%SEASON4_H]\n[%SEASON3_H]\n[%SEASON2_H]\n[%SEASON1_H]\n[%SEASON_H]\n[%CAREER_H]" align="right" zorder="20" font_name="vera" font_color="#000000" font_x_size="8" font_y_size="9" />

<ELEMENT type="text" x="381" y="119" width="25" height="150" content="R\n[%SEASON11_R]\n[%SEASON10_R]\n[%SEASON9_R]\n[%SEASON8_R]\n[%SEASON7_R]\n[%SEASON6_R]\n[%SEASON5_R]\n[%SEASON4_R]\n[%SEASON3_R]\n[%SEASON2_R]\n[%SEASON1_R]\n[%SEASON_R]\n[%CAREER_R]" align="right" zorder="20" font_name="vera" font_color="#000000" font_x_size="8" font_y_size="9" />

<ELEMENT type="text" x="399" y="119" width="25" height="150" content="2B\n[%SEASON11_2B]\n[%SEASON10_2B]\n[%SEASON9_2B]\n[%SEASON8_2B]\n[%SEASON7_2B]\n[%SEASON6_2B]\n[%SEASON5_2B]\n[%SEASON4_2B]\n[%SEASON3_2B]\n[%SEASON2_2B]\n[%SEASON1_2B]\n[%SEASON_2B]\n[%CAREER_2B]" align="right" zorder="20" font_name="vera" font_color="#000000" font_x_size="8" font_y_size="9" />

<ELEMENT type="text" x="417" y="119" width="25" height="150" content="3B\n[%SEASON11_3B]\n[%SEASON10_3B]\n[%SEASON9_3B]\n[%SEASON8_3B]\n[%SEASON7_3B]\n[%SEASON6_3B]\n[%SEASON5_3B]\n[%SEASON4_3B]\n[%SEASON3_3B]\n[%SEASON2_3B]\n[%SEASON1_3B]\n[%SEASON_3B]\n[%CAREER_3B]" align="right" zorder="20" font_name="vera" font_color="#000000" font_x_size="8" font_y_size="9" />

<ELEMENT type="text" x="436" y="119" width="25" height="150" content="HR\n[%SEASON11_HR]\n[%SEASON10_HR]\n[%SEASON9_HR]\n[%SEASON8_HR]\n[%SEASON7_HR]\n[%SEASON6_HR]\n[%SEASON5_HR]\n[%SEASON4_HR]\n[%SEASON3_HR]\n[%SEASON2_HR]\n[%SEASON1_HR]\n[%SEASON_HR]\n[%CAREER_HR]" align="right" zorder="20" font_name="vera" font_color="#000000" font_x_size="8" font_y_size="9" />

<ELEMENT type="text" x="458" y="119" width="25" height="150" content="RBI\n[%SEASON11_RBI]\n[%SEASON10_RBI]\n[%SEASON9_RBI]\n[%SEASON8_RBI]\n[%SEASON7_RBI]\n[%SEASON6_RBI]\n[%SEASON5_RBI]\n[%SEASON4_RBI]\n[%SEASON3_RBI]\n[%SEASON2_RBI]\n[%SEASON1_RBI]\n[%SEASON_RBI]\n[%CAREER_RBI]" align="right" zorder="20" font_name="vera" font_color="#000000" font_x_size="8" font_y_size="9" />

<ELEMENT type="text" x="480" y="119" width="25" height="150" content="K\n[%SEASON11_HITTER_K]\n[%SEASON10_HITTER_K]\n[%SEASON9_HITTER_K]\n[%SEASON8_HITTER_K]\n[%SEASON7_HITTER_K]\n[%SEASON6_HITTER_K]\n[%SEASON5_HITTER_K]\n[%SEASON4_HITTER_K]\n[%SEASON3_HITTER_K]\n[%SEASON2_HITTER_K]\n[%SEASON1_HITTER_K]\n[%SEASON_HITTER_K]\n[%CAREER_HITTER_K]" align="right" zorder="20" font_name="vera" font_color="#000000" font_x_size="8" font_y_size="9" />

<ELEMENT type="text" x="499" y="119" width="25" height="150" content="SB\n[%SEASON11_SB]\n[%SEASON10_SB]\n[%SEASON9_SB]\n[%SEASON8_SB]\n[%SEASON7_SB]\n[%SEASON6_SB]\n[%SEASON5_SB]\n[%SEASON4_SB]\n[%SEASON3_SB]\n[%SEASON2_SB]\n[%SEASON1_SB]\n[%SEASON_SB]\n[%CAREER_SB]" align="right" zorder="20" font_name="vera" font_color="#000000" font_x_size="8" font_y_size="9" />


</ELEMENTS>
</PICTURE>

Last edited by ThatSeventiesGuy; 07-05-2013 at 04:24 PM.
ThatSeventiesGuy is offline   Reply With Quote
Old 07-05-2013, 04:27 PM   #12
ThatSeventiesGuy
Hall Of Famer
 
ThatSeventiesGuy's Avatar
 
Join Date: Mar 2013
Location: Midland, MI
Posts: 3,429
I have WordPad, but couldn't figure out how to save as xml in it. What do you have to do? Maybe I have an older version or something?

Edit: Found the error with number of seasons in some of the lines (changed it to make them all five seasons)...and of course, STILL getting the error message. WTF, as the kids say.

Last edited by ThatSeventiesGuy; 07-05-2013 at 04:40 PM.
ThatSeventiesGuy is offline   Reply With Quote
Old 07-05-2013, 04:45 PM   #13
klavier
Major Leagues
 
klavier's Avatar
 
Join Date: Jan 2011
Location: FL
Posts: 396
Quote:
Originally Posted by TribeFanInNC View Post
In reference to this line:
<ELEMENT type="image" x="5" y="-5" zorder="1" width="212" height="310" facegen_zoom = "random" facegen_angle = "random" content="PICTURE" />

Can y be -5? I've never used negative values. Seems like that would technically be off picture.

I also use WordPad.
You can have negative values for the x or y position.


Quote:
Originally Posted by ThatSeventiesGuy View Post
I already noticed that and fixed it awhile ago, but thanks for trying. I'm about to cry uncle on this one. I can't figure out what the heck's wrong. The sad thing is, it's probably something horribly obvious that I'm just overlooking.
Copy and paste this into notepad, save (change the "save as type" from Text Document to All Files and add .xml to the end of the file name) and see if it works.

Code:
<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- 1987 ProCards card template for OOTP by ThatSeventiesGuy -->

<PICTURE width="537" height="311">
<ELEMENTS>

<!-- Photo Data - Front -->

<ELEMENT type="image" x="5" y="-5" zorder="1" width="212" height="310" facegen_zoom="random" facegen_angle="random" content="PICTURE" />
<ELEMENT type="image" x="0" y="0" zorder="10" content="1987_procards_default.png" />

<ELEMENT type="image" x="0" y="0" zorder="15" trialpha_red="[%TEAM_BG_COLOR]" content="color_bar.png" />

<ELEMENT type="image" x="0" y="0" zorder="90" content="[%YEAR]_1987_procards_[%PERSON_FIRST_NAME]_[%PERSON_LAST_NAME].png" />
<ELEMENT type="image" x="155" y="205" zorder="50" content="TEAM_LOGO_60" />



<!-- Personal Data - Front -->

<ELEMENT type="text" x="78" y="10" width="284" height="16" align="shrink" valign="bottom" zorder="20" font_name="verabd" font_color="000000" font_x_size="16" font_y_size="18" content="[%PERSON_FIRST_NAME] [%PERSON_LAST_NAME]" />

<ELEMENT type="text" x="9" y="7" width="6" height="14" align="shrink" valign="bottom" zorder="40" font_name="verabd" font_color="000000" font_x_size="14" font_y_size="14" content="[%TEAM_NAME]" />

<ELEMENT type="text" x="90" y="290" width="300" height="16" align="shrink" valign="bottom" zorder="50" font_name="verabd" font_color="000000" font_x_size="16" font_y_size="18" content="[%POSITION_SHORT]" />

<!-- Personal Data - Back -->

<ELEMENT type="text" x="255" y="78" width="24" height="14" align="center" valign="middle" zorder="20" font_name="vera" font_color="#000000" font_x_size="12" font_y_size="14" content="[%RANDOM_NUMBER][%RANDOM_NUMBER]" />

<ELEMENT type="text" x="299" y="53" width="171" height="14" align="left" valign="middle" zorder="20" font_name="vera" font_color="#000000" font_x_size="11" font_y_size="13" content="[%PERSON_NAME]" />

<ELEMENT type="text" x="299" y="66" width="235" height="32" align="left" valign="middle" zorder="20" font_name="vera" font_color="#000000" font_x_size="10" font_y_size="12" content="[%TEAM_NAME_NICK]\n[%LEAGUE_NAME]" />

<ELEMENT type="text" x="299" y="90" width="235" height="32" align="left" valign="middle" zorder="20" font_name="vera" font_color="#000000" font_x_size="10" font_y_size="10" content="Bats: [%PERSON_BATS_U]   Throws: [%PERSON_THROWS_U] Ht: [%PERSON_HEIGHT] Wt: [%PERSON_WEIGHT]\nAge: [%AGE] Hometown: [%PERSON_CITY_OF_BIRTH]" />

<ELEMENT type="text" x="468" y="53" width="48" height="14" align="left" valign="middle" zorder="20" font_name="vera" font_color="#000000" font_x_size="10" font_y_size="13" content="[%POSITION]" />




<!-- Year and Team columns -->

<ELEMENT type="text" x="239" y="119" width="20" height="150" content="Year\n[%SEASON11_YEAR]\n[%SEASON10_YEAR]\n[%SEASON9_YEAR]\n[%SEASON8_YEAR]\n[%SEASON7_YEAR]\n[%SEASON6_YEAR]\n[%SEASON5_YEAR]\n[%SEASON4_YEAR]\n[%SEASON3_YEAR]\n[%SEASON2_YEAR]\n[%SEASON1_YEAR]\n[%SEASON_YEAR]\nTotal" align="right" zorder="20" font_name="vera" font_color="#000000" font_x_size="8" font_y_size="9" />

<ELEMENT type="text" x="262" y="119" width="60" height="150" content="Team\n[%SEASON11_TEAM]\n[%SEASON10_TEAM]\n[%SEASON9_TEAM]\n[%SEASON8_TEAM]\n[%SEASON7_TEAM]\n[%SEASON6_TEAM]\n[%SEASON5_TEAM]\n[%SEASON4_TEAM]\n[%SEASON3_TEAM]\n[%SEASON2_TEAM]\n[%SEASON1_TEAM]\n [%SEASON_TEAM]\n" align="left" zorder="20" font_name="vera" font_color="#000000" font_x_size="8" font_y_size="9" />


<!-- Pitching Stats -->

<ELEMENT type="text" x="293" y="119" width="25" height="150" content="W\n[%SEASON11_W]\n[%SEASON10_W]\n[%SEASON9_W]\n[%SEASON8_W]\n[%SEASON7_W]\n[%SEASON6_W]\n[%SEASON5_W]\n[%SEASON4_W]\n[%SEASON3_W]\n[%SEASON2_W]\n[%SEASON1_W]\n[%SEASON_W]\n[%CAREER_W]" align="right" zorder="20" font_name="vera" font_color="#000000" font_x_size="8" font_y_size="9" />

<ELEMENT type="text" x="312" y="119" width="25" height="150" content="L\n[%SEASON11_L]\n[%SEASON10_L]\n[%SEASON9_L]\n[%SEASON8_L]\n[%SEASON7_L]\n[%SEASON6_L]\n[%SEASON5_L]\n[%SEASON4_L]\n[%SEASON3_L]\n[%SEASON2_L]\n[%SEASON1_L]\n[%SEASON_L]\n[%CAREER_L]" align="right" zorder="20" font_name="vera" font_color="#000000" font_x_size="8" font_y_size="9" />

<ELEMENT type="text" x="335" y="119" width="25" height="150" content="ERA\n[%SEASON11_ERA]\n[%SEASON10_ERA]\n[%SEASON9_ERA]\n[%SEASON8_ERA]\n[%SEASON7_ERA]\n[%SEASON6_ERA]\n[%SEASON5_ERA]\n[%SEASON4_ERA]\n[%SEASON3_ERA]\n[%SEASON2_ERA]\n[%SEASON1_ERA]\n[%SEASON_ERA]\n[%CAREER_ERA]" align="right" zorder="20" font_name="vera" font_color="#000000" font_x_size="8" font_y_size="9" />

<ELEMENT type="text" x="359" y="119" width="25" height="150" content="G\n[%SEASON11_GP]\n[%SEASON10_GP]\n[%SEASON9_GP]\n[%SEASON8_GP]\n[%SEASON7_GP]\n[%SEASON6_GP]\n[%SEASON5_GP]\n[%SEASON4_GP]\n[%SEASON3_GP]\n[%SEASON2_GP]\n[%SEASON1_GP]\n[%SEASON_GP]\n[%CAREER_GP]" align="right" zorder="20" font_name="vera" font_color="#000000" font_x_size="8" font_y_size="9" />

<ELEMENT type="text" x="378" y="119" width="25" height="150" content="SV\n[%SEASON11_SV]\n[%SEASON10_SV]\n[%SEASON9_SV]\n[%SEASON8_SV]\n[%SEASON7_SV]\n[%SEASON6_SV]\n[%SEASON5_SV]\n[%SEASON4_SV]\n[%SEASON3_SV]\n[%SEASON2_SV]\n[%SEASON1_SV]\n[%SEASON_SV]\n[%CAREER_SV]" align="right" zorder="20" font_name="vera" font_color="#000000" font_x_size="8" font_y_size="9" />

<ELEMENT type="text" x="401" y="119" width="30" height="150" content="IP\n[%SEASON11_IP]\n[%SEASON10_IP]\n[%SEASON9_IP]\n[%SEASON8_IP]\n[%SEASON7_IP]\n[%SEASON6_IP]\n[%SEASON5_IP]\n[%SEASON4_IP]\n[%SEASON3_IP]\n[%SEASON2_IP]\n[%SEASON1_IP]\n[%SEASON_IP]\n[%CAREER_IP]" align="right" zorder="20" font_name="vera" font_color="#000000" font_x_size="8" font_y_size="9" />

<ELEMENT type="text" x="429" y="119" width="25" height="150" content="HA\n[%SEASON11_HA]\n[%SEASON10_HA]\n[%SEASON9_HA]\n[%SEASON8_HA]\n[%SEASON7_HA]\n[%SEASON6_HA]\n[%SEASON5_HA]\n[%SEASON4_HA]\n[%SEASON3_HA]\n[%SEASON2_HA]\n[%SEASON1_HA]\n[%SEASON_HA]\n[%CAREER_HA]" align="right" zorder="20" font_name="vera" font_color="#000000" font_x_size="8" font_y_size="9" />

<ELEMENT type="text" x="449" y="119" width="25" height="150" content="HRA\n[%SEASON11_HRA]\n[%SEASON10_HRA]\n[%SEASON9_HRA]\n[%SEASON8_HRA]\n[%SEASON7_HRA]\n[%SEASON6_HRA]\n[%SEASON5_HRA]\n[%SEASON4_HRA]\n[%SEASON3_HRA]\n[%SEASON2_HRA]\n[%SEASON1_HRA]\n[%SEASON_HRA]\n[%CAREER_HRA]" align="right" zorder="20" font_name="vera" font_color="#000000" font_x_size="8" font_y_size="9" />

<ELEMENT type="text" x="471" y="119" width="25" height="150" content="BB\n[%SEASON11_BB]\n[%SEASON10_BB]\n[%SEASON9_BB]\n[%SEASON8_BB]\n[%SEASON7_BB]\n[%SEASON6_BB]\n[%SEASON5_BB]\n[%SEASON4_BB]\n[%SEASON3_BB]\n[%SEASON2_BB]\n[%SEASON1_BB]\n[%SEASON_BB]\n[%CAREER_BB]" align="right" zorder="20" font_name="vera" font_color="#000000" font_x_size="8" font_y_size="9" />

<ELEMENT type="text" x="493" y="119" width="25" height="150" content="SO\n[%SEASON11_K]\n[%SEASON10_K]\n[%SEASON9_K]\n[%SEASON8_K]\n[%SEASON7_K]\n[%SEASON6_K]\n[%SEASON5_K]\n[%SEASON4_K]\n[%SEASON3_K]\n[%SEASON2_K]\n[%SEASON1_K]\n[%SEASON_K]\n[%CAREER_K]" align="right" zorder="20" font_name="vera" font_color="#000000" font_x_size="8" font_y_size="9" />


<!-- Batting Stats -->

<ELEMENT type="text" x="288" y="119" width="25" height="150" content="AVG\n[%SEASON11_AVG]\n[%SEASON10_AVG]\n[%SEASON9_AVG]\n[%SEASON8_AVG]\n[%SEASON7_AVG]\n[%SEASON6_AVG]\n[%SEASON5_AVG]\n[%SEASON4_AVG]\n[%SEASON3_AVG]\n[%SEASON2_AVG]\n[%SEASON1_AVG]\n[%SEASON_AVG]\n[%CAREER_AVG]" align="right" zorder="20" font_name="vera" font_color="#000000" font_x_size="8" font_y_size="9" />

<ELEMENT type="text" x="311" y="119" width="25" height="150" content="G\n[%SEASON11_G]\n[%SEASON10_G]\n[%SEASON9_G]\n[%SEASON8_G]\n[%SEASON7_G]\n[%SEASON6_G]\n[%SEASON5_G]\n[%SEASON4_G]\n[%SEASON3_G]\n[%SEASON2_G]\n[%SEASON1_G]\n[%SEASON_G]\n[%CAREER_G]" align="right" zorder="20" font_name="vera" font_color="#000000" font_x_size="8" font_y_size="9" />

<ELEMENT type="text" x="336" y="119" width="25" height="150" content="AB\n[%SEASON11_AB]\n[%SEASON10_AB]\n[%SEASON9_AB]\n[%SEASON8_AB]\n[%SEASON7_AB]\n[%SEASON6_AB]\n[%SEASON5_AB]\n[%SEASON4_AB]\n[%SEASON3_AB]\n[%SEASON2_AB]\n[%SEASON1_AB]\n[%SEASON_AB]\n[%CAREER_AB]" align="right" zorder="20" font_name="vera" font_color="#000000" font_x_size="8" font_y_size="9" />

<ELEMENT type="text" x="359" y="119" width="25" height="150" content="H\n[%SEASON11_H]\n[%SEASON10_H]\n[%SEASON9_H]\n[%SEASON8_H]\n[%SEASON7_H]\n[%SEASON6_H]\n[%SEASON5_H]\n[%SEASON4_H]\n[%SEASON3_H]\n[%SEASON2_H]\n[%SEASON1_H]\n[%SEASON_H]\n[%CAREER_H]" align="right" zorder="20" font_name="vera" font_color="#000000" font_x_size="8" font_y_size="9" />

<ELEMENT type="text" x="381" y="119" width="25" height="150" content="R\n[%SEASON11_R]\n[%SEASON10_R]\n[%SEASON9_R]\n[%SEASON8_R]\n[%SEASON7_R]\n[%SEASON6_R]\n[%SEASON5_R]\n[%SEASON4_R]\n[%SEASON3_R]\n[%SEASON2_R]\n[%SEASON1_R]\n[%SEASON_R]\n[%CAREER_R]" align="right" zorder="20" font_name="vera" font_color="#000000" font_x_size="8" font_y_size="9" />

<ELEMENT type="text" x="399" y="119" width="25" height="150" content="2B\n[%SEASON11_2B]\n[%SEASON10_2B]\n[%SEASON9_2B]\n[%SEASON8_2B]\n[%SEASON7_2B]\n[%SEASON6_2B]\n[%SEASON5_2B]\n[%SEASON4_2B]\n[%SEASON3_2B]\n[%SEASON2_2B]\n[%SEASON1_2B]\n[%SEASON_2B]\n[%CAREER_2B]" align="right" zorder="20" font_name="vera" font_color="#000000" font_x_size="8" font_y_size="9" />

<ELEMENT type="text" x="417" y="119" width="25" height="150" content="3B\n[%SEASON11_3B]\n[%SEASON10_3B]\n[%SEASON9_3B]\n[%SEASON8_3B]\n[%SEASON7_3B]\n[%SEASON6_3B]\n[%SEASON5_3B]\n[%SEASON4_3B]\n[%SEASON3_3B]\n[%SEASON2_3B]\n[%SEASON1_3B]\n[%SEASON_3B]\n[%CAREER_3B]" align="right" zorder="20" font_name="vera" font_color="#000000" font_x_size="8" font_y_size="9" />

<ELEMENT type="text" x="436" y="119" width="25" height="150" content="HR\n[%SEASON11_HR]\n[%SEASON10_HR]\n[%SEASON9_HR]\n[%SEASON8_HR]\n[%SEASON7_HR]\n[%SEASON6_HR]\n[%SEASON5_HR]\n[%SEASON4_HR]\n[%SEASON3_HR]\n[%SEASON2_HR]\n[%SEASON1_HR]\n[%SEASON_HR]\n[%CAREER_HR]" align="right" zorder="20" font_name="vera" font_color="#000000" font_x_size="8" font_y_size="9" />

<ELEMENT type="text" x="458" y="119" width="25" height="150" content="RBI\n[%SEASON11_RBI]\n[%SEASON10_RBI]\n[%SEASON9_RBI]\n[%SEASON8_RBI]\n[%SEASON7_RBI]\n[%SEASON6_RBI]\n[%SEASON5_RBI]\n[%SEASON4_RBI]\n[%SEASON3_RBI]\n[%SEASON2_RBI]\n[%SEASON1_RBI]\n[%SEASON_RBI]\n[%CAREER_RBI]" align="right" zorder="20" font_name="vera" font_color="#000000" font_x_size="8" font_y_size="9" />

<ELEMENT type="text" x="480" y="119" width="25" height="150" content="K\n[%SEASON11_HITTER_K]\n[%SEASON10_HITTER_K]\n[%SEASON9_HITTER_K]\n[%SEASON8_HITTER_K]\n[%SEASON7_HITTER_K]\n[%SEASON6_HITTER_K]\n[%SEASON5_HITTER_K]\n[%SEASON4_HITTER_K]\n[%SEASON3_HITTER_K]\n[%SEASON2_HITTER_K]\n[%SEASON1_HITTER_K]\n[%SEASON_HITTER_K]\n[%CAREER_HITTER_K]" align="right" zorder="20" font_name="vera" font_color="#000000" font_x_size="8" font_y_size="9" />

<ELEMENT type="text" x="499" y="119" width="25" height="150" content="SB\n[%SEASON11_SB]\n[%SEASON10_SB]\n[%SEASON9_SB]\n[%SEASON8_SB]\n[%SEASON7_SB]\n[%SEASON6_SB]\n[%SEASON5_SB]\n[%SEASON4_SB]\n[%SEASON3_SB]\n[%SEASON2_SB]\n[%SEASON1_SB]\n[%SEASON_SB]\n[%CAREER_SB]" align="right" zorder="20" font_name="vera" font_color="#000000" font_x_size="8" font_y_size="9" />


</ELEMENTS>
</PICTURE>
I know you don't have the sizes of your text area but make sure the font_y_size isn't larger than the height of the element (or at least within 1 or 2). You had one element with a height of 4 and a font_y of 12 or 14 and I was getting a font error until I changed the height. Also if you want the multiple spaces in the player bio you need to do " ". I added one in the above code for you to see.

Result I got:
klavier is offline   Reply With Quote
Old 07-05-2013, 04:55 PM   #14
ThatSeventiesGuy
Hall Of Famer
 
ThatSeventiesGuy's Avatar
 
Join Date: Mar 2013
Location: Midland, MI
Posts: 3,429
I figured out how to save it in Notepad. Now OOTP gives me a different, more specific error message.

"XML parsing error"
"not well-formed (invalid token) at line 20"

Okay, line 20...any idea what the invalid token might be, folks?
ThatSeventiesGuy is offline   Reply With Quote
Old 07-05-2013, 04:58 PM   #15
klavier
Major Leagues
 
klavier's Avatar
 
Join Date: Jan 2011
Location: FL
Posts: 396
You're missing a beginning quotation in your updated code. It's in the first element in the Personal Data - Front (which is line 20 of the code).

<ELEMENT type="text" x=78" y="10" ... content="[%PERSON_FIRST_NAME] [%PERSON_LAST_NAME]" />

Last edited by klavier; 07-05-2013 at 05:03 PM.
klavier is offline   Reply With Quote
Old 07-05-2013, 05:07 PM   #16
ThatSeventiesGuy
Hall Of Famer
 
ThatSeventiesGuy's Avatar
 
Join Date: Mar 2013
Location: Midland, MI
Posts: 3,429
Quote:
Originally Posted by klavier View Post
You're missing a beginning quotation in your updated code. It's in the first element in the Personal Data - Front (which is line 20 of the code).

<ELEMENT type="text" x=78" y="10" ... content="[%PERSON_FIRST_NAME] [%PERSON_LAST_NAME]" />
Fixed it. But I'm still getting that error message. And it shows lines from align-"shrink" in the first line in "personal data front" to the font name="vera" line in the second line of "personal data back" in the error message. So the problem must be somewhere in there. Something in the font sizes, maybe? Or the z-orders?

Last edited by ThatSeventiesGuy; 07-05-2013 at 05:09 PM.
ThatSeventiesGuy is offline   Reply With Quote
Old 07-05-2013, 05:13 PM   #17
ThatSeventiesGuy
Hall Of Famer
 
ThatSeventiesGuy's Avatar
 
Join Date: Mar 2013
Location: Midland, MI
Posts: 3,429
Hmm, looks like the back is pretty much good to go, with either minimal tweaking or removing the border. But the front...hoo, boy! That'll take some work. Let me try the cut and paste of your post and see if that fixes the problem.
ThatSeventiesGuy is offline   Reply With Quote
Old 07-05-2013, 05:15 PM   #18
TribeFanInNC
Hall Of Famer
 
TribeFanInNC's Avatar
 
Join Date: Oct 2007
Posts: 4,019
Invalid token error shouldn't be formatting. Is PERSON_FIRST_NAME and PERSON_LAST_NAME a token? I know I looked up one of my old templates and I just have [%PERSON_NAME].

Try that?
TribeFanInNC is offline   Reply With Quote
Old 07-05-2013, 05:18 PM   #19
ThatSeventiesGuy
Hall Of Famer
 
ThatSeventiesGuy's Avatar
 
Join Date: Mar 2013
Location: Midland, MI
Posts: 3,429
Gah! I tried your version, got "unable to render font glyph" as an error message...and OOTP shut itself down! Yep, this thing is doomed. I give up.
ThatSeventiesGuy is offline   Reply With Quote
Old 07-05-2013, 05:18 PM   #20
klavier
Major Leagues
 
klavier's Avatar
 
Join Date: Jan 2011
Location: FL
Posts: 396
TribeFanInNC - [%PERSON_FIRST_NAME] [%PERSON_LAST_NAME] are valid tokens

ThatSeventiesGuy - I got a font error at first also. I made a couple of changes and this file finally worked for me and gave me the result in a previous post. I'm not 100% positive but try it out and if it works you might have a font x or y size that is way too big for the width or height that you assigned (I think the game can handle a small overage but maybe at some size difference it's too much).
Attached Files
File Type: xml temp.xml (11.1 KB, 65 views)

Last edited by klavier; 07-05-2013 at 05:30 PM.
klavier 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:15 AM.

 

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 - 2026, vBulletin Solutions, Inc.
Copyright © 2024 Out of the Park Developments