Just bind it

Read tips and guides about teeworlds-related subjects (mapping, compiling, ..).
fokkonaut
Posts: 855
Joined: Wed May 13, 2015 5:59 pm
Player profile: https://ddnet.tw/players/fokkonaut

Re: Just bind it

Post by fokkonaut »

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
Posts: 266
Joined: Sun Apr 16, 2017 2:33 am
Location: U.S.A.
Player profile: https://ddnet.tw/players/Bolto/
Clan: Kerger

Re: Just bind it

Post by GG Kid »

(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
Posts: 755
Joined: Sat Apr 30, 2016 5:34 pm
Location: Finland
Player profile: https://ddnet.tw/players/Mokuz/
Mapper profile: https://ddnet.tw/mappers/Mokuz/
Clan: Legendary

Re: Just bind it

Post by mokuz »

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.
SpoilerShow
Nothing to see here uwu
mods banned my previous sig :( this is censorship freedom of speech is dead xoxox
User avatar
Ravie
MAPS Team
Posts: 380
Joined: Sat Feb 04, 2017 5:04 am
Player profile: https://ddnet.tw/players/Ravie/
Mapper profile: https://ddnet.tw/mappers/Ravie/
Clan: TOP

Re: Just bind it

Post by Ravie »

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
Posts: 855
Joined: Wed May 13, 2015 5:59 pm
Player profile: https://ddnet.tw/players/fokkonaut

Re: Just bind it

Post by fokkonaut »

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
Posts: 755
Joined: Sat Apr 30, 2016 5:34 pm
Location: Finland
Player profile: https://ddnet.tw/players/Mokuz/
Mapper profile: https://ddnet.tw/mappers/Mokuz/
Clan: Legendary

Re: Just bind it

Post by mokuz »

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
SpoilerShow
Nothing to see here uwu
mods banned my previous sig :( this is censorship freedom of speech is dead xoxox
User avatar
Cellegen
Posts: 1140
Joined: Sun Nov 06, 2016 10:39 pm
Location: Germany
Player profile: https://ddnet.tw/players/Cellegen/
Mapper profile: https://ddnet.tw/mappers/Cellegen/
Clan: RestInHell.
Website: https://skins.tw/
Discord: Cellegen | RiH#5501

Re: Just bind it

Post by Cellegen »

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
Posts: 755
Joined: Sat Apr 30, 2016 5:34 pm
Location: Finland
Player profile: https://ddnet.tw/players/Mokuz/
Mapper profile: https://ddnet.tw/mappers/Mokuz/
Clan: Legendary

Re: Just bind it

Post by mokuz »

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....
SpoilerShow
Nothing to see here uwu
mods banned my previous sig :( this is censorship freedom of speech is dead xoxox
User avatar
Cellegen
Posts: 1140
Joined: Sun Nov 06, 2016 10:39 pm
Location: Germany
Player profile: https://ddnet.tw/players/Cellegen/
Mapper profile: https://ddnet.tw/mappers/Cellegen/
Clan: RestInHell.
Website: https://skins.tw/
Discord: Cellegen | RiH#5501

Re: Just bind it

Post by Cellegen »

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
Posts: 855
Joined: Wed May 13, 2015 5:59 pm
Player profile: https://ddnet.tw/players/fokkonaut

Re: Just bind it

Post by fokkonaut »

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 0 guests