Jump to content

  • Log in with Facebook Log in with Twitter Log In with Steam Log In with Google Sign In
  • Create Account
Photo

Bind key for chat

- - - - -

  • Please log in to reply
7 replies to this topic

#1
Dhmo

Dhmo

    L3: Novice

  • Regular User
  • 104 posts
29
A step in the right direction
  • Server:Jay1
  • Alias:Tax/DHmo/Brelen

Hi,

 

I look this http://fearless-assa...ound-shortcuts/ .

 

It's very great thanks, but i have an other question, Does it possible to bind a new vsay? It's hard to explain, so i will try with an example:

 

When i need a medic, i do "v21", does it possible, for a personalize vsay do "v9500" or "vt2" or other.

 

I think it's not, but people who play ET surprise me all time!

 

Thanks.




Click here to login or here to register to remove this ad, it's free!

#2
blackknight8653

blackknight8653

    L3: Novice

  • ET Trial
  • 163 posts
148
On the road to fame
Contributor

Hi,

I look this http://fearless-assa...ound-shortcuts/ .

It's very great thanks, but i have an other question, Does it possible to bind a new vsay? It's hard to explain, so i will try with an example:

When i need a medic, i do "v21", does it possible, for a personalize vsay do "v9500" or "vt2" or other.

I think it's not, but people who play ET surprise me all time!

Thanks.

I am sorry but can you reiterate what you are trying to convey? It will allow us to have a better understanding of your request. It is good that you have given an example. Let me clarify what you meant. If I am not mistaken, do you want a bind where you would say for example "v10" on the global chat and a sound stating "Enemy is in Disguise" to be played?

After rereading you post, I think you might be asking for a custom vsay sounds that you can use exclusively for yourself. For example, your own vsay where you find your own sound file and then use it whenever you use "v12345" which is not available in the default Wolfenstein: Enemy Territory Installation. If that is what you are referring to then it is not possible at least not in F|A server since in F|A servers sv_pure is usually set to 1 (meaning you can only use sound packs that are used by the server) hence, you are not allowed to use your own soundpack (.pk3) file from the client side. Only a server admin can upload their own custom sound packs to the server and allow it to be available for all who connected to the server (eg. F|A 2 and F|A NQ 1). In conclusion, there is no way to use your own custom sound packs which is exclusive to you.

Thank you. :)

Edited by blackknight8653, 16 July 2015 - 04:55 PM.


#3
Dhmo

Dhmo

    L3: Novice

  • Regular User
  • 104 posts
29
A step in the right direction
  • Server:Jay1
  • Alias:Tax/DHmo/Brelen

Sorry Blacknight, i was unclear. But you awnser a part of my question, so thank you :) (my english is sometimes good, sometimes bad...)
 

I will try again to explain with an example.

 

Imagine i bind a new vsay like that:

 

/bind key "Say CUSTOMTEXT"

 

The key is all time a character in all exemple.

 

So does it possible (but i really think no with your awnser, but I'm not sure...) to do that:

/bind "pwd" "Say CUSTOMTEXT"

 

I mean, take a string (like vsay: v21 for example) for take to place of the character?

 

In this example, the vsay is for me (v21) a string. (can we use any other string than v12345, like "pwd"? or other)

 

Sorry if you still anwser that, I wasn't sure.

 

Thanks again. (sorry for my english)

 


Edited by Dhmo, 16 July 2015 - 09:55 PM.


#4
blackknight8653

blackknight8653

    L3: Novice

  • ET Trial
  • 163 posts
148
On the road to fame
Contributor

Sorry Blacknight, i was unclear. But you awnser a part of my question, so thank you :) (my english is sometimes good, sometimes bad...)
 

I will try again to explain with an example.

 

Imagine i bind a new vsay like that:

 

/bind key "Say CUSTOMTEXT"

 

The key is all time a character in all exemple.

 

