Jump to content

2D Kits - XML problem


robbro7

Recommended Posts

Hi all. Hopefully this will be a straightforward issue to fix. I downloaded a 2D kit superpack and the kits for the Superettan - which happens to be the division I'm managing in - are the only kits that don't show up. I looked at the XML files and they're all different to the Superettan one. I've already read the thread about fixing XMLs re: special years and such, but, to my amateur eyes, this is just a config file that needs re-writing. This is what it looks like atm:

<record>	<!-- resource manager options -->	<!-- dont preload anything in 

this folder -->	<boolean id="preload" value="false"/>	<!-- turn off auto mapping -->	

<boolean id="amap" value="false"/>	<!-- logo mappings -->	<!-- the following XML 

maps pictures inside this folder into other positions			 in the resource 

system, which allows this folder to be dropped into any			 place in the 

graphics folder and still have the game pick up the graphics			 files 

from the correct places	-->	<list id="maps">		<!-- Auto generated by 

fmXML -->		<record from="angelholm_away" 

to="graphics/pictures/person/4300347/portrait"/>		<record 

from="angelholm_home" to="graphics/pictures/person/4300347/portrait"/>		<record 

from="assyriska_away" to="graphics/pictures/person/2150/portrait"/>		<record 

from="assyriska_home" to="graphics/pictures/person/2150/portrait"/>		<record 

from="atvidaberg_away" to="graphics/pictures/person/1841/portrait"/>		<record 

from="atvidaberg_home" to="graphics/pictures/person/1841/portrait"/>		<record 

from="falkenberg_away" to="graphics/pictures/person/1788/portrait"/>		<record 

from="falkenberg_home" to="graphics/pictures/person/1788/portrait"/>		<record 

from="jonkoping_away" to="graphics/pictures/person/6410547/portrait"/>		<record 

from="jonkoping_home" to="graphics/pictures/person/6410547/portrait"/>		<record 

from="landskrona_away" to="graphics/pictures/person/1811/portrait"/>		<record 

from="landskrona_home" to="graphics/pictures/person/1811/portrait"/>		<record 

from="ljungskile_away" to="graphics/pictures/person/2175/portrait"/>		<record 

from="ljungskile_home" to="graphics/pictures/person/2175/portrait"/>		<record 

from="mjallby_away" to="graphics/pictures/person/1817/portrait"/>		<record 

from="mjallby_home" to="graphics/pictures/person/1817/portrait"/>		<record 

from="norrkoping_away" to="graphics/pictures/person/1806/portrait"/>		<record 

from="norrkoping_home" to="graphics/pictures/person/1806/portrait"/>		<record 

from="qviding_away" to="graphics/pictures/person/2176/portrait"/>		<record 

from="qviding_home" to="graphics/pictures/person/2176/portrait"/>		<record 

from="sirius_away" to="graphics/pictures/person/2164/portrait"/>		<record 

from="sirius_home" to="graphics/pictures/person/2164/portrait"/>		<record 

from="sundsvall_away" to="graphics/pictures/person/1791/portrait"/>		<record 

from="sundsvall_home" to="graphics/pictures/person/1791/portrait"/>		<record 

from="syrianska_away" to="graphics/pictures/person/2658/portrait"/>		<record 

from="syrianska_home" to="graphics/pictures/person/2658/portrait"/>		<record 

from="trollhattan_away" to="graphics/pictures/person/2668/portrait"/>		<record 

from="trollhattan_home" to="graphics/pictures/person/2668/portrait"/>		<record 

from="vasalunds_away" to="graphics/pictures/person/8103641/portrait"/>		<record 

from="vasalunds_home" to="graphics/pictures/person/8103641/portrait"/>		<record 

from="vasby_away" to="graphics/pictures/person/8112917/portrait"/>		<record 

from="vasby_home" to="graphics/pictures/person/8112917/portrait"/>	</list></record>

Is it obvious from that what needs fixing or is more info required?

Ta.

Link to post
Share on other sites

Whoever made that XML file has made a mistake.

An entry for a 2D kit should be in the form:

Home Kit

<record from="FILE_NAME" to="graphics/pictures/team/UNIQUE_ID/kits/home"/>

Away Kit

<record from="FILE_NAME" to="graphics/pictures/team/UNIQUE_ID/kits/away"/>

Third Kit

<record from="FILE_NAME" to="graphics/pictures/team/UNIQUE_ID/kits/third"/>

For some reason that config file is mapping the kits to people! I'm not sure if the unique ID's are still correct but if they are all you'll need to do to fix things is change the entries into the above format. So for example:

<record from="angelholm_home" to="graphics/pictures/person/4300347/portrait"/>

<record from="angelholm_away" to="graphics/pictures/person/4300347/portrait"/>

would become

<record from="angelholm_home" to="graphics/pictures/team/4300347/kits/home"/>

<record from="angelholm_away" to="graphics/pictures/team/4300347/kits/away"/>

Link to post
Share on other sites

Cheers, mate. Going through the config file and entering the code in that form has fixed every club's kits - bar Angelholm, which is a bit weird. It has the correct ID and code so I dunno why it's not working. I've also found that some nations' kits don't appear in the game either, although the majority have their kits intact... Any ideas?

Cheers again.

EDIT: While I'm here, could I be cheeky and ask another question...

Kits on the Team Information screen - I managed to get the in-match kits to appear at an agreeable size but the XML I downloaded to fix the Team Information screen made the screen go askew instead of making the kits look bigger. I've had a search but I can't find anything specific to this issue.

Thanks again. Again.

Link to post
Share on other sites

What team are you a manager of? Sorry not on topic but you´re the first swedish manager i´ve seen since starting to play FM2010. :)

I manage Trollhättan for now, impossible to sign any good players and economy shot to hell.

Well, i kicked all the leaders so maybe that´s one reason why.

Link to post
Share on other sites

I got the name of the division wrong: I was managing GAIS in the Allsvenskan, not the Superettan. I stupidly wrote Superettan because Angelholm's kits were in the Superettan folder. As for my game, I lasted four and a half years, took four seasons to win the league - one season longer than I'd planned - and last night I left in the middle of the fifth to take the Birmingham job in the Championship.

Link to post
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...