Jump to content

2D kits problem..


Hershie

Recommended Posts

Have I missed something very obvious here?

I've created a whole bunch of 2D kits for teams in Cyprus but only some are displaying in game.

None of the kits have a 'year' set in the editor.

An example of the issue:

I have three files (home, away and third) named 450_home.png, 450_away.png and 450_third.png, ie. the kits for Anorthosis Famagusta.

The XML file is:

<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">

<!-- Created by Hershie -->

<record from="450_home" to="graphics/pictures/team/450/kits/home"/>

<record from="450_away" to="graphics/pictures/team/450/kits/away"/>

<record from="450_third" to="graphics/pictures/team/450/kits/third"/>

</list>

</record>

Only the home kit is appearing.

I have disabled 'use skin cache' and have both reloaded the skin and restarted the game on numerous occasions.

Any idea what's wrong?

:confused:

Edit: Could it be I need to replace the 3D kits with 2D initially? If so, why would one appear? But are the base kits 2D anyway? hmm..

Link to post
Share on other sites

Could it be that any kits edited/created in the editor don't work as their usual ID?

I've changed a number and added third kits etc as the original data was inaccurate. Only the kits I left unchanged seem to work..

Edit: Certainly seems to be the case. Very annoying. :mad: :mad:

Also appears that any kit I've changed the style for doesn't work, but those I've recoloured are still working okay. I think. Weird. :(

Any workaround? Spent weeks on these.

Link to post
Share on other sites

Is that not only for kits with a year set in the editor? None of the kits concerned have a year set, as I've already stated, and I've also previously tried the method anyway.

:confused:

I'll give it another go anyway. I've recreated the XML from scratch too.

Link to post
Share on other sites

It needs to be done like this:

<record from="602" to="graphics/pictures/team/602/kits/home/2009"/>
<record from="602" to="graphics/pictures/team/602/kits/home/2010"/>
<record from="602" to="graphics/pictures/team/602/kits/home/2011"/>
<record from="602" to="graphics/pictures/team/602/kits/home/2012"/>
etc...

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...