Sikkpin:
#170 posted by metlslime on 2007/09/04 06:12:37
First, check out this thread about building fitzquake; it should address most of the problems you are having or will have building it:
http://www.celephais.net/board/view_thread.php?id=60023
Second, i don't know which tutorial you're talking about... got a URL?
Probably This One
#171 posted by HeadThump on 2007/09/04 06:24:56
Metlslime
#172 posted by Sikkpin on 2007/09/04 06:30:50
Thanks for the link, I'll check it out... And here's the tut http://www.quakesrc.org/tutorials/old/102
Tremor is the only Q1 engine that uses it as far as I know of. It's subtle but a nice effect without going per-pixel. I'm just not sure if your overbright code would interfere.
Sikkpin
#173 posted by metlslime on 2007/09/04 09:01:04
I think this would work, but you might have to do a little bit of reading and adapting rather than just pasting code in. I have color lighting instead of greyscale, so that's one difference. Overbright shouldn't pose a problem.
FitzQuake Code
#174 posted by Baker on 2007/12/09 08:14:54
I don't really have interesting to say, but FitzQuake has been one of the engines that I most study for understanding how different changes are implemented and just wanted to say thanks for all the work you put into it.
I've been comparing the incremental changes between the various versions a lot lately, in particular the texture manager which I very much like.
Baker:
#175 posted by metlslime on 2007/12/09 09:05:15
thanks :)
how's your engine thing going?
;)
#176 posted by Baker on 2007/12/09 11:51:09
Very well. Someday in the distant future, I'll have something interesting to release. ;)
Mr Metlslime
#177 posted by RickyT33 on 2007/12/17 17:54:35
This isnt only directed at you, but I'd imagine anyone out there who programs Quake engines - fog isnt supported in demo playback!
Well, I'd imagine it maybe is if the "fog" key is in the worldspawn (?) - but In my new level there are some trigger_multiples which target two info_commands (quoth entity), each:
"classname" "info_command"
"message" "fog # # # #"
One turns fog on, the other turns it off.
I think this effect is great, but it only works in-game and not in demo playback...
(not a niggle, just a 'discovery' :-)
Ricky:
#178 posted by metlslime on 2007/12/17 21:03:34
the ideal way to do it is to have a SVC code for changing fog built into the network protocol, and have the quakec send that SVC message. And actually, fitzquake does, but i never documented it. (I was going to wait for "The Quake Standards Group" to get back to me with approval of the SVC numbers I wanted to use, but they never got back to me. That was like 4 years ago. So I guess there's not going to be any standard.)
But anyway, i'll look into info_command hacks and demo playback. But what's weird is the background flash when you pick up items works during demo playback, and I believe that's done the same way (quakec using the "stuffcmd" feature)
Yeah
#179 posted by Preach on 2007/12/18 01:52:16
Question: Did you record the demo before you added the trigger_command to the map? Demos load the entities they were recorded with, not the entities in the map. So if you hadn't added the fog trigger when recording it shouldn't come up in playback.
Nope!
#180 posted by RickyT33 on 2007/12/18 10:12:07
I recorded demos since the triggers/info_commands were added!
Download the map and Mikko's demo and see!
I Believe This
#181 posted by aguirRe on 2007/12/18 12:18:29
is because the Quoth commands are executed with localcmd instead of stuffcmd. The former only executes on thr server and is never sent to the client, which means that it's not recorded in the demo.
For a local area fog command (or wateralpha or similar), it'll produce strange effects since this should depend on a particular client's position and then is seems more appropriate to use stuffcmd.
Ammo pickups use stuffcmd, therefore they work properly in demos.
I don't know why Quoth uses localcmd for this really, maybe some other command requires that.
Stuffcmd'd
#182 posted by Preach on 2007/12/18 12:43:23
That's been the behavior since hipnotic I think, although it's going to change in the next version of Quoth. Everyone seems to use commands that are intended for stuffcmd, so the info_command is going to be fixed to cycle through every client and use stuffcmd. This will also ensure that commands work in coop for any player other than the server. New entities like info_command_server and trigger_command have been introduced; the former to replicate the behaviour of the old entity with localcmd and the latter to create a trigger that only sends commands to the player that touches it. In single player you won't notice the difference between the old and new info_command.
You might jump in and say that's going to wreck Ricky's map in coop, but it's only highlighting the problem that's there. At the moment, every time somebody descends to the lower level, the player running a listen server will see fog, but nobody else will, and it'll turn off every time someone goes back up. This is why the new trigger_command is being added, to provide a correct way to make such things work in coop.
That's What I Meant
#183 posted by aguirRe on 2007/12/18 20:00:29
with strange effects; you shouldn't send any fog commands to all clients (nor the server), only to the client that's actually in the fog area.
Maybe other commands would require different behaviour but not this.
Interesting
#184 posted by necros on 2007/12/22 16:22:46
i misunderstood what localcmd did.
i used localcmd because i thought it would execute on the server so that all players connected would get the effect. thing is, i forgot cheats actually DO work in COOP, but the idea was that if you wanted to use godmode or sv_gravity xxx or something in your info_command.
Kinda
#185 posted by Preach on 2007/12/22 18:34:46
Yeah, something like sv_gravity would work correctly with the old info_command, because the physics is done on the server side(godmode wouldn't). It's also the only way that you could do such a command, a client executing sv_gravity does nothing if they're connected to a remote server. sv_gravity is the kind of thing the new info_command_server is for. For strict backwards compatibility the way to do it would be to leave info_command using localcmd, and create a new info_command_client that sends stuffcmd to every connected client. But it seemed to me that pretty much every existing map is using info_command to send client commands, so changing it that way round made less sense. It's not set in stone yet, if people feel strongly about it.
Backwards Compatibility
#186 posted by RickyT33 on 2007/12/22 21:49:45
First of, I am allergic to programming in any kind of C language, so I speak purely from a mapping POV:
If I made a map in the past that fog didnt work in then I'm not bothered if it still doesnt work. I'd rather have full functionallity of maps in their original state, but have new entities for new maps which allow better functionality.
On the other hand:
If old quoth maps will work under quoth2 progs (?) and you CAN re-program the info_command function to allow the fog to work then great!! But if the modification to the progs for the info_command entity fucks up other stuff in other old maps, then it would be better to leave it as it was, I would be atleast grateful for the new info_command_client option for future maps...
I Mean 'for The Fog To Work'
#187 posted by RickyT33 on 2007/12/22 21:51:07
in demo playback...
Summary
#188 posted by Preach on 2007/12/23 01:31:35
Just to make clear - in single player mode all maps will behave exactly as before regardless of which way round the changes are made. This is because the client and the server are the same machine. The only time this will affect behaviour is for people playing in coop mode. Quoth2 has coop support as one of it's focuses, which is why these things are being considered.
Changing info_command and adding info_command_server
PROS: Will automatically fix existing maps where the effect should apply to all players - like say a global change in fog triggered by an event or a trigger forcing r_wateralpha at the start of a map(walking into an area with fog still won't be treated correctly because it'll change each time anyone hits the trigger - doing this correctly requires a whole new entity). Such commands will also show up in demos.
CONS: Will break an existing map that uses info_command to issue a true server side command, for example sv_gravity. I believe that there are no existing maps for quoth that do this. If somebody knows otherwise, tell me now and I'll rule this option out.
Leaving info_command alone and adding info_command_client
PROS: Existing maps will function as before in co-op - true backwards compatibility.
CONS: Client side commands in existing maps will still only be sent to the server, not any separate clients. This also affects demo recording.
My thinking is that the con of the first option doesn't apply to any maps so far, and new ones can use the entities correctly. But obviously if this change is gonna break someone's map I don't want to do it, which is why I'm asking this kind of development question in an open forum. In summary of the summary, quoth2 will fix all your ills!
Preach
#189 posted by necros on 2007/12/23 02:37:14
i agree :)
but if anyone can think of a map where you need to execute a server only command, you should post here!
server only: sv_ anything, impulse9 + 11 (heh, it'd be funny to make a map that would execute impulse 1 -> 8 and impulse 12 and stuff like that... really fuck with the player's head :P )
client: bf, v_cshift...
Er..
#190 posted by necros on 2007/12/23 02:39:51
actually, when i checked what thread this was... you should probably post somewhere else. ^_^;
Fitzquake 0.80 Bug X Fitzquake 0.75 Non-bug
#191 posted by Mac on 2008/02/01 17:59:52
When I connect in any server I can't see other players skins. I can see the models, but there is only strange colors on them, lots of black/yellow/green covering in lines/blocks all the model. It looks like a Matrix character.
This problem only occurs in v0.80, when I'm connect to a server. If I'm the host or using v0.75, there is no problem. Standard GLQuake is OK too.
How can I fix this?
Thanks for this project, it solved a lighting bug in my old ATI Rage 128!
Mac:
#192 posted by metlslime on 2008/02/01 21:45:12
Thanks for the report. I've seen some stuff like that, but I thought I had fixed it all. The player colormapping code has been revised a few times, and it looks like I need to go over it again to see if there are still bugs like that.
As for what you can do to fix it in the current version, i'm not sure exactly. If there is a cvar that disables colormapping, like cl_nocolors or nouploads or something, that would probably solve it... I'm at work now, so the source is not here in front of me.
FQ Always Starting Up With 56 Hz
#193 posted by Sielwolf on 2008/03/01 20:26:31
I have vid_refreshrate "100" in autoexec, also tried it adding to the commandline, to no effect.
Would be nice if the next version had the option for 120 Hz in the menus.
Sielwolf:
#194 posted by metlslime on 2008/03/01 22:01:01
i don't know if you were part of the earlier discussion, but:
- vid_refreshrate (and related cvars) only take effect if you type "vid_restart"
- you can also set refreshrate in the Video Options menu and then "apply changes"
- in 0.80, there is a bug where vid_restart will kill your mouse input if you use -dinput
So, if you don't use -dinput, this should solve your problem. Otherwise, sorry, wait for the next version :(
|