This is a multi-part message in MIME format. -- I have attached two example backgroundlayout files, they contain the resolution that the background is designed for and describe how the background is broken up. Note that each tile in the image MUST be 256x256 or less (the max texture size for low end 3d cards).
The background is automatically scaled in size to match the users chosen resolution. > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Ryan "Professional Victim" Desgroseilliers > Sent: Thursday, March 04, 2004 12:42 PM > To: [EMAIL PROTECTED] > Subject: [hlcoders] BackgroundLayout.txt / BackgroundLoadingLayout.txt > > I was wondering if anyone here had any information on these > two files. Valve > mentioned how the background can be more easily customized > with this in one > of the press releases accompanying a recent update, but to my > knowledge > there's no useful information available to the community > about the actual > format for the file beyond the "sample" files included with > the official > mods. Do the files support multiple resolutions? If so, how, > and can only > one resolution be defined as "scaled"? Do the backgrounds > actually have to > be broken into 256x256 chunks, or was this simply done by Valve in the > official mods for another reason? > > I've tried experimenting with different syntax in the file, > but have gotten > unpredictable results when trying the most obvious possible > combinations. > Sometimes the graphics don't load properly or don't show up > in the right > place, and in other cases the game loads the TGAs for the > wrong resolutions, > overlays different resolutions' TGAs over one another, or > produces other > anomalies of this nature. Simply changing the resolution and using a > different-sized "base" graphic seems to work, but I was > wondering if there's > any more that the file can do besides just this. > > > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list > archives, please visit: > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > -- Content-Description: BackgroundLayout.txt resolution 800 600 resource/background/800_1_a_loading.tga scaled 0 0 resource/background/800_1_b_loading.tga scaled 256 0 resource/background/800_1_c_loading.tga scaled 512 0 resource/background/800_1_d_loading.tga scaled 768 0 resource/background/800_2_a_loading.tga scaled 0 256 resource/background/800_2_b_loading.tga scaled 256 256 resource/background/800_2_c_loading.tga scaled 512 256 resource/background/800_2_d_loading.tga scaled 768 256 resource/background/800_3_a_loading.tga scaled 0 512 resource/background/800_3_b_loading.tga scaled 256 512 resource/background/800_3_c_loading.tga scaled 512 512 resource/background/800_3_d_loading.tga scaled 768 512 -- Content-Description: BackgroundLoadingLayout.txt resolution 800 600 resource/background/800_1_a_loading.tga scaled 0 0 resource/background/800_1_b_loading.tga scaled 256 0 resource/background/800_1_c_loading.tga scaled 512 0 resource/background/800_1_d_loading.tga scaled 768 0 resource/background/800_2_a_loading.tga scaled 0 256 resource/background/800_2_b_loading.tga scaled 256 256 resource/background/800_2_c_loading.tga scaled 512 256 resource/background/800_2_d_loading.tga scaled 768 256 resource/background/800_3_a_loading.tga scaled 0 512 resource/background/800_3_b_loading.tga scaled 256 512 resource/background/800_3_c_loading.tga scaled 512 512 resource/background/800_3_d_loading.tga scaled 768 512 -- _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

