Some notes on V1.1:
First, apologies for the delay releasing. I had planned to release last month but was delayed.
The main new features involve detecting colour clashing. This is important, this mod does NOT get colour information from the DB, they must be identified in the lua file. It is possible to get shirt colour information from the DB and generate statements though.
An example of how it works:
The documentation includes a working example team file, with full annotations. You can find textures for the new kits needed here if you want to try the file yourself.
http://www.soccergaming.com/forums/showpost.php?p=3881503&postcount=48
http://www.soccergaming.com/forums/showpost.php?p=3869543&postcount=2
Try playing Swansea City (Home Shirt) v Swansea City (Home Shirt) to see the alternate sock variant and second choice GK used by the away team due to the clashes.
Users should also note that the algorithm is not perfect. The calculation is based on Euclidian distance between RGB values, colours which are distant enough to not trigger a clash can be visually similar.
More information is in the statements section of the documentation.
This is a feature I have delayed doing for two reasons. The first is I knew it would take a long time to code. The second is it needs colours to be identified for a large number of kits to be useful. I was able to extract shirt colour information from the DB. I got short and sock colours by running some scripts on the short and sock textures, however this information is not completely accurate. I found that short colour was about 98% correct and sock colour about 95%.
I created a spreadsheet with this information so you can inspect this data and make updates. There are formulae to generate the statements (use the sorter scripts to place in the correct file). I have made corrections for Premier League teams. Please also note that this infomation is for the unmodded game so not necessarily correct for any replaced kits in your game (especially originally generic kits). If someone wants to update this spreadsheet with correct colours for other leagues, please post in this thread.
http://www.mediafire.com/download/supgfluktp3ce4o/RM16_Kit_Colour_Identification_Statement_Kit.rar
All assignGKKit statements are now read as new assignGKKitPrecidence statements with randomization enabled. Therefore they function the same, but with clashing colours not chosen if colour identification statements are used.
An easy way to test tournament final graphics is to use useGlobalTournamentGraphics with an in-game custom tournament. Create a 2 team knockout with a single leg final, so the only match is the final. You will see the correct trophy now as well.
I am also aware of a small bug realated to GK gloves and accessories. The specific kit determined by the colour clashing algorithm cannot currently be detected. You can still assign to standard kit types and automatic GK IDs. I have not fixed this bug before the release as it is likely to take a large recode to fix.
If anyone has asked for features which have not been included, please repost.
K-Roq;3907777 said:
How do I go about adding specifickitnumbers to a team that doesn't have a specific kit number? Want to add them for Europa League.
Newcastle utd is the team. Went in an added a couple I made with fifa 15 last year, drag and dropped the files into fifa 16 kitnumbers folder and regenrated. Doesn't work.
specifickitnumbers_13_0_224_1
Do I have to edit the Lua files in order for them to appear?
Thanks in advance
Drag and drop is still possible. Do you have any copyTournamentNameAndNumberAssets statements in your general.lua? Also, just to check you know, that file will only work where white numbers are used.