Gaming Community
Forum
 
Go Back   D3scene > Hot Games > Warcraft 3 forum > Warcraft 3 Custom Maps > Editing
Register Blogs Live view Downloads D3 Clan FAQ Members List Social Groups Calendar Search Today's Posts Mark Forums Read

How to: Create Chat over Unit

This is a discussion on How to: Create Chat over Unit within the Editing forum part of the Warcraft 3 Custom Maps category; Text over Unit Tutorial Introduction The way this tutorial works is that it will put your chat over your unit... ...


Welcome on D3scene.com! Make sure to register - it's free and very quick! You have to register before you can post and participate in our discussions with 70000 other registered members. Downloads, user profiles and some forums can only be seen by registered members. After you create your free account you will be able to customize many options, you will have the full access to new hacks, latest cheats and last but not least will see no advertisements at all. We would love to see you around in our community!
Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 06-02-2008, 10:07 PM
MaRcDk's Avatar
Business Owner




 
Join Date: May 2007
Location: Denmark
Posts: 2,013
Thanks: 37
Thanked 36 Times in 14 Posts
Reputation: 2031
Rep Power: 14
MaRcDk is a rep whoreMaRcDk is a rep whoreMaRcDk is a rep whoreMaRcDk is a rep whoreMaRcDk is a rep whoreMaRcDk is a rep whoreMaRcDk is a rep whoreMaRcDk is a rep whoreMaRcDk is a rep whoreMaRcDk is a rep whoreMaRcDk is a rep whore
How to: Create Chat over Unit

Text over Unit Tutorial


Introduction

The way this tutorial works is that it will put your chat over your unit...
also adding a name infront (optional)
It works by using floating text and variable arrays

The Triggers:

II. Setting up the chat system

- 1 called Init and one called Talking

Creating the "INIT" trigger will setup the triggers for map initialization.

Once you created the "INIT" trigger, create a variable, if you are new to variables click the glowing orange "X" at the toolbar.

Now create a unit variable with an Array.

Arrays store extra information for several units.

Okay, create a "UNIT" [Array] Variable named PlayerUnits or whatever you want to name it. And now go back to your trigger make a number for each players (automatically done in the next trigger) 1-12 or whatever you want.

Set the variable to the unit for the player you want them to chat over.

Your trigger should at least have something like this:



II. Setting up the chat system

Now as I think you have created a trigger for the chat to be operated on.

Now add this, which will turn on the trigger:

