Forum

Not showing the console on startup

Discuss programming topics for the various GPL'd game engine sources.

Moderator: InsideQC Admins

Postby Urre » Mon Jun 07, 2010 11:18 am

Baker wrote:Nexuiz's "Magic Ear" entity is of extreme interest to me.


Want to explain what it is?
I was once a Quake modder
User avatar
Urre
 
Posts: 1109
Joined: Fri Nov 05, 2004 2:36 am
Location: Moon

Postby Baker » Mon Jun 07, 2010 11:27 am

Urre wrote:
Baker wrote:Nexuiz's "Magic Ear" entity is of extreme interest to me.


Want to explain what it is?


It is a listening engine modification that checks the spoken chat code for a certain word as I understand it (supported in the QC of course).

So there could be a guard that needs the password and you'd need to say it, for instance.

I'm not sure how Nexuiz uses it or even IF it does (but it is a defined Nexuiz map capability) as I found the entity and the presumable DarkPlaces extension in the Nexuiz mapping .def file or whatever.
The night is young. How else can I annoy the world before sunsrise? 8) Inquisitive minds want to know ! And if they don't -- well like that ever has stopped me before ..
User avatar
Baker
 
Posts: 3666
Joined: Tue Mar 14, 2006 5:15 am

Postby frag.machine » Mon Jun 07, 2010 12:54 pm

mh wrote:The trouble here is that Quake as-is forces you to use the console and the command-line. There's a bit of a Unix weenie mentality to this, don't you think? The console and command-line should become what they're meant to be - power tools for experienced users. The average player who couldn't care less should never have to even be aware that they exist.


I disagree. I'd rather to have the option to quickly type, let's say "color 2 2" or "name frag.machine" instead browsing thru lots of menus to set something so banal as name and team color. That said, I agree with Sajt: the console can be hide by default, but must be easily enabled by only pressing one or more keys. Using Valve's method of forcing you to add a command line option just to have console enabled is simply dumb.
I know FrikaC made a cgi-bin version of the quakec interpreter once and wrote part of his website in QuakeC :) (LordHavoc)
User avatar
frag.machine
 
Posts: 2090
Joined: Sat Nov 25, 2006 1:49 pm

Postby r00k » Mon Jun 07, 2010 1:58 pm

just add
Code: Select all
   if (key_dest != key_menu)
      M_Menu_Main_f();


near the end of Host_init...
r00k
 
Posts: 1110
Joined: Sat Nov 13, 2004 10:39 pm

Postby mankrip » Mon Jun 07, 2010 5:19 pm

I agree 100% with Baker here.

In Makaqu I already removed several startup messages, or turned them into developer messages that are only displayed when the developer cvar is set. And in Fightoon I removed the console completely.
frag.machine wrote:I'd rather to have the option to quickly type, let's say "color 2 2" or "name frag.machine" instead browsing thru lots of menus to set something so banal as name and team color.

In Makaqu, the same key that's used for bringing up an specific menu can be used to directly go back to the game.

So, let's say you have the F5 key bound to menu_setup. Press F5, type your name or select your color, and press F5 again to return to the game.

This was VERY helpful for me during the testing of new features. No command typing, and no navigation through several menus.
Ph'nglui mglw'nafh mankrip Hell's end wgah'nagl fhtagn.
==-=-=-=-=-=-=-=-=-=-==
Dev blog / Twitter / YouTube
User avatar
mankrip
 
Posts: 915
Joined: Fri Jul 04, 2008 3:02 am

Postby mh » Mon Jun 07, 2010 5:37 pm

frag.machine wrote:
mh wrote:The trouble here is that Quake as-is forces you to use the console and the command-line. There's a bit of a Unix weenie mentality to this, don't you think? The console and command-line should become what they're meant to be - power tools for experienced users. The average player who couldn't care less should never have to even be aware that they exist.


I disagree. I'd rather to have the option to quickly type, let's say "color 2 2" or "name frag.machine" instead browsing thru lots of menus to set something so banal as name and team color. That said, I agree with Sajt: the console can be hide by default, but must be easily enabled by only pressing one or more keys. Using Valve's method of forcing you to add a command line option just to have console enabled is simply dumb.

Oh, that's not what I'm saying at all. I've no objections whatsoever to keeping the console available exactly the same way as it currently is; where I'm coming from has absolutely nothing to do with removing the option to use the console, and nothing to do with forcing someone to go another way. That would be just replacing one bad thing with another bad thing.

What I dislike is the Q1 mentality of forcing a casual gamer (who has perhaps never even seen a command-prompt in their life) to use the console for what should be quite basic stuff. I also dislike bombarding them with it as the first thing that they see when they run the game.

For what it's worth I prefer using the console too myself, and even if it was hidden behind a special key combination I would quite quickly get annoyed. But I'm not a typical user and my preference doesn't translate to a typical user's preference.

So - leave the console alone, yes. Leave it accessible as it always was, yes. Hide it at startup, yes. And make some important functions that could previously only be done via the console more accessible to the casual gamer, yes.

That's where I'm coming from. :D
We had the power, we had the space, we had a sense of time and place
We knew the words, we knew the score, we knew what we were fighting for
User avatar
mh
 
Posts: 2292
Joined: Sat Jan 12, 2008 1:38 am

Postby frag.machine » Mon Jun 07, 2010 7:04 pm

:)

To me, Quake always looked more like a big, complex testbed for gaming experiment than exactly a closed and polished product, and the dominance of the console kinda demonstrates this hacking nature. Actually, the whle console thing was received as a positive feature if I remember correctly. Of course, time and OS evolution in particular has changed people's perceptions since then.
I know FrikaC made a cgi-bin version of the quakec interpreter once and wrote part of his website in QuakeC :) (LordHavoc)
User avatar
frag.machine
 
