Changes between Version 7 and Version 8 of Internals


Ignore:
Timestamp:
06/23/16 12:24:33 (10 years ago)
Author:
Henrik Heimbuerger
Comment:

Update image, download and repository links

Legend:

Unmodified
Added
Removed
Modified
  • Internals

    v7 v8  
    5353== GlassHUD Internals Documentation ==
    5454
    55 GlassHUD's artwork (as in: its image files) is found in the folder Artwork/Mods/CortUI/media/GlassHUD. However, that's not all there is to it. Due to a technical reason, Bunnywabbit had to create a good deal of so-called 'wrapper' files. These have no other function than to sit in the artwork folder and reference a particular image file. The wrapper files for GlassHUD have carry the prefix 'gh_' in their filenames.
     55GlassHUD's artwork (as in: its image files) is found in the folder `Artwork/Mods/CortUI/media/GlassHUD`. However, that's not all there is to it. Due to a technical reason, Bunnywabbit had to create a good deal of so-called 'wrapper' files. These have no other function than to sit in the artwork folder and reference a particular image file. The wrapper files for GlassHUD have carry the prefix 'gh_' in their filenames.
    5656
    5757The technical reason mentioned above is, that GlassHUD utilizes a lot of images that are given the team color by the game program. The function that achieves this, ImportImage3D, only works for mdl files in the artwork folder. It does not take .png files or file paths. Therefore, the only way to use this function is to create a png file, then create a wrapper mdl file pointing to that png, and then have ImportImage3D call that wrapper mdl file.
    5858Bunnywabbit isn't happy about this either.
    59 
    60 
    61 
    62