Quote:
Originally Posted by TribeFanInNC
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
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: