Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- customhud() {
- level thread box();
- cloudylogo = newHudElem();
- cloudylogo.x = 5;
- cloudylogo.y = 0;
- cloudylogo.alignx = "left";
- cloudylogo.aligny = "top";
- cloudylogo.horzalign = "left";
- cloudylogo.vertalign = "top";
- cloudylogo.hidewheninmenu = false;
- cloudylogo setshader("hud_cloudy", 128, 128);
- level thread line1();
- level thread line2();
- level thread line3();
- level thread line4();
- level thread text();
- }
- line1() {
- line1 = newHudElem();
- line1.x = 1;
- line1.y = 25;
- line1.alignx = "left";
- line1.aligny = "top";
- line1.horzalign = "left";
- line1.vertalign = "top";
- line1.hidewheninmenu = false;
- line1 setshader("black", 132, 2);
- }
- line2() {
- line2 = newHudElem();
- line2.x = 133;
- line2.y = 25;
- line2.alignx = "left";
- line2.aligny = "top";
- line2.horzalign = "left";
- line2.vertalign = "top";
- line2.hidewheninmenu = false;
- line2 setshader("black", 2, 64);
- }
- line3() {
- line3 = newHudElem();
- line3.x = 1;
- line3.y = 23 + 64;
- line3.alignx = "left";
- line3.aligny = "top";
- line3.horzalign = "left";
- line3.vertalign = "top";
- line3.hidewheninmenu = false;
- line3 setshader("black", 132, 2);
- }
- line4() {
- line4 = newHudElem();
- line4.x = 1;
- line4.y = 25;
- line4.alignx = "left";
- line4.aligny = "top";
- line4.horzalign = "left";
- line4.vertalign = "top";
- line4.hidewheninmenu = false;
- line4 setshader("black", 2, 64);
- }
- box() {
- box = newHudElem();
- box.x = 1;
- box.y = 25;
- box.alignx = "left";
- box.aligny = "top";
- box.horzalign = "left";
- box.vertalign = "top";
- box.hidewheninmenu = false;
- box setshader("black", 132, 64);
- box.alpha = 0.5;
- }
- text() {
- text = newHudElem();
- text.x = 8;
- text.y = 90;
- text.alignx = "left";
- text.aligny = "top";
- text.horzalign = "left";
- text.vertalign = "top";
- text.font = "objective";
- text.fontscale = 2;
- text settext("By Cloudy");
- text.color = (1,0,0);
- text.alpha = 1;
- text.glowcolor = (1,0,1);
- text.glowalpha = 1;
- text.hidewheninmenu = false;
- text.alpha = 0.5;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement