Announcement

Collapse
No announcement yet.

Editing DarkPlaces menus

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

  • Editing DarkPlaces menus

    Hi! Somebody knows any way to add a new menu item in DarkPlaces interface? For example I made a new custom control for walking:
    Code:
    alias +walk "set cl_forwardspeed 50; set cl_backspeed 50; cl_sidespeed 50"
    alias -walk "set cl_forwardspeed 200; set cl_backspeed 200; cl_sidespeed 350"
    bind SPACE +walk
    Is any way to add this control into the interface?

  • #2
    Hey there. You can do it using CSQC (Client Side Quake C). You could make an entirely new interface if you wanted to. You'll have to start learning how to code for Quake, specifically for the CSQC extension, if you haven't already. But it can be done, I plan on learning how to do this in the near future.

    If you're looking for specific details, I'm afraid I can't help much at this time. But if you really start digging into it and show enthusiasm, some of the pro coders on here will probably lend some advice. Most of the info you'll need to start can be found online.
    'Replacement Player Models' Project

    Comment


    • #3
      Thanks for reply. If you meant the Darkplaces sources then I know about it. Of course if I'll edit the sources I can make absolutely everything with Darkplaces
      I mean some another, maybe Darkplaces has possibility to make some dll-plugins(like the Olly Debugger, for example) etc...

      Comment


      • #4
        actually Dutch speaks about an add-on (the menu.dat), With the menu.dat you can make a menu from scratch. But i think is very hard to get a descent menu with menu.dat easily. aniway to edit the menu.c from darkplaces source is pretty easy to get a new button You can compile darkplaces with mingw
        the invasion has begun! hide your children, grab the guns, and pack sandwiches.

        syluxman2803

        Comment


        • #5
          Ok, I understood, tnx (looked the menu.c, seems it's really easy way to add a new key binding)
          ps
          looked the Dev-C++, very surprised by fact that it's written in Delphi
          It's really funny to tell about this some C/C++ zealots
          Last edited by Rivarez; 04-28-2014, 09:03 AM.

          Comment


          • #6
            Well, it didn't surprise me that the sources aren't compiled
            There are no cl_gecko.c and cl_gecko.h in LordHavoc's sources. Online I found many various versions of these files, but none of them can be compiled with no errors....

            Comment


            • #7
              use mingw! you can just use in mingw "makefile cl-release"
              the invasion has begun! hide your children, grab the guns, and pack sandwiches.

              syluxman2803

              Comment

              Working...
              X