Home
FM Discord
YouTube Channel
FM24 Data Update
FM26 Data Update
FM26 OOP Player Roles
Downloads
Graphics
Challenges
Blog
Forums
Videos
Tactics
FM26
FM26 Real Name Fix
FM26 Shortlists
FM26 DB
FM26 Men's Wonderkids
FM26 Women's Wonderkids
FM26 Men's Club Finances
FM26 Women's Club Finances
FM24 Update
FM24
FM23
FM Saves
FM Database
FM Guides
Installation Guides
Records
Search
#285045 FMC/FMT Stadium Superpack for FM17 [New pack released for FM17]
Andrew Haines
..the smiley at the end of my code is supposed to be a speak mark and a closing bracket.
#285044 FMC/FMT Stadium Superpack for FM17 [New pack released for FM17]
Andrew Haines
The way I do it is to use Excel functions.
If I have the team name in cell A1, the team ID in cell B2 and stadium code in cell C3 a fairly straightforward bit of coding gives the output for the config file.
Team Screens
=CONCATENATE("<record from=",CHAR(34),A1,"-team",CHAR(34)," to=",CHAR(34),"graphics/pictures/team/",B1,"/background",CHAR(34),"/>"
outputs as for example
<record from="arsenal-team" to="graphics/pictures/team/602/background"/>
[/b]Stadium Screens[/b]
CONCATENATE("<record from=",CHAR(34),A1,"-stad",CHAR(34)," to=",CHAR(34),"graphics/pictures/stadium/",C2,"/stadium",CHAR(34),"/>"
outputs as for example
<record from="arsenal-stad" to="graphics/pictures/stadium/5114336/stadium"/>
It's just a matter of filling in the team names and ID numbers and copying the formula down. The code is fairly similar for saving to other club/stadium/international screens.