Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bind Layer system #57

Open
yellowberryHN opened this issue Jan 10, 2024 · 0 comments
Open

Bind Layer system #57

yellowberryHN opened this issue Jan 10, 2024 · 0 comments
Assignees
Labels
feature New feature or request

Comments

@yellowberryHN
Copy link
Member

yellowberryHN commented Jan 10, 2024

Bind system should be reworked to support creating new bind layers (configurable per layer for either override or overlay), assigning binds to layers, activation and deactivation of selected layers, and so on.

As for gamemode specific binds, use specific command to assign layer name to gamemode

Some ideas for syntax:

// create new layer (optionally override layer)
addlayer "swap" [0|1]

// remove layer
removelayer "swap"

// add bind to layer
layerbind "swap" SPACE [setweapon FI; onrelease ]

// activate layer
enablelayer "swap"

// disable layer
disablelayer "swap"

// check layer state (result is 0|1)
getlayer "swap"

// check layer type (result is 0|1)
getlayertype "swap"

// helper for bind to toggle layer
togglelayer "swap"

// helper for bind for layer activation when held
heldlayer "swap"
@yellowberryHN yellowberryHN self-assigned this Jan 11, 2024
@yellowberryHN yellowberryHN added improvement Refine something that already exists feature New feature or request and removed improvement Refine something that already exists labels Jan 11, 2024
@yellowberryHN yellowberryHN changed the title Gamemode specific binds Bind Layer system Dec 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
Status: Todo
Development

No branches or pull requests

1 participant