How to create voice controls in GlovePie for first person ( fps ) games
У вашего броузера проблема в совместимости с HTML5
Here's how to create some basic scripts in GlovePie for voice commands that will control first person games like Team Fortress 2.
This video was made by the charity SpecialEffect, who help people with disabilities to play and enjoy video games.
Example script:
if said("forward") then Keyboard.w = true
endif
if said("stop") then
Keyboard.w = false
Keyboard.s = false
Keyboard.a = false
Keyboard.d = false
Keyboard.p = false
Keyboard.q = false
Keyboard.g = false
Keyboard.space = false
endif
if said("lucy") then Keyboard.a = true
endif
if said("back") then Keyboard.s = true
endif
if said("romeo") then Keyboard.d = true
endif
keyboard.space=keepdown(microphone.said("jump"),0.25)
keyboard.leftcontrol=keepdown(microphone.said("duck"),0.25)
keyboard.r=keepdown(microphone.said("reload"),0.25)
keyboard.q=keepdown(microphone.said("change"),0.25)