Modding help: Nato Counter Logo slots

Please post any bugs or technical issues found here for official support.

Moderator: Joel Billings

Post Reply
User avatar
Wiedrock
Posts: 1624
Joined: Tue Oct 11, 2022 7:44 pm
Location: Germany

Modding help: Nato Counter Logo slots

Post by Wiedrock »

I still can't get this to work, any help appreciated or an answere whether it works or not, since I simply can't get it to work not matter what I do.
Wiedrock wrote: Sun Nov 05, 2023 9:42 pm Starting with the beta [1.03.]03 there was the option introduced to add new Counter Logos. I somehow can't put it to work. Would be nice if someone could confirm that it works/doesn't work. Using Steam version Beta 1.03.06.
Wiedrock wrote: Mon Nov 06, 2023 8:43 pm
MaximKI wrote: Thu Oct 05, 2023 3:14 pm New Features and Rule Changes
• Editor – On the OB tab of the old editor, the centre column now contains a “Counter Idx” entry for each OB as well as a visual showing the counter symbol being used. This allows editors to change the counter symbol used by units using each OB. The default value of 0 uses the original system of symbols, which relied on the unit type info and some hard coded adjustments by OB slot number. By entering a 3-digit value, different symbols can be assigned to each OB. The first digit represents the row, and the next two digits represent the column for the location of the symbol in the counter art files (found in the dat/art/units folder). Rows and columns start counting from 0, so the Panzer symbol is symbol 100 (row 1, column 00, the ski symbol is 212, row 2, column 12). The counter symbol shown changes to reflect any new value you’ve entered. Modders can add additional symbols in the blank spaces on the right of columns 1 and 2, although there are several different sized files, as well as a non-NATO counter set, and all would need to be modded. Note: Air HQs and City Forts use pre-assigned symbols that override the OB Counter Idx.
Joel Billings wrote: Mon Nov 06, 2023 7:58 pm What you show as 123 is actually 122, because the first item in that row is 100, not 101. Programmers count from 0. :D So 123 in game is a blank spot.
That's not the issue as it seems.
counters-mod2.png
counters-mod2.png (59.19 KiB) Viewed 252 times
Found something else.
3rd Row was/is supposed to be starting with "2XX", so we have the 223 which is alright. But the number 153 gives the same slot/logo?!
double numbers.png
double numbers.png (63.87 KiB) Viewed 252 times
I also don't understand how "Note: Air HQs and City Forts use pre-assigned symbols that override the OB Counter Idx." is being meant, I can in the Editor simply change the Soviet City Fortress's TOEs Logo just as normal into any logo I want.
City Fort Counter logo.png
City Fort Counter logo.png (329.93 KiB) Viewed 252 times
Attachments
Counter76x76.png
Counter76x76.png (87.5 KiB) Viewed 252 times
User avatar
Joel Billings
Posts: 33492
Joined: Wed Sep 20, 2000 8:00 am
Location: Santa Rosa, CA
Contact:

Re: Modding help: Nato Counter Logo slots

Post by Joel Billings »

Have you asked in the modder section in case anyone there can help answer your questions?
All understanding comes after the fact.
-- Soren Kierkegaard
User avatar
Wiedrock
Posts: 1624
Joined: Tue Oct 11, 2022 7:44 pm
Location: Germany

Re: Modding help: Nato Counter Logo slots

Post by Wiedrock »

No, I can try.
User avatar
Joel Billings
Posts: 33492
Joined: Wed Sep 20, 2000 8:00 am
Location: Santa Rosa, CA
Contact:

Re: Modding help: Nato Counter Logo slots

Post by Joel Billings »

Pavel confirmed that it is the Air HQ and Amphib HQs that are pre-assigned symbols, not the City Forts. He asked me to reference this thread and when he had a chance he'd look to see if there's anything more he might be able to explain. We're you just having problems with the AIr HQs.
All understanding comes after the fact.
-- Soren Kierkegaard
User avatar
Wiedrock
Posts: 1624
Joined: Tue Oct 11, 2022 7:44 pm
Location: Germany

Re: Modding help: Nato Counter Logo slots

Post by Wiedrock »

Okay thanks for clarifying.
Joel Billings wrote: Fri Jan 10, 2025 12:05 am We're you just having problems with the AIr HQs.
Not sure what you mean by this. I have no problems with the Air HQs and their pre-determined Counter Logo if you mean this. I am only concerned about being unable to be able to use the empty slots and only found that the Forts Logos could also be changed.
User avatar
Joel Billings
Posts: 33492
Joined: Wed Sep 20, 2000 8:00 am
Location: Santa Rosa, CA
Contact:

Re: Modding help: Nato Counter Logo slots

Post by Joel Billings »

Ok, yes, what you say makes sense as Pavel mentioned something about there may be a limit to the number of slots you can use (and/or you can't use empty slots). I was sharing my screen and showing him your post so he obviously understood as he read it more than I did. He could see in the code while we spoke that the amphib HQs were hard coded, not the forts, but couldn't answer your other issue without doing a more detailed review. Hopefully he'll take a look and get back to us about this. He's been working on a few more fixes for the update we are working on (he just fixed the issue where attached support units aren't in the combat predictor), and probably hasn't been able to look into this yet.
All understanding comes after the fact.
-- Soren Kierkegaard
User avatar
Joel Billings
Posts: 33492
Joined: Wed Sep 20, 2000 8:00 am
Location: Santa Rosa, CA
Contact:

Re: Modding help: Nato Counter Logo slots

Post by Joel Billings »

Pavel has been able to enable use of the rest of the slots in the first two rows. So in a future update, valid entries will be 100-127 and 208-227 for the counter id's. The amphib HQs and air HQs use hardcoded slot numbers, and the slots from 200-207 are used for the unit size indicators. This will give modders a few more slots than are currently available for different counter art. Doing any more would require a serious rewrite.
All understanding comes after the fact.
-- Soren Kierkegaard
User avatar
Wiedrock
Posts: 1624
Joined: Tue Oct 11, 2022 7:44 pm
Location: Germany

Re: Modding help: Nato Counter Logo slots

Post by Wiedrock »

Sounds good. Naah, just to be able to use the empty slots of those 2 lines should be enuff imo.
Post Reply

Return to “Tech Support”