Download Script: ToggleHud

RockeyRex

Legions Developer
Introduction:
Allows you to toggle in-game hud on/off with a single key.
For them pwetty screenshots.

Settings:
Bind a key to "Toggle Hud" in your keybinding options.

Installation:
Extract the Zip archive to "live" folder. This is where the Legions.exe is located.

No need to set anything read only.

Your Legions must be up to date!

Download Here!

.
 

Immanent

Member
Allows you to toggle in-game hud on/off with a single key.
For them pwetty screenshots.

Hey rockey, I was just wondering if it is possible to hide/show the first person weapon with that single key as well, so it would be like spectator mode?
 

Gheist

King of all Goblins
[...]\live\client\gui\scripts\hudElements.cs should contain every element that could get into your way. Move them around by altering the %this.setHudElementPosition lines. (Have a look at what was done to the compass ;))
 

phanakapan

Private Tester
Code:
// compass container
  %index = %this.addHudElement();
  // %this.setHudElementPosition(%index, 184, 82);    //165, 28// ver5 163, 18 //
  %this.setHudElementPosition(%index, -1200, -1200);    //165, 28// ver5 163, 18 //
  %this.setHudElementPositionAnchor(%index, "Left", "Top");
  %this.setHudElementBaseTextureSize(%index, 134, 15);  // 122, 15//
  %this.setHudElementParent(%index, $HudElement::TopFrameContainer);
  %this.setHudElementRenderWhenFollowing(%index, true);
  $HudElement::CompassContainer = %index;

  // compass
  %index = %this.addCompassHudElement();
  %this.setHudElementPositionAnchor(%index, "HCenter", "Top");
  %this.setHudElementBaseTextureSize(%index, 1000, 11);    //600, 12//
  %this.setCompass(%index, "client/gui/images/hud/compass");
  %this.setHudElementParent(%index, $HudElement::CompassContainer);
  %this.setHudElementRenderWhenFollowing(%index, true);
  $HudElement::Compass = %index;

This is what I see for compass. for the fourth line down where it talks about the position and it shows negative numbers, is this how it is hidden? If so, would I just change the position on the elements I want to get rid of to large negative numbers to push them off the screen?

edit: that worked for hiding a few of the huds. thanks!
 
Top