Monday, April 16, 2012

[FA] Bitmap colours..

Hi,
im looking to change the colours of a bitmap.. specificly the strat icons..
the originals in the straticons folder are all grey.. but in game there centre is blue
how do you change the colour of the alpha channel ingame via code?|||You can't. The engine just doesn't provide any functionality for that.|||how do gpg do it then with the strat icon?|||What do you mean? I think we've gotten our wires crossed - can you rephrase the problem (or include pictures)?|||Sure,
take a generic strat icon in the strategicicons icon folder.. they are grey and white in colour... however in game the white becomes blue.. atleast on my uef commander.. with colour blue from the lobby, if i choose black colour from the lobby my white on the strat icon then becomes black.. the strat icons white becomes the colour you choose for your faction in the lobby..
how do they do that.. it must be possible.. else they wouldnt be able to do it..
ive looked through the lua for an example.. but im unable to think or even find something..
it may not be alpha that needs changing.. as alpha is usually transparancy|||Okay. You're talking about team colours. Just saying blue confused the hell out of me because not everyone plays blue all the time.
Yeah, that's all done in the engine.|||BulletMagnet

No comments:

Post a Comment