• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Hiding ingame chat

Status
Not open for further replies.

Dr Super Good

Spell Reviewer
Level 63
Joined
Jan 18, 2005
Messages
27,191
It is not recommended to do this as it can annoy players.

Check if there is not an approach by modifying the UI. If one moved the chat area of the UI off screen or compressed it to be invisible then one would effectively remove the chat messages. The message log button or message log dialog could receive the same treatment.

The old approach used in maps like Parasite was to rename the player names to some mangled string of control characters. This prevented their messages showing in the message log or appearing on screen. This might not work anymore if the internals have been updated to use Unicode or sanitize strings better.
 
Level 9
Joined
Jul 30, 2018
Messages
445
Have you thought about an alternative for chat commands? With the new natives one can create UI elements and everything, so it would also make the game look a lot more professional and awesome. Something like this maybe?
 

Wrda

Spell Reviewer
Level 25
Joined
Nov 18, 2012
Messages
1,870
id like to hide command lines not the normal player chat.
And what happens when you type command lines? It is registered in F12 and shown to all players... Unless you're talking about blizzard commands with "/".
The game doesn't guess what you call a custom command line.
This txt basically "hides" chat, if you want players able to chat and not see your custom commands then you have to trigger the chat system yourself.
Import the txt file to your map and remove the "war3mapImported\" part.
 

Attachments

  • war3mapSkin.txt
    1.3 KB · Views: 57
Level 10
Joined
Dec 11, 2009
Messages
234
id like to hide command lines not the normal player chat. i dont think it would be annoying. like im making an RGP survival game and you can name your character -name ##### i dont want other players to see that trash.
Oh, so you meant hiding "specific" chat messages, not all of them...
In that case you would need to hide the chat anyway and after that simulate your own chat (while filtering messages as you want) using new separate frame.
 
Status
Not open for further replies.
Top