View Single Post
  #1  
Unread 10-10-2013, 11:45 AM
Adra's Avatar
Adra Adra is offline
The Undying
Interface Author - Click to view interfaces
 
Join Date: Jun 2011
Location: France
Posts: 171
How to freeze your computer ?

Some people wonder why their computer slow down or freeze when opening a panel...

You know the war steed panel :




The Lotro designers use to divide graphic elements in several picture fragments in order to allow displaying it in different sizes, usually 9 to 12 picture files are needed to display a single clickable button (left/center/right declined for normal/mouse over/pressed/ghosted).

Now guess how many picture files are involved in the design of the single button below :





Code:
  <Mapping ArtAssetID="button_right_ghosted" FileName="button_right_ghosted.tga"></Mapping>
  <Mapping ArtAssetID="button_right_highlighted_mouseover" FileName="button_right_highlighted_mouseover.tga"></Mapping>
  <Mapping ArtAssetID="button_right_highlighted_normal" FileName="button_right_highlighted_normal.tga"></Mapping>
  <Mapping ArtAssetID="button_right_highlighted_pressed" FileName="button_right_highlighted_pressed.tga"></Mapping>
  <Mapping ArtAssetID="button_right_mouseover" FileName="button_right_mouseover.tga"></Mapping>
  <Mapping ArtAssetID="button_right_normal" FileName="button_right_normal.tga"></Mapping>
  <Mapping ArtAssetID="button_right_pressed" FileName="button_right_pressed.tga"></Mapping>
  <Mapping ArtAssetID="button_top_left_ghosted" FileName="button_top_left_ghosted.tga"></Mapping>
  <Mapping ArtAssetID="button_top_left_highlighted_mouseover" FileName="button_top_left_highlighted_mouseover.tga"></Mapping>
  <Mapping ArtAssetID="button_top_left_highlighted_normal" FileName="button_top_left_highlighted_normal.tga"></Mapping>
  <Mapping ArtAssetID="button_top_left_highlighted_pressed" FileName="button_top_left_highlighted_pressed.tga"></Mapping>
  <Mapping ArtAssetID="button_top_left_mouseover" FileName="button_top_left_mouseover.tga"></Mapping>
  <Mapping ArtAssetID="button_top_left_normal" FileName="button_top_left_normal.tga"></Mapping>
  <Mapping ArtAssetID="button_top_left_pressed" FileName="button_top_left_pressed.tga"></Mapping>
  <Mapping ArtAssetID="button_top_mid_ghosted" FileName="button_top_mid_ghosted.tga"></Mapping>
  <Mapping ArtAssetID="button_top_mid_highlighted_mouseover" FileName="button_top_mid_highlighted_mouseover.tga"></Mapping>
  <Mapping ArtAssetID="button_top_mid_highlighted_normal" FileName="button_top_mid_highlighted_normal.tga"></Mapping>
  <Mapping ArtAssetID="button_top_mid_highlighted_pressed" FileName="button_top_mid_highlighted_pressed.tga"></Mapping>
  <Mapping ArtAssetID="button_top_mid_mouseover" FileName="button_top_mid_mouseover.tga"></Mapping>
  <Mapping ArtAssetID="button_top_mid_normal" FileName="button_top_mid_normal.tga"></Mapping>
  <Mapping ArtAssetID="button_top_mid_pressed" FileName="button_top_mid_pressed.tga"></Mapping>
  <Mapping ArtAssetID="button_top_right_ghosted" FileName="button_top_right_ghosted.tga"></Mapping>
  <Mapping ArtAssetID="button_top_right_highlighted_mouseover" FileName="button_top_right_highlighted_mouseover.tga"></Mapping>
  <Mapping ArtAssetID="button_top_right_highlighted_normal" FileName="button_top_right_highlighted_normal.tga"></Mapping>
  <Mapping ArtAssetID="button_top_right_highlighted_pressed" FileName="button_top_right_highlighted_pressed.tga"></Mapping>
  <Mapping ArtAssetID="button_top_right_mouseover" FileName="button_top_right_mouseover.tga"></Mapping>
  <Mapping ArtAssetID="button_top_right_normal" FileName="button_top_right_normal.tga"></Mapping>
  <Mapping ArtAssetID="button_top_right_pressed" FileName="button_top_right_pressed.tga"></Mapping>
  <Mapping ArtAssetID="button_left_ghosted" FileName="button_left_ghosted.tga"></Mapping>
  <Mapping ArtAssetID="button_left_highlighted_mouseover" FileName="button_left_highlighted_mouseover.tga"></Mapping>
  <Mapping ArtAssetID="button_left_highlighted_normal" FileName="button_left_highlighted_normal.tga"></Mapping>
  <Mapping ArtAssetID="button_left_highlighted_pressed" FileName="button_left_highlighted_pressed.tga"></Mapping>
  <Mapping ArtAssetID="button_left_mouseover" FileName="button_left_mouseover.tga"></Mapping>
  <Mapping ArtAssetID="button_left_normal" FileName="button_left_normal.tga"></Mapping>
  <Mapping ArtAssetID="button_left_pressed" FileName="button_left_pressed.tga"></Mapping>
  <Mapping ArtAssetID="button_mid_ghosted" FileName="button_mid_ghosted.tga"></Mapping>
  <Mapping ArtAssetID="button_mid_highlighted_mouseover" FileName="button_mid_highlighted_mouseover.tga"></Mapping>
  <Mapping ArtAssetID="button_mid_highlighted_normal" FileName="button_mid_highlighted_normal.tga"></Mapping>
  <Mapping ArtAssetID="button_mid_highlighted_pressed" FileName="button_mid_highlighted_pressed.tga"></Mapping>
  <Mapping ArtAssetID="button_mid_mouseover" FileName="button_mid_mouseover.tga"></Mapping>
  <Mapping ArtAssetID="button_mid_normal" FileName="button_mid_normal.tga"></Mapping>
  <Mapping ArtAssetID="button_mid_pressed" FileName="button_mid_pressed.tga"></Mapping>
  <Mapping ArtAssetID="button_bottom_left_ghosted" FileName="button_bottom_left_ghosted.tga"></Mapping>
  <Mapping ArtAssetID="button_bottom_left_highlighted_mouseover" FileName="button_bottom_left_highlighted_mouseover.tga"></Mapping>
  <Mapping ArtAssetID="button_bottom_left_highlighted_normal" FileName="button_bottom_left_highlighted_normal.tga"></Mapping>
  <Mapping ArtAssetID="button_bottom_left_highlighted_pressed" FileName="button_bottom_left_highlighted_pressed.tga"></Mapping>
  <Mapping ArtAssetID="button_bottom_left_mouseover" FileName="button_bottom_left_mouseover.tga"></Mapping>
  <Mapping ArtAssetID="button_bottom_left_normal" FileName="button_bottom_left_normal.tga"></Mapping>
  <Mapping ArtAssetID="button_bottom_left_pressed" FileName="button_bottom_left_pressed.tga"></Mapping>
  <Mapping ArtAssetID="button_bottom_mid_ghosted" FileName="button_bottom_mid_ghosted.tga"></Mapping>
  <Mapping ArtAssetID="button_bottom_mid_highlighted_mouseover" FileName="button_bottom_mid_highlighted_mouseover.tga"></Mapping>
  <Mapping ArtAssetID="button_bottom_mid_highlighted_normal" FileName="button_bottom_mid_highlighted_normal.tga"></Mapping>
  <Mapping ArtAssetID="button_bottom_mid_highlighted_pressed" FileName="button_bottom_mid_highlighted_pressed.tga"></Mapping>
  <Mapping ArtAssetID="button_bottom_mid_mouseover" FileName="button_bottom_mid_mouseover.tga"></Mapping>
  <Mapping ArtAssetID="button_bottom_mid_normal_2" FileName="button_bottom_mid_normal_2.tga"></Mapping>
  <Mapping ArtAssetID="button_bottom_right_ghosted" FileName="button_bottom_right_ghosted.tga"></Mapping>
  <Mapping ArtAssetID="button_bottom_right_highlighted_mouseover" FileName="button_bottom_right_highlighted_mouseover.tga"></Mapping>
  <Mapping ArtAssetID="button_bottom_right_highlighted_normal" FileName="button_bottom_right_highlighted_normal.tga"></Mapping>
  <Mapping ArtAssetID="button_bottom_right_highlighted_pressed" FileName="button_bottom_right_highlighted_pressed.tga"></Mapping>
  <Mapping ArtAssetID="button_bottom_right_mouseover" FileName="button_bottom_right_mouseover.tga"></Mapping>
  <Mapping ArtAssetID="button_bottom_right_normal" FileName="button_bottom_right_normal.tga"></Mapping>
  <Mapping ArtAssetID="button_bottom_right_pressed" FileName="button_bottom_right_pressed.tga"></Mapping>
(If you look closer, you will notice that "button_bottom_mid_pressed" is missing (it has been removed, with 3 other files, in a previous update), indeed it appears that "button_bottom_mid_normal_2" is used twice and replaces it, this explains why the pressed button looks weird.)

--> The answer is 62 ! Yes, this little poorly designed button is composed of 62 picture files !!!

Cross fingers your hard drive isn't fragmented !
__________________
JRR skins collection download page
JRR Azure Glass download page
Extended and enhanced panels
Adra/Adragor/Osred from Sirannon.
Derelos/Prurit/Karnaj from Evernight.

Last edited by Adra : 10-10-2013 at 05:04 PM.
Reply With Quote