odd icon on top

Modders can post their questions on scripting and more.

Moderators: Slitherine Core, BA Moderators

Post Reply
enric
Brigadier-General - 8.8 cm Pak 43/41
Brigadier-General - 8.8 cm Pak 43/41
Posts: 1855
Joined: Sun May 15, 2011 8:47 am

odd icon on top

Post by enric »

I use SetUnitIconMask(me, 128) to give the leaders a different mask over them.
In data IU textures I placed the uniticons1 and 7 with a column for this mask.
This works ok during the turn (both sides), but when seeing the replay in a MP i see the opponents leaders showed as (see image) that is the original 128 column for uniticons.

Any idea about what's happening? It seems that BA during replay is not looking for icons in the scenario folder but in the core BA, is it possible?
Latest new is that, I think, it happens only when opponent is EA, and BA uses the awarded UNITICONS
Is there a way yo "cast" BA to use scenario icons?
Attachments
mask.jpg
mask.jpg (10.23 KiB) Viewed 1006 times
pipfromslitherine
Site Admin
Site Admin
Posts: 9863
Joined: Wed Mar 23, 2005 10:35 pm

Re: odd icon on top

Post by pipfromslitherine »

Hmmmm. Nasty. I will have to take a look.

Cheers

Pip
follow me on Twitter here
Post Reply

Return to “Battle Academy 2: Modders Corner”