Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
it will not be esay to anwser you, well i will try that.
first you must understand that only garry 's mod have the kinect support.
garrys surely have the full sdk of the source engine.
the hack method i founded use lua implementation of garry's mod
so question come to me, how lua script work in source engine game /mod.
the hack concept :
http://engineeringblog.yelp.com/2011/03/after-hours-project-kinect-hacking.html
git repository :
https://github.com/johnboiles/JBKinectHacks
on the source wiki you will found an tutorial to implement lua .
https://developer.valvesoftware.com/wiki/Adding_Lua
but you can also find an old project name half life 2 sand box.
https://developer.valvesoftware.com/wiki/Embedding_Lua_in_the_Source_Engine
http://code.google.com/p/hl2sb/
As i have noknowledge about lua combination with source engine, i can't say what lua could exactly do , how it could interact with the classes declared into your entity, or your player.
curiosity poush me to read the lua script exmaple of the hack.
look that one for exmaple :
https://github.com/johnboiles/JBKinectHacks/blob/master/GMod/Scripts/dogcontrol.lua
So how this code is able to overwrite the Setmodel() class or the Spawn() class, i can't say.
Now you will also noticed, that the hack has been build for the mac OS, so you will have to port that to Visual studio, compile the UDP bridge with openNI.
http://www.openni.org/
hey finally it say on the hl2 sanbox wiki page, that they cannot get the lua support that garry 's mod has, so we are fixed on that, as the Kinect must acces the studioMDL data, like bones especially.
well the most advanced lua integration look to be sand box.
so if you want to check out if some code is already coded with the access to studiomdl data.
you could use that to start your project.
valve and sourcefiolm maker access bones and client/server classes with python script. but SFM and HL2 source code is not available with the valve python integration.
Look like an harder project, good luck if you think you could do something to add kinect support to source engien 2007 engine branch.
//red
Best Regards
Daniel