PDA

View Full Version : Gui-less Hud


Tainted-Sky
2003-08-08, 10:57 AM
This helped my system run 3x better...i dont really lag alot anymore!
Before You do anything, backup your original file!!!
http://redfury.cafekyoto.com/guitest.gif

Sorry i was too lazy to pick out the code...


//--- OBJECT WRITE BEGIN ---
new GameTSCtrl(PlayGui) {
* profile = "GuiDefaultProfile";
* horizSizing = "right";
* vertSizing = "bottom";
* position = "0 0";
* extent = "640 480";
* minExtent = "8 8";
* visible = "1";
* helpTag = "0";
* cameraZRot = "0";
* forceFOV = "0";
* * *noCursor = "1";

* new GuiNavHud() {
* * *profile = "GuiDefaultProfile";
* * *horizSizing = "width";
* * *vertSizing = "height";
* * *position = "0 -1";
* * *extent = "640 480";
* * *minExtent = "8 8";
* * *visible = "1";
* * *helpTag = "0";
* * *fofsVisible = "1";
* * *waypointsVisible = "1";
* * *markersVisible = "1";
* * *beaconsVisible = "1";
* * *beaconTextYOffset = "0";
* * *beaconBaseTextureName = "~/data/textures/gui/beacon_base";
* * *markerTexture = "~/data/textures/gui/16marker";
* * * * markerTextureName1 = "~/data/textures/gui/marker2";
* * * * markerTextureName2 = "~/data/textures/gui/marker3";
* * * * markerTextureName0 = "~/data/textures/gui/marker1";
* };
* new GuiBitmapCtrl(LagIcon) {
* * *profile = "GuiDefaultProfile";
* * *horizSizing = "left";
* * *vertSizing = "bottom";
* * *position = "608 0";
* * *extent = "32 32";
* * *minExtent = "8 8";
* * *visible = "0";
* * *helpTag = "0";
* * *bitmap = "~/data/textures/lagicon.png";
* * *wrap = "0";
* };
* new GuiArcEnergyHud() {
* * *profile = "GuiDefaultProfile";
* * *horizSizing = "right";
* * *vertSizing = "top";
* * *position = "0 380";
* * *extent = "103 100";
* * *minExtent = "8 8";
* * *visible = "1";
* * *helpTag = "0";
* * *origin = "0 100";
* * *outerRadius = "100 100";
* * *innerRadius = "80 80";
* * *points = "360";
* * *startAngle = "0";
* * *endAngle = "270";
* * *startColor = "0 0 0 0";
* * *endColor = "0 0 0 0";
* * *adjustGradient = "0";
* * *clockwise = "0";
* };
* new GuiBitmapCtrl(CenterPrintDlg) {
* * *profile = "CenterPrintProfile";
* * *horizSizing = "center";
* * *vertSizing = "center";
* * *position = "45 230";
* * *extent = "550 20";
* * *minExtent = "8 8";
* * *visible = "0";
* * *helpTag = "0";
* * *bitmap = "./hudfill.png";
* * *wrap = "0";

* * *new GuiMLTextCtrl(CenterPrintText) {
* * * * profile = "CenterPrintTextProfile";
* * * * horizSizing = "center";
* * * * vertSizing = "center";
* * * * position = "0 0";
* * * * extent = "546 12";
* * * * minExtent = "8 8";
* * * * visible = "1";
* * * * helpTag = "0";
* * * * lineSpacing = "2";
* * * * allowColorChars = "0";
* * * * maxChars = "-1";
* * *};
* };
* new GuiBitmapCtrl(BottomPrintDlg) {
* * *profile = "CenterPrintProfile";
* * *horizSizing = "center";
* * *vertSizing = "top";
* * *position = "45 375";
* * *extent = "550 20";
* * *minExtent = "8 8";
* * *visible = "0";
* * *helpTag = "0";
* * *bitmap = "./hudfill.png";
* * *wrap = "0";

* * *new GuiMLTextCtrl(BottomPrintText) {
* * * * profile = "CenterPrintTextProfile";
* * * * horizSizing = "center";
* * * * vertSizing = "center";
* * * * position = "0 0";
* * * * extent = "546 12";
* * * * minExtent = "8 8";
* * * * visible = "1";
* * * * helpTag = "0";
* * * * lineSpacing = "2";
* * * * allowColorChars = "0";
* * * * maxChars = "-1";
* * *};
* };
* new GuiClockHud(HudClock) {
* * *profile = "GuiDefaultProfile";
* * *horizSizing = "relative";
* * *vertSizing = "relative";
* * *position = "384 0";
* * *extent = "136 20";
* * *minExtent = "8 8";
* * *visible = "1";
* * *helpTag = "0";
* * *showFrame = "1";
* * *textColor = "1.000000 1.000000 1.000000 1.000000";
* };
* new GuiControl(OuterChatHud) {
* * *profile = "GuiDefaultProfile";
* * *horizSizing = "relative";
* * *vertSizing = "relative";
* * *position = "0 0";
* * *extent = "240 64";
* * *minExtent = "8 8";
* * *visible = "1";
* * *helpTag = "0";

* * *new GuiButtonCtrl(chatPageDown) {
* * * * profile = "GuiButtonProfile";
* * * * horizSizing = "right";
* * * * vertSizing = "bottom";
* * * * position = "203 60";
* * * * extent = "37 12";
* * * * minExtent = "8 8";
* * * * visible = "0";
* * * * helpTag = "0";
* * * * text = "Dwn";
* * * * groupNum = "-1";
* * * * buttonType = "PushButton";
* * *};
* * *new GuiScrollCtrl(ChatScrollHud) {
* * * * profile = "GuiScrollTransparentProfile";
* * * * horizSizing = "width";
* * * * vertSizing = "bottom";
* * * * position = "0 0";
* * * * extent = "240 72";
* * * * minExtent = "8 8";
* * * * visible = "1";
* * * * helpTag = "0";
* * * * willFirstRespond = "1";
* * * * hScrollBar = "alwaysOff";
* * * * vScrollBar = "alwaysOff";
* * * * constantThumbHeight = "0";
* * * * childMargin = "0 0";

* * * * new GuiMessageVectorCtrl(ChatHud) {
* * * * * *profile = "ChatHudMessageProfile";
* * * * * *horizSizing = "width";
* * * * * *vertSizing = "height";
* * * * * *position = "1 1";
* * * * * *extent = "236 12";
* * * * * *minExtent = "8 8";
* * * * * *visible = "1";
* * * * * *helpTag = "0";
* * * * * *lineSpacing = "0";
* * * * * *lineContinuedIndex = "10";
* * * * * *allowedMatches[0] = "http";
* * * * * *allowedMatches[1] = "tgeserver";
* * * * * *matchColor = "0 0 255 255";
* * * * * *maxColorIndex = "5";
* * * * };
* * *};
* };
* new GuiArcHealthHud() {
* * *profile = "GuiDefaultProfile";
* * *horizSizing = "left";
* * *vertSizing = "top";
* * *position = "540 380";
* * *extent = "100 100";
* * *minExtent = "8 2";
* * *visible = "1";
* * *helpTag = "0";
* * *origin = "100 100";
* * *outerRadius = "100 100";
* * *innerRadius = "80 80";
* * *points = "360";
* * *startAngle = "180";
* * *endAngle = "270";
* * *startColor = "0 0 0 0";
* * *endColor = "0 0 0 0";
* * *adjustGradient = "0";
* * *clockwise = "1";
* };
* new GuiControl(WeaponHud) {
* * *profile = "GuiDefaultProfile";
* * *horizSizing = "center";
* * *vertSizing = "top";
* * *position = "95 399";
* * *extent = "450 50";
* * *minExtent = "450 50";
* * *visible = "0";
* * *helpTag = "0";

* * *new GuiControl(WeaponHud_0) {
* * * * profile = "GuiDefaultProfile";
* * * * horizSizing = "right";
* * * * vertSizing = "bottom";
* * * * position = "0 0";
* * * * extent = "75 50";
* * * * minExtent = "75 50";
* * * * visible = "1";
* * * * helpTag = "0";

* * * * new GuiProgressCtrl(WeaponHud_0_bar) {
* * * * * *profile = "GuiProgressProfile";
* * * * * *horizSizing = "right";
* * * * * *vertSizing = "bottom";
* * * * * *position = "0 0";
* * * * * *extent = "75 50";
* * * * * *minExtent = "8 2";
* * * * * *visible = "1";
* * * * * *helpTag = "0";
* * * * };
* * * * new GuiBitmapCtrl(WeaponHud_0_image1) {
* * * * * *profile = "GuiDefaultProfile";
* * * * * *horizSizing = "right";
* * * * * *vertSizing = "bottom";
* * * * * *position = "0 0";
* * * * * *extent = "75 50";
* * * * * *minExtent = "8 2";
* * * * * *visible = "1";
* * * * * *helpTag = "0";
* * * * * *bitmap = "~/data/textures/gui/WeaponHud_image_energy.png";
* * * * * *wrap = "0";
* * * * };
* * * * new GuiBitmapCtrl(WeaponHud_0_image2) {
* * * * * *profile = "GuiDefaultProfile";
* * * * * *horizSizing = "right";
* * * * * *vertSizing = "bottom";
* * * * * *position = "0 0";
* * * * * *extent = "75 50";
* * * * * *minExtent = "8 2";
* * * * * *visible = "1";
* * * * * *helpTag = "0";
* * * * * *wrap = "0";
* * * * };
* * *};
* * *new GuiControl(WeaponHud_1) {
* * * * profile = "GuiDefaultProfile";
* * * * horizSizing = "right";
* * * * vertSizing = "bottom";
* * * * position = "75 0";
* * * * extent = "75 50";
* * * * minExtent = "75 50";
* * * * visible = "1";
* * * * helpTag = "0";

* * * * new GuiProgressCtrl(WeaponHud_1_bar) {
* * * * * *profile = "GuiProgressProfile";
* * * * * *horizSizing = "right";
* * * * * *vertSizing = "bottom";
* * * * * *position = "0 0";
* * * * * *extent = "75 50";
* * * * * *minExtent = "8 2";
* * * * * *visible = "1";
* * * * * *helpTag = "0";
* * * * };
* * * * new GuiBitmapCtrl(WeaponHud_1_image1) {
* * * * * *profile = "GuiDefaultProfile";
* * * * * *horizSizing = "right";
* * * * * *vertSizing = "bottom";
* * * * * *position = "0 0";
* * * * * *extent = "75 50";
* * * * * *minExtent = "8 2";
* * * * * *visible = "1";
* * * * * *helpTag = "0";
* * * * * *bitmap = "~/data/textures/gui/WeaponHud_image.png";
* * * * * *wrap = "0";
* * * * };
* * * * new GuiBitmapCtrl(WeaponHud_1_image2) {
* * * * * *profile = "GuiDefaultProfile";
* * * * * *horizSizing = "right";
* * * * * *vertSizing = "bottom";
* * * * * *position = "0 0";
* * * * * *extent = "75 50";
* * * * * *minExtent = "8 2";
* * * * * *visible = "1";
* * * * * *helpTag = "0";
* * * * * *wrap = "0";
* * * * };
* * *};
* * *new GuiControl(WeaponHud_2) {
* * * * profile = "GuiDefaultProfile";
* * * * horizSizing = "right";
* * * * vertSizing = "bottom";
* * * * position = "150 0";
* * * * extent = "75 50";
* * * * minExtent = "75 50";
* * * * visible = "1";
* * * * helpTag = "0";

* * * * new GuiProgressCtrl(WeaponHud_2_bar) {
* * * * * *profile = "GuiProgressProfile";
* * * * * *horizSizing = "right";
* * * * * *vertSizing = "bottom";
* * * * * *position = "0 0";
* * * * * *extent = "75 50";
* * * * * *minExtent = "8 2";
* * * * * *visible = "1";
* * * * * *helpTag = "0";
* * * * };
* * * * new GuiBitmapCtrl(WeaponHud_2_image1) {
* * * * * *profile = "GuiDefaultProfile";
* * * * * *horizSizing = "right";
* * * * * *vertSizing = "bottom";
* * * * * *position = "0 0";
* * * * * *extent = "75 50";
* * * * * *minExtent = "8 2";
* * * * * *visible = "1";
* * * * * *helpTag = "0";
* * * * * *bitmap = "~/data/textures/gui/WeaponHud_image.png";
* * * * * *wrap = "0";
* * * * };
* * * * new GuiBitmapCtrl(WeaponHud_2_image2) {
* * * * * *profile = "GuiDefaultProfile";
* * * * * *horizSizing = "right";
* * * * * *vertSizing = "bottom";
* * * * * *position = "0 0";
* * * * * *extent = "75 50";
* * * * * *minExtent = "8 2";
* * * * * *visible = "1";
* * * * * *helpTag = "0";
* * * * * *wrap = "0";
* * * * };
* * *};
* * *new GuiControl(WeaponHud_3) {
* * * * profile = "GuiDefaultProfile";
* * * * horizSizing = "right";
* * * * vertSizing = "bottom";
* * * * position = "225 0";
* * * * extent = "75 50";
* * * * minExtent = "75 50";
* * * * visible = "1";
* * * * helpTag = "0";

* * * * new GuiProgressCtrl(WeaponHud_3_bar) {
* * * * * *profile = "GuiProgressProfile";
* * * * * *horizSizing = "right";
* * * * * *vertSizing = "bottom";
* * * * * *position = "0 0";
* * * * * *extent = "75 50";
* * * * * *minExtent = "8 2";
* * * * * *visible = "1";
* * * * * *helpTag = "0";
* * * * };
* * * * new GuiBitmapCtrl(WeaponHud_3_image1) {
* * * * * *profile = "GuiDefaultProfile";
* * * * * *horizSizing = "right";
* * * * * *vertSizing = "bottom";
* * * * * *position = "0 0";
* * * * * *extent = "75 50";
* * * * * *minExtent = "8 2";
* * * * * *visible = "1";
* * * * * *helpTag = "0";
* * * * * *bitmap = "~/data/textures/gui/WeaponHud_image.png";
* * * * * *wrap = "0";
* * * * };
* * * * new GuiBitmapCtrl(WeaponHud_3_image2) {
* * * * * *profile = "GuiDefaultProfile";
* * * * * *horizSizing = "right";
* * * * * *vertSizing = "bottom";
* * * * * *position = "0 0";
* * * * * *extent = "75 50";
* * * * * *minExtent = "8 2";
* * * * * *visible = "1";
* * * * * *helpTag = "0";
* * * * * *wrap = "0";
* * * * };
* * *};
* * *new GuiControl(WeaponHud_4) {
* * * * profile = "GuiDefaultProfile";
* * * * horizSizing = "right";
* * * * vertSizing = "bottom";
* * * * position = "300 0";
* * * * extent = "75 50";
* * * * minExtent = "75 50";
* * * * visible = "1";
* * * * helpTag = "0";

* * * * new GuiProgressCtrl(WeaponHud_4_bar) {
* * * * * *profile = "GuiProgressProfile";
* * * * * *horizSizing = "right";
* * * * * *vertSizing = "bottom";
* * * * * *position = "0 0";
* * * * * *extent = "75 50";
* * * * * *minExtent = "8 2";
* * * * * *visible = "1";
* * * * * *helpTag = "0";
* * * * };
* * * * new GuiBitmapCtrl(WeaponHud_4_image1) {
* * * * * *profile = "GuiDefaultProfile";
* * * * * *horizSizing = "right";
* * * * * *vertSizing = "bottom";
* * * * * *position = "0 0";
* * * * * *extent = "75 50";
* * * * * *minExtent = "8 2";
* * * * * *visible = "1";
* * * * * *helpTag = "0";
* * * * * *bitmap = "~/data/textures/gui/WeaponHud_image.png";
* * * * * *wrap = "0";
* * * * };
* * * * new GuiBitmapCtrl(WeaponHud_4_image2) {
* * * * * *profile = "GuiDefaultProfile";
* * * * * *horizSizing = "right";
* * * * * *vertSizing = "bottom";
* * * * * *position = "0 0";
* * * * * *extent = "75 50";
* * * * * *minExtent = "8 2";
* * * * * *visible = "1";
* * * * * *helpTag = "0";
* * * * * *wrap = "0";
* * * * };
* * *};
* * *new GuiControl(WeaponHud_5) {
* * * * profile = "GuiDefaultProfile";
* * * * horizSizing = "right";
* * * * vertSizing = "bottom";
* * * * position = "375 0";
* * * * extent = "75 50";
* * * * minExtent = "75 50";
* * * * visible = "1";
* * * * helpTag = "0";

* * * * new GuiProgressCtrl(WeaponHud_5_bar) {
* * * * * *profile = "GuiProgressProfile";
* * * * * *horizSizing = "right";
* * * * * *vertSizing = "bottom";
* * * * * *position = "0 0";
* * * * * *extent = "75 50";
* * * * * *minExtent = "8 2";
* * * * * *visible = "1";
* * * * * *helpTag = "0";
* * * * };
* * * * new GuiBitmapCtrl(WeaponHud_5_image1) {
* * * * * *profile = "GuiDefaultProfile";
* * * * * *horizSizing = "right";
* * * * * *vertSizing = "bottom";
* * * * * *position = "0 0";
* * * * * *extent = "75 50";
* * * * * *minExtent = "8 2";
* * * * * *visible = "1";
* * * * * *helpTag = "0";
* * * * * *bitmap = "~/data/textures/gui/WeaponHud_image.png";
* * * * * *wrap = "0";
* * * * };
* * * * new GuiBitmapCtrl(WeaponHud_5_image2) {
* * * * * *profile = "GuiDefaultProfile";
* * * * * *horizSizing = "right";
* * * * * *vertSizing = "bottom";
* * * * * *position = "0 0";
* * * * * *extent = "75 50";
* * * * * *minExtent = "8 2";
* * * * * *visible = "1";
* * * * * *helpTag = "0";
* * * * * *wrap = "0";
* * * * };
* * *};
* * *new GuiBitmapCtrl(WeaponHud_overlay) {
* * * * profile = "GuiDefaultProfile";
* * * * horizSizing = "right";
* * * * vertSizing = "bottom";
* * * * position = "300 0";
* * * * extent = "75 50";
* * * * minExtent = "8 2";
* * * * visible = "0";
* * * * helpTag = "0";
* * * * bitmap = "~/data/textures/gui/WeaponHud_overlay.png";
* * * * wrap = "0";
* * *};
* };
* new GuiCrossHairHud() {
* * *profile = "GuiDefaultProfile";
* * *horizSizing = "width";
* * *vertSizing = "height";
* * *position = "0 0";
* * *extent = "640 480";
* * *minExtent = "8 2";
* * *visible = "1";
* * *helpTag = "0";
* * *bitmap = "~/data/textures/reticle.png";
* * *wrap = "0";
* * *fillType = "Single";
* * *hAlign = "Center";
* * *vAlign = "Center";
* * *tint = "1.000000 1.000000 1.000000 1.000000";
* * *damageFillColor = "0.000000 1.000000 0.000000 1.000000";
* * *damageFrameColor = "1.000000 0.600000 0.000000 1.000000";
* * *damageRect = "50 4";
* * *damageOffset = "0 32";
* };
* new GuiCompassHud() {
* * *profile = "GuiDefaultProfile";
* * *horizSizing = "left";
* * *vertSizing = "bottom";
* * *position = "551 3";
* * *extent = "85 85";
* * *minExtent = "8 2";
* * *visible = "1";
* * *helpTag = "0";
* * *bitmap = "~/data/textures/compass.png";
* * *wrap = "0";
* * *textColor = "0.000000 1.000000 0.000000 0.750000";
* * *showFrame = "0";
* };
* new GuiCrossHairHud(reticleHud) {
* * *profile = "GuiDefaultProfile";
* * *horizSizing = "center";
* * *vertSizing = "center";
* * *position = "192 112";
* * *extent = "256 256";
* * *minExtent = "8 2";
* * *visible = "1";
* * *helpTag = "0";
* * *bitmap = "~/data/textures/ret_PlasmaGun.png";
* * *wrap = "0";
* * *fillType = "Single";
* * *hAlign = "Center";
* * *vAlign = "Center";
* * *tint = "1.000000 1.000000 1.000000 1.000000";
* * *damageFillColor = "0.000000 1.000000 0.000000 1.000000";
* * *damageFrameColor = "1.000000 0.600000 0.000000 1.000000";
* * *damageRect = "50 4";
* * *damageOffset = "0 32";
* };
* new GuiCrossHairHud(reticleFrameHud) {
* * *profile = "GuiDefaultProfile";
* * *horizSizing = "center";
* * *vertSizing = "center";
* * *position = "192 112";
* * *extent = "256 256";
* * *minExtent = "8 2";
* * *visible = "1";
* * *helpTag = "0";
* * *bitmap = "~/data/textures/ret_retrng";
* * *wrap = "0";
* * *fillType = "Single";
* * *hAlign = "Center";
* * *vAlign = "Center";
* * *tint = "1.000000 1.000000 1.000000 1.000000";
* * *damageFillColor = "0.000000 1.000000 0.000000 1.000000";
* * *damageFrameColor = "1.000000 0.600000 0.000000 1.000000";
* * *damageRect = "50 4";
* * *damageOffset = "0 32";
* };
* new GuiControl(objectiveHud) {
* * *profile = "GuiDefaultProfile";
* * *horizSizing = "center";
* * *vertSizing = "top";
* * *position = "197 437";
* * *extent = "245 37";
* * *minExtent = "16 37";
* * *visible = "1";
* * *helpTag = "0";
* * * * bypassHideCursor = "0";
* * * * hideCursor = "0";

* * *new GuiTextCtrl(ObjTeam1Name) {
* * * * profile = "GuiTextObjGreenLeftProfile";
* * * * horizSizing = "right";
* * * * vertSizing = "bottom";
* * * * position = "4 3";
* * * * extent = "65 16";
* * * * minExtent = "8 8";
* * * * visible = "1";
* * * * helpTag = "0";
* * * * maxLength = "255";
* * * * * *bypassHideCursor = "0";
* * * * * *hideCursor = "0";
* * * * * *longTextBuffer = "0";
* * *};
* * *new GuiTextCtrl(ObjTeam1Score) {
* * * * profile = "GuiTextObjGreenCenterProfile";
* * * * horizSizing = "right";
* * * * vertSizing = "bottom";
* * * * position = "75 3";
* * * * extent = "20 16";
* * * * minExtent = "8 8";
* * * * visible = "1";
* * * * helpTag = "0";
* * * * text = "0";
* * * * maxLength = "255";
* * * * * *bypassHideCursor = "0";
* * * * * *hideCursor = "0";
* * * * * *longTextBuffer = "0";
* * *};
* * *new GuiTextCtrl() {
* * * * profile = "GuiTextObjGreenCenterProfile";
* * * * horizSizing = "right";
* * * * vertSizing = "bottom";
* * * * position = "100 3";
* * * * extent = "30 16";
* * * * minExtent = "8 8";
* * * * visible = "1";
* * * * helpTag = "0";
* * * * text = "FLAG";
* * * * maxLength = "255";
* * * * * *bypassHideCursor = "0";
* * * * * *hideCursor = "0";
* * * * * *longTextBuffer = "0";
* * *};
* * *new GuiTextCtrl(ObjTeam1Taken) {
* * * * profile = "GuiTextObjGreenLeftProfile";
* * * * horizSizing = "right";
* * * * vertSizing = "bottom";
* * * * position = "135 3";
* * * * extent = "105 16";
* * * * minExtent = "8 8";
* * * * visible = "1";
* * * * helpTag = "0";
* * * * text = "Home";
* * * * maxLength = "255";
* * * * * *bypassHideCursor = "0";
* * * * * *hideCursor = "0";
* * * * * *longTextBuffer = "0";
* * *};
* * *new GuiTextCtrl(ObjTeam2Name) {
* * * * profile = "GuiTextObjHudLeftProfile";
* * * * horizSizing = "right";
* * * * vertSizing = "bottom";
* * * * position = "4 19";
* * * * extent = "65 16";
* * * * minExtent = "8 8";
* * * * visible = "1";
* * * * helpTag = "0";
* * * * maxLength = "255";
* * * * * *bypassHideCursor = "0";
* * * * * *hideCursor = "0";
* * * * * *longTextBuffer = "0";
* * *};
* * *new GuiTextCtrl(ObjTeam2Score) {
* * * * profile = "GuiTextObjHudCenterProfile";
* * * * horizSizing = "right";
* * * * vertSizing = "bottom";
* * * * position = "75 19";
* * * * extent = "20 16";
* * * * minExtent = "8 8";
* * * * visible = "1";
* * * * helpTag = "0";
* * * * text = "0";
* * * * maxLength = "255";
* * * * * *bypassHideCursor = "0";
* * * * * *hideCursor = "0";
* * * * * *longTextBuffer = "0";
* * *};
* * *new GuiTextCtrl() {
* * * * profile = "GuiTextObjHudCenterProfile";
* * * * horizSizing = "right";
* * * * vertSizing = "bottom";
* * * * position = "100 19";
* * * * extent = "30 16";
* * * * minExtent = "8 8";
* * * * visible = "1";
* * * * helpTag = "0";
* * * * text = "FLAG";
* * * * maxLength = "255";
* * * * * *bypassHideCursor = "0";
* * * * * *hideCursor = "0";
* * * * * *longTextBuffer = "0";
* * *};
* * *new GuiTextCtrl(ObjTeam2Taken) {
* * * * profile = "GuiTextObjHudLeftProfile";
* * * * horizSizing = "right";
* * * * vertSizing = "bottom";
* * * * position = "135 19";
* * * * extent = "105 16";
* * * * minExtent = "8 8";
* * * * visible = "1";
* * * * helpTag = "0";
* * * * text = "Home";
* * * * maxLength = "255";
* * * * * *bypassHideCursor = "0";
* * * * * *hideCursor = "0";
* * * * * *longTextBuffer = "0";
* * *};
* };
* new GuiControl(ColorBars) {
* * *profile = "GuiDefaultProfile";
* * *horizSizing = "center";
* * *vertSizing = "center";
* * *position = "170 237";
* * *extent = "300 6";
* * *minExtent = "8 2";
* * *visible = "1";
* * *helpTag = "0";

* * *new GuiBarCtrl(HealthBarBG) {
* * * * profile = "GuiBarBackground";
* * * * horizSizing = "right";
* * * * vertSizing = "bottom";
* * * * position = "0 0";
* * * * extent = "125 6";
* * * * minExtent = "8 2";
* * * * visible = "1";
* * * * helpTag = "0";
* * * * direction = "LeftRight";
* * * * value = "100";
* * *};
* * *new GuiHealthBarCtrl(HealthBar) {
* * * * profile = "GuiHealthBarProfile";
* * * * horizSizing = "right";
* * * * vertSizing = "bottom";
* * * * position = "0 0";
* * * * extent = "125 6";
* * * * minExtent = "8 2";
* * * * visible = "1";
* * * * helpTag = "0";
* * * * direction = "RightLeft";
* * *};
* * *new GuiBarCtrl(EnergyBarBG) {
* * * * profile = "GuiBarBackground";
* * * * horizSizing = "right";
* * * * vertSizing = "bottom";
* * * * position = "175 0";
* * * * extent = "125 6";
* * * * minExtent = "8 2";
* * * * visible = "1";
* * * * helpTag = "0";
* * * * direction = "LeftRight";
* * * * value = "100";
* * *};
* * *new GuiEnergyBarCtrl(EnergyBar) {
* * * * profile = "GuiEnergyBarProfile";
* * * * horizSizing = "right";
* * * * vertSizing = "bottom";
* * * * position = "175 0";
* * * * extent = "125 6";
* * * * minExtent = "8 2";
* * * * visible = "1";
* * * * helpTag = "0";
* * * * direction = "LeftRight";
* * *};
* };
* new GuiTextCtrl(ammoHud) {
* * *profile = "GuiAmmoHudProfile";
* * *horizSizing = "width";
* * *vertSizing = "height";
* * *position = "375 325";
* * *extent = "80 8";
* * *minExtent = "8 8";
* * *visible = "1";
* * *helpTag = "0";
* * *maxLength = "255";
* * * * bypassHideCursor = "0";
* * * * hideCursor = "0";
* * * * longTextBuffer = "0";
* };
};
//--- OBJECT WRITE END ---


