OOTP Developments Forums

OOTP Developments Forums (https://forums.ootpdevelopments.com//index.php)
-   OOTP Mods (https://forums.ootpdevelopments.com//forumdisplay.php?f=3693)
-   -   New Feature: BB Cards by Year (https://forums.ootpdevelopments.com//showthread.php?t=251474)

Matt Arnold 03-06-2015 03:39 AM

New Feature: BB Cards by Year
 
New in OOTP 16, which may be of interest to modders, is the ability to use different baseball card templates depending on the year. How it works is as follows:

When we search for a bb_card to use, say for the hall of fame, our default file is hof.xml, found in the bb_card directory. However, if you have the following files in your directory:
hof.xml
hof_1995.xml
hof_1980-1990.xml
hof_1985.xml

Then instead of using the base value always, in 1985 we will use the 1985 file, in 1995 we will use the 1995 file, and for every other year in 1980-1990 (inclusive), we will use the 1980-1990 file.

There is no other changes needed to the xml files. All those files above may point to the same image files, or different ones. They can use the same text or not. The only difference is when we search for what card to use in game.

I'm no modding expert, but I hope that this will give you guys some fun work to do, creating cards for every year :) This should work for any cards (default, all_star, hof, etc..). Enjoy!

darkcloud4579 03-06-2015 08:47 AM

Thanks.

Gambo 03-06-2015 09:06 AM

This is a cool feature! So you can have all your templates in one directory and it will switch through automatically each season.

I think some of the template mods will need to be gone through to make sure there are no duplicate file names since all the files will be in the images directory.

Also, if you do this modders or users may want to create or simply copy and rename the default for all the award ones so there is no gap in years.

Habsfan18 03-14-2015 08:06 PM

Awesome!

Hankyu Braves 03-16-2015 10:35 AM

Quote:

Originally Posted by Matt Arnold (Post 3822165)

There is no other changes needed to the xml files. All those files above may point to the same image files, or different ones. They can use the same text or not. The only difference is when we search for what card to use in game.

If I understand you correctly, it means that starting with OOTP16 we can also have 2 (or more) sets of cards for different leagues at the same time, with different award names and all that?

Bigrod 03-20-2015 06:16 AM

Quote:

Originally Posted by Hankyu Braves (Post 3827359)
If I understand you correctly, it means that starting with OOTP16 we can also have 2 (or more) sets of cards for different leagues at the same time, with different award names and all that?

Nope. It's set to use a different card set every year if they're named correctly. Not more than 1 the same year. However, you can use as many as you want if you manually create them.

pstrickert 03-20-2015 11:51 AM

1 Attachment(s)
Love this new feature. '74 Red Sox:

pstrickert 03-20-2015 11:57 AM

1 Attachment(s)
And one of my favorite teams:

Hankyu Braves 03-21-2015 12:39 AM

Quote:

Originally Posted by Bigrod (Post 3829832)
Nope. It's set to use a different card set every year if they're named correctly. Not more than 1 the same year. However, you can use as many as you want if you manually create them.

OK, thanks. Really disappointed with OOTP16 now... ;)
This is the feature I've been looking forward to for several years now.


All times are GMT -4. The time now is 07:45 AM.

Powered by vBulletin® Version 3.8.10
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright © 2020 Out of the Park Developments