Game plugin

Here you can talk about creating profiles, discuss your profile settings and share problems with games and plugins.
Please note that you first have to read the the fitting game section in the manual!

Game plugin

Postby king1hw » Tue 3. Jul 2012, 12:39

I was wondering to had full amount of realism is the a way to write a script that gets the parameters from the game and sends that info to x-sim which then dictates to the motors.

I have a 3 motor system that I am hooking up: X, Y and Z

Can X-sim be controlled by the game and not the inputs.

HKing
king1hw
 
Posts: 6
Joined: Sun 1. Jul 2012, 04:43
Has thanked: 0 time
Been thanked: 0 time

Re: Game plugin

Postby motiondave » Tue 3. Jul 2012, 12:56

Not quite sure what you are asking there so this may be the wrong answer.
X-sim "reads" from the game and you choose which force to use. There are quite a few forces per game. I use 3 of the up to 6-7 forces available.
Can you give us some more info on your motor setup please.
User avatar
motiondave
 
Posts: 997
Images: 1
Joined: Tue 20. Mar 2012, 16:36
Location: Sydney Australia
Has thanked: 11 times
Been thanked: 13 times

Re: Game plugin

Postby king1hw » Tue 3. Jul 2012, 13:29

Did not know this was about force feedback. However the project I am working on involves 3 high torque stepper motors. I was going to link through a Dill or C++ script grabbing the parameters from the game to dictate motor position instead of inputs from controls. Has anyone written C++ scripts for even feedback or parameters from a game? Does x-sim for flight simulation only rely on input from controls or can it get the information from the game?

HKing
king1hw
 
Posts: 6
Joined: Sun 1. Jul 2012, 04:43
Has thanked: 0 time
Been thanked: 0 time

Re: Game plugin

Postby sirnoname » Tue 3. Jul 2012, 13:48

Joysticks are used for:
a.) first steps with controling your hardware without a game
b.) macro joybuttons that sends different keystrokes to the game
c.) compare functions: the delay between the input device and the actuator can be compared (this will no other software do because they fail here)
d.) if wished you can use a button of the input device as kill switch
So the input device is normaly always used in this software but for other usage than controling your simulator.

The simulator is controlled by the game telemetry interface!
You have to tell the software which value will do which movement, this is the universal teach in interface of X-Sim.
It is small work and you can read this in the quick guides that are provided on the main page.

For a DLL linking you can use the hardware DLLs and a math DLL. The math DLL will resize the force value and the hardware DLL will control your actuator.
There are some math DLL's already included like the G-Force plugin. We call it not DLL but plugin.
Go to the manual and then the SDK link to get into it.
If a answer is correct or did help you for a solution, please use the solve button.
User avatar
sirnoname
Site Admin
 
Posts: 1829
Images: 45
Joined: Thu 1. Sep 2011, 22:02
Location: Munich, Germany
Has thanked: 35 times
Been thanked: 128 times


Return to Game profile & plugin discussions

Who is online

Users browsing this forum: No registered users and 3 guests