Sqad Loadout Screen Backgrounds

Discussion area for user-created Allegiance models, textures, voicechats, music, and other ingame content.
Andon
Posts: 5453
Joined: Sun Jun 03, 2007 8:29 pm
Location: Maryland, USA
Contact:

Post by Andon »

Pulled a color from a different area that wasn't transparent. Now it's not quite so bright, and I've tested it with the regular client and it's not being stupid transparent

EDIT: I've uploaded backups. They can be found here: http://www.matchfiregames.net/allegiance/backgrounds/backup
Last edited by Andon on Tue Mar 17, 2009 4:53 am, edited 1 time in total.
Image
ImageImage
Quia
Posts: 159
Joined: Sun Feb 12, 2006 8:00 am

Post by Quia »

Transparency is controlled by the true/false in the bmp.mdl. Change

Code: Select all

crimsonloadoutpanebmp = ImportImageFromFile("squadimages/gbloadout.png", true);
to

Code: Select all

crimsonloadoutpanebmp = ImportImageFromFile("squadimages/gbloadout.png", false);
and you won't have any problems with transparency.

Also, the ImportImageFromFile command works relative to the artwork path, not the dir the text file is in, so you could put the bmp.mdl's in your artwork/textures folder and the png's in artwork/squadimages, and keep your original files. :)
ImageImage
Andon
Posts: 5453
Joined: Sun Jun 03, 2007 8:29 pm
Location: Maryland, USA
Contact:

Post by Andon »

I thought the 'textures' folder only worked for actual textures.

And I've had issues with transparency while still having the second argument as 'false' before
Image
ImageImage
Quia
Posts: 159
Joined: Sun Feb 12, 2006 8:00 am

Post by Quia »

The game doesn't know if the image in question is used on a model as a texture or a panel in the hangar, they're all just image files. As for transparency, I dunno. I haven't played with it much since I fixed my half-transparent bases, I just know it works for me.
ImageImage
Andon
Posts: 5453
Joined: Sun Jun 03, 2007 8:29 pm
Location: Maryland, USA
Contact:

Post by Andon »

I do know that some versions of Alleg (Like the Dx9 Alpha) are more sensitive to transparency than others. Black bits on the Faction X stuff will spazz between being transparent and not being transparent in the Dx9 alpha while they're opaque in the regular, and the X stuff is all set to false
Image
ImageImage
Post Reply