The Danish
Reserve Team
I'm having some problems assinging kitfont and numbers using the mod.
I'm using this code:
assignRandomGKKit(269,0,{2,11,12,13})
assignRandomGKKit(269,1,{2,11,12,13})
assignKitDetails(269,0,269,0xFF1A2648,269,13,1,9)
assignKitDetails(269,1,269,0xFFCCF04C,269,15,1,7)
assignKitDetails(269,2,269,0xFF1A2648,269,13,1,0)
assignKitDetails(269,11,269,0xFF1A2648,269,13,1,0)
assignKitDetails(269,12,269,0xFF232323,269,2,1,0)
assignKitDetails(269,13,269,0xFFDCDCDC,269,1,1,7)
And I have the following files in the "sceneassets"-folder:
\kit:
kit_269_0_0.rx3 , kit_269_1_0.rx3 , kit_269_2_0.rx3 , kit_269_11_0.rx3 , kit_269_12_0.rx3 , kit_269_13_0.rx3
\kitnumbers:
kitnumbers_269_1.rx3 , kitnumbers_269_2.rx3 , kitnumbers_269_13.rx3 , kitnumbers_269_15.rx3
\jerseyfonts:
font_269.ttf
The game crashes as soon as I'm going to select the team kits in the menu. I don't see the problem, if someone does, please let me know, thanks
EDIT:
I solved the problem my self Apperently the problem was the kitnumbers which I had created using CM12, but there was something wrong with them, so instead I used CM to export a working kitnumber set and replaced the textures using Texture Editor and voila, everything works perfectly!
I'm using this code:
assignRandomGKKit(269,0,{2,11,12,13})
assignRandomGKKit(269,1,{2,11,12,13})
assignKitDetails(269,0,269,0xFF1A2648,269,13,1,9)
assignKitDetails(269,1,269,0xFFCCF04C,269,15,1,7)
assignKitDetails(269,2,269,0xFF1A2648,269,13,1,0)
assignKitDetails(269,11,269,0xFF1A2648,269,13,1,0)
assignKitDetails(269,12,269,0xFF232323,269,2,1,0)
assignKitDetails(269,13,269,0xFFDCDCDC,269,1,1,7)
And I have the following files in the "sceneassets"-folder:
\kit:
kit_269_0_0.rx3 , kit_269_1_0.rx3 , kit_269_2_0.rx3 , kit_269_11_0.rx3 , kit_269_12_0.rx3 , kit_269_13_0.rx3
\kitnumbers:
kitnumbers_269_1.rx3 , kitnumbers_269_2.rx3 , kitnumbers_269_13.rx3 , kitnumbers_269_15.rx3
\jerseyfonts:
font_269.ttf
The game crashes as soon as I'm going to select the team kits in the menu. I don't see the problem, if someone does, please let me know, thanks
EDIT:
I solved the problem my self Apperently the problem was the kitnumbers which I had created using CM12, but there was something wrong with them, so instead I used CM to export a working kitnumber set and replaced the textures using Texture Editor and voila, everything works perfectly!