* May 22, 2013, 01:02:08 PM
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Come Chat with us live! Learn how HERE!
 
   Home   Help Search Login Register  
Pages: [1] 2  All   Go Down
  Print  
Author Topic: Hotfix HUD v5.3 for GPP  (Read 7711 times)
E-Mxp


Turrets: +27/-10
Posts: 722


« on: November 06, 2010, 11:27:55 PM »

Hotfix Hud v5.3 for GPP

   

Initially intended as a hotfix, I have added some more things to make it more to my liking.
The best part of Superpie's Tweaked GPP HUD was (in my opinion) the centered hud, however, I found out that the centered hud was made to be perfectly aligned if you have a 4:3 resolution (as you can see if you look at the human inventory arrow and more noticeably, in the alien hud).
While working on the fix I learned more about how the code works and I decided to add more options.


MAIN FEATURES:
  • Hudoptions in the main menu.
  • 3 hud layouts! Default, Centered and Compact!
  • Custom loadingscreen.
  • For all the layouts you have a choice of 3 color schemes:
  • - The Superpie hud color scheme. (Default)
  • - The Warrior hud color scheme. Based off the Warrior's Hud by Warrior.
  • - The Hellrider hud color scheme. Based off the Hellrider Hud (v1.1) by Hellrider.
  • The option to place the Adv. Good barbs underneath the crosshair.
  • Optional fullscreen radar.
  • Optional stamina progress bar!
  • Optional Human crosshair dot in 3 colors: white, blue and black.
  • Option menu to change the appearance of the console (requires Segfault)
  • Segfault options also contain the option to turn on bloom with preset settings to prevent flicker.
NOTES:
All "hud_" (exept "hud_style") commands get applied immediately, so there is no need to restart.


