Wrong sprite for country ID

Please post here for questions and discussion about modding for Strategic Command.
Post Reply
El Condoro
Posts: 208
Joined: Wed Apr 02, 2008 12:44 pm

Wrong sprite for country ID

Post by El Condoro »

The #COUNTRY_ID= 19 in the localization.txt but the returned sprite from unit_nato_flag_sprites.png is from the 22 'slot'. The wrong sprite is shown for morale and resources, too. These were working correctly in WaW, as do all the other settings after converting from WaW to WiE 1.16. Does anyone have any ideas because I have wracked my brain. :)

Image
Attachments
bitmapnumbers.jpg
bitmapnumbers.jpg (17.62 KiB) Viewed 247 times
ORB & CROWN Fantasy Warfare Mod for Strategic Command
Download for War in Europe or World at War - YouTube - Discord
User avatar
Hubert Cater
Posts: 6098
Joined: Mon Jul 22, 2013 11:42 am
Contact:

RE: Wrong sprite for country ID

Post by Hubert Cater »

If these are Majors, then what I would suggest is from within the Editor, open your campaign and then navigate to Campaign->Edit Major Country IDs Data and then picking the applicable major in the Major Country IDs column, and then selecting the appropriate display source folder from the 'Set Display Source' drop down list.

Let me know if this helps you resolve the issue,
Hubert
El Condoro
Posts: 208
Joined: Wed Apr 02, 2008 12:44 pm

RE: Wrong sprite for country ID

Post by El Condoro »

Thanks Hubert. Unfortunately, that doesn't fix it - the majors all appear correctly in the Major Country ID dialog and they all appear correctly on the map except for the sprites for the commanders and the resource and morale flags. It's like those ones are picking up set country IDs.

For example, there are 5 Allies and 5 Axis countries (they're not called Axis but that's not important). The first Axis country is ID 115 (which is normally USA but not in this campaign) but the sprites show 45 (which is normally Germany, the first Axis country). Two country IDs are correct - 112 (UK) and 40 (France) - but the rest and the minors are all over the shop.

As I said, they appear correctly in WaW, which is why I am confused given 1.16 picks up a lot of its features.
ORB & CROWN Fantasy Warfare Mod for Strategic Command
Download for War in Europe or World at War - YouTube - Discord
User avatar
Hubert Cater
Posts: 6098
Joined: Mon Jul 22, 2013 11:42 am
Contact:

RE: Wrong sprite for country ID

Post by Hubert Cater »

Thanks for the extra info and I can't really say for sure without seeing the campaign first hand... otherwise it just sounds like the import/export feature moving from one game to another won't work and you'll have to continue playing it under WaW for now. Hopefully that is ok?
El Condoro
Posts: 208
Joined: Wed Apr 02, 2008 12:44 pm

RE: Wrong sprite for country ID

Post by El Condoro »

Yep, that's all good. I'll keep trying to find a solution to this, though. Cheers.
ORB & CROWN Fantasy Warfare Mod for Strategic Command
Download for War in Europe or World at War - YouTube - Discord
Post Reply

Return to “Scenario Design and Modding”