EVENTS
Player - Player 1 (red) types in . as a substring
CONDITIONS
(substring((Entered Chat String) 1, 1) Equal to .
ACTIONS
Floating Text - Create a floating text that reads (((Player name of Triggering Player) + |r + (substring(entered chat string) 2, 40))) above PlayerUnits [Player number of (triggering player)] with Z offset 0.00, size 8.00, color (100.00% and 100.00% and 100.00%) and 0% transparency.
Floating Text - Change (Last Created Floating Text): Disable Permanence
Floating Text - Change the Lifespan of (Last Created Floating Text) to 3.50 seconds.
Floating Text - Change the fading age of (Last Created Floating Text) to 0.00 seconds.
Floating Text - Set the velocity of (Last Created Floating Text) to 15.00 to 90.00 degrees.

If you're having problems reading the text, then here is a picture showing you how it looks like



And some more help, Here is how the floating text is coded:


If this worked, it should look like this:



Some credits goes to: ban-lord
-------------------------------------------------

I hope you liked it, and that its usefull Enjoy!
Reply With Quote
D3scene
Welcome to D3scene - probably the best location for all Gamers.

To participate in our friendly environment you have to register. After completing registration you will have full access to all threads and features. We care about members and try to make your stay as pleasant as possible. We are unique with the following feature for members - you will not see a single Advertisement!


The best: registration is completely free. It will not cost you a single penny or harm you in any way. You will lose nothing except 1 minute of your time. So why not register? We would be happy to see you around!
  #2  
Old 06-02-2008, 10:25 PM
hendricius's Avatar
Administrator

 
Join Date: Feb 2007
Location: Hamburg, Germany
Posts: 5,646
Blog Entries: 22
Thanks: 62
Thanked 49 Times in 21 Posts
Reputation: 1434
Rep Power: 12
hendricius has much to be proud ofhendricius has much to be proud ofhendricius has much to be proud ofhendricius has much to be proud ofhendricius has much to be proud ofhendricius has much to be proud ofhendricius has much to be proud ofhendricius has much to be proud ofhendricius has much to be proud ofhendricius has much to be proud of
Another awesome guide by you . Thanks.
Reply With Quote
  #3  
Old 06-02-2008, 10:43 PM
GodOfWar's Avatar
Hacker

 
Join Date: Jul 2007
Posts: 190
Thanks: 1
Thanked 12 Times in 7 Posts
Reputation: 204
Rep Power: 4
GodOfWar has a spectacular aura aboutGodOfWar has a spectacular aura aboutGodOfWar has a spectacular aura about
awsome dude , I really appreciate your work
Reply With Quote
  #4  
Old 06-02-2008, 10:49 PM
MaRcDk's Avatar
Business Owner




 
Join Date: May 2007
Location: Denmark
Posts: 2,013
Thanks: 37
Thanked 36 Times in 14 Posts
Reputation: 2031
Rep Power: 14
MaRcDk is a rep whoreMaRcDk is a rep whoreMaRcDk is a rep whoreMaRcDk is a rep whoreMaRcDk is a rep whoreMaRcDk is a rep whoreMaRcDk is a rep whoreMaRcDk is a rep whoreMaRcDk is a rep whoreMaRcDk is a rep whoreMaRcDk is a rep whore
Quote:
Originally Posted by GodOfWar View Post
awsome dude , I really appreciate your work
Thanks Really much apreciated
Reply With Quote
  #5  
Old 06-02-2008, 10:55 PM
GodOfWar's Avatar
Hacker

 
Join Date: Jul 2007
Posts: 190
Thanks: 1
Thanked 12 Times in 7 Posts
Reputation: 204
Rep Power: 4
GodOfWar has a spectacular aura aboutGodOfWar has a spectacular aura aboutGodOfWar has a spectacular aura about
No problem Always glad to give a nice feedback
Reply With Quote
  #6  
Old 06-02-2008, 11:04 PM
MaRcDk's Avatar
Business Owner




 
Join Date: May 2007
Location: Denmark
Posts: 2,013
Thanks: 37
Thanked 36 Times in 14 Posts
Reputation: 2031
Rep Power: 14
MaRcDk is a rep whoreMaRcDk is a rep whoreMaRcDk is a rep whoreMaRcDk is a rep whoreMaRcDk is a rep whoreMaRcDk is a rep whoreMaRcDk is a rep whoreMaRcDk is a rep whoreMaRcDk is a rep whoreMaRcDk is a rep whoreMaRcDk is a rep whore
Quote:
Originally Posted by GodOfWar View Post
No problem Always glad to give a nice feedback
And thats highly apreciated, trust me, getting comments for a tutorial like this (and all the other guides) is just great,
Reply With Quote
D3scene
Welcome to D3scene - probably the best location for all Gamers.

To participate in our friendly environment you have to register. After completing registration you will have full access to all threads and features. We care about members and try to make your stay as pleasant as possible. We are unique with the following feature for members - you will not see a single Advertisement!


The best: registration is completely free. It will not cost you a single penny or harm you in any way. You will lose nothing except 1 minute of your time. So why not register? We would be happy to see you around!
Reply

Tags
floating text, trigger, tutorial, world editor

Thread Tools
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to make your own WoW server (TBC!) Xirus WoW Private Server Info & Help 582 10-17-2009 07:43 PM
Make Your Own Maze Map In World Editor MaRcDk Editing 23 08-13-2009 11:11 AM
Ghoul Bot Free KaMiKaZe Warcraft 3 Bots 202 06-01-2009 02:58 PM
Cheat Integrator Cornelius Warcraft 3 Hacks 58 05-17-2009 05:30 PM
i need help <.< im1337 WoW Private Server Info & Help 0 06-25-2007 03:52 AM


All times are GMT +1. The time now is 10:50 PM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.0 ©2009, Crawlability, Inc.
vBulletin style developed by Transverse Styles