Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / A quick question on Force Feedback

Author
Message
DLS
20
Years of Service
User Offline
Joined: 6th Jul 2004
Location: Wet And Windy Britain
Posted: 25th Sep 2004 06:38
hello all.

just got a few questions on force feedback.

i recently got a MS force feedback wheel and i'm really pleased with it as it gives a new dimention to racing games. i'm just wondering if any1's toyed with it in the past? and did u get any good results?

the reson being is that i'm thinking of making a racing sim when i finnished the game i'm currently doing. in it i might add force feedback for any1 whos got an enabled controler.

how easy would it be to implament it?
is there any demos done in DBpro that use it?
any1 planning on using it?

and the biggest of all.....

DOES IT WORK??

chear fellow coders

(just upgraded) system specs: AMD XP 3000+, 512Mb DDR333, nvidia ge-force FX 5600 128MB, 1x8Gb & 1x40Gb HHD, 52x CD drive, DVD+RW 4x, Sound Blaster 128.... all in a Nokia 8310 case :0D
OldTifu
21
Years of Service
User Offline
Joined: 10th Jan 2003
Location: Scotland
Posted: 25th Sep 2004 07:45 Edited at: 25th Sep 2004 07:48
Definitely works... that's easy to find out, just look up the code in the help menu and implement it in a small test code.
Should look up the help stuff, there's a lot of pre-built force 'types' like chainsaw, impact, directionals. It's in the INPUTS section of the help menu...

IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 25th Sep 2004 09:02
There's a helper function in some code I posted to CodeBase : http://www.thegamecreators.com/?m=codebase_view&i=0f841e9dc2212eb700cc571d93063991

It's the 'HasForceFeedback()' function - calling a force feedback command when your joystick doesn't have force feedback capability will crash your program. You can use this function to check for this and only call the force routines when the controller can handle it.



*** Coming soon - Network Plug-in - Check my site for info ***
For free Plug-ins, source and the Interface library for Visual C++ 6, .NET and now for Dev-C++ http://www.matrix1.demon.co.uk
OldTifu
21
Years of Service
User Offline
Joined: 10th Jan 2003
Location: Scotland
Posted: 25th Sep 2004 09:27
Oh, that's good you mentioned that before I started sticking it in any of my games, heh. Very good to know
DLS
20
Years of Service
User Offline
Joined: 6th Jul 2004
Location: Wet And Windy Britain
Posted: 26th Sep 2004 01:43
well at least i now know it works which is good.

chears for the insite guys

(just upgraded) system specs: AMD XP 3000+, 512Mb DDR333, nvidia ge-force FX 5600 128MB, 1x8Gb & 1x40Gb HHD, 52x CD drive, DVD+RW 4x, Sound Blaster 128.... all in a Nokia 8310 case :0D

Login to post a reply

Server time is: 2024-11-27 10:42:47
Your offset time is: 2024-11-27 10:42:47