NewHudS

Revision as of 11:22, 22 November 2008 by imported>Haama (Created)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

A command for Pluggy.

Syntax:

(HudID:long) NewHudS Filename:stringID RootID Show:bool 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
  3:    GameMode+MenuMode
  • 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), and use OBSE v16's IsConsoleOpen to detect the console in MenuMode.
  • 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.
  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.