by slybelle1 » Mon Aug 10, 2020 4:49 am
If you don't want the users of the mod to manually assign custom fields to all the teams, you can create you mod in a way that automatically does that each time a new league is created.
1) Put your custom field in the c:\Program Files (x86)\Wolverine Studios\Draft Day Sports - Pro Football 2020\Data\images\logos folder. For instance name it something like carolina_cf.jpg
2) In the teams.xml file within the \Documents\Wolverine Studios\DDSPF 2020 folder, find the carolina team line you would to add it to. Then put an XML tag like the following CustomField=Carolina_cf.jpg". Within the teams.xml file, there are multiple league configurations. Make sure you edit the right team under the right league configuration you want to use (i.e. modern/present).
Example Line:
<Team ID="25" City="Carolina" Mascot="Panthers" Abbreviation="Car" Logo="carolina.png" LogoMidfield="carolina_mf.png" LogoSmall="carolina_s.png" CustomField="carolina_cf.jpg" LastYearStandings="1" Color="#009FD7" Color2="#000000"/>
3) Go into the game and create your new league. The custom field aill automatically be assigned to the team. Of course you would want to do this for all the remaining teams as well.