Forums » Suggestions
Option to control input
Problem: When VO is minimized or not the focused window, ships that are not docked still receive input from controllers.
Solution: I would like an option created that allows a player to choose to disable and re-enable input for their ships.
Reason: When playing VO, I'm not always wanting to be docked if I choose to minimize VO. I might be mining and want to surf the web. I might even be playing a second session of VO and want both ships active, but only one being controlled while the other mines or camps or whatever.
Edit: Supplemental request: Multiple sessions show an incrementation so that identifying a specific session is easier. For instance Vendetta(1), Vendetta(2)
Solution: I would like an option created that allows a player to choose to disable and re-enable input for their ships.
Reason: When playing VO, I'm not always wanting to be docked if I choose to minimize VO. I might be mining and want to surf the web. I might even be playing a second session of VO and want both ships active, but only one being controlled while the other mines or camps or whatever.
Edit: Supplemental request: Multiple sessions show an incrementation so that identifying a specific session is easier. For instance Vendetta(1), Vendetta(2)
Can't you just open the PDA before minimizing the window?
If that doesn't suit your needs it shouldn't be too hard to make a plugin that unbinds/rebinds various controls...
If that doesn't suit your needs it shouldn't be too hard to make a plugin that unbinds/rebinds various controls...
Opening the PDA does not affect input from controllers. A plugin that did what I'd like without affecting the other session would be great. I am not, however, what you would call adept at writing code.
I think he is refering to the fact that if you use joysticks and you minimise the window the sticks still affect the ship so you can end up... off course.
Try throwing this into a main.lua then run /toggleinput:
local disabled = false
local function toggleinput_cb()
if disabled then
Game.EnableInput()
else
Game.DisableInput()
end
disabled = not disabled
end
RegisterUserCommand("toggleinput", toggleinput_cb)
I needed something like that for my botsie already.
local disabled = false
local function toggleinput_cb()
if disabled then
Game.EnableInput()
else
Game.DisableInput()
end
disabled = not disabled
end
RegisterUserCommand("toggleinput", toggleinput_cb)
I needed something like that for my botsie already.
Outstanding! This is exactly what I needed. Thanks Mr Spuck!