Author Topic: DirectInput runs when in "background" mode  (Read 2065 times)

0 Members and 1 Guest are viewing this topic.

Offline Hair|Trigger

  • Veteran
  • *****
  • Posts: 1595
  • HT|
DirectInput runs when in "background" mode
« on: August 07, 2008, 01:00:41 am »
when you press alt+tab or put the soldat window in the "background" to chat on msn or something while playing the image pauses and you cant see whats going on while your minimized, so there should be a setup option to keep the DirectInput or whatever "running" while your doing whatever.  So you can quickly retalliate in case some guys catch you off guard (should be good for TW players)  but keep it a setup option for slower computers.

In case you dont know what im talking about, when you re-enter the soldat window after exiting it you get a "direct input initialized" message, so if it's possible have this directinput running even when your not "playing"

F11/F12

Player since late 2007

Offline iDante

  • Veteran
  • *****
  • Posts: 1967
Re: DirectInput runs when in "background" mode
« Reply #1 on: August 07, 2008, 01:04:02 am »
1. I'm pretty sure that it HAS to be done the way it is.
2. Your saying that if you alt-tab to something and click exit on another window that it should fire a shot to the top right?
seems kind of silly to me.

Offline Hair|Trigger

  • Veteran
  • *****
  • Posts: 1595
  • HT|
Re: DirectInput runs when in "background" mode
« Reply #2 on: August 07, 2008, 01:25:28 am »
Alright but just change the DirectInput to video instead of controls and video or whatever..

Player since late 2007

Offline jrgp

  • Administrator
  • Flamebow Warrior
  • *****
  • Posts: 5037
Re: DirectInput runs when in "background" mode
« Reply #3 on: August 07, 2008, 06:22:14 am »
1. I'm pretty sure that it HAS to be done the way it is.
^ Yes

DirectInput is the part of DirectX that takes analyzes the keystrokes you enter to play Soldat. It needs to be how it is, otherwise using the keys to move the Soldat around, switch weapons, etc would not work at all. The message you get is that the keyboard is taken over by Soldat once more. What you'd probably think of wanting to change is Direct3D, the part of DirectX that controls the video, being in the background or whatever.

It might help if you set Soldat's resolution to the one you normally use your computer with, so switching back and forth between Soldat and other windows takes less time.
There are other worlds than these