Code:
//CHANGELOG\\
V5.3: CHANGES FROM V5.2
*Changed the Hellrider human chargebar to its intended colors (was using Superpie's default)!
*Replaced the default pre-loadingscreen image (moon in front of blue nebula) with a custom one based off the menu.
*Replaced the default loadingscreen with a custom one based on Kang's hud (with some personal changes).

V5.2: CHANGES FROM V4
*Merge with the Unvanquished version!
*Added the staminabars from Dodger's Hud with GeneralScott's full permission, thanks!
*Fixed Centered inventory in the Default huds so that they don't loop around if you have too many items.
*As an added bonus: custom alien crosshairs. (beta)
*Changed red nebula on main menu.
*Minor tweaks.

V4: CHANGES FROM V3
*Added hud screenshots to the hudoptions.
*Added Segfault options to the main menu.
*Changes to the main menu.

V3: CHANGES FROM V2.5
*Fixed ammo in Default Superpie hud.
*Fixed buildpoints for Default aliens hud.

V2.5: CHANGES FROM V2.4
*Added the option to have the inventory in the center or to have it on the right.
*Moved the Stagereport to the right on the Centered hud to accompany above mentioned feature.

V2.4: CHANGES FROM V2.3
*Removed hud_markedBuildPoints option. (Now uses the previous "1" setting.) I removed it because most (if not all) servers use the latest version of gpp, so there is no need to want to change the setting.
*Moved the inventory to the bottom of the screen on the "Centered" hud. So now also no need for hud_widescreen.

V2.3: CHANGES FROM V2.2
* Added option to change fontsize

V2.2: CHANGES FROM V2.1
* Added the Demos menu in the main menu, as added in by revision 2222.

V2.1: CHANGES FROM V2
     * Fixed Centered huds for Superpie and Warrior, due to a filename error they where broken.
     * Made the Bolt for the Compact and Centered huds more clear.
     * Changed colors for the build timers on Compact huds to be better visible against the green of an unconstructed structure.
     * Moved the TeamOverlay on the bottom right a bit up, as it was overlapping the stage report. (Thanks to ThisIsBS for reporting!)
     * Added TeamOverlay option to place it on the bottom left.
     * HOTFIX1: Fixed the Default Superpie hud.

V2: CHANGES FROM V1.4
    * New hudstyle made by yours truly. The Compact hud, this one is also in 3 color scemes.
    * Changed menu to ask what style of hud you want and then what color sceme for faster selection.

V1.4: CHANGES FROM V1.3

    * Added command "hud_markedBuildPoints" to keep up with changes in gppr2184 (March 02 2011).

V1.3: CHANGES FROM V1.2

    * Made all the text on the screen smaller.
    * Lowered the speedometer because it was overlapping the FOLLOWING PLAYER text.
    * Added the Human Dot Chrosshairs in 3 colors; white, blue and black.
    * Minor fixes.

    *V1.3a Fixes typo that breaks the Stage Report.

V1.2: CHANGES FROM V1.1

    * Changed the name from Tweaked GPP HUD Hotfixed to the original worktitle: Hotfixhud
    * Added option to change the location of the TeamOverlay from default(center left) to center right and bottom right and back.
    * Some small changes in the options in the menu.
    * Minor fixes.

V1.1: CHANGES FROM v1

    * Hud options now have a different tab on the main menu.
    * Made the fullscreen radar display friendlies as light gray, so that it is not as distracting.
    * I found out that the inventory could still be off-center in different aspect ratios. Added in the crude fix from Meisseli's HUD.

CHANGES FROM Tweaked GPP HUD ( v1.8 )
Fixes (only apply in the Centered version of the hud):

    * Made the hud display as intended for all resolutions.
    * Added back in the bolt icon, but in a way that it isn't distracting. The human bolt icon is shown on the health cross icon. The alien bolt icon is shown over the alien icon.
    * Moved the human radar up a bit for it was overlapping the hud.

Added in:

    * Added an option in the main menu to place the Adv. Good barbs underneath the chrossair.
    * Option to use the Warrior hud color scheme. Based off the Warrior's Hud by Warrior
    * Option to use the Hellrider hud color scheme. Based off the Hellrider Hud (v1.1) by Hellrider


Special thanks to:
Superpie, for creating the Tweaked GPP HUD I know and love.
Warrior, for crafting the Warrior's Hud, a hud thats very colorfull and nice.
Hellrider, for spawning the Hellrider Hud, a hud that looks quite cool and not black and white yet.
Meisseli, for making up a very easy way to fix the inventory aspect ratio problem. Try his HUD out!
Mox, for giving me the idea to add pictures to the main menu. His AdjustableHUD is really good, try it!
Oticz, for his dot crosshair code. If you still play 1.1, his HUD is highly recommended!
GeneralScott, for giving me full permission to use the staminabar code from his Hud, awesome! Cheesy
Kang's hud, who had the most awesome loadingscreen I have seen in Tremulous!

A great help was this site on Icculus.org and is recommanded to everyone trying to make huds for Tremulous!
« Last Edit: April 08, 2012, 09:19:35 PM by E-Mxp, Reason: update! » Logged

GeneralScott


Turrets: +3/-8
Posts: 291


« Reply #1 on: November 06, 2010, 11:46:15 PM »

Those are some cool colors!
Logged

Superpie
Spam Killer
*
*

Turrets: +104/-47
Posts: 337

.


WWW
« Reply #2 on: November 07, 2010, 01:18:54 AM »

Well done!

Though, could you shed some light on what exactly needed a fix here?
  • Made the hud display as intended for all resolutions.
Logged

OhaiReapd
Spam Killer
*

Turrets: +7/-239
Posts: 942


« Reply #3 on: November 07, 2010, 04:25:07 AM »

Pretty legit man! Can't wait until 1.2 releases and we get the itemdefs that were in 1.1
Logged

E-Mxp


Turrets: +27/-10
Posts: 722


« Reply #4 on: November 07, 2010, 08:47:02 AM »

Well done!

Though, could you shed some light on what exactly needed a fix here?




In my 1680x1050 resolution the centered hud displays like this. As you can see, the item select arrow is not aligned properly.
In the alien hud the hud elements are set to ALIGN_LEFT or ALIGN_RIGHT, so that if you have a wider resolution the "left arm" of the hud and the "right arm" of the hud gets pulled away from each other. I discovered this because I wondered why the bolt icon is gone, while there is an open space for it.
Now I have changed the hudelements to ALIGN_CENTER, so now the arms stay together, even if you have a wider resolution.
Logged

GeneralScott


Turrets: +3/-8
Posts: 291


« Reply #5 on: November 07, 2010, 01:34:42 PM »

OH! I thought the normal version of this HUD WAS the alien (split apart) version at the top! I should probably fix that in my version of Pie's hud.
Logged

Nate


Turrets: +158/-36
Posts: 200

(-_ -) (- _-)


« Reply #6 on: November 14, 2010, 06:14:03 AM »

EDIT: NVM
« Last Edit: November 14, 2010, 07:05:25 AM by Nate » Logged


The stupidest thing I did today was noticing Nate. Blah.
Lecavalier


Turrets: +17/-5
Posts: 227


« Reply #7 on: November 26, 2010, 12:31:26 AM »

OK, I am nub. How do I get Hellrider and center  Huh? Huh? Huh? It's not in ESC -> Options -> HUD and that is the extent of my knowledge of anything. Please help Embarrassed Huh?
« Last Edit: November 26, 2010, 12:40:55 AM by Lecavalier » Logged

I wanted you to see me before I killed you.
E-Mxp


Turrets: +27/-10
Posts: 722


« Reply #8 on: November 26, 2010, 09:39:55 AM »

OK, I am nub. How do I get Hellrider and center  Huh? Huh? Huh? It's not in ESC -> Options -> HUD and that is the extent of my knowledge of anything. Please help Embarrassed Huh?
The options are in the main menu.
Be sure to run "exec ui/hotfix_install.cfg"

If even then the options dont show up, you could try the command "cg_hudFiles ui/layout6.cfg".
Logged

Lecavalier


Turrets: +17/-5
Posts: 227


« Reply #9 on: November 26, 2010, 03:41:39 PM »

OK, I am nub. How do I get Hellrider and center  Huh? Huh? Huh? It's not in ESC -> Options -> HUD and that is the extent of my knowledge of anything. Please help Embarrassed Huh?
The options are in the main menu.
Be sure to run "exec ui/hotfix_install.cfg"

If even then the options dont show up, you could try the command "cg_hudFiles ui/layout6.cfg".
That got it, thanks.  Kiss
Logged

I wanted you to see me before I killed you.
E-Mxp


Turrets: +27/-10
Posts: 722


« Reply #10 on: December 09, 2010, 10:06:34 PM »

Updated to v1.1!
Check the first post!
Logged

Superpie
Spam Killer
*
*

Turrets: +104/-47
Posts: 337

.


WWW
« Reply #11 on: December 10, 2010, 08:43:18 AM »

I think this is venturing a bit far for a hotfix Tongue
Logged

OhaiReapd
Spam Killer
*

Turrets: +7/-239
Posts: 942


« Reply #12 on: December 20, 2010, 08:23:56 PM »

I keep getting decompression failed message.
Logged

E-Mxp


Turrets: +27/-10
Posts: 722


« Reply #13 on: December 21, 2010, 01:03:36 PM »

I keep getting decompression failed message.
Im using 7zip and it has no problems with decompressing it.
Logged

OhaiReapd
Spam Killer
*

Turrets: +7/-239
Posts: 942


« Reply #14 on: December 24, 2010, 07:16:13 AM »

Idk what I am using, but it works for everything else I dl.
Logged

E-Mxp


Turrets: +27/-10
Posts: 722


« Reply #15 on: December 25, 2010, 08:15:29 PM »

Merry Christmas, everyone!

I present you a small Christmas present: an update! :3

Yes, the votes overlapping the teamoverlay started to annoy me, so here a fix!
Logged

your face
Community Moderators
*

Turrets: +109/-407
Posts: 3533


really your face here


WWW
« Reply #16 on: December 25, 2010, 08:57:58 PM »

Merry Christmas, E-Mxp!  Smiley
Logged

{NoS}Your Face
Quote from: codercon
Tremulous is probally the best freeware you will ever play. whats better then being a humman gunning down aliens or an alied killing soem humans.
(11:53:30 AM) Koragg: Oh god all channels red
OhaiReapd
Spam Killer
*

Turrets: +7/-239
Posts: 942


« Reply #17 on: December 26, 2010, 09:15:52 PM »

Fix link.
Logged

E-Mxp


Turrets: +27/-10
Posts: 722


« Reply #18 on: December 26, 2010, 09:43:37 PM »

fix link
Logged

OhaiReapd
Spam Killer
*

Turrets: +7/-239
Posts: 942


« Reply #19 on: December 27, 2010, 12:03:05 AM »

Thanks.
Logged

E-Mxp


Turrets: +27/-10
Posts: 722


« Reply #20 on: January 09, 2011, 09:59:40 PM »

Another update! Check the first post!

Unless some serious bugs come up I consider this to be the final version.
Logged

ZeroKnight


Turrets: +1/-1
Posts: 10


« Reply #21 on: January 09, 2011, 10:42:03 PM »

This looks really nice. If I can't get the Voltage HUD working, I think I'll use this.

I decided to use it.
« Last Edit: January 10, 2011, 02:51:20 AM by ZeroKnight » Logged
E-Mxp


Turrets: +27/-10
Posts: 722


« Reply #22 on: January 10, 2011, 06:00:39 AM »

I just got a message from ZeroKnight that there is a bug that does not allow Tremulous to remember your hudsettings if you close it and fire it back up again.

Well, I would have to say that I had this problem too and indeed, for some reason Tremulous does not want to put the settings in the autogen.cfg file. Adding them in manually will fix this problem and afterwards it will remember your settings.

The commands this hud uses are also the ones found in the install config. These are:
Code:
set cg_hudFilesEnable "1"
set cg_hudFiles "ui/layout1.cfg"
set hud_scannerFullScreen "0"
set hud_nonScoreStageReport "1"
set hud_consoleAlignCenter "0"
set hud_blobCenter "1"
set hud_widescreen "0"
set hud_teamoverlayLocation "1"
set hud_dotXhairs "0"

This should fix the problem.
Logged

ZeroKnight


Turrets: +1/-1
Posts: 10


« Reply #23 on: January 10, 2011, 06:38:57 AM »

Just to save people some messing around, here's all the less obvious values.



For the different HUDs:

layout1 = Superpie Default
layout2 = Superpie Center
layout3 = Warrior Default
layout4 = Warrior Center
layout5 = Hellrider Defaut
layout6 = Hellrider Center

Aspect Ratio:
hud_widescreen

0 = 4:3
1 = 16:10
2 = 16:9


Crosshairs:
hud_dotXhairs

0 = Off
1 = White
2 = Blue
3 = Black


Everything else:

hud_blobCenter --- 0 = Adv. Goon barbs are in the bottom || 1 = Barbs are just below the crosshair
hud_consoleAlignCenter --- 0 = All text is in the top left || 1 = All text is in the top center
Logged
E-Mxp


Turrets: +27/-10
Posts: 722


« Reply #24 on: January 20, 2011, 08:46:42 PM »

Uploaded a very small fix.
I accidentally deleted a } and so the stage report on the human hud was broken. Fixed.
Logged

