SpaceMadness / lunar-unity-plugin

A UNIX/Quake3 style command line interface to Unity editor
74 stars 8 forks source link

binding fail #5

Closed dragutux closed 8 years ago

dragutux commented 8 years ago

hi, so no matter what key to what command i try, i cannot apparently map to keys, i'm using unity 5, it write configs fine, i can execute commands from the terminal, but the binding does not work :/

dragutux commented 8 years ago

forgot : tried on stealth & angry bot project : downloaded them from here.

GH-AlexL commented 8 years ago

Hey there. Sure, I'll take a look.

dragutux commented 8 years ago

i have skype (same nick everywhere); i am live on livecoding if you want, i am doing this live and i can share screen, i got a mic, this is being checked / tested on livecoding.tv/dragutux :) (also on twitch.tv/dragutux) i am more than willing to do anything as i love this plugin! :D

GH-AlexL commented 8 years ago

That's great! You can try to debug the issue and send me a pull request :)

dragutux commented 8 years ago

video where i work on this : https://www.livecoding.tv/dragutux/videos/M5ANK-gamedev-545-working-on-game-name-3 binding work all on it or almost all (some previous testing is in another video, all videos are accessible at https://www.livecoding.tv/dragutux/videos/ the series where i do this is "5/45")

dragutux commented 8 years ago

i tried debuguing it, i have no idea where to see where the input is read & then assigned...

dragutux commented 8 years ago

i'm up for a debug session on skype for example or whatever ^^

dragutux commented 8 years ago

it writes bind, no idea if a single command without space can be binded, testing this with the rogue test which has single commands

GH-AlexL commented 8 years ago

I'm still at work and can't do much right now. Did you check the "binding" section on the wiki?

https://github.com/SpaceMadness/lunar-unity-plugin/wiki/Key-Binding

dragutux commented 8 years ago

yes i did, which validated the binding were read..

dragutux commented 8 years ago

out of crazyness i even switched my keyboard in qwerty even ^^

dragutux commented 8 years ago

made a specific test, stopping stream quickly to create specific video, linking it in a few.

i'm usually called the bug finder :D amazing if we make it work ... tho, can a command be called by script ? if so how ? because that would also fix the issue....

GH-AlexL commented 8 years ago

This should work:

bind shortcut command

If it doesn't - that's a bug. I can take a look in an hour or two

dragutux commented 8 years ago

here is the fuck :/

hereisthefuck

dragutux commented 8 years ago

bind files also :

thebindfileplaymode

thebindfiledefault

dragutux commented 8 years ago

and none works and your command says there's no bindings :) i don't have enough experience of this project (where it reads store etc) to find the problem tho it's either captions or capture, bindlist returns my commands so the problem is maybe capturing input i dont know, unity5 :D i use default project commands..

again, can we call from script ? because on an Update i can catch a key event and call a function so.. that'll solve gameplay implementation also :) binding is better of course as i have numerous trigger ideas :D

weeeBox commented 8 years ago

You need to have Scene View or Game View focused in order to get key bindings input. I've created a small test project with the same bindings and it worked fine. We can try screen share to troubleshoot

dragutux commented 8 years ago

add me to skype ^^ (same nick as here)

dragutux commented 8 years ago

gmt+2 but i am often there at weird times, best will be to pm me on skype or here ^^ usually i start my day around 2pm

dragutux commented 8 years ago

updating : we probably got this fixed by @weeeBox :) now the variables/bind dont get called from the real game, that could change ? because as i explained, it opens world for changing all events based on logic on keypress.

example : e/f/ (button config from input) launch a raycast local check in front of player, returns status of the objects, allows for changing it etc, steal disable / enable can be extended quite easily.

enough of me spamming i'll let @weeeBox do the announcements testing etc :P but the bug i found is dead apparently, confirmed on angrybot test.