NewHudS

Revision as of 12:29, 22 November 2008 by imported>Haama (New show codes)

A command for Pluggy.

Syntax:

(HudID:long) NewHudS Filename:stringID RootID:short Show:short X:float Y:float L:long Scale:float Opacity:long Align:short AutoScale:bool Protected:bool EspID:long

Create a new Hud Surface.

  • Acceptable file types: .png, .bmp, .dds, .dib, .hdr, .jpg, .pfm, .png, .ppm, and .tga
RootID Codes
  0:    « My Documents\My Games\Oblivion\Pluggy\User Files\ »
  1:    Oblivion Data folder
  2:    Oblivion main folder
Show Codes
  0:    Hidden
  1:    GameMode only
  2:    MenuMode only (console not open)
  4:    Console only
  8:    Disable the "only" behaviour, which means HudS will be displayed as long as one of the above state is met, even if other states are also triggered.
  16:   Always display under Oblivion Hud
  • If showing in MenuMode, there are some menus that shouldn't be covered up: 1007 (Loading), 1013 (Pause), 1015 (Options), 1017 (Audio), 1018 (Video), 1019 (Video Display), 1020 (Gameplay), 1021 (Controls), 1038 (Load), 1039 (Save), 1044 (Main), 1047 (Credits)
  • L is the "layer level" from 1 to 1000, 1000 being the "closest of the screen". It's mostly to be used when you want certain HudS to be on top on the others
  • Opacity is 0-100; 0 = transparent, 100 = opaque.
Alignment Codes
Add for combinations; i.e., Top-left would be 5, Center would be 15.
  1:    Left
  2:    Right
  4:    Top
  8:    Bottom
  • AutoScale - if the user changes the game screen resolution between reloading the savegame, the Position and Scale of the HudS will be automatically adjusted so it will have the same proportional size and position than on the older screen resolution.