#590 posted by metlslime on 2012/02/22 16:46:07
thanks for the tip, Baker. I did know about the enemies riding lifts problem, but hadn't noticed the frustum culling problem.
Btw, a clarification: fitzquake model interpolation is completely independent thing from the fitzquake protocol -- you can have either one without the other. The one small overlap is the protocol contains a timing hint for lerping, but that hint could be used by other interpolation systems, plus the fitzquake system still works if you set "sv_protocol" to 15.
Riding Lifts Problem
#591 posted by mh on 2012/02/22 19:30:25
I've been doing some more investigation of this one and have traced the cause - it's hinted at by the header comment of SV_Physics_Step:
"Monsters freefall when they don't have a ground entity, otherwise all movement is done with discrete steps."
Some tests confirm it (basically just not sending an entity that meets the freefall conditions in SV_Physics_Step) - a monster on a lift isn't MOVETYPE_STEPping, it's in freefall.
#592 posted by necros on 2012/02/22 19:48:41
sorry to interrupt but: groundentity is exposed in qc, does it do anything there? ie: will it report a lift that the player/monster is standing on?
#593 posted by negke on 2012/02/23 10:41:00
Whatever you do, just don't break the suspended monsters trick like DP does.
Negke:
#594 posted by metlslime on 2012/02/23 19:49:41
don't worry, this would be a cosmetic change only (purely client-side.)
BTW, darkplaces has a lot of cvars that control features that break compatibility, you might be able to un-break that trick too if you know the right cvar (i think they are all named sv_gameplay_fix_*)
Qconsole.log
#595 posted by necros on 2012/04/21 17:32:27
why does fitzquake (and quakespasm) put the qconsole.log file in /quake/qconsole.log instead of /quake/mod/qconsole.log?
is this the original functionality? just seems a little odd (and had me searching around for it!)
Windowed
#596 posted by sock on 2012/04/21 20:34:22
Is there anyway to force fitz to start in a windows mode via the command line? I tried with config files and it just keeps going full screen and then back to windowed mode.
#597 posted by Spirit on 2012/04/21 20:53:13
-width 1680 -height 1050 -bpp 32 -window
Re: Qconsole.log
#598 posted by szo on 2012/04/22 12:34:40
Because it is the engine's log. Besides, the mod directory can be changed when the game is still alive, so there is no point in putting it under /quake/gamedir/
@spirit
#599 posted by sock on 2012/04/22 21:59:32
I tried the -window command line and it worked perfectly but the +mlook no longer works, even if I do a vid_restart console command.
For some reasons if I start the engine normally and tell (via config file) the engine to go windowed the +mlook still works. (it also grabs the mouse pointer permanently, I have to close the engine down to use the mouse with other window apps.
#600 posted by necros on 2012/04/23 01:23:57
sock: try pulling down the console before tabbing? that works in quakespasm anyway. i agree though, it would be nice if mouse control was release as soon as focus was lost.
MP3 (or Ogg) Support
#601 posted by quaketree on 2012/04/26 03:02:44
Ok, maybe I'm an idiot (well, ok, maybe might be understating it a bit) but how do I get FQ 0.85 to play the ripped tracks (I've tried both formats)?
I've tried placing the files (named track02.xxx through track11.xxx where xxx is the two different format extensions) in:
QUAKE\id1\sound\cdtracks
QUAKE\id1\sound\music
QUAKE\id1\cdtracks
QUAKE\id1\music
QUAKE\cdtracks
QUAKE\music
I know that the music works (ogg plays fine in DarkPlaces and the mp3's work in a few different media players) and when I put in the game CD it plays just fine. I'd just rather not risk damaging the original CD if I don't have to.
Is this not supported in this engine or am I missing something obvious?
I'm Not Sure
#602 posted by necros on 2012/04/26 03:23:47
i know baker made a version where he added it in himself, so i don't think the stock fq085 does.
#603 posted by quaketree on 2012/04/26 03:27:46
Yeah, I saw that but the link to the binary is dead and I don't really want to mess with compiling a new exe. I'd probably just screw it up.
Oh well, maybe in the next version...
#604 posted by necros on 2012/04/26 03:31:47
quakespasm does play mp3/oggs (in /id1/music) and it's very similar to fq.
name them track02-11 and they will play normally.
#605 posted by necros on 2012/04/26 03:34:26
incidentally, you can make your own custom music by making music files track13 and up, then just using the sounds field in worldspawn or the builtin SVC for cd playing in the qc.
Quakespasm
#606 posted by quaketree on 2012/04/26 04:56:35
Spiffy! Thank you.
#607 posted by Spirit on 2012/04/26 07:48:36
many engines support arbitrary filenames so for custom tracks please avoid numbers but use distinct unique filenames Instead.
#608 posted by necros on 2012/04/26 07:59:07
numbers are better because you can use the builtin qc function to start music as well as the worldspawn key, which, if the engine integrates the mp3 playing PROPERLY should redirect to the mp3 reliably as opposed to stuffcmd'ing console commands that may vary between engines.
#609 posted by Spirit on 2012/04/26 18:26:13
engines should support any filenames for both of these options. the "cd play" command should be fully transparent/oblivious.
Arbitrary Filenames
#610 posted by mh on 2012/04/26 20:40:23
"cd play 5" should play the 5th file in the list - easy as that. No need for requiring any track naming convention at all.
#611 posted by metlslime on 2012/04/26 20:55:53
5th file in the list.... the list being all music files located in the id1 music dir + mod's music dir? So if someone adds "aaa.mp3" to their id1 dir, then every other level you own will now play a different track?
#612 posted by Spirit on 2012/04/26 21:01:19
cd play 5 must play the cd track 5 or the equivalent external files which is track005 or track05 or something like that.
#613 posted by szo on 2012/04/26 21:59:43
"cd play 5" playing the 5th file in the list is unreliable and also is against the purpose of the cd command which is "playing track 5 of the cdrom in the drive" and nothing else.
The reliable solution is using a unique filename for every different music which what hexen2 did 15 years ago: see svc_midi_name of hexen2. In uHexen2, I further extended its use for music files other than midi such as ogg, mp3, wav. (Of course the drawback of the server message is that it dictates a new protocol.)
I'm Not Seeing
#614 posted by mh on 2012/04/27 02:11:35
How somebody adding an extra file to the directory is any way different to somebody popping in a different CD. Other problems arise. What if somebody puts both track01.mp3 and track01.ogg into the directory for an engine that supports both mp3 and ogg formats? What if somebody deletes one of the files? What if the author of another popular engine decides to use a different naming convention because they feel that it's somehow superior? There's only so far you can go to protect against this kind of thing before it becomes counter-productive. Ultimately I favour the approach that is most pragmatic and that offers the least surprise and least unexpected behaviour to the player - not the engine coder, not the mapper/modder - the player. If the player puts an extra music file in there, what do you think the player's expected behaviour is going to be? So code to that.
|