How to: Hide Entered Chat Messages

Cilla

is watching you! Ahh, fresh meat!
Reaction score
39
I have been asked to write a Tutorial / step by step guide on how to hide all original chat entered.
So here I am and i'll give it a go. ;)

For TFT only...

This Tutorial is divided into 3 Parts:




Part 1) Hiding chatmessages from the display
Part 2) Hiding chatmessages from the Chatlog F12
Part 3) Inventing your own Chat System and more



Part 2 and Part 3 are independent from each other, both need Part 1 (except The Locust Part in Part 2)




Foreword:
This Tutorial is based on other Tutorials and your help.
Credits to all of you who helped.
This is a very useful tool in Rpgs / ORpgs or whatever else to make your own Chat System.
You can easily filter out all commands and whatever you do not like to be displayed.





Part 1
--= Hiding chatmessages from the display =--


This Part is based on shadow1500s Hiding Player Chat Messages Tutorial, but will be more detailed.
At the bottom of Part 1 you will find several links dealing with this topic.



Here is an example, I already invented a chat System which filters all commads (-):
2ykz3me.jpg


1.) First of all:
Download the Gameinterface101 file,​
as .zip at the bottom of this page, or​
as .rar you can get it here: Gameinterface101.rar (Credits to PitzerMike)​
2.)
Extract the content into your Warcraft III Directory​
(Use Winrar or whatever and just put both folders, Units and UI, into your Warcraft III Folder)​
3.) Then:
Run your WE or WEU, open your map, and go to Advanced -> Game Interface...​
4.)
Enable Use Custom Game Interface if it is not yet (!!!)
5.)
Find the 5 Fields with:​
Chat Reciepient All-----------------[All]​
Chat Reciepient Allies--------.------[Allies]​
Chat Reciepient Observers----------[Observers]​
Chat Reciepient Private-------------[Private]​
Chat Reciepient Referees-------.----[Referees]​
6.)
Right click on each of these fields -> Edit Value​
6.2)​
Open the extracted Folder UI (1) -> open the textdocument war3mapSkin (2)
6.2.2)​
Copy all the spaces after each of these = (3) and insert them to each field in Game Interface... (4)
Make use of the legend
33kg611.jpg

Notice:
These are the maximum spaces allowed, otherwise your game crashes.

Optional:
If you want no sound played when someone enters a chat, then use the following:

7.)
Create an empty .wav file or empty textdocument​
8.)
Open the Import Manager F12 and import Ctrl+I this empty file​
9.)
Change the path of the file to Sound\Interface\InGameChatWhat1.wav​
(Right Click on the File -> Modify File Properties... -> enable Use custom path)​


Start your map and see that it works. ;)


Now the original chat is no more displayed on the screen.

Notice:
You can still look up the original chat in the Chatlog F12, if u play no singelplayergame.

Notice:
There is no easy way to disable / hide the original chat in the Chatlog F12 (Part 2)

Notice:
Yo can use the following Event to detect all entered chat:
Code:
Events
    Player - (<Your Player>) types a chat message containing <Empty String> as A substring
Now you can modify the (Entered Chat String).
More about the modifiing of the Entered Chat string etc in Part 3

Notice:
People ask wheter this is B-Net-able or not. Due to the fact that these are Game Interface changes, yes it IS!

Notice:
It is not possible to switch back to the normal displaying of the chat

Notice:
There is no (easy) way to change the textsize or to move the text when you use: Send Transmission / Text message

Notice:
Extracting GameInterface101 into your Warcraft III directory allows you to modify a few more Game Interface settings

Links:
wc3campaigns.net: Hiding Player Chat Messages by shadow1500


--= The End of Part 1 =--





Part 2
--= Hiding chatmessages from the Chatlog F12 =--


This part will show you how you can change and manipulate specific 'settings'.
It will show you different ways and their 'positive and negative' reasons.
This will be more an example than a step by step guide.
It is your decision in which way you will use this.

I will show you 2 examples, each having their own preferences.



Here are both examples, I already invented a chat System:

Example Number 1 on the left side:.................................................................Example Number 2 on the right side:

The ChatLog F12:
4dzkpzn.jpg

This looks better for sure​

The Allies F11:
3y7ywpd.jpg

I prefer this​

End of Game:
4bf60qs.jpg

