Matrix Games Forums

Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

New IG_weapon_ are not recognized

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [New Releases from Matrix Games] >> Close Combat – The Bloody First >> Close Combat The Bloody First - Modding >> New IG_weapon_ are not recognized Page: [1]
Login
Message << Older Topic   Newer Topic >>
New IG_weapon_ are not recognized - 11/4/2020 11:05:43 PM   
Nomada_Firefox

 

Posts: 1327
Joined: 11/12/2001
From: Spain
Status: offline
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.

< Message edited by Nomada_Firefox -- 11/4/2020 11:09:20 PM >
Post #: 1
RE: New IG_weapon_ are not recognized - 11/5/2020 3:36:20 PM   
SteveMcClaire

 

Posts: 4472
Joined: 11/19/2007
Status: offline
Hi Nomada_Firefox -- I will look at this but it may be a few days.

(in reply to Nomada_Firefox)
Post #: 2
RE: New IG_weapon_ are not recognized - 11/5/2020 11:26:48 PM   
Nomada_Firefox

 

Posts: 1327
Joined: 11/12/2001
From: Spain
Status: offline

quote:

ORIGINAL: Steve McClaire

Hi Nomada_Firefox -- I will look at this but it may be a few days.


I can wait.

(in reply to SteveMcClaire)
Post #: 3
RE: New IG_weapon_ are not recognized - 11/19/2020 6:26:51 PM   
SteveMcClaire

 

Posts: 4472
Joined: 11/19/2007
Status: offline
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

(in reply to Nomada_Firefox)
Post #: 4
RE: New IG_weapon_ are not recognized - 11/21/2020 2:10:33 PM   
Nomada_Firefox

 

Posts: 1327
Joined: 11/12/2001
From: Spain
Status: offline
Umm I see the problem. The Alpha.

What about the ranks for new nation 3?

(in reply to SteveMcClaire)
Post #: 5
RE: New IG_weapon_ are not recognized - 11/23/2020 6:39:37 AM   
Nomada_Firefox

 

Posts: 1327
Joined: 11/12/2001
From: Spain
Status: offline
This is my ranks file.
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/ugc/1648843250613256039/9B277FAF2EC41ED026FF06CC5DDA8171F3FFB867/ but others no.
I have created a IG_Soldierdisplay_rankbase_3.bmp

< Message edited by Nomada_Firefox -- 11/23/2020 6:50:21 AM >

(in reply to Nomada_Firefox)
Post #: 6
RE: New IG_weapon_ are not recognized - 11/23/2020 5:45:30 PM   
SteveMcClaire

 

Posts: 4472
Joined: 11/19/2007
Status: offline
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.

(in reply to Nomada_Firefox)
Post #: 7
RE: New IG_weapon_ are not recognized - 11/24/2020 8:54:10 AM   
Nomada_Firefox

 

Posts: 1327
Joined: 11/12/2001
From: Spain
Status: offline
You can see the problem here at this screenshot from this link https://steamuserimages-a.akamaihd.net/ugc/1648843250613256039/9B277FAF2EC41ED026FF06CC5DDA8171F3FFB867/

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

(in reply to SteveMcClaire)
Post #: 8
RE: New IG_weapon_ are not recognized - 11/24/2020 11:33:18 PM   
SteveMcClaire

 

Posts: 4472
Joined: 11/19/2007
Status: offline
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.


(in reply to Nomada_Firefox)
Post #: 9
RE: New IG_weapon_ are not recognized - 11/25/2020 8:41:42 AM   
Nomada_Firefox

 

Posts: 1327
Joined: 11/12/2001
From: Spain
Status: offline
Thanks by the tips. Finally it runs. Probably it was a bad name.
https://steamuserimages-a.akamaihd.net/ugc/1648843527260311634/7F8601E614451267F7387190B5FC626DCCD265B5/

(in reply to SteveMcClaire)
Post #: 10
Page:   [1]
All Forums >> [New Releases from Matrix Games] >> Close Combat – The Bloody First >> Close Combat The Bloody First - Modding >> New IG_weapon_ are not recognized Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

0.938