Announcement

Collapse
No announcement yet.

Custom HUD with CSQC

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

  • #76
    Hello Nahuel,

    if you dont use a software like that, you will lose time.
    That is for sure.
    I spoke about it here

    I use it almost everyday for everything (not only files).
    It can also compare .exe files or pictures, or anything...

    Here are 2 screenshots, that shows how it works:
    1.) Compare your 2 folder to see what files are new / updated / different:


    If you want to compare 2 files (lets say: "main.qc"):
    2.) just klick on them, and a new tab will open, comparing these two:


    As you see, the new lines will be automatically marked red
    Or if the difference is just a word or a symbol, the single thing will be marked red.
    You can now simply copy paste things from left to right with one click.
    And you can of course edit/write in both sides/files just like you do it in notepad !
    In the end, save it.
    You can even compare more than 2.

    Ohhh, there is so much more that these programs can do.
    If you compare big/long code files you can see on the far left side (a small column), where the differences are in red.

    There are 2 programs, that I know of:
    1.) Freeware: Winmerge
    2.) Shareware: Beyond Compare V3 (I love this one)
    Without it, the "small mod compilation" would not have been possible.



    @ webangel

    You see, you can do it if you want !
    The next step is to understand the content.
    And then, start to modify/change it.

    For example:
    If you dont like the randomly moving/shaking "map name",
    search for the line for it in the code and modify it.
    I didnt like it myself and made it stable/static.
    Or if you want to increase this effect, change the code to do so...
    It is all up to you.


    One day, you will be like Spike:
    You will read code like reading a newspaper !
    But I guess this day will never come. He is untouchable/unreachable.
    Thank god we have him, to help us newbs to find the way back to our path.

    Kind regards,
    Seven

    Comment


    • #77
      Hello Nahuel,
      I didn�t noticed it before, but your new Kleshik-Hud seems to screw the Fog somehow.
      With normal Fog settings it is not visible any more!

      Tried it with YOUR Rogue csprogs! Without it everything is OK.

      My Fog via start.ENT:
      "fog" ".55 .1 .2 .05 1 20 2000 15 50"

      then try:
      "fog" ".5 .5 .4 .2 1 5 2000 55 30"

      Last edited by webangel; 10-16-2011, 12:47 PM.

      Comment


      • #78
        Originally posted by webangel View Post
        Hello Nahuel,
        I didn�t noticed it before, but your new Kleshik-Hud seems to screw the Fog somehow.
        With normal Fog settings it is not visible any more!

        Tried it with YOUR Rogue csprogs! Without it everything is OK.

        My Fog via start.ENT:
        "fog" ".55 .1 .2 .05 1 20 2000 15 50"

        then try:
        "fog" ".5 .5 .4 .2 1 5 2000 55 30"

        you can delete the code of the underwater fog. maybe is posible that csqc "read" the current fog an update it when you leave the water
        the invasion has begun! hide your children, grab the guns, and pack sandwiches.

        syluxman2803

        Comment


        • #79
          Without the UpdateFluidContents Code my screen is black.
          Do you mean something different!

          Comment


          • #80
            Originally posted by webangel View Post
            Without the UpdateFluidContents Code my screen is black.
            Do you mean something different!
            in main.qc you find this

            void() CSQC_UpdateView =
            {
            vid_width = cvar("vid_conwidth");
            vid_height = cvar("vid_conheight");

            R_ClearScene();

            UpdateFluidContents(false);

            R_AddEntities(MASK_NORMAL | MASK_ENGINE | MASK_ENGINEVIEWMODELS);

            R_SetView(VF_DRAWWORLD, 1);
            R_SetView(VF_DRAWCROSSHAIR, 1);
            R_SetView(VF_DRAWENGINESBAR, 0);

            R_RenderScene();
            if(g_fMapNameDisplayState)
            HUD_UpdateMapNameDisplay();

            Sbar_Draw();
            };
            just comment out the underwaterfog function.
            Your code will be
            void() CSQC_UpdateView =
            {
            vid_width = cvar("vid_conwidth");
            vid_height = cvar("vid_conheight");

            R_ClearScene();

            //UpdateFluidContents(false);We dont call the function

            R_AddEntities(MASK_NORMAL | MASK_ENGINE | MASK_ENGINEVIEWMODELS);

            R_SetView(VF_DRAWWORLD, 1);
            R_SetView(VF_DRAWCROSSHAIR, 1);
            R_SetView(VF_DRAWENGINESBAR, 0);

            R_RenderScene();
            if(g_fMapNameDisplayState)
            HUD_UpdateMapNameDisplay();

            Sbar_Draw();
            };
            the invasion has begun! hide your children, grab the guns, and pack sandwiches.

            syluxman2803

            Comment


            • #81

              I tried this .......

              Now it works !
              Thank You!

              Comment


              • #82
                Hi Nahuel,

                do you have fixed the bug with your HUD for ID1 (the bug with not stats coming up at the end of a map)? Maybe, i could do it myself?

                Nico

                Comment


                • #83
                  Originally posted by TR2N View Post
                  Hi Nahuel,

                  do you have fixed the bug with your HUD for ID1 (the bug with not stats coming up at the end of a map)? Maybe, i could do it myself?

                  Nico
                  Hello Nico (maybe nicol�s?) I will fix the code today, do not worry. Currently I am experimenting with some CSQC movil cameras. Otherwise surely you can fix the code!!! Experiment with csqc, is just great
                  the invasion has begun! hide your children, grab the guns, and pack sandwiches.

                  syluxman2803

                  Comment


                  • #84
                    Hi Nahuel, thanks for your reply an for fixing the code!

                    No, just Nico!

                    I will have a look into it, but i haven't any programing skills. Hmm, something new to study!

                    Comment


                    • #85
                      Hi Nahuel,

                      i had a look into the code, but i don�t understand it at the first look. Maybe you can fix the code of your HUD, so i can see the difference you have done. It may help me understanding.

                      Cheers,
                      Nico

                      Comment


                      • #86
                        CSQC Hud V.3
                        well this is the new version: download
                        -end map stats (intermission)
                        -conected players on display
                        -name of the map
                        the invasion has begun! hide your children, grab the guns, and pack sandwiches.

                        syluxman2803

                        Comment


                        • #87
                          Hello Nahuel,

                          Thank you very much for your Version 3 !

                          I saw that you removed the underwater fog due to some issues with world fog.
                          The end map stats work perfectly.
                          The font is a little bit too big, but that can be adjusted easily...



                          Thanks again Nahuel !
                          Now I can go to bed

                          Seven

                          Comment


                          • #88
                            Thank you Nahuel!

                            Comment


                            • #89
                              Originally posted by nahuel View Post
                              CSQC Hud V.3
                              well this is the new version: download
                              -end map stats (intermission)
                              -conected players on display
                              -name of the map
                              Thanks Nahuel!

                              Comment


                              • #90
                                I've managed to get original score bar through switching to engine hud when in intermission.
                                Is there any way to get proper level external camera view as a background instead of the last frame before intermission ? I miss that
                                Quake HD: Embrace the decline and have some guilty pleasure with it, or join a club for monocled gentlemen at quaddicted and play Quake the way it's meant to be played.

                                Comment

                                Working...
                                X