Insert that into your Playgui.gui

I recommend using Ily's scripts, they are mostly graphic-less, so they run well

ilys
2003-08-08, 03:00 PM
You may aswell remove the ArcHealthHud, ArcEnergyHud and unnamed CrossHairHud from the gui file, just to clean it up a little.
Also the objectivehud, ammohud and reticlehuds are not much use without the scripting to go with them.

flp
2003-08-09, 11:15 AM
this doesnt work for me. maybe i did something wrong or something.
all it does is removes the ammohud and archealth/energy, and the 2 energy/health bars that are added are just gray boxes. also the score/flag hud doesnt change at all.

flp
2003-08-09, 11:50 AM
nm kinda figured it out. got everything working except the health/energy bars.

affinity
2003-08-09, 02:08 PM
new GuiControlProfile ("GuiHealthBarProfile")
{
fillColor = "15 250 15 93";
border = true;
borderColor = "16 16 16 70";
};
new GuiControlProfile ("GuiEnergyBarProfile")
{
fillColor = "15 15 250 93";
border = true;
borderColor = "16 16 16 70";
};
new GuiControlProfile ("GuiBarBackground")
{
fillColor = "34 34 34 70";
};

you need to have these profiles in a .cs file in legends\scripts\client\autoexec for the bars to work

Tainted-Sky
2003-08-10, 03:29 AM
thx aff forgot about that,
also, just a note, im running a few of ilys' scripts...thats objectivehud you see