Home | Webstore
Latest News: OOTP 25 Available - FHM 10 Available - OOTP Go! Available

Out of the Park Baseball 25 Buy Now!

  

Go Back   OOTP Developments Forums > Franchise Hockey Manager 10 > FHM Mods
Register Blogs FAQ Calendar Today's Posts Search

FHM Mods This is the place to check for mods for both FHM10 and previous versions.

Reply
 
Thread Tools
Old 12-20-2021, 03:14 PM   #1
JeffR
FHM Producer
 
JeffR's Avatar
 
Join Date: Apr 2002
Location: Kelowna, BC
Posts: 16,625
Modding Player Cards

The game's hockey cards are now customizable as of today's update.

The cards are built from data stored in the save's \graphics\cards folder, and, like other mods, can be installed in the equivalent quickstarts folder (e.g. \Documents\Out of the Park Developments\Franchise Hockey Manager 8\quickstart_games\Current.quick\graphics\cards) where they will be applied to all new games of that type. Each card design gets its own subfolder in that directory. The subfolder names don't matter, the game will check anything in \cards.

For an example of how the cards work, I suggest looking at the default modern card's subfolder in \Documents\Out of the Park Developments\Franchise Hockey Manager 8\quickstart_games\Current.quick\graphics\cards\mo dern - that folder stores an info.txt file with the card's details, as well as however many .png files are needed to construct the card.

The info.txt file contains the instructions the game uses to build the cards, broken down into sections. Any section except ORDER and YEARS can be omitted, those two are needed to make the card work. The elements of the file are as follows (I suggest using a copy of the modern card's info.txt file as a template, since it contains all the usable elements in the proper format):

ORDER: list as many .png files and facegen in the order that you want them to appear. For example, the modern card has the _top image on top, then the player's facegen image (so it will be partially covered by the non-transparent areas of the top image), the_background image (much of which is covered by the facegen and the non-transparent areas of the top image), and finally the _teamcolor image (note how the transparent areas in the cards above it are designed to allow specific parts of the teamcolor image to be seen, so the lower section of the card, a border area, and the team logo background are displayed in a different color for each team.) The files can be named as you wish, but must be .png's and a .png with the _teamcolor extension will replace any black in the image with the primary colour of the player's team. Leave the .png extension out of the file's name in this list.

Below the order, list the card's other elements, one section for each. You do not have to include any of them, e.g. the default 1910's card omits the position.

Each element has a list of data describing it as follows:

TEXT OBJECTS: NAME, SURNAME, and POSITION. NAME and SURNAME show the player's first and last name from the database, respectively, and POSITION shows the position name (LD and RD both get the Defenceman description.) The case of the 3 text elements can be specified - either all-caps or mixed.
font: The font must be installed in the game's fonts folder (\SteamLibrary\steamapps\common\Franchise Hockey Manager 8\data\fonts or \Program Files (x86)\Out of the Park Developments\Franchise Hockey Manager 8\data\fonts) - note that we've added a bunch of fonts that aren't actually used elsewhere in the game, so you have more variety to choose from. The name has to be the correct name of the font and not the filename of the ttf file (e.g. "Roboto Slab" and not "RobotoSlab-Bold", "Lato" and not "Lato-Thin")
fontsize: font size in pixels (px)
fontweight: bold/italic
fontstyle: normal or any style included for the font in the fonts folder (thin, light, etc. - note that not all fonts have these options)
color: HTML colour value
boxsize: the size of the box on the card's surface allocated to contain this object, expressed as HeightxWeight in pixels. Note that if a text element is too large for a box, the font size will be reduced to make it fit.
position: x,y coordinate ot the top-left corner of the box created above (the card must be a 200x300 rectangle, so 1,1 is the upper-left corner, and 200,300 the bottom-right corner)
horizontal: horizontal alignment of the text within the box, expressed as left align, right align, or centered
vertical: vertical alignment of the text within the box, expressed as left align, right align, or centered

NON-TEXT OBJECTS: TEAM LOGO and FACEGEN - these allow the team logo and the player's facegen image to be included in the card. They use the same settings as the text objects, but not all of them - TEAM LOGO uses boxsize, position (upper-left corner of the logo image), horizontal, and vertical, and FACEGEN uses only position (upper-left corner of the facegen image.)

Finally, the YEARS list the starting and ending years for the logo's use. Note that these always refer to the season start year, so if e.g. you want a card to appear in 1976-77 only, use 1976 in both fields. If more than one card is available in a year, the game will choose randomly from all the available types, so you may want to modify the default files to avoid years you have created your own cards for.

Edit: The version 8.7.102 update added some new Text Object options:

FULLNAME (uses the combined First Name + Last Name of the player, e.g. "John Smith", rather than having to use separate NAME and SURNAME, which makes it very difficult to put names horizontally on the same line)
TEAMNAME (full team name, Name + Nickname, e.g. "Boston Bruins"), TEAM (just the team Name, e.g. "Boston")
TEAMNICK (just the team Nickname, e.g. "Bruins")

Last edited by JeffR; 04-08-2022 at 01:50 AM.
JeffR is offline   Reply With Quote
Old 12-20-2021, 07:00 PM   #2
Nickphillies
All Star Reserve
 
Nickphillies's Avatar
 
Join Date: Apr 2014
Posts: 560
Here's an idea of what we can do. This is off a 1990s O-PeeChee style card.

Trickiest part is lining up the font and logos.
Attached Images
Image 
__________________
FHM Beta Tester
Nickphillies is offline   Reply With Quote
Old 12-20-2021, 11:59 PM   #3
jumpSeat
All Star Reserve
 
jumpSeat's Avatar
 
Join Date: Oct 2021
Posts: 862
This is great! Opens up a whole new area to have fun with... Greatly appreciated, thanks Jeff!
jumpSeat is offline   Reply With Quote
Old 12-21-2021, 01:04 AM   #4
ThatSeventiesGuy
Hall Of Famer
 
ThatSeventiesGuy's Avatar
 
Join Date: Mar 2013
Location: Midland, MI
Posts: 3,421
Quote:
Originally Posted by Nickphillies View Post
Here's an idea of what we can do. This is off a 1990s O-PeeChee style card.

Trickiest part is lining up the font and logos.

This is why I miss the like button, right here. Great work! Looking forward to some mods being released, and might work on a few of my own if I can.
ThatSeventiesGuy is offline   Reply With Quote
Old 02-02-2022, 05:13 AM   #5
sk78
Minors (Triple A)
 
sk78's Avatar
 
Join Date: Nov 2016
Location: on the quest for the holy support
Posts: 210
Both names in one line issue

So I did a mod of a card where "name" and "surname" are sitting in one line (posted here).

I set the text boxes to about 50% of the picture, first name to the left side, last name to the right. Then aligned "name" horizontal to "right align" and "surname" horizontal to "left align".
The result is looking good when both names have about the same length/amount of letters. But the bigger the difference is, the more it's starting to look odd and offset (example attached).

Is there any way/workaround to prevent this?

Ideal would be to have an additional option with the ability to put name and surname into one single text box.
Attached Images
Image Image 
sk78 is offline   Reply With Quote
Old 02-02-2022, 11:06 AM   #6
wiggleman83
All Star Reserve
 
Join Date: Apr 2019
Posts: 575
Quote:
Originally Posted by Nickphillies View Post
Here's an idea of what we can do. This is off a 1990s O-PeeChee style card.

Trickiest part is lining up the font and logos.

Do you have this xard available to mod into games? I'm looking for a vintage one.
wiggleman83 is offline   Reply With Quote
Old 03-26-2022, 09:23 PM   #7
silvam14
Hall Of Famer
 
silvam14's Avatar
 
Join Date: Apr 2004
Location: Dedham, MA
Posts: 9,746
This is really cool

I would think the Jersey # would be a great token addition
__________________
Senior "Nancy Boy" of the OOTP Boards
_______________________________________________
silvam14 is offline   Reply With Quote
Old 03-29-2022, 12:16 AM   #8
Nickphillies
All Star Reserve
 
Nickphillies's Avatar
 
Join Date: Apr 2014
Posts: 560
Quote:
Originally Posted by wiggleman83 View Post
Do you have this xard available to mod into games? I'm looking for a vintage one.

Like this?
Attached Images
Image 
__________________
FHM Beta Tester
Nickphillies is offline   Reply With Quote
Old 04-08-2022, 01:51 AM   #9
JeffR
FHM Producer
 
JeffR's Avatar
 
Join Date: Apr 2002
Location: Kelowna, BC
Posts: 16,625
The updated add a few new text object options, I've listed them at the bottom of the first post.
JeffR is offline   Reply With Quote
Old 05-02-2022, 03:22 PM   #10
GeeMike
Minors (Rookie Ball)
 
Join Date: Mar 2021
Posts: 43
Hi! Has anyone been able to get the "TEAMNAME" to work? They're not showing up on my cards
GeeMike is offline   Reply With Quote
Old 09-29-2023, 01:56 PM   #11
ThePriceIsRight
Bat Boy
 
Join Date: Feb 2020
Location: Montreal
Posts: 11
would love to have the card design if possible. I'd like to add it to my 1990's games
__________________
A random gamer who loves sports games and the Montreal Canadiens
ThePriceIsRight is offline   Reply With Quote
Old 12-15-2023, 12:01 PM   #12
Greenert11
Major Leagues
 
Greenert11's Avatar
 
Join Date: Feb 2020
Posts: 399
I'm not able to get the TEAM or TEAMNICK options to work. I just copied the same format as the other text options and replaced the title. Not sure what I'm doing wrong.
Greenert11 is offline   Reply With Quote
Old 12-17-2023, 12:26 PM   #13
TheAdamBn
Minors (Triple A)
 
Join Date: Jun 2013
Posts: 292
I have raised this and Jeff said that somethings not working at the game end.

I’m hoping it’s fixed in an upcoming patch
TheAdamBn is offline   Reply With Quote
Old 02-20-2024, 03:26 PM   #14
TheAdamBn
Minors (Triple A)
 
Join Date: Jun 2013
Posts: 292
For those tempted to give it a go themselves, I’ve put together a handy guide

https://youtu.be/lnH27vjGkoU
TheAdamBn is offline   Reply With Quote
Old 02-22-2024, 07:31 PM   #15
BoiledEgg
Bat Boy
 
Join Date: Jan 2024
Posts: 16
Worth it!

This YouTube video is fantastic - check out his other videos as well, well worth the rabbit hole adventure!

Quote:
Originally Posted by TheAdamBn View Post
For those tempted to give it a go themselves, I’ve put together a handy guide

https://youtu.be/lnH27vjGkoU
BoiledEgg is offline   Reply With Quote
Old 02-23-2024, 06:26 AM   #16
TheAdamBn
Minors (Triple A)
 
Join Date: Jun 2013
Posts: 292
Quote:
Originally Posted by BoiledEgg View Post
This YouTube video is fantastic - check out his other videos as well, well worth the rabbit hole adventure!

Awww thanks for that.
TheAdamBn 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 03:14 PM.

 

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