Posts: 2090
Joined: Sat Nov 25, 2006 1:49 pm

Postby Spike » Mon Jun 07, 2010 8:29 pm

@Baker: I'd probably get less annoyed at NQ servers if they didn't have a limit of something like 30 chars on any say messages. :P

offtopic: One of the more interesting and irrelevent changes in QuakeWorld is the existance of these two lines:
console_t con_main;
console_t con_chat;
con_chat isn't actually used, other than being cleared+resized. But hey, draw from it what you will.

A lot of games follow on from the Q3 model where the console is for chat, but you can type commands if you want them.
Using 't' for chat is okay, but then what's the difference between pressing t, typing your message, and hitting enter from pressing tilde, typing your message, pressing enter and escape. Okay, one more key press, but hey, you can see what everyone else actually typed before it got spammed off the screen by death messages (or just moved around lots). Yeah, sure, I'm a slow reader, happy now?
Spike
 
Posts: 2892
Joined: Fri Nov 05, 2004 3:12 am
Location: UK

Postby gnounc » Tue Jun 08, 2010 3:19 am

Spike, I agree entirely, there SHOULD be a binding menu.
The problem is, devs often rush things and short us.
Or think they know better than their players.

Im not saying the work shouldnt already be frontloaded, I'm saying often it is not, and I would like the option to console command my way around pervasive developer preferences for when they think something stupid is great, or dont think of my speceific and uncommon case.

The console shouldnt be the first place you go..if it is the devs didnt do their job. On the other hand, it should always be available for something unforseen.
User avatar
gnounc
 
Posts: 424
Joined: Mon Apr 06, 2009 6:26 am

Postby Baker » Tue Jun 08, 2010 12:37 pm

Spike wrote:@Baker: I'd probably get less annoyed at NQ servers if they didn't have a limit of something like 30 chars on any say messages. :P


The protocol actually supports 44, which is what ProQuake/Qrack/JoeQuake and co. use. Probably DarkPlaces too when connected to an NQ server.

I agree that 30 is quite short. 44 isn't too bad.
The night is young. How else can I annoy the world before sunsrise? 8) Inquisitive minds want to know ! And if they don't -- well like that ever has stopped me before ..
User avatar
Baker
 
Posts: 3666
Joined: Tue Mar 14, 2006 5:15 am

Postby r00k » Tue Jun 08, 2010 4:02 pm

I thought DP supported 128?
r00k
 
Posts: 1110
Joined: Sat Nov 13, 2004 10:39 pm

Postby Spike » Tue Jun 08, 2010 4:47 pm

say command message lengths is offtopic. created a new topic for such rants.

kill the damn console!

Stuffcmds are evil too (pro-tip: typing 'record ../id1/pak0.pak' is not a good idea when using a quakeworld engine. You can probably adapt it to break nq engines too.).
Spike
 
Posts: 2892
Joined: Fri Nov 05, 2004 3:12 am
Location: UK

Postby Baker » Tue Jun 08, 2010 4:54 pm

Spike wrote:Stuffcmds are evil too (pro-tip: typing 'record ../id1/pak0.pak' is not a good idea when using a quakeworld engine. You can probably adapt it to break nq engines too.).


Haha!

NOW ... what is even worse. You could make a poisonous demo that did that and merely viewing the demo would destroy an existing file by overwriting it. I don't believe stuffcmds end up demo recordings but you can use demo tools to hack stuff into the demos.

Excellent, Spike. A great example of why stuffcmd is evil.
The night is young. How else can I annoy the world before sunsrise? 8) Inquisitive minds want to know ! And if they don't -- well like that ever has stopped me before ..
User avatar
Baker
 
Posts: 3666
Joined: Tue Mar 14, 2006 5:15 am

Postby mankrip » Tue Jun 08, 2010 4:57 pm

stuffcmd is great for recording demos, as it allows console commands like zoom_in and zoom_out to be saved in the demo file.

JoyMenu (a mod to make Quake run better in the non-multiplayer Titanium Studios' QuakeDC engine) uses stuffcmd to make sure that effects which relies on cvar alterations in run-time are played back correctly from demos.
Ph'nglui mglw'nafh mankrip Hell's end wgah'nagl fhtagn.
==-=-=-=-=-=-=-=-=-=-==
Dev blog / Twitter / YouTube
User avatar
mankrip
 
Posts: 915
Joined: Fri Jul 04, 2008 3:02 am

Postby Dr. Shadowborg » Tue Jun 08, 2010 5:05 pm

Baker wrote:
Spike wrote:Stuffcmds are evil too (pro-tip: typing 'record ../id1/pak0.pak' is not a good idea when using a quakeworld engine. You can probably adapt it to break nq engines too.).


Haha!

NOW ... what is even worse. You could make a poisonous demo that did that and merely viewing the demo would destroy an existing file by overwriting it. I don't believe stuffcmds end up demo recordings but you can use demo tools to hack stuff into the demos.

Excellent, Spike. A great example of why stuffcmd is evil.


No so much evil, per se as ridiculously easy to abuse in very, very bad ways.

It would be better if there were quakec extensions / builtins or something that would reduce or even eliminate the need for it, (such as a function for "flash" effects that would be customizable) but that would probably entail breaking protocols or some other wierd crap. And nobody seems to want to do that. Even worse, nobody wants to do it the proper way. (provide software, gl, and DirectX executables thereby making the "better" engine the new standard / semi-official, as opposed to just "try MY engine instead lol".)
User avatar
Dr. Shadowborg
InsideQC Staff
 
Posts: 1110
Joined: Sat Oct 16, 2004 3:34 pm

PreviousNext

Return to Engine Programming

Who is online

Users browsing this forum: No registered users and 1 guest