|
Posted by Baker on 2012/06/29 11:38:17 |
I wasn't planning on doing this mini-project, it started as an effort to address some Fitzquake issues, fix them the right way up to Fitzquake standards (i.e. do it right, once and properly versus continual releases) and donate it back.
FitzQuake Mark V Download:
http://quake-1.com/docs/utils/fitzquake_mark_v.zip
Short version: Eliminated most issues in FitzQuake thread, most issues I can even remember hearing of ever and marked every single one clearly with a very minimal implementation.
It may be the case that only metlslime and Quakespasm and engine coders may find this engine upgrade of interest.
Features: 5 button mouse support, single pass video mode, external mdl textures, alpha textures (like RMQ), record demo at any time, rotation support, video capture (bind "capturevideo toggle"), console to clipboard, screenshot to clipboard, entities to clipboard, tool_texturepointer, tool_inspector (change weapons to see different info), clock fix, contrast support, fov does not affect gun, gun displays onscreen, Quakespasm wrong content protection, external ent support, session-to-session history and .. (see readme). |
|
|
Gunter
#1301 posted by mh on 2016/10/28 09:16:25
No no no no no.
The centerprint positioning you want is not more optimal in the general case.
It's more optimal for your mod. It's more optimal for what you want to do. And that's leading you to downplay the importance of it's actual intended purpose.
A useful rule of thumb in cases like this is to ask yourself "what if two mods did this?"
So please, try to look beyond your own requirement and think about what would happen if two mods had different centerprint positioning needs.
That's why we have defaults and that's why defaults sometimes don't suit individual mods.
There is a useful dialog to be had about making centerprint positioning more flexible - maybe keep the default but stuff some control characters to the start of the string to override. But right now you're being just as inflexible about it yourself.
#1302 posted by Baker on 2016/10/28 09:33:43
Next version: Coop players spawn partially transparent, get less transparent each second.
While transparent, they may walk through each other/cannot be telefragged.
Maps without coop spawn points will be drastically less annoying for coop. Pure engine modification.
#1303 posted by Baker on 2016/10/28 09:51:54
Also in next version, Nehahra support is perfected and polished.
Includes fog support (yhe1, I think kept bringing it up) via non-standard commands that Nehahra uses and full fmod support.
Mark V starts up fmod if you activate Nehahra, shuts it back down if you change the gamedir back to id1. Also during the fmod startup, it adds the Nehahra special commands in and then removes them on shutdown.
/It has been discussed before that Nehahra tries hard and heavy to screw with your settings (fov, wateralpha, crosshair, viewsize, and on and on and on ... sheesh). The engine lies to Nehahra, pretending those things happened.
Hate To Triple Post ...
#1304 posted by Baker on 2016/10/28 10:09:02
Next version: The built-in install single player releases from Quaddicted via typing "install" in the console has been enhanced some.
The install command will autocompete 538 Quaddicted single player releases. It can install the ones that don't auto-complete, but I didn't want the lower rated releases to autocomplete.
And this subset is searchable similar to the "find" command, but I haven't been able to figure out a good name for it.
Misc stuff: the OpenGL build may be able to work for, say, Gunter or Jonathan with touchy OpenGL drivers. Added -nomultisample (<-- I think this is the villain) and -nostencil command line params, hopefully one of those will solve the issue, particular for Gunter who can run Quakespasm ok with r_oldwater 0. Also bind 3 three keys in menu in customize controls.
Shooting for a couple more things (and intentionally keeping something rather unusual a surprise) ... I've been wanting to get this engine completely polished up for over 2 years now.
Probably will have international keyboard support. I've procrastinated on that because of more serious issues, but modern ProQuake has had international keyboard support for ages and ages (I worked with Vegetous and rudl as beta testers back at the time.). Also want it to be able to be turned off on a whim, like ProQuake does.
#1305 posted by PRITCHARD on 2016/10/28 11:12:28
I'm a bit confused about this centerprint argument right now. Gunter wants it to be returned to how the original engines and some custom ones do it, mostly because it serves his needs better (the argument can be made that it's also good to be more like the "real deal" anyway...), but mh doesn't want that because it's considered worse for a lot of other mods/use cases.
If i've summed it up well enough, I can't see where this discussion can go from here. And I mean, it hasn't really been going anywhere regardless.
Actually No
#1306 posted by mh on 2016/10/28 17:29:56
There are two elements to it.
Part one is that the original engine suppressed centerprints when the menus were up. Some engines changed this behaviour to retain centerprints. This should be reverted.
Part one is not in dispute.
Part two is that the default positioning of centerprints should be changed to suit Gunter's mod and that the original intended purpose of centerprints is not as important as Gunter's mod.
Part two, and only part two, is in dispute.
Crap-it-all!
#1307 posted by Qmaster on 2016/10/28 18:57:28
Now I don't know whether to use Mark V or QSS. I know it's too much to ask to make them a joint effort. This engine has x awesome feature and that engine has y awesome feature. And poor player doesn't know whether to get the camaro or the mustang, especially not when yall keep turbocharging them and adding cool features. To think I used my old beater WinQuake for so many years up until a couple years ago. Had to ditch DP since it didn't twist water right, plus it leaked oil all over my config file.
I'm tempted to compile a comparison chart so people can better pick the best engine. It'd be hard to keep up though.
#1308 posted by Gunter on 2016/10/28 19:32:55
You have it right, Pritchard. mh is confused.... Maybe he didn't fully digest the post I made where I showed that the positioning I want is actually the default positioning of original Quake.
See for yourself. Start a single-player game in original Quake, GL, or Proquake (which uses the same positioning). As you walk through a hall you will get the one-line message about "this hall selects whatever skill." Note the position above your crosshair. Now enter the first episode area, and you get the 4-line message about the dimension of the doomed. Note that it still starts at the same place, but is still fully above your crosshair position (assuming you aren't in a tiny resolution). All good. Now enter the second episode area where there is a FIVE-line message about the realm of black magic... but look where it is positioned! It's way up near the top (again, resolution dependent)! Why? Probably for the same reasons I talk about: so that it doesn't actually start to extend to the crosshair area and block that important area of your view, when instead you can move it upward because you have all that extra screen space where it could go instead.
This is NOT a case where I want to change the positioning JUST to suit my mod -- this positioning would be better for ANY mod that uses centerprints, and even for original Quake. So yeah, it IS more optimal for the general case.
id, in all their wisdom, chose this positioning for good reasons. I, in all my wisdom, wanted this positioning too, for good reasons, before I actually realized it was the original positioning, haha. I didn't know at first that this positioning was from original Quake (I've been away from Quake for a couple years :p ) -- I just knew that it had changed from what I was used to in ProQuake, and the change had made things less optimal, and it ended up obscuring my view in an unpleasant way.
So it turns out you actually agree with me, right mh? You think the default Quake behavior should be used, correct? Good, glad we have that settled.
Or are you focusing too much on the idea that I am wanting to change the PURPOSE of centerprint messages, from when I said, "But I think at this point they are no longer 'always important,' sooo.... they don't really need to be inconveniently in the middle of your view anymore :D"
Much like id's original statement, I was not being completely serious. id's original statement was a small joke (I thought it was funny anyway) -- it's simply not true that every centerprint in Quake is 'always important,' and they aren't even always inconveniently in the middle of your view, as I demonstrated above.
Sure, I did talk about even changing it a bit beyond the original positioning, but that's the kind of ideas that should get thrown around in threads lie this. After some testing, I have found that I actually have a great deal of control with id's original centerprint positioning.
If I want it to appear closer to the center of the view, I just make it 4 lines or fewer (that is the actual limit, now that I've checked for sure).
If I want it to appear near the top (it's "7 lines" from the top), I just make sure to pad it with extra lines ("one line\\n\\n\\n\\n" will appear at the top).
I can even move it below the crosshair area if I stuff in a bunch of extra lines above what I want to print....
I have lost this level of control in Mark V, so yeah, I would like it reverted to Quake's default behavior.
And apparently you agree with me, right mh? You seem to pretty strongly advocate for using "defaults..." So we are in total agreement here!
Now let me consider some of these other juicy changes Baker is adding in....
#1309 posted by Joel B on 2016/10/28 19:42:07
Yeah that's difficult since a lot of stuff is not well-documented, plus there's an avalanche of little things that someone may or may not care about.
One could try to do a chart comparing engine support for widescreen, rendering API, palettized rendering output, texture filtering, QW multiplayer, QW listen server, singleplayer, colored lighting, soundtrack music files (and in what formats), bsp2, map texture replacement, model texture replacement, alpha-masked textures, various fog behaviors, .ent files, .loc files, QC extensions, clientside QC, XInput controllers ... you could really keep going and going and even then never get to things like "centerprint behavior" :-) or corrected weapon-viewmodel-height or whether the demos play on startup. Which some folks really care about!
It might be a good thing to try to set up as a shared Google-docs spreadsheet that a few engine experts/aficionados would be interested in keeping up-to-date. I dunno. There's a chance it would just get dozens of feature-columns added for minor things which only apply to one specific Quake engine.
#1310 posted by Joel B on 2016/10/28 19:42:31
was replying to Qmaster there
#1311 posted by Gunter on 2016/10/28 19:45:26
"Coop players spawn partially transparent ... cannot be telefragged"
Brilliant! We do have that problem in FvF! Unfortunately, I don't think this is going to help me, heh. That would be a server thing, right? Polarite runs some linux proquake for the server.... Further, FvF doesn't actually run in coop mode -- it runs in a special deathmatch mode (coop 0, deathmatch 3), so all the doors are already open and we don't have to go around collecting keys and things most of the time. We just get to killing the monsters.
But this certainly give me the idea to try this change in the mod, instead of the standard 3-second spawn protection pent (which prevents telefragging, but causes people to sometimes be pushed into the floor). Hm, but what happens if the players are standing on top of each other when they became fully opaque?
I'm hopeful about the gl issue workarounds....
#1312 posted by ericw on 2016/10/28 20:31:40
That is pretty weird behaviour in WINQUAKE.EXE: set the res to 1024x768, walk up to the episode 2 entrance in start.bsp, and the 5-line message is near the top of the screen. The episode 4 message (4 lines) is just above the crosshair.
This feels like something where the code is fudged in a way that looks good at 320x240. (another is the weird left-aligned deathmatch hud)
Episode Messages
#1313 posted by Qmaster on 2016/10/28 22:26:04
The episode ending messages use WriteString, not centerprint and that is why they are at the upper portion of the screen.
@Johnny Law: Might do...sounds tedious but I do like that sort of thing.
Chase_mode
#1314 posted by Gunter on 2016/10/28 23:54:51
Last night I was using chase_active 1 too look at some splashing water effect I'm trying, and I thought it would be nice if the crosshair was still accurate even in chase cam.
I used the autocomplete and found the chase_active setting which I had forgotten about, and toggled it on, and found that my crosshair was accurate in chase mode! Ok, that's nice.
However, chase_mode does not act in an intuitive manner -- I reported this as a bug in the past because I did not know what was happening. It seems that chase_mode cycles through 8 different modes (and most all of them are going to be completely non-useful, I think) without letting you know it's doing that. I did find that I can do "chase_mode 1" to specify I want that first mode with the accurate crosshair.
Perhaps the cycling of chase_mode should be followed by a notification, like "chase_mode is 4" or whatever.
And I guess this would throw everything off with crosshair accuracy, but it would really be nice if I could re-position the chase cam so that it was like right above my shoulder, as in many 3rd person shooter games (chase_right just doesn't work in chase_mode 1, etc).
Maybe one of the default chase_modes could be a view like that....
I can't tell what the difference is between chase_mode 1 and chase_mode 2. Chase_mode 3 and higher are rather crazy.
Quake has had chase cam for a long time; it's just never been that useful. Having an accurate crosshair even in chase mode is a big improvement. I just need to be able to move the cam to the right a bit so my guy isn't blocking my aim....
#1315 posted by Baker on 2016/10/29 00:35:21
Chase_mode is a "for fun" feature.
Gives different camera perspectives, possibly for making a "movie"/.avi/Youtube video.
Games with sophisticated camera control have massive C++ libraries created by paid game professionals, sometimes involving camera hint entities and such in the maps.
Like shadows, chase_active 1 is just a hack. I gave some extra flexibility for making a Quake vid and ...
... gave it an MH tune up where MH made the chase camera collide with the wall far more accurately. Used to be something mh and I talked about a ton, haha.
But once I saw the massive C++ camera code in commericial class engines, yeah ... sadly it's a lost cause.
Won't be altering chase_mode for the foreseable future. Have more important issues.
I'm just one person.
@qmaster
#1316 posted by Baker on 2016/10/29 00:58:05
I'll probably be making at least some light documentation since it looks like the engine will finally be out of beta testing stage -- a place its been living due a lack of time.
Window Switching Gamma
#1317 posted by Gunter on 2016/10/29 18:53:27
I don't know how fixable this would be, but I'll mention it.
I have an altered gamma profile on my netbook, to brighten the screen a bit -- the default is too dark. It loads up automatically in windows once I set it in the graphics properties.
Mark V uses hardware gamma, as you have mentioned, and it looks good in the game.
If I run Mark V in a window, I can see that my other windows are even brighter than usual, but when I switch away from Mark V (or when I exit Mark V) it returns my netbook to the default setting instead of my altered gamma profile (switching back to Mark V changes it again to the gamma settings I made in Mark V -- of course, this all still applies when I run in fullscreen too; it's just easier to notice when I run in a window).
It's not a huge problem, since I have a taskbar icon I can use to set my gamma profile, but ideally it would return my gamma profile to what was selected before I started Mark V, rather than the default (which is "no adjustment").
#1318 posted by Baker on 2016/10/29 19:07:56
You can do vid_hardwaregamma 0 in Mark V and only get contrast correction (no gamma). Only other option.
#1319 posted by Baker on 2016/10/29 19:11:34
Next version: Marcher is fully coopable; engine overrides bad keys behaviors in coop.
@gunter
#1320 posted by Baker on 2016/10/29 19:20:22
I might add a texture gamma option into the (it won't be very flexible though) next one. I want to see what texture gamma would look like (it might look nice, it might look "wrong" -- only one way to find out).
Mark V already can apply gamma/contrast, it does it to screenshots when hardware gamma is used so the screenshots look like what you see on the screen -- I just don't have it setup to do that when loading textures.
#1321 posted by Gunter on 2016/10/30 00:09:31
Ah. Well, as I reported a while back, the Contrast adjustment makes everything look really good, except fullbright textures, which it makes look pretty bad (really washed out, losing a lot of the variations in color). So I ended up turning contrast all the way down.
If there was a way to have contrast not affect fullbright things (like wall torches), that would be great.
Interestingly, when the Menu is up and the rest of the screen is kind of "darkened" then the fullbright textures look good again, and you can see the fine variations in color in them.
Also, I think I saw this in FTE, but it's really nice how, when you have selected gamma or contrast in the menu, that "darkened" effect goes away, so that you are actually seeing what the game is going to look like while you are adjusting the colors.
Here, visual aid:
http://imgur.com/a/OPTqa
I really like the way contrast makes everything else look (colors are vibrant, especially the screen text, which becomes much easier to read); it just crunches the heck out of fullbrights.
Z-fighting
#1322 posted by Gunter on 2016/10/30 02:48:54
Could something be done about the visual glitch commonly known as "z-fighting?"
It's what you see when two surfaces are at exactly the same location, and the engine seems to draw them both, producing really ugly, flickery/flashy results...
One of the best (worst?) examples of this is the large platform in the water on e2m2, which must be raised to get to the exit area. When it's lowered, it's at exactly the same level as the water surface, and it looks reaaaaly bad (this issue only occurs in 3D engines -- not software renderers such as Mark V Winquake).
And it's not always a z-axis issue -- the same thing can be seen on e4m5 where the secret door opens at the start.
I suppose the engine should favor drawing any map brushes over door entities to address this.
I use an ugly hack in FvF and move every door and wall entity on every map by a tiny amount (less than one unit) just so they never appear at exactly the same position as a brush! It eliminates the z-fighting (or x or y-fighting), but it causes tiny cracks to appear near many doors, if you look really closely, heh. But that's a much less ugly thing than the z-fighting.
#1323 posted by Baker on 2016/10/30 02:17:16
gl_zfix 1. It is off by default.
Z fix fighting fixes in engines are evil.
On some graphics cards due to different calculations, they will reveal secret doors.
On other graphics cards the z fighting calculation may not fix z fighting the same.
There is no such thing as a z fighting fix, just a way to try to cover up problems where the solution may yield different problems (hidden doors being exposed).
#1324 posted by Rick on 2016/10/30 04:01:57
The way I always understood it, z fighting was a mapping error. As in, don't let two valid surfaces occupy the same place, doors exactly the same thickness as the wall they slide into and that sort of thing.
#1325 posted by Gunter on 2016/10/30 04:30:32
Ah, thanks. gl_zfix 1 is a definite improvement, but not perfect for me (as you said).
It works better the closer I am to a surface. If I'm right up on something, it looks fine, but the farther away I move, the more it z-fights.
|
|
This thread has been closed by a moderator.
|
Website copyright © 2002-2024 John Fitzgibbons. All posts are copyright their respective authors.
|
|