E-Mxp


Turrets: +27/-10
Posts: 722


« Reply #25 on: March 03, 2011, 10:11:01 PM »

Uploaded a new version to reflect the buildpoint changes in gppr2184 (March 02 2011).

Check the original post!
Logged

E-Mxp


Turrets: +27/-10
Posts: 722


« Reply #26 on: May 02, 2011, 09:12:14 PM »

Created a new hud that is more compact than the Centered hud, therefore: Compact.

Please try it out, and let me know what you think!


Logged

Moose


Turrets: +2/-1
Posts: 59

Proud member of Xenocide


« Reply #27 on: May 03, 2011, 07:50:53 PM »

I like it, looks nice.
Logged

Without J-cool, I'm pretty sure that Mars would not be doing nearly enough drugs to maintain his childish composure, and the world would be destroyed.
ThisIsBS


Turrets: +4/-45
Posts: 123

<3


« Reply #28 on: May 04, 2011, 10:09:16 PM »

I've been using this hud forever, thanks for the compact. I'll try it today, looks really neat.

+cookie

Edit: The hud menu never seemed to work for me. Where should I put the z_hudoption.pk3? Since you changed the layout thing (layout1.cfg/layout2.cfg), I can't figure out how to use the hud now (I wanted Hell Riders Compact).

Any help? Since z_hudoption.pk3 was next to the ui, I put it there in the Tremulous Installation base folder.
« Last Edit: May 04, 2011, 10:18:20 PM by ThisIsBS » Logged

E-Mxp


Turrets: +27/-10
Posts: 722


« Reply #29 on: May 05, 2011, 08:44:25 AM »

I've been using this hud forever, thanks for the compact. I'll try it today, looks really neat.

+cookie

Edit: The hud menu never seemed to work for me. Where should I put the z_hudoption.pk3? Since you changed the layout thing (layout1.cfg/layout2.cfg), I can't figure out how to use the hud now (I wanted Hell Riders Compact).

Any help? Since z_hudoption.pk3 was next to the ui, I put it there in the Tremulous Installation base folder.
You should place all the files into your "/gpp/" folder, then open the console and type in "/exec hotfix_install.cfg".
That should do it.  Granger
Logged

Pages: [1] 2  All   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC
TremPlus theme by Ingar, based on AF316 theme by Fedhog
Valid XHTML 1.0! Valid CSS!