Working on new default bindings

Talk about anything related to Unvanquished.
User avatar
Anomalous
Programmer
Posts: 318
Joined: Wed Mar 07, 2012 3:51 pm UTC

Re: Working on new default bindings

Post by Anomalous »

Tom wrote:

Code: Select all

bind F5           if !shift,!alt say_team "The base is safe." say_team "Defend/the base is under attack!"

teambind aliens F6           if !shift,!alt say_team "Enemy reactor smoking! Rush!" say_team "Enemy reactor down! Finish them!"
[…]
bind F8           if !shift,!alt say "No problem." vsay "sorry"

Those would actually be more like

Code: Select all

bind f5 if !shift,!alt "/say_team \"The base is safe.\"" "/say_team \"Defend! / The base is under attack!\""

I also suggest to put the structure's building binds on the wheel's scrolling.

Doable using toggle (and toggleBack, when I add it):

Code: Select all

seta buildings reactor telenode armoury medstat turret tesla defcomp
bind mwheelup toggle building $buildings$\; build $building$
bind mwheeldown toggleback building $buildings$\; build $building$

(This can be improved on a lot with careful use of /set and variable expansion.)

Debian and Ubuntu packages (squeeze, wheezy, sid; 12.04, 12.10, 13.04) may work on derivatives

OFFEND! … no, that's not right… ATTACK!

User avatar
Anomalous
Programmer
Posts: 318
Joined: Wed Mar 07, 2012 3:51 pm UTC

Re: Working on new default bindings

Post by Anomalous »

I don't see any problem with keeping that menu.

Debian and Ubuntu packages (squeeze, wheezy, sid; 12.04, 12.10, 13.04) may work on derivatives

OFFEND! … no, that's not right… ATTACK!

User avatar
Anomalous
Programmer
Posts: 318
Joined: Wed Mar 07, 2012 3:51 pm UTC

Re: Working on new default bindings

Post by Anomalous »

They should be split, or at least wallwalk shouldn't be activated unless you're on the ground or not in water.

Debian and Ubuntu packages (squeeze, wheezy, sid; 12.04, 12.10, 13.04) may work on derivatives

OFFEND! … no, that's not right… ATTACK!

User avatar
Anomalous
Programmer
Posts: 318
Joined: Wed Mar 07, 2012 3:51 pm UTC

Re: Working on new default bindings

Post by Anomalous »

Unv git master will shortly allow the following:

Code: Select all

seta buildings reactor telenode mgturret arm medistat tesla dcc repeater
bind mwheelup "toggle + building \$buildings\$; build \$building\$"
bind mwheeldown "toggle - building \$buildings\$; build \$building\$"

It should also be fairly easy to set a variable (named p_availableBuildings, perhaps?) appropriately according to team and stage in the client VM code.

Debian and Ubuntu packages (squeeze, wheezy, sid; 12.04, 12.10, 13.04) may work on derivatives

OFFEND! … no, that's not right… ATTACK!

User avatar
lamefun
Tyrant
Posts: 371
Joined: Mon Jun 04, 2012 10:29 am UTC

Re: Working on new default bindings

Post by lamefun »

YAY FOR UNVANQUISHED DEVELOPERS!

You are miraclous! Resisting the malicious influence of the Global Government that neither Tremulous, nor Xonotic developers could resist is no easy task!

User avatar
StalKermit
Dragoon
Posts: 260
Joined: Wed Mar 07, 2012 6:05 am UTC

Re: Working on new default bindings

Post by StalKermit »

lamefun wrote:

You are miraclous! Resisting the malicious influence of the Global Governemnt that neither Tremulous, nor Xonotic developers could resist is no easy task!

User avatar
lamefun
Tyrant
Posts: 371
Joined: Mon Jun 04, 2012 10:29 am UTC

Re: Working on new default bindings

Post by lamefun »

[quote="StalKermit"][/QUOTE]

Fixed, thanks!

User avatar
Anomalous
Programmer
Posts: 318
Joined: Wed Mar 07, 2012 3:51 pm UTC

Re: Working on new default bindings

Post by Anomalous »

p_availableBuildings is in git and will be in the next release. (Although you may see it before then via the dev server.)

Debian and Ubuntu packages (squeeze, wheezy, sid; 12.04, 12.10, 13.04) may work on derivatives

OFFEND! … no, that's not right… ATTACK!

User avatar
lamefun
Tyrant
Posts: 371
Joined: Mon Jun 04, 2012 10:29 am UTC

Re: Working on new default bindings

Post by lamefun »

Does anyone play with toggling wallwalk? I personally have wallwalk on the same key as sprint and they both don't toggle. Could wallwalk and sprint be merged?

User avatar
Weed
Posts: 20
Joined: Sun Mar 03, 2013 6:06 pm UTC
Location: Belgium

Re: Working on new default bindings

Post by Weed »

lamefun wrote:

Could wallwalk and sprint be merged?

sick idea.

Post Reply