logo Scripting for Enemy Territory

Menu


Home
Tutorials
Downloads
Forum
Contact

Friends





Basic tutorial 5

The say and vsay commands.

In the game of Enemy Territory there are 2 types of chats: say and vsay. Let's discuss them both.

say

The say command is nothing but an ordinary chat. Just like when you type a line of text to say to your friends in the chat area. For example, when you enter your favorite server you might wanna say something like: "Hello everyone!". Instead of typing that every time you enter the server, you could bind a key to that say command.

Let's say you want to use x as your key for this bind, it would look like this:
bind x "say Hello everyone!"

Now every time you press x, you will say "Hello everyone!" in the chatarea.

So when binding a say, you first type the command say followed by what you want to appear in the chatarea.

vsay

There are also recorded voice messages in ET. These are accessible through the vsay menu when you press v. With this menu you can say things like: hi, bye, thank you, you're welcome, etc. These vsay messages can also be binded to a key. In the previous tutorials I gave you the following example:
bind x "vsay hi"



When pressing x you would hear the recorded voice message hi. So when binding a vsay, you first type the command vsay followed by the command for the voice message you want to hear. Of course you have to know what the commands are for these voice messages. So here is the list with all the possible vsay commands. This list first states the voice chat you would hear and behind the - what the command is for this voice chat:

1.Statements

Path cleared. - PathCleared
The enemy is weakened. - EnemyWeak
All clear. - AllClear
Incoming! - Incoming
Fire in the hole! - FireInTheHole
I'm defending. - OnDefense
I'm attacking. - OnOffense
Taking fire! - TakingFire
Mines cleared. - MinesCleared
Enemy in disguise. - EnemyDisguised

2. Requests

Medic! - Medic
I need ammo! - NeedAmmo
I need backup! - NeedBackup
We need an engineer! - NeedEngineer
Cover me! - CoverMe
Hold fire! - HoldFire
Where to? - WhereTo
We need Covert Ops! - NeedOps

3. Commands

Follow me! - FollowMe
Let's go! - LetsGo
Move! - Move
Clear the path! - ClearPath
Defend our objective! - DefendObjective
Disarm the dynamite! - DisarmDynamite
Clear the mines! - ClearMines
Reinforce the offense! - ReinforceOffense
Reinforce the defense! - ReinforceDefense

4. Talk

Yes! - Affirmative
No! - Negative
Thanks a lot! - Thanks
You're welcome. - Welcome
Sorry! - Sorry
Oops! - Oops


5. Global

The enemy is weakened. - EnemyWeak
Hi! - Hi
Bye. - Bye
Great shot! - GreatShot
Yeah! - Cheer
Hold your fire! - HoldFire
Good game! - GoodGame

6. Function

I'm a soldier. - IamSoldier
I'm a medic. - IamMedic
I'm an engineer. - IamEngineer
I'm a field ops. - IamFieldOps
I'm a covert ops. - IamCovertOps

7. Objectives

Command acknowledged! - CommandAcknowledged
Command declined! - CommandDeclined
Command completed! - CommandCompleted
Destroy the primary objective! - DestroyPrimary
Destroy the secondary objective! - DestroySecondary
Destroy the construction! - DestroyConstruction
Construction underway! - ConstructionCommencing
Repair the vehicle! - RepairVehicle
Destroy the vehicle! - DestroyVehicle
Escort the vehicle! - EscortVehicle

8. Fire team chats

Attack! - FTAttack
Fall back! - FTFallBack
Cover me! - FTCoverMe
Disarm the dynamite! - FTDisarmDynamite
Fall back! - FTFallBack
Soldier, covering fire! - FTCoveringFire
Deploy mortar! - FTMortar
Heal the squad! - FTHealSquad
Heal me! - FTHealMe (will show a medic icon over head)
Revive team mate! - FTReviveTeamMate
Revive me! - FTReviveMe (will show a medic icon over head)
Destroy objective! - FTDestroyObjective
Repair objective! - FTRepairObjective
Construct the objective! - FTConstructObjective
Deploy landmines! - FTDeployLandmines
Disarm landmines! - FTDisarmLandmines
Call airstrike! - FTCallAirStrike
Call artillery! - FTCallArtillery
Resupply squad! - FTResupplySquad
Resupply me! - FTResupplyMe (will show a ammo icon over head)
Explore area! - FTExploreArea
Check for land mines! - FTCheckLandMines
Destroy satchel objective! - FTSatchelObjective (same file as FTDestroyObjective)
Infiltrate! - FTInfiltrate
Go undercover! - FTGoUndercover
Provide sniper cover! - FTProvideSniperCover



So one more example. If yu would like to bind x to the vsay Command Acknowledged!, the you bind it as followed:
bind x "vsay CommandAcknowledged"

Teamchat

The say and vsay command are global chats and will be seen/heard by everyone. In some cases you might not want your enemy to see/hear something. This can be avoided by adding _team to your say or vsay command. So the following examples will only be seen/heard by your team:
bind x "vsay_team NeedAmmo"
bind y "say_team The enemy is coming! Fall back!"

Customizing your voice chat

When using a voice chat, you do not only hear it, but also see it in the chat area. If I would use the vsay needAmmo, I would not only hear I need ammo, but would also see this in the chat area:



If you want you could change the part you see in the chat area. Let's say you would want to use the vsay needAmmo, but you want it to say "I need bullets!" in the chat area. This bind is set up like this:
bind x "vsay needAmmo I need bullets!"

Pretty simple you just place the text you want in the chat area behind the vsay command. That's all there is to it. The result:



Back to the tutorial list