Just bind it

Guides about mapping and everything Teeworlds related.

fokkonaut
User
Posts: 744
Joined: Wed May 13, 2015 5:59 pm
Player profile: fokkonaut

Re: Just bind it

Post by fokkonaut » Mon Nov 13, 2017 10:27 pm

Delirio wrote:
Mon Nov 13, 2017 9:47 pm
Can someone explain what does the "FOO" command?? I don't get it
Index wrote:
Sun Feb 12, 2017 9:53 am
(FOO = command/setting of choice)
SpoilerShow
You can choose your own commands you'd like to use in a cfg file.
For example:

1.cfg:

cl_dummy_hammer 1
echo Turned on Dummy Hammer
bind x exec "2.cfg"

2.cfg:

cl_dummy_hammer 0
echo Turned off Dummy Hammer
bind x exec "1.cfg"


Then go ingame and write in f1:

exec "1.cfg"

(X has to be the same key)

GG Kid
User
Posts: 86
Joined: Sun Apr 16, 2017 2:33 am
Location: U.S.A.
Player profile: Bolto
Clan: Kerger

Re: Just bind it

Post by GG Kid » Mon Nov 13, 2017 11:14 pm

(FOO = command/setting of choice) FOO is the stand it word/place holder for any thing you choose ,
here's an example
bind h say FOO with FOO as i place holder
bind h say Hello! decided to use Hello! here

User avatar
mokuz
Contributor Team: Skin Database Crew
Posts: 538
Joined: Sat Apr 30, 2016 5:34 pm
Location: Finland
Player profile: Mokuz
Mapper profile: Mokuz
Clan: Legendary

Re: Just bind it

Post by mokuz » Thu Nov 23, 2017 7:10 pm

Is there a way of making delay between actions, like:
bind x "+fire delay 100 sec +fire"
And is there way of looking to specific direction like:
bind x "weapon x(grenade) look 90(up) delay x(delay between shooting straight up and for the grenade hitting ground) look 270(down) +fire" for perfect grenade jump

Fixed binds:

bind f3 "vote yes; rcon vote yes" for voting normally and force voting if you have rcon.
bind f4 "vote no; rcon vote no" -||-
bind x "kill; rcon kill_pl me" for killing yourself normally, and for bypassing respawn delay if you have rcon.

AND ETHH NOTH, THERR SHOULD BEHTHHH ETHH!!!!
Last edited by mokuz on Fri Nov 24, 2017 7:25 am, edited 1 time in total.
Nyan nyan
My color is cyan
-Mystlcql 2018

User avatar
Ravie
User
Posts: 239
Joined: Sat Feb 04, 2017 5:04 am
Player profile: Ravie
Mapper profile: Ravie
Clan: TOP

Re: Just bind it

Post by Ravie » Thu Nov 23, 2017 7:32 pm

Mokuz with such a delay feature it would be possible to basically 'program' a set of movements in config files to auto finish a map ;D
Image

fokkonaut
User
Posts: 744
Joined: Wed May 13, 2015 5:59 pm
Player profile: fokkonaut

Re: Just bind it

Post by fokkonaut » Thu Nov 23, 2017 7:32 pm

bind f3 "vote yes; rcon vote yes" i guess
the restart thing is shit, restart kills all tees.
im looking for delay too. but i look for delay between two configs. e.g.: cfg1 and cfg2 are executing themselves but with about 2sec delay inbetween or so

User avatar
mokuz
Contributor Team: Skin Database Crew
Posts: 538
Joined: Sat Apr 30, 2016 5:34 pm
Location: Finland
Player profile: Mokuz
Mapper profile: Mokuz
Clan: Legendary

Re: Just bind it

Post by mokuz » Fri Nov 24, 2017 6:47 am

Ravie wrote:
Thu Nov 23, 2017 7:32 pm
Mokuz with such a delay feature it would be possible to basically 'program' a set of movements in config files to auto finish a map ;D
but wouldn't that be good thing?
fokkonaut wrote:
Thu Nov 23, 2017 7:32 pm
bind f3 "vote yes; rcon vote yes" i guess
the restart thing is shit, restart kills all tees.
im looking for delay too. but i look for delay between two configs. e.g.: cfg1 and cfg2 are executing themselves but with about 2sec delay inbetween or so
i'm not sure it that works, and ok
Nyan nyan
My color is cyan
-Mystlcql 2018

User avatar
Cellegen
User
Posts: 1006
Joined: Sun Nov 06, 2016 10:39 pm
Player profile: Cellegen
Mapper profile: Cellegen
Clan: PcP

Re: Just bind it

Post by Cellegen » Fri Nov 24, 2017 12:19 pm

Ravie wrote:
Thu Nov 23, 2017 7:32 pm
Mokuz with such a delay feature it would be possible to basically 'program' a set of movements in config files to auto finish a map ;D
It will wastes your whole life man wtf you thought? Xd
RestInHell. - Team Leader

User avatar
mokuz
Contributor Team: Skin Database Crew
Posts: 538
Joined: Sat Apr 30, 2016 5:34 pm
Location: Finland
Player profile: Mokuz
Mapper profile: Mokuz
Clan: Legendary

Re: Just bind it

Post by mokuz » Fri Nov 24, 2017 3:39 pm

Cellegen wrote:
Fri Nov 24, 2017 12:19 pm
Ravie wrote:
Thu Nov 23, 2017 7:32 pm
Mokuz with such a delay feature it would be possible to basically 'program' a set of movements in config files to auto finish a map ;D
It will wastes your whole life man wtf you thought? Xd
no, depends on the map, and the way of doing it, like with external program, it would be rather fast....
Nyan nyan
My color is cyan
-Mystlcql 2018

User avatar
Cellegen
User
Posts: 1006
Joined: Sun Nov 06, 2016 10:39 pm
Player profile: Cellegen
Mapper profile: Cellegen
Clan: PcP

Re: Just bind it

Post by Cellegen » Sat Nov 25, 2017 12:25 am

Eh. With that force we will delete that command which uses for auto control your tee and it will be done :,v
RestInHell. - Team Leader

fokkonaut
User
Posts: 744
Joined: Wed May 13, 2015 5:59 pm
Player profile: fokkonaut

Re: Just bind it

Post by fokkonaut » Sat Feb 10, 2018 6:39 pm

show_others_on.cfg
cl_show_others 1
say /showothers 1
say /specteam 0
echo Show others: ON
bind x exec "show_others_off.cfg"

show_others_off.cfg
cl_show_others 0
say /showothers 0
say /specteam 1
echo Show others: OFF
bind x exec "show_others_on.cfg"
This will allow you to toggle showing others on solo servers, in spectator (/pause, /spec) and showing other teams while playing.
Have fun :D

Dont forget to write exec "show_others_on.cfg" in f1.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest