Bug
#1275 posted by ranger on 2014/10/02 18:21:20
The camera is messed up in the Monster Match mod
Svdijk, Szo
#1276 posted by Pekka on 2014/10/02 18:48:38
I tested Fitz-0.85 with Wine on Linux. It has the same behaviour, as far as I can tell without a careful side-by-side comparison. The zerend fix pak corrected the end map camera placement.
Rewatching the Youtube clip, I now see it stutters too when the camera is rotating. I think I perceive it as much less annoying because the YT video has a lower resolution and a slower framerate.
Thanks for the responses, everyone! Things work well enough with the patch. It would of course be nice to have non-stuttering rotating cameras in modern Quake source ports, but it's not a feature I really need at the moment.
If I do find unexpected engine differences with a more careful comparison, I'll post about them later. For now, I assume it was resolution, window size and FPS that made the rotational stutter so much more striking in the engine.
Svc_setangle As Short Or Float
#1277 posted by mh on 2014/10/03 18:54:00
Right now I don't think this is going to fix anything.
The real problem is that you're relying on how often QC updates the angles. If it thinks at 10fps then the angles are only going to update 10 times per second so it's going to be jerky no matter what precision you send the angle as.
The more robust solution seems to be to detect if a Zer cutscene is playing and use the cls.demoplayback angle interpolation code in CL_RelinkEntities.
At least in this case the QC isn't doing a bunch of PF_WriteChar/PF_WriteAngle calls, but that's also something you need to be careful of.
#1278 posted by necros on 2014/10/03 21:57:14
checking the zer progs, seems like camera updates are 100fps (time + 0.01).
This is just the low res angles for the camera.
#1279 posted by Spike on 2014/10/04 03:35:56
The irony being that the lower the packetrate used, the smoother the interpolation will be, as the network inprecision is hidden behind larger deltas.
with vanilla quake, with no interpolation, you wanted to spam as fast as you can to try to hit every notch to get it as smooth as possible that way. interpolation won't make that any worse, but you'll see it juddering still as the difference between each frame is non-linear due to rounding. shorts will help counter high packet rates.
my general recommendation would be to update angles exactly once per PlayerPostThink. This allows the client to properly detect when there's a camera active by the fact that every single update contains an angle change. The down side is that this requires the update be sent as unreliable packets instead of reliable ones so that they're kept in sync with entity snapshots over the internet where reliables cannot be acked near-instantly.
Anything else will be jerky in some situation. And yes... needs shorts or low snapshot rates.
#1280 posted by necros on 2014/10/04 18:19:12
is cutscene smoothness an issue over a network though?
#1281 posted by Baker on 2014/10/06 01:51:40
Cutscenes wouldn't be affected.
Zerstorer happens to be particularly uncoopable in a way that is more than having extra coop spawn points (I recall be pretty disappointed but can't recall the reason why it is uncoopable).
[Nehahra has at least one cutscene but is coopable (although if I recall a couple of rare maps failed to have multiple spawnpoints), but I don't recall anything about the cutscenes in coop (i.e. did they happen or not).
I know there are a couple of more single player releases with cut-scenes, but I can't their names and whether or not they are coop friendly.]
Config File Organization Tips Requested
#1282 posted by Pekka on 2014/10/10 11:21:56
How do people organize their config files for Quakespasm and multiple game directories? I mean the dirs that are selected with the -game option, of course.
I understand that I should put the bindings and options I want into autoexec.cfg files and it is probably helpful to delete the engine-created config.cfg files after modifying the autoexec files. However, what exactly happens if there are several config files that might apply for a given game setting? In what order are they processed?
What config files should I backup/copy, so I can reproduce my settings on another Quakespasm installation? I don't necessarily want to backup my whole .quakespasm subdir, because I don't want to keep all the saves, screenshots and whatnot.
Basically, I'm asking that if someone has worked out a good practice to follow, could they be kind & share the details. I'm asking here because QS is now my engine of choice for SP Quake.
Configs
#1283 posted by ericw on 2014/10/10 19:33:39
Preach has a great explanation of how the different config files relate:
http://tomeofpreach.wordpress.com/2013/09/05/quake-rc-and-being-a-good-citizen/
autoexec.cfg runs after config.cfg. You can put an autoexec.cfg in id1 and it'll get run on all mods (as long as the mod doesn't have its own autoexec.cfg), so putting all of your custom settings in id1/autoexec.cfg and backing that up is probably the way to go.
I'm pretty lazy and only change a couple settings from their defaults - always run, r_oldwater, statusbar size - so I don't bother with an autoexec.cfg.
Thanks Ericw
#1284 posted by Pekka on 2014/10/11 17:38:28
Thanks for the link. I also found this useful guide with a Google search.
http://steamcommunity.com/sharedfiles/filedetails/?id=120426294
Thought for the day: If I ever get confused which config files Quake is actually execing, I can put a lines like echo "this is from the foo directory" into them and see at the startup what is prints into the console. That'll help clear any confusion, though I think I got how it works already with the help of these links.
#1285 posted by Baker on 2014/10/11 18:11:27
When Quake starts up --- and this is in your console output:
execing quake.rc // This is in a pak file
execing default.cfg // This is in a pak file
execing config.cfg // This is YOURS
couldn't exec autoexec.cfg // This is YOURS
This always prints to the console so you don't need to put an echo in there.
If you are putting your personal settings in autoexec.cfg, that is the only file you need.
#1286 posted by Joel B on 2014/10/12 00:38:39
I've run into too many mods that contain an autoexec.cfg, so now I just always launch with a command line that will explicitly +exec a file that has the stuff I'd normally put in autoexec.
Wrongly Cfgured
#1287 posted by Preach on 2014/10/12 01:20:25
If it's any comfort, the post on how not to do that is one of the most read on my site, so it may happen less in future...
Yeah
#1288 posted by ijed on 2014/10/12 01:26:32
I read it, agreed with the logic and then went and broke all the rules in a fit of malaise.
I didn't force a resolution afaik though.
Sorry
#1289 posted by nitin on 2014/10/12 02:46:00
I might have asked this before but cannot remember where. Do any of the modern engines support Nehahra or are they too man mod specific hacks in that for that to be possible?
#1290 posted by Spirit on 2014/10/12 10:36:37
Thanks
#1291 posted by nitin on 2014/10/12 15:07:36
is that a fitz derivative out of interest?
#1292 posted by Spirit on 2014/10/12 15:43:39
Joequake mostly from what I know.
/gamma
#1293 posted by AAS on 2014/10/13 09:12:32
I think I found the reason why gamma is not working for me in recent builds.
I have 3 displays connected to 2 videocards (nvidia + intel).
When only one of the displays enabled (whether it connected to intel or nvidia) /gamma starts working.
But it doesn't work with 2 or more displays enabled (and even connected to the same card).
Can you guys nail this bug, please?
Asking because despite the fact that 0.85.9 spams to the console it actually changes gamma with all 3 displays enabled.
Nehahra Compatibility
#1294 posted by jakub on 2014/10/13 13:06:01
darkplaces is fully compatible with nehahra. i tested it accidentally just a couple of days ago and everything worked fine. new monsters, weapons, powerups and cutscenes.. it's all there.
AAS
#1295 posted by ericw on 2014/10/13 19:19:57
#1296 posted by Yhe1 on 2014/10/13 22:47:30
Directq v 1.88 patch 1 also supports Nehehra
Requiem
#1297 posted by Yhe1 on 2014/10/13 22:51:23
The Requiem menu is hard to use with the backspace key, is there a new version with the traditional menu?
#1298 posted by Spirit on 2014/10/13 23:37:42
just rebind keys as you like in the options. the next release will use esc for both Back and Close
@ericw
#1299 posted by AAS on 2014/10/14 05:58:33
This build do it right - changes gamma only on the display with app (windowed or fullscreen) and restores original value on quit.
Also, there is one glitch - if you change gamma then move window to another display, change it again to another value and then close app, then display's gamma will not be restored to original values, i.e. a reboot required to restore the gamma.
Restarting QS 0.9 does not reset it, BUT 0.85.9 does.
So, you could use some bits from gamma init logic from 0.85 in 0.9, I guess :)
|