Toggle Bind

Request help for teeworlds-related subjects (mapping, servers, ..).
For client issues, see our repositories (https://github.com/ddnet/ddnet/issues).
User avatar
Skyrel
Posts: 398
Joined: Tue Oct 20, 2015 8:07 pm
Location: Italy
Player profile: http://ddnet.org/players/Skyrel/
Mapper profile: https://ddnet.tw/mappers/Skyrel/
Clan: DummyFly
Website: http://steamcommunity.com/profiles/76561198158063738

Toggle Bind

Post by Skyrel »

Is there a way to bind just 1 key to activate and disactivate a command?

EXPLANATION
I want to activate RANDOM BIND pressing the mouse3

Than I press again the mouse3 to retourn to the previous command.

EXAMPLE:
(Default bind)
bind mouse1 +fire

click mouse3

bind mouse1 "+hook; +fire"

click mouse3

Go back to default bind
Image
User avatar
hi_leute_gll
Posts: 2525
Joined: Mon Jul 21, 2014 1:15 am
Player profile: http://ddnet.org/players/hi-95-leute-95-gll/
Mapper profile: http://ddnet.tw/mappers/hi-95-leute-95-gll/
Clan: iMTG

Re: Toggle Bind

Post by hi_leute_gll »

bind mouse3 exec config1.cfg

config1.cfg:

bind mouse1 +fire
bind mouse3 exec config2.cfg

config2.cfg:

bind mouse1 "+hook; +fire"
bind mouse3 exec config.cfg
.hi._.leute._.gll. | iMTGmember
pixel
Posts: 430
Joined: Sun Nov 22, 2015 8:44 pm
Player profile: http://ddnet.org/players/pixel
Mapper profile: https://ddnet.tw/mappers/pixel/
Clan: Bitfighter

Re: Toggle Bind

Post by pixel »

with cfg files kt is possible!!
i thinl like this:



bind mouse3 exec fire.cfg

fire.cfg:
bind mouse1 "+fire";
bind mouse3 "exec hook.cfg";

hook.cfg:
bind mouse1 "+hook";
bind mouse3 "exec fire.cfg";
User avatar
Skyrel
Posts: 398
Joined: Tue Oct 20, 2015 8:07 pm
Location: Italy
Player profile: http://ddnet.org/players/Skyrel/
Mapper profile: https://ddnet.tw/mappers/Skyrel/
Clan: DummyFly
Website: http://steamcommunity.com/profiles/76561198158063738

Re: Toggle Bind

Post by Skyrel »

Thx :D
Is there a way without usign cfg files or not? :)
Image
User avatar
stompie
Posts: 700
Joined: Thu Jun 18, 2015 2:40 pm
Player profile: http://ddnet.org/players/stompie/
Mapper profile: https://ddnet.tw/mappers/stompie/

Re: Toggle Bind

Post by stompie »

not yet there isnt but it would be nice to add a option to make a bind like that
\,,/(◣_◢)\,,/
Index
Posts: 1136
Joined: Mon May 05, 2014 7:30 pm
Clan: Eagle

Re: Toggle Bind

Post by Index »

That would be really complicated to change as far as I know.
Furthermore I don't think it's really necessary, it's working fine with the cfg-files once you get used to it. So better not change that, there are many more important things we should concentrate on :o
pixel
Posts: 430
Joined: Sun Nov 22, 2015 8:44 pm
Player profile: http://ddnet.org/players/pixel
Mapper profile: https://ddnet.tw/mappers/pixel/
Clan: Bitfighter

Re: Toggle Bind

Post by pixel »

Index wrote:That would be really complicated to change as far as I know.
Furthermore I don't think it's really necessary, it's working fine with the cfg-files once you get used to it. So better not change that, there are many more important things we should concentrate on :o
ddos protected servers.
User avatar
stompie
Posts: 700
Joined: Thu Jun 18, 2015 2:40 pm
Player profile: http://ddnet.org/players/stompie/
Mapper profile: https://ddnet.tw/mappers/stompie/

Re: Toggle Bind

Post by stompie »

pixel wrote:
Index wrote:That would be really complicated to change as far as I know.
Furthermore I don't think it's really necessary, it's working fine with the cfg-files once you get used to it. So better not change that, there are many more important things we should concentrate on :o
ddos protected servers.
[logic]pay more and receive more [/logic]
\,,/(◣_◢)\,,/
User avatar
deen
TECHNICAL Team
Posts: 3579
Joined: Mon May 05, 2014 2:30 pm
Player profile: https://ddnet.org/players/deen/
Discord: deen#5910

Re: Toggle Bind

Post by deen »

stompie wrote:[logic]pay more and receive more [/logic]
The kind of protection we would need is so far out of our range that bigger donations would be useless. Imagine something in the order of 400 € per month per server instead of 10 €.
User avatar
stompie
Posts: 700
Joined: Thu Jun 18, 2015 2:40 pm
Player profile: http://ddnet.org/players/stompie/
Mapper profile: https://ddnet.tw/mappers/stompie/

Re: Toggle Bind

Post by stompie »

Could there not be something more ingame for when someone donates like rainbow for a day(for smallish donations) on the day u donated and somewhat of a reward system for higher donations like the patreons in a sense imagine someone donating 500€ and get a server to tourself and friends for a certain time
And for the very special donaters that do it once a month something bigger perhaps
Ddnet just needs a system to be able to bring in money like all free to play games thers always sometging that u have to pay for make a skin contest and sell the skins alot of ideas not all good but brainstorm more
\,,/(◣_◢)\,,/
Post Reply

Who is online

Users browsing this forum: No registered users and 8 guests