|
|
#1 (permalink) |
|
Administrator
Join Date: Jun 2002
Location: Hollern/Stade/Germany
Posts: 7,204
Thanks: 323
Thanked 2,182x in 757 posts
|
Modders, please read: new feature in OOTP14
OOTP will now look for years in file names of team logos, jerseys and ballcaps. Whenever OOTP looks for one of these files for a team, it will check the source folders for these file names. OOTP looks for these files when it needs to display a logo or when it creates a player picture. If OOTP found a file, it will be copied to the league folder and also cached in memory for later use. But on every start of the game OOTP will look again. Additionally, OOTP will reset the in-memory cache everytime when the simulation reached January 1st.
The following table shows where OOTP looks for files and where it copies the found file: Source folders -> league folder & file name Team logos: /data/logos or user defined logos folder -> /"league name".lg/news/html/images/team_logos/"team name_nick name".png Team jerseys: /data/jerseys or user defined jerseys folder -> /"league name".lg/jerseys/jerseys_"team name_nick name".png Team ball caps: /data/ballcaps or user defined ballcaps folder -> /"league name".lg/ballcaps/caps_"team name_nick name".png The default names for these files are determind as follows:
So for example the files for the St. Louis Cardinals would be st_louis_cardinals.png (logo file), jerseys_st_louis_cardinals.png and caps_st_louis_cardinals.png OOTP has a neat, little-known capability, where you can use the logo file name to define a team's colors too. This means that just by loading a team logo, you can avoid all of that manual setup! Here's how it works. A logo file name might look something like this: boston_cannibals.png You can append up to eight different values to the end of the file name, separated by underscores ("_"), that tell the game what team colors you want to use. The appended values are 9 digits long, and represent the RGB (red, green, and blue) color codes for the color you wish to use. For example, you could do something like this: boston_cannibals_204102050.png This means that any team using the Boston Cannibals' logo should have a team background color of Red=204, Green=102, and Blue=050 (which is kind of orange). You can repeat this process for up to eight values, as follows: Team background color Team text color Team secondary color (not used) Ballcap main color Ballcap visor color Jersey main color Jersey secondary color Jersey pin stripe color Alternately, if it's easier, you can also use the hexadecimal color codes, so a file name like this is also valid: augusta_greenJackets_ffffff_00372A.png. In OOTP 14, you can also add years to the logo, jerseys and caps files. These are the correct formats: team name_nick name.png team name_nick name_1111.png team name_nick name_1111_any text or color codes.png team name_nick name_1111-2222.png team name_nick name_1111-2222_any text or color codes.png 1111 = first year 2222 = second year (should be greater than first year) For example there are the following files in the /logos folder: boston_cannibals.png boston_cannibals_1871-2008.png boston_cannibals_2008-2010.png boston_cannibals_2010-2011.png boston_cannibals_2011.png If the current game year in simulation is 2000, OOTP would use the file boston_cannibals_1871-2008.png. In game year 2009, OOTP would use boston_cannibals_2008-2010.png. In game year 2010, OOTP would use boston_cannibals_2010-2011.png. In game year 2011, OOTP would use boston_cannibals_2011.png. In game year 2012, OOTP would use boston_cannibals_2011.png as well. The file names can also contain color codes and notes: boston_cannibals_2010-2011_ffffff_00372A_some commentary.png
__________________
Andreas Raht andreas@ootpdevelopments.com Out of the Park Developments Out of the Park Baseball Development Team Title Bout Development Team Last edited by Andreas Raht; 02-11-2013 at 06:11 AM. |
|
|
|
| 42 thanks for this post: | ashantewarrier (02-21-2013), BigbyWolf (03-29-2013), Biggio509 (02-18-2013), BoofBonser26 (02-22-2013), Bowtie (02-15-2013), bwburke94 (05-17-2013), Caporegime (02-12-2013), cavebutter (02-15-2013), cephasjames (02-11-2013), Cras (02-25-2013), Cryomaniac (02-11-2013), ctorg (04-14-2013), Dark Horse (02-12-2013), Déjà Bru (02-11-2013), DreamTeams (02-11-2013), edm (02-15-2013), eriqjaffe (02-15-2013), Gern44 (04-19-2013), GMLoophole (02-12-2013), Jabez54 (02-12-2013), jotro (02-12-2013), justafan (02-11-2013), kingcharlesxii (02-11-2013), klavier (02-11-2013), LastMarlinsFan (02-17-2013), Layton is my Homeboy (02-12-2013), legofarley (03-04-2013), Leo_The_Lip (02-11-2013), No Pepper (02-11-2013), OBSL Commish (02-11-2013), omniart (02-13-2013), ootp3to6 (02-11-2013), ootpFox07 (02-11-2013), RANGER11JP (04-21-2013), Riverdome (02-11-2013), scuffleball (02-24-2013), SF_49er (02-11-2013), shawa666 (02-11-2013), The Game (02-11-2013), thehef (02-13-2013), Tycobbler (02-11-2013), Winnipeg59 (02-11-2013) |
|
|
#3 (permalink) |
|
Major Leagues
Join Date: Apr 2010
Posts: 475
Thanks: 369
Thanked 151x in 90 posts
Infractions: 0/1 (1)
|
Andreas, I love you.
Now, please add the ability to set home and away uniforms. Please. Kthxbai. Last edited by shawa666; 02-11-2013 at 07:24 AM. |
|
|
|
| 6 thanks for this post: | ashantewarrier (02-21-2013), Cryomaniac (02-11-2013), DreamTeams (02-11-2013), Fyrestorm3 (02-15-2013), LloydLungs (02-15-2013), The Wolf (02-15-2013) |
|
|
#4 (permalink) |
|
Hall Of Famer
Join Date: Jan 2002
Posts: 3,699
Thanks: 10
Thanked 125x in 82 posts
|
If i understand correctly the logos for a team will automatically change if the logo has been changed. I hope that is correct as i have historical logos organized from 1872-2011. I have been copying and pasting each year.
|
|
|
|
|
|
#5 (permalink) |
|
Administrator
Join Date: Jun 2002
Location: Hollern/Stade/Germany
Posts: 7,204
Thanks: 323
Thanked 2,182x in 757 posts
|
That is correct, if the naming of the logo files is done correctly.
__________________
Andreas Raht andreas@ootpdevelopments.com Out of the Park Developments Out of the Park Baseball Development Team Title Bout Development Team |
|
|
|
|
|
#6 (permalink) |
|
All Star Starter
Join Date: Apr 2009
Location: LawnGuy Land
Posts: 1,440
Thanks: 270
Thanked 422x in 271 posts
|
I just copied and pasted your post into a text file for storage in my archives. This way, when a question along these lines arises in the forum in the not-too-distant future, I can call it up, copy and paste it into my response, and appear to be a genius! Works like a charm!
__________________
. - Bru |
|
|
|
| 4 thanks for this post: |
|
|
#8 (permalink) |
|
Hall Of Famer
Join Date: Jun 2003
Location: Retired defloration-maker living in Myrtle Beach, SC
Posts: 7,701
Thanks: 157
Thanked 423x in 348 posts
|
Does this also mean that when looking at the history, the historical logo will be what is displayed?
|
|
|
|
| 2 thanks for this post: | cephasjames (02-11-2013), Cryomaniac (02-11-2013) |
|
|
#9 (permalink) |
|
Hall Of Famer
Join Date: Feb 2012
Location: Inside The Game
Posts: 2,602
Thanks: 2,226
Thanked 512x in 450 posts
Infractions: 0/1 (1)
|
Gonna love this feature. So now I can do a history of baseball using No Pepper, Compilation and reds1 uniforms and Justafan logos and with the correct years I wont have to manually make changes anymore.
For me this will be the single reason why I buy 14 on release day. I had planned on waiting til the bugs and updates get worked out. |
|
|
|
| Thank you for this post: | Leo_The_Lip (02-11-2013) |
|
|
#10 (permalink) |
|
All Star Starter
Join Date: Jan 2003
Location: Milwaukee, WI
Posts: 1,120
Thanks: 65
Thanked 354x in 140 posts
|
Looks like I need to do some renaming...Thank you!!!
|
|
|
|
| 6 thanks for this post: | ashantewarrier (02-21-2013), cephasjames (02-11-2013), justafan (02-11-2013), silvam14 (02-11-2013), Sparrow (02-11-2013), Tycobbler (02-11-2013) |
|
|
#11 (permalink) |
|
All Star Reserve
Join Date: Mar 2006
Location: The People's Republic of Yankeestan
Posts: 730
Thanks: 39
Thanked 50x in 27 posts
|
Awesome new feature. It'll be a huge time saver when running historical leagues. I'd love to see a similar option available for stadiums as well.
|
|
|
|
|
|
#12 (permalink) |
|
All Star Starter
Join Date: Mar 2002
Location: Oklahoma
Posts: 1,821
Thanks: 45
Thanked 503x in 261 posts
|
Already got all the MLB historical logos uniforms and ballcaps renamed. This is gonna be awesome.
Any word on doing this with the photos directory also? Once the photo guys get this set up for their stuff that will be all the better!
__________________
OOTP MODS: Historical Face Gen Project, Spritze/Gambo Database, OOTP Stadium Chart and Ballpark Images, MLB Compiled Uniform & Logo Pack available at... http://www.ootpmods.com Last edited by Gambo; 02-12-2013 at 06:45 PM. |
|
|
|
| 4 thanks for this post: | ashantewarrier (02-21-2013), cody8200 (02-12-2013), Layton is my Homeboy (02-15-2013), old timer (02-28-2013) |
|
|
#16 (permalink) | |
|
Major Leagues
Join Date: Apr 2006
Location: Winnipeg, Mb
Posts: 429
Thanks: 128
Thanked 243x in 78 posts
|
Quote:
You indicate that in 2010, the game will use the 2010-2011 logo (and not the 2008-2010 logo). I assume that the reason for this is that the game has to be flexible enough to handle leagues that start in one year and end in the next (for example, a winter league that might start in November and end in February). So, it seems to me that the game is interpreting the "2010-2011" range as meaning "any season that starts in 2010". By contrast, a range that is more than one year long (for example, 2010-2012), would be interpreted as "any season that starts in 2010 or 2011", but not 2012. Is that accurate, or am I misunderstanding the mechanics of the naming convention? |
|
|
|
|
|
|
#17 (permalink) |
|
Administrator
Join Date: Jun 2002
Location: Hollern/Stade/Germany
Posts: 7,204
Thanks: 323
Thanked 2,182x in 757 posts
|
OOTP 14 looks for a matching logo for each team whenever you start the game and a logo is required first time. For example you start OOTP, load a league which game date is 2010/08/20. Then you open a team screen which has the logo in the upper left corner. The game date's year at that moment will be taken to determine which logo is the correct one.
So currently OOTP 14 does not care about season start or season end.
__________________
Andreas Raht andreas@ootpdevelopments.com Out of the Park Developments Out of the Park Baseball Development Team Title Bout Development Team |
|
|
|
|
|
#18 (permalink) |
|
Banned
Join Date: Apr 2006
Location: Playing the inside game
Posts: 763
Thanks: 35
Thanked 100x in 60 posts
Infractions: 0/1 (4)
|
This is a very nice feature. Might I suggest you add ballparks? Then OOTP could look for a ballpark that matches the name of the one the team uses and automatically import it.
|
|
|
|
| 5 thanks for this post: | Cryomaniac (02-18-2013), David Watts (02-18-2013), ootpFox07 (02-19-2013), Sparrow (02-20-2013), thehef (02-19-2013) |
|
|
#19 (permalink) |
|
Administrator
Join Date: Jun 2002
Location: Hollern/Stade/Germany
Posts: 7,204
Thanks: 323
Thanked 2,182x in 757 posts
|
Done!
__________________
Andreas Raht andreas@ootpdevelopments.com Out of the Park Developments Out of the Park Baseball Development Team Title Bout Development Team |
|
|
|
| 9 thanks for this post: | ashantewarrier (02-21-2013), BoofBonser26 (02-22-2013), cephasjames (02-20-2013), cody8200 (02-20-2013), Corsairs (02-20-2013), Cryomaniac (02-20-2013), GMLoophole (03-13-2013), Sparrow (02-20-2013), The Game (02-20-2013) |
|
|
#20 (permalink) |
|
Hall Of Famer
Join Date: Jun 2004
Posts: 4,876
Thanks: 2,022
Thanked 1,891x in 833 posts
|
Whoa! What?
Really? Awesome! EDIT: How will the naming work with this? jerseys_boston_red_sox_home_2008-2012.png? Last edited by cephasjames; 02-20-2013 at 02:39 PM. |
|
|
|
| Thank you for this post: | Cryomaniac (02-20-2013) |
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|