Page 1 of 1

deepfly-switch bind

Posted: Fri Oct 30, 2015 2:06 pm
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

Re: its not a bug...

Posted: Fri Oct 30, 2015 2:22 pm
by kamillentee
bind x bind mouse1 "+fire; +toggle cl_dummy_hammer 1 0"
bind y bind mouse1 +fire

EDIT: Thx Chairn

Re: its not a bug...

Posted: Fri Oct 30, 2015 2:43 pm
by Chairn
cl_dummy_hammer 1 0 instead of 0 1, or it doesnt work(at least for me)

Re: its not a bug...

Posted: Fri Oct 30, 2015 2:47 pm
by kamillentee
exactly

Re: deepfly-switch bind

Posted: Fri Oct 30, 2015 11:58 pm
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"

Re: deepfly-switch bind

Posted: Sat Oct 31, 2015 12:15 am
by Chairn
bind c toggle cl_overlay_entities 0 100 works great, why doing 2 cfg files?

Re: deepfly-switch bind

Posted: Sat Oct 31, 2015 12:27 am
by Phaturia
hmm this from 2 years ago from ddrace max, i dont even know this is possible in this client that way :D