Page 1 of 1
New IG_weapon_ are not recognized
Posted: Wed Nov 04, 2020 9:05 pm
by Nomada_Firefox
I have added five new weapon icons as bmp 32bits and they are not recognized by the game.
I have put them inside mods\"my mod"\Data\UI\Textures\ folder.
And I believe that it does not detect other files as the IG_Rank or SLDR_portrait_ added for the new UK faction. I have not added Canadians because the voice and soldiers would be the same.
RE: New IG_weapon_ are not recognized
Posted: Thu Nov 05, 2020 1:36 pm
by SteveMcClaire
Hi Nomada_Firefox -- I will look at this but it may be a few days.
RE: New IG_weapon_ are not recognized
Posted: Thu Nov 05, 2020 9:26 pm
by Nomada_Firefox
ORIGINAL: Steve McClaire
Hi Nomada_Firefox -- I will look at this but it may be a few days.
I can wait.
RE: New IG_weapon_ are not recognized
Posted: Thu Nov 19, 2020 4:26 pm
by SteveMcClaire
Hi Nomada_Firefox,
I just tried this out and it seems to be working.
I created a graphic 'IG_WEAPON_70.BMP' and placed it in Documents\My Games\CloseCombatTheBloodyFirst\Mods\TESTMOD\DATA\UI\TEXTURES\ folder.
I then created a modded weapons.txt in Documents\My Games\CloseCombatTheBloodyFirst\Mods\TESTMOD\DATA\Base\Weapons. In this weapons.txt I changed the icon value (field 2) for the M1 Garand to 70. The mod-specified BMP was then used.
If you're still seeing this let me know (and give me a link to your latest mod) and I can try troubleshooting the mod itself.
Steve
RE: New IG_weapon_ are not recognized
Posted: Sat Nov 21, 2020 12:10 pm
by Nomada_Firefox
Umm I see the problem. The Alpha.
What about the ranks for new nation 3?
RE: New IG_weapon_ are not recognized
Posted: Mon Nov 23, 2020 4:39 am
by Nomada_Firefox
This is my ranks file.
Code: Select all
6
0 0 IDS_RANK000 IDS_RANK001 IDS_RANK002 IDS_RANK003 IDS_RANK004 IDS_RANK005 IDS_RANK006 IDS_RANK007 IDS_RANK008 IDS_RANK009 IDS_RANK0010 IDS_RANK0011 IDS_RANK0012 IDS_RANK0013 IDS_RANK0014
1 0 IDS_RANK100 IDS_RANK101 IDS_RANK102 IDS_RANK103 IDS_RANK104 IDS_RANK105 IDS_RANK106 IDS_RANK107 IDS_RANK108 IDS_RANK109 IDS_RANK1010 IDS_RANK1011 IDS_RANK1012 IDS_RANK1013 IDS_RANK1014
2 0 IDS_RANK200 IDS_RANK201 IDS_RANK202 IDS_RANK203 IDS_RANK204 IDS_RANK205 IDS_RANK206 IDS_RANK207 IDS_RANK208 IDS_RANK209 IDS_RANK2010 IDS_RANK2011 IDS_RANK2012 IDS_RANK2013 IDS_RANK2014
1 4 IDS_RANK140 IDS_RANK141 IDS_RANK142 IDS_RANK143 IDS_RANK144 IDS_RANK145 IDS_RANK146 IDS_RANK147 IDS_RANK148 IDS_RANK149 IDS_RANK1410 IDS_RANK1411 IDS_RANK1412 IDS_RANK1413 IDS_RANK1414
1 2 IDS_RANK120 IDS_RANK121 IDS_RANK122 IDS_RANK123 IDS_RANK124 IDS_RANK125 IDS_RANK126 IDS_RANK127 IDS_RANK128 IDS_RANK129 IDS_RANK1210 IDS_RANK1211 IDS_RANK1212 IDS_RANK1213 IDS_RANK1214
3 0 IDS_RANK300 IDS_RANK301 IDS_RANK302 IDS_RANK303 IDS_RANK304 IDS_RANK305 IDS_RANK306 IDS_RANK307 IDS_RANK308 IDS_RANK309 IDS_RANK3010 IDS_RANK3011 IDS_RANK3012 IDS_RANK3013 IDS_RANK3014
0 0 IDS_SHORT_RANK000 IDS_SHORT_RANK001 IDS_SHORT_RANK002 IDS_SHORT_RANK003 IDS_SHORT_RANK004 IDS_SHORT_RANK005 IDS_SHORT_RANK006 IDS_SHORT_RANK007 IDS_SHORT_RANK008 IDS_SHORT_RANK009 IDS_SHORT_RANK0010 IDS_SHORT_RANK0011 IDS_SHORT_RANK0012 IDS_SHORT_RANK0013 IDS_SHORT_RANK0014
1 0 IDS_SHORT_RANK100 IDS_SHORT_RANK101 IDS_SHORT_RANK102 IDS_SHORT_RANK103 IDS_SHORT_RANK104 IDS_SHORT_RANK105 IDS_SHORT_RANK106 IDS_SHORT_RANK107 IDS_SHORT_RANK108 IDS_SHORT_RANK109 IDS_SHORT_RANK1010 IDS_SHORT_RANK1011 IDS_SHORT_RANK1012 IDS_SHORT_RANK1013 IDS_SHORT_RANK1014
2 0 IDS_SHORT_RANK200 IDS_SHORT_RANK201 IDS_SHORT_RANK202 IDS_SHORT_RANK203 IDS_SHORT_RANK204 IDS_SHORT_RANK205 IDS_SHORT_RANK206 IDS_SHORT_RANK207 IDS_SHORT_RANK208 IDS_SHORT_RANK209 IDS_SHORT_RANK2010 IDS_SHORT_RANK2011 IDS_SHORT_RANK2012 IDS_SHORT_RANK2013 IDS_SHORT_RANK2014
1 4 IDS_SHORT_RANK140 IDS_SHORT_RANK141 IDS_SHORT_RANK142 IDS_SHORT_RANK143 IDS_SHORT_RANK144 IDS_SHORT_RANK145 IDS_SHORT_RANK146 IDS_SHORT_RANK147 IDS_SHORT_RANK148 IDS_SHORT_RANK149 IDS_SHORT_RANK1410 IDS_SHORT_RANK1411 IDS_SHORT_RANK1412 IDS_SHORT_RANK1413 IDS_SHORT_RANK1414
1 2 IDS_SHORT_RANK120 IDS_SHORT_RANK121 IDS_SHORT_RANK122 IDS_SHORT_RANK123 IDS_SHORT_RANK124 IDS_SHORT_RANK125 IDS_SHORT_RANK126 IDS_SHORT_RANK127 IDS_SHORT_RANK128 IDS_SHORT_RANK129 IDS_SHORT_RANK1210 IDS_SHORT_RANK1211 IDS_SHORT_RANK1212 IDS_SHORT_RANK1213 IDS_SHORT_RANK1214
3 0 IDS_SHORT_RANK300 IDS_SHORT_RANK301 IDS_SHORT_RANK302 IDS_SHORT_RANK303 IDS_SHORT_RANK304 IDS_SHORT_RANK305 IDS_SHORT_RANK306 IDS_SHORT_RANK307 IDS_SHORT_RANK308 IDS_SHORT_RANK309 IDS_SHORT_RANK3010 IDS_SHORT_RANK3011 IDS_SHORT_RANK3012 IDS_SHORT_RANK3013 IDS_SHORT_RANK3014
0 0 1 3 3 4 5 -1 -1 -1 -1 10 11 12 13 14 -1
1 0 2 3 3 4 6 6 7 -1 -1 10 11 12 13 14 -1
2 0 1 2 3 4 5 -1 -1 -1 -1 10 11 12 13 14 -1
1 4 2 3 3 4 6 6 7 -1 -1 10 11 12 13 14 -1
1 2 2 3 3 4 6 6 7 -1 -1 10 11 12 13 14 -1
3 0 1 3 3 4 5 -1 -1 -1 -1 10 11 12 13 14 -1
I have added rank textures named IG_Ran_3_0_0.tga to IG_Ran_3_0_12.bmp , some of them must run after look this image
https://steamuserimages-a.akamaihd.net/ ... 1F3FFB867/ but others no. [&:]
I have created a IG_Soldierdisplay_rankbase_3.bmp
RE: New IG_weapon_ are not recognized
Posted: Mon Nov 23, 2020 3:45 pm
by SteveMcClaire
For ranks the file names should be "IG_RANK_<x>_<y>_<z>.BMP" where x = nation index, y = service branch (0-7), z = rank index (0-14)
RANK_3_0_0.BMP would be nation index 3, service 0 (army), rank 0 (private.) RANK_3_0_12.BMP would be nation 3, army, rank Major (which is not used in the base game but which I assume you've set up in your nations.txt / soldiers.txt files as a rank for company commander.
Which ranks do you have that are not loading? The green-stripe texture is the 'missing texture' default, meaning the game could not find / load the texture in question. I would look at the difference between the ones that are working and those that are not.
RE: New IG_weapon_ are not recognized
Posted: Tue Nov 24, 2020 6:54 am
by Nomada_Firefox
You can see the problem here at this screenshot from this link
https://steamuserimages-a.akamaihd.net/ ... 1F3FFB867/
I do not see the image which it does not show any rank. But it is set in the game as IG_Soldierdisplay_rankbase_3.bmp
RE: New IG_weapon_ are not recognized
Posted: Tue Nov 24, 2020 9:33 pm
by SteveMcClaire
If some of the graphics work and others don't I suspect there is a difference in the files. Either the file name format is incorrect for some of the files, or possibly some are saved in a different format. I'll try and hunt down your mod and double check this.
RE: New IG_weapon_ are not recognized
Posted: Wed Nov 25, 2020 6:41 am
by Nomada_Firefox
Thanks by the tips. Finally it runs. Probably it was a bad name.
https://steamuserimages-a.akamaihd.net/ ... DCCD265B5/