So does it possible (but i really think no with your awnser, but I'm not sure...) to do that:

/bind "pwd" "Say CUSTOMTEXT"

 

I mean, take a string (like vsay: v21 for example) for take to place of the character?

 

In this example, the vsay is for me (v21) a string. (can we use any other string than v12345, like "pwd"? or other)

 

Sorry if you still anwser that, I wasn't sure.

 

Thanks again. (sorry for my english)

 

 

I think I have a basic understanding of what you meant. It is fine you don't have to apologise. Not everyone is perfect at least you tried which is admirable and I am sure many of us like me respect you for that. :)

 

From your latest post, I think you meant that you want to show a custom text when using a vsay (eg. v10) am I right? In this case, your request is similar to this post (http://fearless-assa...ats-binds-help/). Just in case you don't know how it works and since I have some free time, I will explain it to you step by step.

 

I assume you have a basic knowledge of how to use a script and how to make a script based on the fact that you have general knowledge of how to use binds. As such, I will skip that part in my tutorial.

 

How to create a vsay bind such that when used it will show a custom text instead of the default text when using the bind?

 

The code for the bind (In this case, I be using the bind vsay_cheer as an example as it is related to the post I mentioned above.). I will be using the Z key in this case. You can switch it to any other keys you desire.

 

You can insert this particular line in your autoexec.cfg and execute your autoexec.cfg in your console. Press the z button for it to work.

bind z vsay cheer YEAH!!!! WOOHOO!!!

In this case, the cheer vsay sound would be played. You can substitute the code "cheer" with any other code from this list:

 

Note: This list does not include custom vsays from custom soundpacks. Credits goes to -=Medic=- who is the author of the tutorial post (http://fearless-assa...ound-shortcuts/)

Voice Available:

1.Statements
11 - Path cleared. - PathCleared
12 - The enemy is weakened. - EnemyWeak
13 - All clear. - AllClear
14 - Incoming! - Incoming
15 - Fire in the hole! - FireInTheHole
16 - I'm defending. - OnDefense
17 - I'm attacking. - OnOffense
18 - Taking fire! - TakingFire
19 - Mines cleared. - MinesCleared
10 - Enemy in disguise. - EnemyDisguised

2. Requests
21 - Medic! - Medic
22 - I need ammo! - NeedAmmo
23 - I need backup! - NeedBackup
24 - We need an engineer! - NeedEngineer
25 - Cover me! - CoverMe
26 - Hold fire! - HoldFire
27 - Where to? - WhereTo
28 - We need Covert Ops! - NeedOps

3. Commands
31 - Follow me! - FollowMe
32 - Let's go! - LetsGo
33 - Move! - Move
34 - Clear the path! - ClearPath
35 - Defend our objective! - DefendObjective
36 - Disarm the dynamite! - DisarmDynamite
37 - Clear the mines! - ClearMines
38 - Reinforce the offense! - ReinforceOffense
39 - Reinforce the defense! - ReinforceDefense

4. Talk
41 - Yes! - Affirmative
42 - No! - Negative
43 - Thanks a lot! - Thanks
44 - You're welcome. - Welcome
45 - Sorry! - Sorry
46 - Oops! - Oops

5. Global
51 - Yes! - Affirmative
52 - No! - Negative
53 - The enemy is weakened. - EnemyWeak
54 - Hi! - Hi
55 - Bye. - Bye
56 - Great shot! - GreatShot
57 - Yeah! - Cheer
581 - Thanks a lot! - Thanks
582 - You're welcome. - Welcome
583 - Oops! - Oops
584 - Sorry! - Sorry
585 - Hold your fire! - HoldFire
586 - Good game! - GoodGame


7. Objectives
71 - Command acknowledged! - CommandAcknowledged
72 - Command declined! - CommandDeclined
73 - Command completed! - CommandCompleted
74 - Destroy the primary objective! - DestroyPrimary
75 - Destroy the secondary objective! - DestroySecondary
76 - Destroy the construction! - DestroyConstruction
77 - Construction underway! - ConstructionCommencing
78 - Repair the vehicle! - RepairVehicle
79 - Destroy the vehicle! - DestroyVehicle
70 - Escort the vehicle! - EscortVehicle

You can substitute the phrase "YEAH!!!! WOOHOO!!!" with any custom text you desire.

 

For more advanced scripting similar to the request here: http://fearless-assa...ats-binds-help/

 

You can add [K] or any other of such code into your custom text. Such codes allow you to do specific task like in the case of [K] it will always be replaced by the name of the last person you killed.

 

In other words, if you use the code below:

bind vsay cheer I killed [k].

Lets take a scenario as an example. You were in a firefight and killed a player name "ETPlayer". Using the above code would result in the cheer vsay being played with a custom text "I killed ETPlayer." Notice that the code [k] is replaced to the name of the player you just killed.

 

The full list of such code similar to [k] is shown below:

[A] - Past person who gave you ammo.
[D] - Last person who killed you.
[H] - Last person who gave you health.
[K] - Last person you killed.
[L] - Your current location. (The coordinates of your current location would be shown.)
[N] - Your nickname.
[R] - Last person who revived you.
[P] - Teammate you are pointing at.
[S] - Your health (HP).
[W] - Weapon you are currently holding.
[T] - Ammo u have in current weapon.

You can replace the code "[k]" with any other code like [a] as shown in the list.

 

If you are not sure how to create a script. I have attached a script in this post. You can edit it to your liking. To use the script, go to console by pressing the "~" key on your keyboard and type "/exec vsayscript.cfg". After executing the script, you can just press the key you set to use the vsay with the custom text you have configured.

 

If you did not change anything in the script I attached in this post, you can press the z key which will do exactly as I have shown in my first example where the cheer vsay would be played and a custom text "Yeah!!! Woohoo!!!" would be shown. If you press the o key, the cheer vsay would be played and a custom text "I killed (The name of the player you last killed)" would be shown (similar to my second example).

 

If you want more information, a good tutorial, written by -=Medic=-, that you can read (as mentioned earlier) can be found here: http://fearless-assa...und-shortcuts/

 

With this knowledge, I am sure you can find many creative ways to create your binds. I have seen many take advantage of such binds for their own personal use which is very creative. I am sure you can too. :)

 

Thank you for taking some of your time to read this reply. I know it is long but I just want to make sure you get the answer you desire. :)

Attached Files



#5
SunLight

SunLight

    L11: Assassin

  • Clan Friend
  • 5,090 posts
3,225
Is a bearer of wisdom
  • Admin:10
  • Server:ETSW2
Contributor

So does it possible (but i really think no with your awnser, but I'm not sure...) to do that:
/bind "pwd" "Say CUSTOMTEXT"
 
I mean, take a string (like vsay: v21 for example) for take to place of the character?
 
In this example, the vsay is for me (v21) a string. (can we use any other string than v12345, like "pwd"? or other)

I still don't get it, but maybe I do... :D

you say v21 is a 'string' but in reality what happens is:
- you press v (which is usually binded to the voice menu, but not necessarily, if you change it)
- the game opens a menu and goes in menu mode. All the keys you press are *not* handled as usual (e.g. you can't switch weapon with numbers)
- those numbers you press after the 'v' are handled by the menu

I am not sure about what you want to achieve, assuming you mean pressing 'p' 'w' 'd' in sequence to trigger an action, it could be done via scripting but it's useful only in some cases. And it makes sense only if you have 'd' already binded to something else, because then you can just bind it to 'd' (lol)

 

Remember, in the game you can only bind a single key. but you can change what's binded to the key by using a previous key.

 

For example, I use the numeric keypad for 3 things: messages, spawn points and classes

 

- If I press '3' I say a certain message

- if I press a key (in my case 'left arrow'), then '3', I will pick a class because in my cfg the left arrow is binded to a script that rebinds all the keypad for class selection

- if I press another key (say, up arrow) then '3', this time I am picking spawn point #3, because 'up arrow' is binded to a script that rebinds all the keypad to spawn points

 

(Obviously after I press the number a script is called to rebind it to chat again)

 

So what you say is sort of possible, if you have all keys binded and you need extra space, but what you totally misunderstood is what happens 'behind the curtains' when you press 'v21'

 

It's only 'v' that opens the menu, the menu is binded to 'v' and you can actually bind it to some other key

If I bind the voice menu to 'k' I would do 'k21' and also (as far as I remember) you can set the voice menu to use letters a-z instead of numbers

 

TL;DR

yes and no. why do you need it? what's your reason behind this? what problem do you face using the standard menu? give some extra detail about what you want to achieve and why



#6
blackknight8653

blackknight8653

    L3: Novice

  • ET Trial
  • 163 posts
148
On the road to fame
Contributor

I still don't get it, but maybe I do... :D

you say v21 is a 'string' but in reality what happens is:
- you press v (which is usually binded to the voice menu, but not necessarily, if you change it)
- the game opens a menu and goes in menu mode. All the keys you press are *not* handled as usual (e.g. you can't switch weapon with numbers)
- those numbers you press after the 'v' are handled by the menu

I am not sure about what you want to achieve, assuming you mean pressing 'p' 'w' 'd' in sequence to trigger an action, it could be done via scripting but it's useful only in some cases. And it makes sense only if you have 'd' already binded to something else, because then you can just bind it to 'd' (lol)

 

Remember, in the game you can only bind a single key. but you can change what's binded to the key by using a previous key.

 

For example, I use the numeric keypad for 3 things: messages, spawn points and classes

 

- If I press '3' I say a certain message

- if I press a key (in my case 'left arrow'), then '3', I will pick a class because in my cfg the left arrow is binded to a script that rebinds all the keypad for class selection

- if I press another key (say, up arrow) then '3', this time I am picking spawn point #3, because 'up arrow' is binded to a script that rebinds all the keypad to spawn points

 

(Obviously after I press the number a script is called to rebind it to chat again)

 

So what you say is sort of possible, if you have all keys binded and you need extra space, but what you totally misunderstood is what happens 'behind the curtains' when you press 'v21'

 

It's only 'v' that opens the menu, the menu is binded to 'v' and you can actually bind it to some other key

If I bind the voice menu to 'k' I would do 'k21' and also (as far as I remember) you can set the voice menu to use letters a-z instead of numbers

 

TL;DR

yes and no. why do you need it? what's your reason behind this? what problem do you face using the standard menu? give some extra detail about what you want to achieve and why

 

Haha SunLight. You are more technical using programming terms like 'String'. :) Your explanation are always very well written. I guess that could be what he meant. :)


Edited by blackknight8653, 17 July 2015 - 01:23 AM.


#7
SunLight

SunLight

    L11: Assassin

  • Clan Friend
  • 5,090 posts
3,225
Is a bearer of wisdom
  • Admin:10
  • Server:ETSW2
Contributor

Haha SunLight. You are more technical using programming terms like 'String'. :) Your explanation are always very well written. I guess that could be what he meant. :)

he said 'string' before so I copied him :P

 

edit: btw, it's OT but I realize I don't know which keys I have binded to which action, and yet in the game I use them subconsciously... that's creepy :D

 

muscle memory or something


Edited by SunLight, 17 July 2015 - 01:53 AM.


#8
blackknight8653

blackknight8653

    L3: Novice

  • ET Trial
  • 163 posts
148
On the road to fame
Contributor

he said 'string' before so I copied him :P
 
edit: btw, it's OT but I realize I don't know which keys I have binded to which action, and yet in the game I use them subconsciously... that's creepy :D
 
muscle memory or something


I see. Haha it means it is your instincts which allowed you to subconsciously know which key to press. :) You could always go /bindlist in console if you need to know what function is bind to each key.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users