This is better too.....................................

Now choose one of both examples and implement the following code for the example you want.
In both examples I just changed the playernames as the following shows:

Example Number 1 on the left side:
Code:
Events
    Map initialization
Conditions
    ...
Actions
    ...
    Player Group - Pick every player in (All players controlled by a User player) and do (Actions)
        Loop - Actions
            Player - Set name of (Picked player) to ((|cffDEC618 + (Name of (Picked player))) + :                                                                                                                                                                                  )
    ...

Notice:


This example Number 1
-Looks good in Allies
-Looks bad in the Chatlog F12
-Looks average on end of game(, long names will be cutted as you can see in the image)


Example Number 2 on the right side:
Code:
Events
    Map initialization
Conditions
    ...
Actions
    ...
    Player Group - Pick every player in (All players controlled by a User player) and do (Actions)
        Loop - Actions
            Player - Set name of (Picked player) to (                                                                                                                                                                                  )
    ...

Notice:


This example Number 2
-Looks quiet bad in Allies F11
-Chatlog F12 looks awesome now^^
-Looks bad on end of game(, anyway not so important)


Basically very easy.
Adding lots of spaces at the end of the string, which becomes the new playername.

Notice:
You can use an array of the original names if you use cinematics where you need the playernames.
An array will also be required in Part 3

Notice:
You can do a lot of other stuff at this point, like just giving your players new names,
but that would become off - topic in here.


You now will have the original chat completely hided. ;)
Continue with The Locust Part


When I came to this point, I was very happy until I saw the followig:
3zurqk9.jpg


Notice:
Using |c00xxxxxx on the playername to make it 100% transparent will not affect the Tooltip.
Using |n on the playername to insert some linebreaks is even worse.^^


There is a way to hide the tooltip above a unit called Locust( / Heuschrecken), 'Aloc'.



--= The Locust Part =--​

If you use Locust in a specific way u can achieve the following result:
4gtd9w6.jpg


Notice:
In the game on this screenshot I pressed ALT, that is the reason why you can see the Hp - Bars.
Holding your mouse cursor above a unit modified in the way that I will now explain will,
there will be showed nothing at all.

Your Locust affected unit will be affected in the following way:

-hidden tooltip (no playername and unit description)
-hidden healthbar (when you move your mouse over that unit)
-healthbar can be shown by pressing ALT
-unselectable by mouse
-targetable (by mouse)
-obeys pathing rules
-no longer obeys formation-commands
-no own pathing (2 of these units can stand in each other)​

1.) First of all:
Go to the Object Editor F6 -> Units​

2.)
Add to every Unit, which you want to have this Ability, the Locust ability​
(select your unit in the list -> search Abilites -Normal -> modifiy this field -> Add Locust)​

3.)
Implement the following code at the Map Initialization,
use it on every unit, which u gave Locust before (using a loop for a unit group or so):​

Gui:
Code:
    Unit - Hide (<your unit>)
    Custom script: call UnitRemoveAbility( <your unit>, 'Aloc' )
    Unit - Unhide (<your unit>)

JASS:
Code:
    call ShowUnitHide( <your unit> )    
    call UnitRemoveAbility( <your unit>, 'Aloc' )
    call ShowUnitShow( <your unit> )


You now will have the chat completely hidden and a kind of normal unit zooltip. ;)


Notice:
This may be the only way possible,
if there is another, plz let me know it, i will rep you.

Notice:
As I wrote before, your affected units will not have an own pathing,
if you find a way to give them their pathing back, plz let me know it, i will rep you.^^

Notice:
I took me a while to get to this point, and I tried out a lot of things.
It would be good that you test your brainwaves, before posting instructions. Thanks.

Notice:
Again a notice / warning on the (side) effects of your Locust affected units

Links:
wc3campaigns.net: The Warcraft III Ability Guide by PitzerMike (more detailed for this topic)
thehelper.net: Abilities Guide by Chocobo
thehelper.net: Unselectable by mouse (thread) by me
thehelper.net: Game Interface (Playername) (thread) by me
thehelper.net: Chat Log F12 Hide (thread) by me


--= The End of Part 2 =--





Part 3
--= Inventing your own Chat System and more =--


I will finish this tomorrow. Got the screenshots... gn8 @ all


Links:
thehelper.net: Chat over Unit Tutorial by ban-lord


