Hershie Posted February 15, 2010 Share Posted February 15, 2010 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 More sharing options...
Hershie Posted February 15, 2010 Author Share Posted February 15, 2010 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: 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 More sharing options...
michaeltmurrayuk Posted February 15, 2010 Share Posted February 15, 2010 Adding the year you are in as per the sticky thread should fix the problem. Link to post Share on other sites More sharing options...
Hershie Posted February 15, 2010 Author Share Posted February 15, 2010 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 More sharing options...
Hershie Posted February 15, 2010 Author Share Posted February 15, 2010 It appears to work this time around. Don't know why it didn't work with the year thing last time. Thanks a lot Michael, and my apologies for misunderstanding! Out of interest, do I need to do /2009/2010 /2011 etc for it to work in the long term? Link to post Share on other sites More sharing options...
michaeltmurrayuk Posted February 16, 2010 Share Posted February 16, 2010 Yeah you'll need to update the year each time you get into a new season, for some reason when you edit the kits in the editor it changes the way they are stored so you need to add the years. Link to post Share on other sites More sharing options...
jordanl Posted February 19, 2010 Share Posted February 19, 2010 do you have to put /2009 /2010 /2011 (insde the config file) Link to post Share on other sites More sharing options...
michaeltmurrayuk Posted February 20, 2010 Share Posted February 20, 2010 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 More sharing options...
jordanl Posted February 20, 2010 Share Posted February 20, 2010 ah right cheers that might help Link to post Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.