Announcement

Collapse
No announcement yet.

Custom HUD with CSQC

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Custom HUD with CSQC

    Hello to everybody, first Sorry for my english! I Am noob in qc and (obviously) in csqc. Thanks to Chip and the site QuakeWiki I could find a simple use of csqc with the corresponding source. I commented on this to Seven, so that he could incorporate a customm HUD in his great mods. Seven did not like the HUD of this csqc, and then it gave me good ideas on this matter, and I could carry out them. Of course, I am quite untidy and Seven has arranged the dirty code so that a decent and prolix HUD stays.

    Credits:
    Chip, for the great quakewiki.net
    Seven, for arranging my code
    Unknow programmer, for his great and simple use of csqc

    Original csqc : QuakeWiki Custom HUD
    I recommend to use this csqc with "fully transparent HUD menu" of Seven.http://quakeone.com/forums/quake-mod...-hud-menu.html
    My modification:


    Instalation; Just extract the csprogs.dat in the folder of your mod.This HUD only works with the darkplaces engine Enjoy!
    DOWNLOAD
    (source included )


    For the Mission Pack 1 (Hipnotic)
    DOWNLOAD
    (source included)

    For the mission Pack 2 (Rogue). This is a early version, please, report bugs.
    DOWNLOAD
    (source included)
    Here you have the great update made by _smith_
    Originally posted by _Smith_ View Post
    HUDv4.71

    I've finally handled key binds in civilised manner. I am sorry it took so long
    Entries to keybinds table will be added automatically. Binds you already have in use won't be overwrited though.
    In such case you'll have to bind them manually to another key using regular console bind command ( details in the readme ).

    You can now switch between my and Nahuel's layout versions in-game, layout and compass states will be preserved between sessions, without autoexec.cfg edits.
    Two changes to my version of custom layout: icons position changed a bit and it will adjust to be just above fps/date/time every frame now.
    !! HE made a great work !!!!!!!!!!
    Last edited by nahuel; 08-18-2012, 06:33 PM.
    the invasion has begun! hide your children, grab the guns, and pack sandwiches.

    syluxman2803

  • #2
    Hello Nahuel,

    What a great contribution to this forum !

    Thank you very much again for your big effort in making this one as it is.
    And please stop saying that you are a noob in QC. Definitely/obviously you are not.

    Having a custom HUD like this was always a big wish for me.
    The original position of the weapon icons are blocking the view.
    The side position (especially for 16:10 monitors) are simply perfect.

    CSQC is (compared to QC) a much less documented code, that you rarely find sources for (to learn from).

    This is definitely a keeper in my Quake !

    For those who didnt notice it (Nahuel didnt mention it):
    There is a wonderful compass on top of the screen !
    Very helpful in some situations...

    Best wishes,
    Seven

    Comment


    • #3
      Hello Nahuel

      I love your hud...this has been one thing ive been waiting for


      what about viewsize? i cant see the ammo or weapons gfx unless in conwidth 640.


      the compass also looks nice.


      good job


      regards

      Sean

      Comment


      • #4
        ooh, proper tasty there! loving that compass

        Comment


        • #5
          Hello Seanstar,

          This HUD was designed for default/standard DarkPlaces width:
          - "vid_conwidth" "640"

          If you change your "vid_conwidth" to a smaller value, the right side will be outside of visible range.
          If you change your "vid_conwidth" to a bigger value, the right side will move inside.

          The other cvar can be changed without a HUD loss effect (default):
          - "vid_conheight" "480"

          I personally use "vid_conheight" "400" to make the HUD a little taller.


          If you change your resolution, the HUD will always work great.
          It is resolution independent !
          It will work for 1680x1050 or 1280x1024, or anything.

          Kind regards,
          Seven

          PS: Seanstar, If you want to keep your "vid_conwidth" (<640) setting:
          You can always use the source code (especially the file "sbar.qc") to edit the v_x values for the weapon and small ammo icons according to your needs.
          Compile it, and use it.

          Comment


          • #6
            thanks for the help Seven


            good idea about editing the sbar.qc



            i got the hud looking close to what i wanted thanks


            here is an image


            im using vid_conres 450x300

            Comment


            • #7
              Nice to know you're starting to be participatory here Nahuel..
              I'm downloading your HUD for sure, looks awesome!
              200 aņos de mi querido PARAGUAY
              14/05/1811

              Comment


              • #8
                looks nice!
                Is there a way to make mp huds too?

                Comment


                • #9
                  Thanks for your comments!!
                  Webangel do you speakl about the mission packs? if you are talking about it i say that I am working in the HUDīs. But itīs quite hard for me!!!
                  the invasion has begun! hide your children, grab the guns, and pack sandwiches.

                  syluxman2803

                  Comment


                  • #10
                    You can do it dude!
                    I'll try your hud right now..

                    EDIT: Can't compile..
                    Everytime I try to do it an error message appears "win64-fteqcc stopped working"
                    Last edited by DaniOcampo1992; 06-25-2011, 09:00 PM.
                    200 aņos de mi querido PARAGUAY
                    14/05/1811

                    Comment


                    • #11
                      Originally posted by nahuel View Post
                      Webangel do you speakl about the mission packs?
                      Yes.
                      I would love to see my MP1/2 Icons in your mod

                      Comment


                      • #12
                        Originally posted by daniocampo1992 View Post
                        You can do it dude!
                        I'll try your hud right now..

                        EDIT: Can't compile..
                        Everytime I try to do it an error message appears "win64-fteqcc stopped working"
                        try with this "gui compiler" (32 bits)
                        FTEQW - Stable Release
                        the invasion has begun! hide your children, grab the guns, and pack sandwiches.

                        syluxman2803

                        Comment


                        • #13
                          Originally posted by nahuel View Post
                          try with this "gui compiler" (32 bits)
                          FTEQW - Stable Release
                          32 bits compilers doesn't works, I'm using w7 x64..
                          But [email protected] already helped me via PM.. Thank you!
                          200 aņos de mi querido PARAGUAY
                          14/05/1811

                          Comment


                          • #14
                            Dear Nahuel,

                            Please check your inside3d inbox (because you didnt reply yet)
                            I found the answer to the last remaining issue for the Mission Pack HUD CSQC code.
                            Now they can be done...
                            Of course only if you have the time and will.

                            Kind regards,
                            Seven

                            Comment


                            • #15
                              Dear all,

                              We are sorry for the delay. Mission Pack 1 HUD is done.
                              It was NOT as easy as planned (item2num broke our neck).

                              All the credits goes to Nahuel !
                              He did a fantastic job. He is simply amazing.


                              DOWNLOAD

                              Comment

                              Working...
                              X