LeuxD
Account Details
SteamID64 76561198317841975
SteamID3 [U:1:357576247]
SteamID32 STEAM_0:1:178788123
Country Portugal
Signed Up November 3, 2018
Last Posted November 20, 2018 at 6:45 PM
Posts 16 (0 per day)
Game Settings
In-game Sensitivity
Windows Sensitivity
Raw Input  
DPI
 
Resolution
 
Refresh Rate
 
Hardware Peripherals
Mouse  
Keyboard  
Mousepad  
Headphones  
Monitor  
1 2
#20 + Voice/Chat Commands in Customization
JarateKingLeuxDhey, thank yo'u so much! i'll update this later, i'm busy now, but thank you anyways. let me just ask you a thing, do you liked the idea?A lot of people would probably use voice chat, but it's always good for new scripts to be made. I do remember hearing about a mute (maybe deaf? can't remember) player who would use a script like this, since they needed it for callouts.
LeuxDBut, here, the alias are useless, i don't think the why should i use themIf you want to add to the script to do more, it's easier. For example, if you wanted to change the script so that it prints everything out on one line (but requires multiple keypresses before it prints anything):
// commands to re-alias
alias leuxd_say_0 "leuxd_say_0a"
alias leuxd_say_1 "leuxd_say_1a"
//...

// first keypress, switch to different modes
alias leuxd_say_0a "alias leuxd_say_0 leuxd_say_00; alias leuxd_say_1 leuxd_say_10"
alias leuxd_say_1a "alias leuxd_say_0 leuxd_say_01; alias leuxd_say_1 leuxd_say_11"
//...

// second keypress, say different things
alias leuxd_say_00 "leuxd_reset; say_team UBERED SCOUT"
alias leuxd_say_01 "leuxd_reset; say_team UBERED SOLDIER"
//...
alias leuxd_say_10 "leuxd_reset; say_team INJURED SCOUT"
alias leuxd_say_11 "leuxd_reset; say_team INJURED SOLDIER"
//...

// additional logic
alias leuxd_reset "alias leuxd_say_0 leuxd_say_0a; alias leuxd_say_1 leuxd_say_1a"

// the binds remain the same as before
bind "KP_INS" "leuxd_say_0"
bind "KP_DOWNARROW" "leuxd_say_1"
//...
That's one of the main reasons that using aliases, even when you don't need to, is a "best practice." It just makes things easier when you want to change it later.
wtzI don't think the why he should use this either
answer this, karate King, is it a black and blue or white and gold dress?
Show Content

thank you so much, again, but, i'm really new to tf2's coding, so i didn't understand a big part of the coding, i'm sorry.
if you want so, we can talk to each other in a private chat, that would be way more easier.
(also, i'm sorry about my english, it isn't my first language)

posted about 5 years ago
#17 + Voice/Chat Commands in Customization
JarateKingLeuxD
bind "NUMPAD0" "say_team INCOMING"
bind "NUMPAD1" "say_team MEDIC"
bind "NUMPAD2" "say_team DOWN"
bind "NUMPAD3" "say_team UBER"
bind "NUMPAD4" "say_team PLEASE"
bind "NUMPAD5" "say_team HELP"
bind "NUMPAD6" "say_team SPY"
bind "NUMPAD7" "say_team ATTENTION"
bind "NUMPAD8" "say_team ENEMY"
bind "NUMPAD9" "say_team IN OUR BASE"
The binds should be:
bind "KP_INS" "say_team INCOMING" // 0
bind "KP_END" "say_team MEDIC" // 1
bind "KP_DOWNARROW" "say_team DOWN" // 2
bind "KP_PGDN" "say_team UBER" // 3
bind "KP_LEFTARROW" "say_team PLEASE" // 4
bind "KP_5" "say_team HELP" // 5
bind "KP_RIGHTARROW" "say_team SPY" // 6
bind "KP_HOME" "say_team ATTENTION" // 7
bind "KP_UPARROW" "say_team ENEMY" // 8
bind "KP_PGUP" "say_team IN OUR BASE" // 9
As per https://wiki.teamfortress.com/wiki/Scripting#List_of_key_names

Alternatively you can make it easier for the user to rebind it by doing something like this:
alias leuxd_say_0 "say_team INCOMING"
alias leuxd_say_1 "say_team MEDIC"
//...

bind "KP_INS" "leuxd_say_0"
bind "KP_DOWNARROW" "leuxd_say_1"
//..

But, here, the alias are useless, i don't think the why should i use them

posted about 5 years ago
#15 + Voice/Chat Commands in Customization
JarateKingLeuxD
bind "NUMPAD0" "say_team INCOMING"
bind "NUMPAD1" "say_team MEDIC"
bind "NUMPAD2" "say_team DOWN"
bind "NUMPAD3" "say_team UBER"
bind "NUMPAD4" "say_team PLEASE"
bind "NUMPAD5" "say_team HELP"
bind "NUMPAD6" "say_team SPY"
bind "NUMPAD7" "say_team ATTENTION"
bind "NUMPAD8" "say_team ENEMY"
bind "NUMPAD9" "say_team IN OUR BASE"
The binds should be:
bind "KP_INS" "say_team INCOMING" // 0
bind "KP_END" "say_team MEDIC" // 1
bind "KP_DOWNARROW" "say_team DOWN" // 2
bind "KP_PGDN" "say_team UBER" // 3
bind "KP_LEFTARROW" "say_team PLEASE" // 4
bind "KP_5" "say_team HELP" // 5
bind "KP_RIGHTARROW" "say_team SPY" // 6
bind "KP_HOME" "say_team ATTENTION" // 7
bind "KP_UPARROW" "say_team ENEMY" // 8
bind "KP_PGUP" "say_team IN OUR BASE" // 9
As per https://wiki.teamfortress.com/wiki/Scripting#List_of_key_names

Alternatively you can make it easier for the user to rebind it by doing something like this:
alias leuxd_say_0 "say_team INCOMING"
alias leuxd_say_1 "say_team MEDIC"
//...

bind "KP_INS" "leuxd_say_0"
bind "KP_DOWNARROW" "leuxd_say_1"
//..

hey, thank yo'u so much! i'll update this later, i'm busy now, but thank you anyways. let me just ask you a thing, do you liked the idea?

posted about 5 years ago
#10 + Voice/Chat Commands in Customization
driftathis is actually fucking genius

Thank you so much! If you are using it, PLEASE UPDATE, i made a huge mistake, please replace the old code with this new one. I'm sorry and thank you anyway!

posted about 5 years ago
#7 + Voice/Chat Commands in Customization
SylentWtf ???? Virus program stole all my hats!!!! Someone pls call an admin

uh-huh, of course.

posted about 5 years ago
#6 + Voice/Chat Commands in Customization
deguhttps://d1aeri3ty3izns.cloudfront.net/media/14/145712/1200/preview_1.jpg

why? just why? xD

posted about 5 years ago
#5 + Voice/Chat Commands in Customization
VisLeuxD4+5+8+3+1+0 = please help enemy uber medic incomingthe uber will fade by the time I press all of these in the exact order

if so, 8+3+1+0 (enemy uber medic incoming) or just 3+1+0 (uber medic incoming)

posted about 5 years ago
#1 + Voice/Chat Commands in Customization

Hello. So, basically, I created a way to have more voice/chat commands base on binds, let's start.

a HUGE thanks to JarateKing, he helped me a lot to improve this code.

~~~~~~~~~~~~~~~

so, those are the commands:

alias "leuxd_say_a0" "say_team INCOMING"
alias "leuxd_say_a1" "say_team MEDIC"
alias "leuxd_say_a2" "say_team DOWN"
alias "leuxd_say_a3" "say_team UBER"
alias "leuxd_say_a4" "say_team PLEASE"
alias "leuxd_say_a5" "say_team HELP"
alias "leuxd_say_a6" "say_team SPY"
alias "leuxd_say_a7" "say_team ATTENTION"
alias "leuxd_say_a8" "say_team ENEMY"
alias "leuxd_say_a9" "say_team IN OUR BASE"

bind "KP_INS" "leuxd_say_a0" // 0
bind "KP_END" "leuxd_say_a1" // 1
bind "KP_DOWNARROW" "leuxd_say_a2" // 2
bind "KP_PGDN" "leuxd_say_a3" // 3
bind "KP_LEFTARROW" "leuxd_say_a4" // 4
bind "KP_5" "leuxd_say_a5" // 5
bind "KP_RIGHTARROW" "leuxd_say_a6" // 6
bind "KP_HOME" "leuxd_say_a7" // 7
bind "KP_UPARROW" "leuxd_say_a8" // 8
bind "KP_PGUP" "leuxd_say_a9" // 9

To install them, put the commands in your config.cfg

"Why would i use them?", you might ask. And the answer is easy: to facilitate the communication with teammates.

Want examples? Here are some:

1+2 = medic down
7+8+6+9 = attention, enemy spy in our base
7+8+9 = attention, enemy in our base
4+5+8+3+1+0 = please help enemy uber medic incoming
7+6 = attention spy
7+8+6 = attention enemy spy

now is up to you to create your own voice/chat commands.

oh, and, if you want to make your voice commands public (for your team and the enemy team, just use this code instead:

alias "leuxd_say_b0" "say INCOMING"
alias "leuxd_say_b1" "say MEDIC"
alias "leuxd_say_b2" "say DOWN"
alias "leuxd_say_b3" "say UBER"
alias "leuxd_say_b4" "say PLEASE"
alias "leuxd_say_b5" "say HELP"
alias "leuxd_say_b6" "say SPY"
alias "leuxd_say_b7" "say ATTENTION"
alias "leuxd_say_b8" "say ENEMY"
alias "leuxd_say_b9" "say IN OUR BASE"

bind "KP_INS" "leuxd_say_a0" // 0
bind "KP_END" "leuxd_say_a1" // 1
bind "KP_DOWNARROW" "leuxd_say_a2" // 2
bind "KP_PGDN" "leuxd_say_a3" // 3
bind "KP_LEFTARROW" "leuxd_say_a4" // 4
bind "KP_5" "leuxd_say_a5" // 5
bind "KP_RIGHTARROW" "leuxd_say_a6" // 6
bind "KP_HOME" "leuxd_say_a7" // 7
bind "KP_UPARROW" "leuxd_say_a8" // 8
bind "KP_PGUP" "leuxd_say_a9" // 9

maybe i'll create more, maybe not, i don't know, i just hope you all enjoyed the ideia, if you have any question, it's simple, just ask, bye

posted about 5 years ago
#17 +fps leuxd's config in Customization
catman1900does this config work on linux?

On Linux? I didn't tried, but you can try! Just follow the instructions! ;)

posted about 5 years ago
#14 +fps leuxd's config in Customization
JarateKingmemes aside -- making an fps config is very difficult and takes a lot of effort. Mastercomfig has over 2 years of work put into it, and is several thousand lines long in total (compared to your 38 lines long). Unless you do something completely different (rhapsody's had an in-game setup, for example) and spend as much time and effort making something equally good, there's no reason to not just use mastercoms' instead.

Not to discourage you from contributing to the community, but making a good fps cfg is not an easy thing to do.

Hey, first of all, thank you for the comment.
But, i need to say: of course, marstercomfig is really, really good, and of course, there are a lot of configs better than my, and that's ok. But, my point with this is to create a thing of mine to help other people. And this isn't the first version, this might sound crazy but i'm working right now in the second version of this config. I think you know what i mean by this. I'm going to keep trying to improve my work

Anyway, thanks for your comment!

posted about 5 years ago
#13 +fps leuxd's config in Customization
Eevoveguys i don't think this is legit

found this in the .cfg

That's fake :/

posted about 5 years ago
#9 +fps leuxd's config in Customization
lethi install now all my tf2 items ar gone.... wtf

Wait, what? What do you mean?

posted about 5 years ago
#7 +fps leuxd's config in Customization
driftathats also virus...my pc broken

i got it, but, believe me, there's no virus, but i understand your point

posted about 5 years ago
#5 +fps leuxd's config in Customization
driftaVirus

if you think so, open this link

posted about 5 years ago
#4 +fps leuxd's config in Customization
Cyanicnice that you've gone out of your way to make this but it would be nice to see how this benchmarks compared to mastercomfig, comanglia etc.

thanks for the tip!
i'm going to try to do that with mastercomfig, but the comganglia's download link was deleted, and that's a problem.
but really thanks for the tip!

posted about 5 years ago
1 2