--= The End of Part 3=--



Credits to:
Presswuerstchen, aquadox (images)
PitzerMike (Game Interface slk)
shadow1500 (Tutorial)
All who helped me ;)


All constructive comments are very welcome!
Same for all questions.
Same for all reputation ;)
 

Attachments

  • GameInterface101.zip
    14.5 KB · Views: 683

Cilla

is watching you! Ahh, fresh meat!
Reaction score
39
:(( changed my mail some couple of hours ago

cant edit posts cant pm mods sry (at least its no bump^^, this post ison top)

plz remove the other thread thanks alot

Edit: Yeah i am able to edit again^^ thanks for the support
 
P

Peanuthead

Guest
Its weird... you seem to be missing alot of explaining and having to much of something else.
 

Cilla

is watching you! Ahh, fresh meat!
Reaction score
39
Its weird... you seem to be missing alot of explaining and having to much of something else.

A lot of explaining?
What can you possible mean by that?
This step by step Tut is as detailed as it could possible be.
I thought that noone could fail to understand it.

Edit:
Plz pm me or just post what you did not understand and what you mean with 'having to much of something else'
 
Reaction score
54
A lot of explaining?
What can you possible mean by that?
This step by step Tut is as detailed as it could possible be.
I thought that noone could fail to understand it.

A critic improves the quality of the tutorial whereas a compliment improves the satisfaction of the writer. :)

I understood it. Haven't tried it yet thought.

I recommend cutting down all the Notice:'s in one paragraph, with bullets perhaps.

Good job, overall.
 
Reaction score
456
Nice tutorial, but still needs all of it to be perfect. Also you should avoid writing "u" instead of "you".

I think it's not very clear, but still it looks good.
 

Cilla

is watching you! Ahh, fresh meat!
Reaction score
39
Nice tutorial, but still needs all of it to be perfect. Also you should avoid writing "u" instead of "you".

I think it's not very clear, but still it looks good.

1. In progress... ^^
2. Right. Difficult to get the u out of the fingers
3. Hmm, I think, if you follow each step you can not do anything wrong, I will try to improve it
This is not very clear i guess^^


Thanks for the comment. ;)
 

Andrewgosu

The Silent Pandaren Helper
Reaction score
716
I find nothing wrong with post #6. He was just informing you, that the tutorial could
use a few images and explaining only Frozen Throne users can benefit from this tutorial.

And Ancanus put it very well: "A critic improves the quality of the tutorial whereas
a compliment improves the satisfaction of the writer."
 

Cilla

is watching you! Ahh, fresh meat!
Reaction score
39
Every help, constructive critic and information is appreciated, but plz make sure that I did not already respond to it in the Tut (see the Notice: ).


Does anyone need more images for Part 1?
Something unclear?, plz post or pm me which Part i should improve.

Thanks
 
1

1337D00D

Guest
If a player's name is changed to something wiht lots of spaces, dosen't it screw up the "mousing over" of the unit?
 

Cilla

is watching you! Ahh, fresh meat!
Reaction score
39
Indeed 1337D00D.
The Tut is not finished yet.

A little of work with Locust and it's ok,.. it was wrote by Acehart in Cilla's thread.

Sry what was wrote by Acehard in my (which?) thread?
 
M

mikke95

Guest
Huh?? I didn't get any Text thingy in the UI ... i only have 2 files and i don't get it!
 

Cilla

is watching you! Ahh, fresh meat!
Reaction score
39
Huh?? I didn't get any Text thingy in the UI ... i only have 2 files and i don't get it!

It is the file war3mapskin, this is one of both files in the UI folder.

Look at step 1 and 2 in the screenshot

(maybe you enabled to hide the file endings (.txt))
 

Doom-Angel

Jass User (Just started using NewGen)
Reaction score
167
thank u for making it (+Rep :p) even though i got confues a bit at the second part but i assume i will understand it while i will try to do it :)
 

Cilla

is watching you! Ahh, fresh meat!
Reaction score
39
thank u for making it (+Rep :p) even though i got confues a bit at the second part but i assume i will understand it while i will try to do it :)

Yes I hope so^^,

plz letme know any unclear instructions.
 

Tom Jones

N/A
Reaction score
437
A question about the two end game pictures, because I prefer method number two when hiding messages in the chat log. Couldn't you simply set the players name back to normal when the game ends. Thus preventing that nothing appears in the scorescreen. Or simply don't show the scorescreen.
 

Cilla

is watching you! Ahh, fresh meat!
Reaction score
39
A question about the two end game pictures, because I prefer method number two when hiding messages in the chat log. Couldn't you simply set the players name back to normal when the game ends. Thus preventing that nothing appears in the scorescreen. Or simply don't show the scorescreen.

True, but all the players who leave before the game ends, will see this. (or not?)
 

Tom Jones

N/A
Reaction score
437
Perhaps, I don't know. Maybe if the name is changed fast enough, the scorescreen will load the real name. Worth trying imo.
 

elmstfreddie

The Finglonger
Reaction score
203
I'm pretty sure most of the helper members are english, so it'd be better if the screenshots are in english lol :)
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • The Helper The Helper:
    So what it really is me trying to implement some kind of better site navigation not change the whole theme of the site
  • Varine Varine:
    How can you tell the difference between real traffic and indexing or AI generation bots?
  • The Helper The Helper:
    The bots will show up as users online in the forum software but they do not show up in my stats tracking. I am sure there are bots in the stats but the way alot of the bots treat the site do not show up on the stats
  • Varine Varine:
    I want to build a filtration system for my 3d printer, and that shit is so much more complicated than I thought it would be
  • Varine Varine:
    Apparently ABS emits styrene particulates which can be like .2 micrometers, which idk if the VOC detectors I have can even catch that
  • Varine Varine:
    Anyway I need to get some of those sensors and two air pressure sensors installed before an after the filters, which I need to figure out how to calculate the necessary pressure for and I have yet to find anything that tells me how to actually do that, just the cfm ratings
  • Varine Varine:
    And then I have to set up an arduino board to read those sensors, which I also don't know very much about but I have a whole bunch of crash course things for that
  • Varine Varine:
    These sensors are also a lot more than I thought they would be. Like 5 to 10 each, idk why but I assumed they would be like 2 dollars
  • Varine Varine:
    Another issue I'm learning is that a lot of the air quality sensors don't work at very high ambient temperatures. I'm planning on heating this enclosure to like 60C or so, and that's the upper limit of their functionality
  • Varine Varine:
    Although I don't know if I need to actually actively heat it or just let the plate and hotend bring the ambient temp to whatever it will, but even then I need to figure out an exfiltration for hot air. I think I kind of know what to do but it's still fucking confusing
  • The Helper The Helper:
    Maybe you could find some of that information from AC tech - like how they detect freon and such
  • Varine Varine:
    That's mostly what I've been looking at
  • Varine Varine:
    I don't think I'm dealing with quite the same pressures though, at the very least its a significantly smaller system. For the time being I'm just going to put together a quick scrubby box though and hope it works good enough to not make my house toxic
  • Varine Varine:
    I mean I don't use this enough to pose any significant danger I don't think, but I would still rather not be throwing styrene all over the air
  • The Helper The Helper:
    New dessert added to recipes Southern Pecan Praline Cake https://www.thehelper.net/threads/recipe-southern-pecan-praline-cake.193555/
  • The Helper The Helper:
    Another bot invasion 493 members online most of them bots that do not show up on stats
  • Varine Varine:
    I'm looking at a solid 378 guests, but 3 members. Of which two are me and VSNES. The third is unlisted, which makes me think its a ghost.
    +1
  • The Helper The Helper:
    Some members choose invisibility mode
    +1
  • The Helper The Helper:
    I bitch about Xenforo sometimes but it really is full featured you just have to really know what you are doing to get the most out of it.
  • The Helper The Helper:
    It is just not easy to fix styles and customize but it definitely can be done
  • The Helper The Helper:
    I do know this - xenforo dropped the ball by not keeping the vbulletin reputation comments as a feature. The loss of the Reputation comments data when we switched to Xenforo really was the death knell for the site when it came to all the users that left. I know I missed it so much and I got way less interested in the site when that feature was gone and I run the site.
  • Blackveiled Blackveiled:
    People love rep, lol
    +1
  • The Helper The Helper:
    The recipe today is Sloppy Joe Casserole - one of my faves LOL https://www.thehelper.net/threads/sloppy-joe-casserole-with-manwich.193585/

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top