Hiding "Cam_1A" and current time

Do you need help? Ask here!

Bug reporting belongs here: http://developer.wz2100.net/newticket
donblas
Greenhorn
Posts: 15
Joined: 04 May 2010, 15:31

Re: Hiding "Cam_1A" and current time

Post by donblas »

showlevelname works great. It doesn't even require cheat mode thanks to this change somebody made 2 months ago:

http://developer.wz2100.net/changeset/10369
User avatar
Buginator
Professional
Professional
Posts: 3285
Joined: 04 Nov 2007, 02:20

Re: Hiding "Cam_1A" and current time

Post by Buginator »

donblas wrote:Thanks for the calming reply. I think my work stress is coming out in my non-work forums posts. Please accept my apology.

I normally work on C# stuff for non-work projects, but hacking up a patch might not be out of the question. Could you point me to the code that draws the main menu options menu? I won't make any promises, but I'll take a look.
"showlevelname" is the command to get rid of that.
I was going to add it to the configuration option eventually.
(If you want to do it for your game now, just copy the showfps stuff. Pretty much the same thing.)

Oh, and showlevelname and showfps are NOT cheats, I made it so those don't trip the cheat trigger.
and it ends here.
donblas
Greenhorn
Posts: 15
Joined: 04 May 2010, 15:31

Re: Hiding "Cam_1A" and current time

Post by donblas »

I think you posted without seeing my reply :) Thanks for the submit that fixed that btw.
Dalton
Trained
Trained
Posts: 361
Joined: 11 Jan 2010, 19:41
Location: Canada

Re: Hiding "Cam_1A" and current time

Post by Dalton »

Zarel wrote:Erm, well, for immersion, I suppose you could press Tab...
donblas wrote:Sarcastic comment from developer saying I could use TAB
Zarel wrote:They're not developers; don't let them get to you.
Zarel wrote:Ah, c'mon, it was one guy.
O_o Anyways
donblas wrote:Another sarcastic comment about this being a game
I wasn't being sarcastic with my comment I was just saying I don't think it is a big thing sorry to give you the wrong impression if you get more in to the game then me.
User avatar
Zarel
Elite
Elite
Posts: 5770
Joined: 03 Jan 2008, 23:35
Location: Minnesota, USA

Re: Hiding "Cam_1A" and current time

Post by Zarel »

Buginator wrote:Oh, and showlevelname and showfps are NOT cheats, I made it so those don't trip the cheat trigger.
And, um, how are you going to use them without turning on cheat mode, which will trigger the cheat trigger?

Especially in a multiplayer game, in which sending a message will send a message, not trigger a cheat code.

Ye gods, do I need to fix the cheat system. :|
donblas
Greenhorn
Posts: 15
Joined: 04 May 2010, 15:31

Re: Hiding "Cam_1A" and current time

Post by donblas »

I used them today and it didn't trip cheats.

Just hit enter then typed in the code. :)
User avatar
Buginator
Professional
Professional
Posts: 3285
Joined: 04 Nov 2007, 02:20

Re: Hiding "Cam_1A" and current time

Post by Buginator »

Zarel wrote:
Buginator wrote:Oh, and showlevelname and showfps are NOT cheats, I made it so those don't trip the cheat trigger.
And, um, how are you going to use them without turning on cheat mode, which will trigger the cheat trigger?

Especially in a multiplayer game, in which sending a message will send a message, not trigger a cheat code.

Ye gods, do I need to fix the cheat system. :|
O_o
All commands (everything you type in the chat line) hits that function, and we only enable cheat detection on certain commands...
and it ends here.
User avatar
Zarel
Elite
Elite
Posts: 5770
Joined: 03 Jan 2008, 23:35
Location: Minnesota, USA

Re: Hiding "Cam_1A" and current time

Post by Zarel »

Buginator wrote: O_o
All commands (everything you type in the chat line) hits that function, and we only enable cheat detection on certain commands...
Eek, horrible command subsystem. So if you typo a command, it gets sent in public chat, and you can't send anything that's a command into public chat?

As I said earlier, ye gods, do I need to fix the cheat system.
User avatar
KenAlcock
Trained
Trained
Posts: 198
Joined: 25 Nov 2009, 03:50
Location: Detroit, Michigan, USA

Re: Hiding "Cam_1A" and current time

Post by KenAlcock »

I have an idea, the devs might want to consider in revamping this system. I'm drawing from my user and beta tester experience with Directory Opus, a file manager and Windows Explorer replacement. Directory Opus has a feature called the "find-as-you-type" field. I believe Firefox has a similar feature. Basically, these are multi-purpose text entry fields. The function of such entry fields changes based upon the first 1 or 2 characters typed.

Warzone 2100 v2.3 already has a small implementation of this idea when users type a period "." first to communicate only to their allies in Multi Player games.

I propose that this is expanded on to allow the WZ text entry console to enter different modes by typing some pre-defined special characters like so:

First character typed:
  • "." (Period or Dot) = Send the remaining text as a message, but only to one's allies (that is, all allies at once).
  • I believe there is currently a method of sending a message to only one specific player. I don't know what the typed key sequence is, but I have mistakenly typed it a few times.
  • ">" (Right Angle Bracket) = Game Command Console. Type any supported game commands afterward to change game options.
    • > Cheat = Enter Debug (Cheat) Mode
    • > ShowLevelName = Displays level name on the screen.
    • > ShowGameTime = Display elapsed Game Time on the screen.
    • > ShowRealTime = Display System Clock Time on the screen.
    • And so on...
My game handle is Cosmic Raven or Cosmic Raven 68
User avatar
Emdek
Regular
Regular
Posts: 1329
Joined: 24 Jan 2010, 13:14
Location: Poland

Re: Hiding "Cam_1A" and current time

Post by Emdek »

KenAlcock wrote:First character typed:
  • "." (Period or Dot) = Send the remaining text as a message, but only to one's allies (that is, all allies at once).
  • I believe there is currently a method of sending a message to only one specific player. I don't know what the typed key sequence is, but I have mistakenly typed it a few times.
  • ">" (Right Angle Bracket) = Game Command Console. Type any supported game commands afterward to change game options.
    • > Cheat = Enter Debug (Cheat) Mode
    • > ShowLevelName = Displays level name on the screen.
    • > ShowGameTime = Display elapsed Game Time on the screen.
    • > ShowRealTime = Display System Clock Time on the screen.
    • And so on...
Looks good for me. :-)
But there could be also kind of feedback for users, for example show tooltip or another kind of message with information that use of specified character has special meaning.
Also there could be kind of confirmation when entering cheat code for first time.
Nadszedł już czas, najwyższy czas, nienawiść zniszczyć w sobie.
The time has come, the high time, to destroy hatred in oneself.


Beware! Mad Qt Evangelist.
User avatar
Zarel
Elite
Elite
Posts: 5770
Joined: 03 Jan 2008, 23:35
Location: Minnesota, USA

Re: Hiding "Cam_1A" and current time

Post by Zarel »

Yes, I've already thought of that.

No, I'm using / for the command console, like most systems do it. I'm also considering switching away from . to something else, for ally chat. Maybe ,. Or //.
Per
Warzone 2100 Team Member
Warzone 2100 Team Member
Posts: 3780
Joined: 03 Aug 2006, 19:39

Re: Hiding "Cam_1A" and current time

Post by Per »

Or just put ally chat on a different hot key? Some games do that, and it seems to work fine.