Hey guys.
I'm running Joe Quake GL, and I get tremendous lag from any sort of screen flash (damage, item pickup, being underwater, powerups, etc). I notice that my second monitor flashes with the game, and I believe this is why I get video lag.
I changed cl_maxfps to 125, and that helped smooth out the game overall, but not completely. I found the cvars that could probably fix the problem from JoeQuake's cvar list, but rather than turn off all flashes, I'd rather just have video from JoeQuakeGL stop outputting to my second monitor.
Any suggestions?
Thanks for your time.
Announcement
Collapse
No announcement yet.
Joequake
Collapse
X
-
Thanks, alias worked!Originally posted by Zop View PostIt looks like you're trying to do alias scripting (try 'alias' instead of 'set'), but the problem with vstr is that it's not defined anywhere... I don't see why you have it in there.
I was using vstr because I'm used to writing alias scripting under the q3 engine, which requires "set" to define a variable, and "vstr" do execute it.
Here's an example:
That's what I was trying to do. I mean, not a consecutive volume/gamma up/down function, but just a toggle, obviously.Originally posted by shugjr's qlive cfgr_gamma .8
bind + "vstr gup"
bind = "vstr gup"
bind - "vstr gdn"
bind _ "vstr gdn"
set gdn vstr gam07
set gup vstr gam09
set gam07 "r_gamma 0.7; set gdn vstr gam06; set gup vstr gam08; echo Gamma 0.7"
set gam08 "r_gamma 0.8; set gdn vstr gam07; set gup vstr gam09; echo Gamma 0.8"
set gam09 "r_gamma 0.9; set gdn vstr gam08; set gup vstr gam10; echo Gamma 0.9"
set gam10 "r_gamma 1.0; set gdn vstr gam09; set gup vstr gam11; echo Gamma 1.0"
set gam11 "r_gamma 1.1; set gdn vstr gam10; set gup vstr gam12; echo Gamma 1.1"
set gam12 "r_gamma 1.2; set gdn vstr gam11; set gup vstr gam13; echo Gamma 1.2"
set gam13 "r_gamma 1.3; set gdn vstr gam12; set gup vstr gam14; echo Gamma 1.3"
set gam14 "r_gamma 1.4; set gdn vstr gam13; set gup vstr gam15; echo Gamma 1.4"
set gam15 "r_gamma 1.5; set gdn vstr gam14; set gup vstr gam16; echo Gamma 1.5"
set gam16 "r_gamma 1.6; set gdn vstr gam15; set gup vstr gam17; echo Gamma 1.6"
set gam17 "r_gamma 1.7; set gdn vstr gam16; set gup vstr gam18; echo Gamma 1.7"
But like I said, "alias" worked, and I like it much better because it doesn't need another command to execute user-defined variables.
Thanks a bunch!
Here's the new script:
Originally posted by New and working scriptalias spd "spdon"
alias spdon "show_speed 1; alias spd spdoff"
alias spdoff "show_speed 0; alias spd spdon"
bind "mouse2" "spd"Last edited by shugjr; 09-25-2010, 03:04 PM.
-
Ya its in Q2/Q3 not sure wtf it's for atm, too tired at 2am to look it up. But seems like an alias to me...Code:/* ============ Cmd_VStr_f ============ */ void Cmd_VStr_f (void) { if (Cmd_Argc() != 2) { Com_Printf ("vstr <variable> : execute a variable command\n"); return; } Cbuf_InsertText (Cvar_VariableString(Cmd_Argv(1))); }
Leave a comment:
-
It looks like you're trying to do alias scripting (try 'alias' instead of 'set'), but the problem with vstr is that it's not defined anywhere... I don't see why you have it in there.
Leave a comment:
-
Actually, gl_hwblend 0 worked pretty well to fix the problem. Also, it's more desirable a solution, because it didn't eliminate the flashes completely, only diminished them. I further diminished them with gl_cshiftpercent 50.Originally posted by Baker View PostYou can also use vid_hwblend 0 to eliminate them.
Thanks! You just made JoeQuake 300% better for me.Originally posted by Baker3. Centering the HUD in JoeQuake is something like scr_centersbar
Actually, I'm using XP.Originally posted by foqAre you using Vista/7? Quake doesn't tend to work very well on those, at least in my experiance. Try adding -gamma .xx in the command like, where xx is the gamma value... I personally prever .65.
Here's another random question to bug you guys with:
Is there a way that I can import a simple "+" crosshair into Darkplaces? I mean, I appreciate all of his different style crosshairs, and style 5 is closest to a "+", but I don't see why you would leave out such a generic, popular crosshair...
Thanks for everything guys.
edit:
Yet another question.
Does anyone know how to use the "set" command under the Q1 engine? I'm trying to write a simple toggle script for JoeQuake's "show_speed" cvar.
Under the Q3 engine, you use "set" to define a variable, then use "vstr <variable name>" to execute that variable.
Unfortunately, I get a "Unknown command 'vstr'" when I try to use this script in JoeQuake:
Any tidbits of knowledge would be great. Even doing "bind mouse2 spd" doesn't work. Simply removing the "vstr" command does nothing.Originally posted by show_speed toggle scriptset spd "vstr spdon"
set spdon "show_speed 1; set spd vstr spdoff"
set spdoff "show_speed 0; set spd vstr spdon"
bind "mouse2 vstr spd"
edit:
Annnnd another question. Also posted this on the Rune Central JoeQuake forums (URL):
Originally posted by shugjrHow in the WORLD do I change JoeQuake's save file location to be the same as Quake 1/Darkplaces (quake\id1)? Having it at quake\joequake is really inconvenient for me, as I have to constantly copy/paste whenever I make progress in either JoeQuake, WinQuake, or Darkplaces.
Yes I know it's strange that I use them all, but I like to hop around and see what's different between the three.
I'm hoping that it's just a line in a file somewhere that designates the path, which I could change.
Help?Last edited by shugjr; 09-24-2010, 06:58 PM.
Leave a comment:
-
Are you using Vista/7? Quake doesn't tend to work very well on those, at least in my experiance. Try adding -gamma .xx in the command like, where xx is the gamma value... I personally prever .65.
Leave a comment:
-
1. JoeQuake uses hardware flashes for item pickups and damage flashes. Set v_bonusflash 0 and v_damageflash 0 to eliminate those. Hardware flashes with some video drivers are very slow. You can also use vid_hwblend 0 to eliminate them.
2. DarkPlaces-sdl.exe is an alternative library build of DarkPlaces using SDL ... a cross-platform library. You can use either darkplaces.exe or darkplaces-sdl.exe on Windows.
3. Centering the HUD in JoeQuake is something like scr_centersbar 1.
Leave a comment:
-
Holy jesus. Darkplaces is AMAZING.
But, what in the world is "darkplaces-sdl.exe"?
Leave a comment:
-
Hhmm, Ive never had any problems with Joequake. Its always ran rock solid. But I dont have 2 monitors either.
Leave a comment:
-
Mmm yeah. That's my only bitch with JoeQuake right about now. I miss the old HUD =(
You can get it if you lower "viewsize" (+ and -), but that adds borders around the screen. And, apart from that, the HUD still isn't centered.
I'd be happy with the JoeQuake style HUD, but centered.
Too bad it's not all .menu files like in q3/qlive, eh? Then I wouldn't have to bug you guys anymore =P
I found all the cvars I needed to put in my autoexec.cfg file, since of course the high video settings won't save automatically >.<
So that's a pro. But any help with this HUD dealio is/will be greatly appreciated.
Leave a comment:
-
I have no idea what darkplaces is.
In other news, I found that the cvar "gl_hwblend 0" fixed the problem. Makes the glows and flashes slightly less prominent, but keeps it from going to monitor #2.
Another question, is there any way for me to center the hud? I keep thinking my ammo is my health =/
Leave a comment:

Leave a comment: