wc3campaigns
WC3C Homepage - www.wc3c.netUser Control Panel (Requires Log-In)Engage in discussions with other users and join contests in the WC3C forums!Read one of our many tutorials, ranging in difficulty from beginner to advanced!Show off your artistic talents in the WC3C Gallery!Download quality models, textures, spells (vJASS/JASS), systems, and scripts!Download maps that have passed through our rigorous approval process!

Go Back   Wc3C.net > Tutorials > General Mapping Tutorials
User Name
Password
Register Rules Get Hosted! Chat Pastebin FAQ and Rules Members List Calendar



Reply
 
Thread Tools Search this Thread
Old 02-21-2006, 07:14 PM   #1
shadow1500
STARCRAFT II OMFG
 
shadow1500's Avatar
 
Join Date: Jul 2004
Posts: 1,004

Submissions (9)

shadow1500 is just really nice (306)shadow1500 is just really nice (306)shadow1500 is just really nice (306)

Send a message via ICQ to shadow1500 Send a message via AIM to shadow1500 Send a message via MSN to shadow1500
Default Hiding Player Chat Messages

Introduction
This tutorial will teach you how to make player chat messages invisible (and unhearable), while still allowing triggers to detect them.
Can be quite useful for some types of maps, like multiplayer RPG's.
Click image for larger version

Name:	ingame8pa.jpg
Views:	1698
Size:	233.2 KB
ID:	2397

Hiding the Chat Messages

1. Download GameInterface101.rar (Thanks to PitzerMike for the file) and extract the contents to your Warcraft III directory.
2. Run WorldEdit,open your map, and go to Game Interface.
3. Change [All], [Allies], [Observers], [Referees] and [Private] to a lots of spaces.
4. Create an empty file and import it to your map, change its path to "Sound\Interface\InGameChatWhat1.wav".
5. Player chat messages are now cannot be seen or heard, you can use the event
Trigger:
Player - Player Types a chat message containing <empty string> as a substring
to detect the hidden messages and display them if needed.

Tutorial Map
Download ChatTestMap.w3m

Last edited by shadow1500 : 02-23-2006 at 08:36 PM.
shadow1500 is offline   Reply With Quote
Sponsored Links - Login to hide this ad!
Old 02-21-2006, 07:41 PM   #2
Vexorian
Free Software Terrorist
 
Vexorian's Avatar


Technical Director
 
Join Date: Apr 2003
Posts: 14,898

Submissions (37)

Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)

Hero Contest #3 - 2nd Place

Default

nifty, tried it in bnet?

Also tried it with the map with the imported thing is not the first map opened by wc3 ?
__________________
Zoom (requires log in)Wc3 map optimizer 5.0
Someone should fix .wav sound in this thing.
Zoom (requires log in)JassHelper 0.A.2.A
Turns your simple code into something that is complicated enough to work.
Faster != more useful
Vexorian is offline   Reply With Quote
Old 02-21-2006, 07:47 PM   #3
shadow1500
STARCRAFT II OMFG
 
shadow1500's Avatar
 
Join Date: Jul 2004
Posts: 1,004

Submissions (9)

shadow1500 is just really nice (306)shadow1500 is just really nice (306)shadow1500 is just really nice (306)

Send a message via ICQ to shadow1500 Send a message via AIM to shadow1500 Send a message via MSN to shadow1500
Default

dont u know what war3mapSkin.txt is? its the file that is created by worldedit for Game Interface, so it works on bnet 100% every time.
shadow1500 is offline   Reply With Quote
Old 02-21-2006, 08:14 PM   #4
Blade.dk
.
 
Blade.dk's Avatar


Respected User
 
Join Date: May 2005
Posts: 1,990

Submissions (15)

Blade.dk is a glorious beacon of light (418)Blade.dk is a glorious beacon of light (418)Blade.dk is a glorious beacon of light (418)Blade.dk is a glorious beacon of light (418)Blade.dk is a glorious beacon of light (418)Blade.dk is a glorious beacon of light (418)

Approved Map: Azeroth's Arcane ArenaSpell session 01 winner

Send a message via MSN to Blade.dk
Default

This is cool. Good job :).
__________________
Spell Making Course: Part 1: Making a simple stomp spell.
I wonder if I'll ever finish part 2.
Blade.dk is offline   Reply With Quote
Old 02-21-2006, 08:21 PM   #5
Vexorian
Free Software Terrorist
 
Vexorian's Avatar


Technical Director
 
Join Date: Apr 2003
Posts: 14,898

Submissions (37)

Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)

Hero Contest #3 - 2nd Place

Default

hmnn [framedef] seemed as stuff from other kind of files, wonder what else you can change with war3mapskin.txt
__________________
Zoom (requires log in)Wc3 map optimizer 5.0
Someone should fix .wav sound in this thing.
Zoom (requires log in)JassHelper 0.A.2.A
Turns your simple code into something that is complicated enough to work.
Faster != more useful
Vexorian is offline   Reply With Quote
Old 02-21-2006, 08:30 PM   #6
Joey.
User
 
Joey.'s Avatar
 
Join Date: Jul 2005
Posts: 284

Joey. has little to show at this moment (4)

Send a message via AIM to Joey. Send a message via MSN to Joey.
Default

Oh wow. So cool. This eliminates people in DobRP to not have to say in observers chat '-say hi im a sad little boy'
__________________
Joey. is offline   Reply With Quote
Old 02-21-2006, 09:08 PM   #7
Tim.
Missing You All at Wc3c
 
Tim.'s Avatar


Site Owner
 
Join Date: Jul 2003
Posts: 4,475

Submissions (18)

Tim. is a name known to all (503)Tim. is a name known to all (503)Tim. is a name known to all (503)Tim. is a name known to all (503)Tim. is a name known to all (503)

Approved Map: PiratesSpell making session 3 winner

Default

Very interesting and useful.
__________________
"oO and if anyone called Tim. trys to make an account then kick there butts." -Mavus, moderator of the GTW forums


Avast! Seen Pirates? Get it here!
Tim. is offline   Reply With Quote
Old 02-22-2006, 12:34 AM   #8
BloodStorm2262
User
 
BloodStorm2262's Avatar
 
Join Date: Nov 2003
Posts: 266

BloodStorm2262 has little to show at this moment (2)

Default

Emm, either I am oblivious to something great... Or you are oblivious to something simple... At the beginning of the level just set the player names to variable (1 for each) and then wait 0.01 seconds and set every player name to a-hell-of-a-lot of spaces, when the names are needed just use the variables and at victory have a wait timer before it and set the names back to normal. Their is no point of doing the editing of an MPQ as far as I've noticed, if theirs something I'm missing please tell me.
__________________
BloodStorm2262 is offline   Reply With Quote
Old 02-22-2006, 12:39 AM   #9
shadow1500
STARCRAFT II OMFG
 
shadow1500's Avatar
 
Join Date: Jul 2004
Posts: 1,004

Submissions (9)

shadow1500 is just really nice (306)shadow1500 is just really nice (306)shadow1500 is just really nice (306)

Send a message via ICQ to shadow1500 Send a message via AIM to shadow1500 Send a message via MSN to shadow1500
Default

Yes you are missing something, try to hover your mouse above a unit owned by player with such a space-filled name, or open the alliance dialog.

Added Tutorial Map

Last edited by shadow1500 : 02-22-2006 at 12:42 AM.
shadow1500 is offline   Reply With Quote
Old 02-22-2006, 02:29 AM   #10
Vexorian
Free Software Terrorist
 
Vexorian's Avatar


Technical Director
 
Join Date: Apr 2003
Posts: 14,898

Submissions (37)

Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)

Hero Contest #3 - 2nd Place

Default

Quote:
Originally Posted by BloodStorm2262
Emm, either I am oblivious to something great... Or you are oblivious to something simple... At the beginning of the level just set the player names to variable (1 for each) and then wait 0.01 seconds and set every player name to a-hell-of-a-lot of spaces, when the names are needed just use the variables and at victory have a wait timer before it and set the names back to normal. Their is no point of doing the editing of an MPQ as far as I've noticed, if theirs something I'm missing please tell me.
One constantly keeps editing the mpq when saving the map anyways. And this method doesn't have lame side effects
__________________
Zoom (requires log in)Wc3 map optimizer 5.0
Someone should fix .wav sound in this thing.
Zoom (requires log in)JassHelper 0.A.2.A
Turns your simple code into something that is complicated enough to work.
Faster != more useful
Vexorian is offline   Reply With Quote
Old 02-22-2006, 02:52 AM   #11
Immoralis
Working on AoBM
 
Immoralis's Avatar
 
Join Date: Dec 2005
Posts: 514

Submissions (2)

Immoralis will become famous soon enough (47)Immoralis will become famous soon enough (47)

Send a message via AIM to Immoralis Send a message via MSN to Immoralis
Default

is it possible to switch back and forth from normal chat to this?, because if no one is near ur hero, ur kinda a loner..

Last edited by Immoralis : 02-22-2006 at 02:53 AM.
Immoralis is offline   Reply With Quote
Old 02-22-2006, 03:09 AM   #12
Vexorian
Free Software Terrorist
 
Vexorian's Avatar


Technical Director
 
Join Date: Apr 2003
Posts: 14,898

Submissions (37)

Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)

Hero Contest #3 - 2nd Place

Default

err Isn't that kind of the point of it?

And the tutorial just covers disabling player chat messages, does not cover how you will abuse the feature
__________________
Zoom (requires log in)Wc3 map optimizer 5.0
Someone should fix .wav sound in this thing.
Zoom (requires log in)JassHelper 0.A.2.A
Turns your simple code into something that is complicated enough to work.
Faster != more useful
Vexorian is offline   Reply With Quote
Old 02-22-2006, 03:32 AM   #13
BBDino
Wc3c's resident llama.
 
BBDino's Avatar
 
Join Date: Dec 2002
Posts: 944

BBDino has a spectacular aura about (95)BBDino has a spectacular aura about (95)BBDino has a spectacular aura about (95)BBDino has a spectacular aura about (95)

Default

Very, very, very useful find. Rep ++
__________________
Say Yes! to stroking Llamas!
BBDino is offline   Reply With Quote
Old 02-22-2006, 05:43 AM   #14
Ignitedstar
Moderator
 
Ignitedstar's Avatar


RP Section Moderator
 
Join Date: Jul 2005
Posts: 1,755

Ignitedstar has a spectacular aura about (102)Ignitedstar has a spectacular aura about (102)Ignitedstar has a spectacular aura about (102)Ignitedstar has a spectacular aura about (102)

Send a message via MSN to Ignitedstar Send a message via Yahoo to Ignitedstar
Default

lol, what Immoralis said is what I'm wondering too. @_@

Well, since you are changing it with the MPQ editor(which I've tried to use, but got so confused it wasn't funny), it shouldn't be able to be changed during a game, right?

Where does the text appear? In the middle of your screen, or on your selected unit? What happens if you don't have a selected unit?

Hmm... if you only wanted your allies to see the text above your unit, could you do that?

Anyways, a nice tutorial. Never knew this was possible to do. :)
__________________
Current Activity: It's a secret, now.
Evaluation: I actually logged in?!?!
"If I speak in the tongues of men and of angels, but have not love,
I am only a resounding gong or a clanging cymbal.
If I have the gift of prophecy and can fathom all mysteries and all knowledge,
and if I have a faith that can move mountains, but have not love, I am nothing."

1 Corinthians 13:1-2

Current Works:
None.

Last edited by Ignitedstar : 02-22-2006 at 05:43 AM.
Ignitedstar is offline   Reply With Quote
Old 02-22-2006, 01:37 PM   #15
Vexorian
Free Software Terrorist
 
Vexorian's Avatar


Technical Director
 
Join Date: Apr 2003
Posts: 14,898

Submissions (37)

Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)

Hero Contest #3 - 2nd Place

Default

hmnn have you read the tutorial? Cause it is far from being about placing the text about the units, it is about hiding the chat messages.

If you for some reason want it to become some sort of an option, you can just detect chat messages and show them with Game - Show text message action.

And because of that you can make a chat filter really easily btw
__________________
Zoom (requires log in)Wc3 map optimizer 5.0
Someone should fix .wav sound in this thing.
Zoom (requires log in)JassHelper 0.A.2.A
Turns your simple code into something that is complicated enough to work.
Faster != more useful
Vexorian is offline   Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off


All times are GMT. The time now is 07:37 PM.


Affiliates
The Hubb The JASS Vault Clan WEnW Campaign Creations Clan CBS GamesModding Flixreel Videos

Powered by vBulletin (Copyright ©2000 - 2019, Jelsoft Enterprises Ltd).
Hosted by www.OICcam.com
IT Support and Services provided by Executive IT Services