• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Hiding ingame chat

Status
Not open for further replies.

Dr Super Good

Spell Reviewer
Level 65
Joined
Jan 18, 2005
Messages
27,290
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.
 

Wrda

Spell Reviewer
Level 28
Joined
Nov 18, 2012
Messages
2,011
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: 74
Level 11
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