deepfly-switch bind

Request help for teeworlds-related subjects (mapping, servers, ..).
For client issues, see our repositories (https://github.com/ddnet/ddnet/issues).
Post Reply
Donate4DDNet
Posts: 25
Joined: Sun Aug 02, 2015 9:58 pm

deepfly-switch bind

Post by Donate4DDNet »

but can i bind any key that when i press it i have the mouse1 for deepfly and when i press an other key i have the norm mouse
User avatar
kamillentee
Posts: 687
Joined: Sat Jul 26, 2014 11:47 pm
Player profile: http://ddnet.tw/players/kamillentee/
Clan: |*KoG*|

Re: its not a bug...

Post by kamillentee »

bind x bind mouse1 "+fire; +toggle cl_dummy_hammer 1 0"
bind y bind mouse1 +fire

EDIT: Thx Chairn
Last edited by kamillentee on Fri Oct 30, 2015 2:47 pm, edited 1 time in total.
Chairn
Posts: 400
Joined: Sat Apr 11, 2015 5:05 pm
Player profile: http://ddnet.tw/players/Chairn/
Clan: QuintessenZ

Re: its not a bug...

Post by Chairn »

cl_dummy_hammer 1 0 instead of 0 1, or it doesnt work(at least for me)
User avatar
kamillentee
Posts: 687
Joined: Sat Jul 26, 2014 11:47 pm
Player profile: http://ddnet.tw/players/kamillentee/
Clan: |*KoG*|

Re: its not a bug...

Post by kamillentee »

exactly
Phaturia
Posts: 20
Joined: Sat Jul 11, 2015 2:43 pm

Re: deepfly-switch bind

Post by Phaturia »

U can do it with 1 key toggle too...
U need to go to the tw settings folder(c:\Users\[User]\AppData\Roaming\Teeworlds\)
Then make 2 file:

dummyhammeron.cfg :
bind mouse1 "+fire;+toggle cl_dummy_hammer 1 0"
bind q "exec dummyhammeroff.cfg"

and

dummyhammeroff.cfg :
bind mouse1 "+fire"
bind q "exec dummyhammeron.cfg"

Then add this line to the "settings_ddnet.cfg":
bind q "exec dummyhammeron.cfg"

Now if u press q, then its on, if again, then its off

U can entities toggle too..
enton.cfg:
cl_overlay_entities 100
bind c "exec entoff.cfg"

entoff.cfg
cl_overlay_entities 0
bind c "exec enton.cfg"

settings_ddnet.cfg -> bind c "exec entoff.cfg"
Chairn
Posts: 400
Joined: Sat Apr 11, 2015 5:05 pm
Player profile: http://ddnet.tw/players/Chairn/
Clan: QuintessenZ

Re: deepfly-switch bind

Post by Chairn »

bind c toggle cl_overlay_entities 0 100 works great, why doing 2 cfg files?
Phaturia
Posts: 20
Joined: Sat Jul 11, 2015 2:43 pm

Re: deepfly-switch bind

Post by Phaturia »

hmm this from 2 years ago from ddrace max, i dont even know this is possible in this client that way :D
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests