Skip to content
  • 0 Unread 0
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Collapse

Plutonium

Keyhart1997undefined

Keyhart1997

@Keyhart1997
About
Posts
1
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • [GSC Release] Ultimate T6 Zombies Overhaul: Modern HUD, Hitmarkers, Auto-Reload & Advanced Commands
    Keyhart1997undefined Keyhart1997

    trying this out, it looks quite well! i rewrote some code for myself to move the health hud to the bottom left instead of the middle. if you wanna test it out overwrite lines 625 to 676 with the following

    self endon("disconnect");
        flag_wait("initial_blackscreen_passed");
    
        bar_width = 130;
        hp_height = 6;
        shield_height = 3;  
        bg_padding = 4;
        y_bottom_anchor = 20; 
    
        self.hp_text = newClientHudElem(self);
        self.hp_text.alignX = "left";
        self.hp_text.alignY = "bottom";
        self.hp_text.horzAlign = "left";
        self.hp_text.vertAlign = "bottom";
        self.hp_text.x = 0;
        self.hp_text.y = y_bottom_anchor - hp_height - shield_height - bg_padding - 2; 
        self.hp_text.fontscale = 1.1;
        self.hp_text.label = &"^5Health";
        self.hp_text.sort = 2;
    
        self.hp_bg = newClientHudElem(self);
        self.hp_bg.alignX = "left";
        self.hp_bg.alignY = "bottom";
        self.hp_bg.horzAlign = "left";
        self.hp_bg.vertAlign = "bottom";
        self.hp_bg.x = 0;
        self.hp_bg.y = y_bottom_anchor;
        self.hp_bg setShader("white", bar_width + bg_padding, hp_height + shield_height + bg_padding);
        self.hp_bg.color = (0, 0, 0);
        self.hp_bg.alpha = 0.6;
        self.hp_bg.sort = 1;
    
        self.hp_bar = newClientHudElem(self);
        self.hp_bar.alignX = "left";
        self.hp_bar.alignY = "bottom";
        self.hp_bar.horzAlign = "left";
        self.hp_bar.vertAlign = "bottom";
        self.hp_bar.x = (bg_padding/2);
        self.hp_bar.y = y_bottom_anchor - (bg_padding/2); 
        self.hp_bar setShader("white", bar_width, hp_height);
        self.hp_bar.sort = 3;
    
        self.shield_bar = newClientHudElem(self);
        self.shield_bar.alignX = "left";
        self.shield_bar.alignY = "bottom";
        self.shield_bar.horzAlign = "left";
        self.shield_bar.vertAlign = "bottom";
        self.shield_bar.x = (bg_padding/2);
        self.shield_bar.y = y_bottom_anchor - (bg_padding/2) - hp_height; 
        self.shield_bar setShader("white", bar_width, shield_height);
        self.shield_bar.color = (0, 0.6, 1); 
        self.shield_bar.sort = 4;
    
    BO2 Modding Releases & Resources bo2 zombies gsc hud commands origins script
  • 1 / 1
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Unread 0
  • Recent
  • Tags
  • Popular
  • Users
  • Groups