Quote:
Originally Posted by BAILOPAN
SourceMod is a scripting engine. It doesn't explicitly contain features to do what you want, mostly because those properties tend to be very mod-specific, and SourceMod right now is just SDK abstraction. Your best bet would be to do one of:
1) Develop the code in C++;
2) If you wanted to allow for scripting in SourceMod, develop a C++ "extension" that added the necessary functions to the scripting platform;
3) Tell us what generic properties in the SDK need to be abstracted so we can plan to add them to an extension ourselves.
|
Thanks for your reply,
The code "should" be coded in C++, but I am wondering, where should I look at to grab the properties that I need. Cause I would like to do the following.
When a person shoots me from the left side, I can feel a force on the device that is coming from the left side. When I hold the virtual gun, I can feel the weight of it and force reactions when I shoot with it.
That is basically it. I get the weapon that is chosen, and I program a force to the device.
In other words, I want the device to act instead of a mouse.
It would be nice if we could abstract the controlling functionality into sourcemod, so then I can make a module that interacts with a haptics device similar to Novint.com and Sensable.com .