Upvote Upvoted 3 Downvote Downvoted
Engineer Scripting
posted in Customization
1
#1
0 Frags +

I'd like to script my engineer settings, so it will be easier for me to quickly build already builded buildings. I did search it up, and found this:

bind f1 build 2 0; destroy 2 0
bind f2 build 0 0; destroy 0 0
bind f3 build 1 0; destroy 1 0
bind f4 build 1 1; destroy 1 1

But I don't want it to be bound trough keys. What I mean is: Imagine me having a level 3 sentry up. I am far away from it, and quickly want to build another sentry. The problem is that I have to slow myself down by going to ''5'' and press ''1''. What I want is that I can rebuild already builded buildings without having to destroy them first. So even tho I have this sentry made up, I'd like to just press ''4'' and ''1'' to both destroy and create a new sentry gun. I'd like this for all the buildings. Any scripters here that know how this works?

I'd like to script my engineer settings, so it will be easier for me to quickly build already builded buildings. I did search it up, and found this:

bind f1 build 2 0; destroy 2 0
bind f2 build 0 0; destroy 0 0
bind f3 build 1 0; destroy 1 0
bind f4 build 1 1; destroy 1 1

But I don't want it to be bound trough keys. What I mean is: Imagine me having a level 3 sentry up. I am far away from it, and quickly want to build another sentry. The problem is that I have to slow myself down by going to ''5'' and press ''1''. What I want is that I can rebuild already builded buildings without having to destroy them first. So even tho I have this sentry made up, I'd like to just press ''4'' and ''1'' to both destroy and create a new sentry gun. I'd like this for all the buildings. Any scripters here that know how this works?
2
#2
4 Frags +

alias sentry "destroy 2; build 2"
alias dispenser "destroy 0; build 0"
alias tentrance "destroy 1; build 1"
alias texit "destroy 3; build 3"

bind "f1" "sentry"
bind "f2" "dispenser"
bind "f3" "tentrance"
bind "f4" "texit"

alias sentry "destroy 2; build 2"
alias dispenser "destroy 0; build 0"
alias tentrance "destroy 1; build 1"
alias texit "destroy 3; build 3"

bind "f1" "sentry"
bind "f2" "dispenser"
bind "f3" "tentrance"
bind "f4" "texit"
3
#3
-1 Frags +

I think if you want to destroy and then rebuild with just one keypress you need:

alias "+sentry" "destroy 2"
alias "-sentry" "build 2"

alias "+dispenser" "destroy 0"
alias "-dispenser" "build 0"

alias "+entrance" "destroy 1"
alias "-entrance" "build 1"

alias "+exit" "destroy 3"
alias "-exit" "build 3"

bind f1 +sentry
bind f2 +dispenser
bind f3 +entrance
bind f4 +exit

Pressing F1-4 destroys the building, letting go of the key builds a new one.

I think if you want to destroy and then rebuild with just one keypress you need:
[code]alias "+sentry" "destroy 2"
alias "-sentry" "build 2"

alias "+dispenser" "destroy 0"
alias "-dispenser" "build 0"

alias "+entrance" "destroy 1"
alias "-entrance" "build 1"

alias "+exit" "destroy 3"
alias "-exit" "build 3"

bind f1 +sentry
bind f2 +dispenser
bind f3 +entrance
bind f4 +exit
[/code]

Pressing F1-4 destroys the building, letting go of the key builds a new one.
4
#4
1 Frags +

The above comments should help you, but I'm just curious as to why you would use the f keys. If it works for you, great, but how do you reach the top of the keyboard when you need to be on the move?

The above comments should help you, but I'm just curious as to why you would use the f keys. If it works for you, great, but how do you reach the top of the keyboard when you need to be on the move?
5
#5
0 Frags +
NobodyThe above comments should help you, but I'm just curious as to why you would use the f keys. If it works for you, great, but how do you reach the top of the keyboard when you need to be on the move?

yeah the F keys always felt a bit too far for me. I have mine bound to z,x,c, and v

the motion for my fingers to go to these buttons feels much more natural than to stretch my hand up to even the number row. That's partially why I have my weapons bound to my mousewheel usually

[quote=Nobody]The above comments should help you, but I'm just curious as to why you would use the f keys. If it works for you, great, but how do you reach the top of the keyboard when you need to be on the move?[/quote]

yeah the F keys always felt a bit too far for me. I have mine bound to z,x,c, and v

the motion for my fingers to go to these buttons feels much more natural than to stretch my hand up to even the number row. That's partially why I have my weapons bound to my mousewheel usually
Please sign in through STEAM to post a comment.