安装 Steam
登录
|
语言
繁體中文(繁体中文)
日本語(日语)
한국어(韩语)
ไทย(泰语)
български(保加利亚语)
Čeština(捷克语)
Dansk(丹麦语)
Deutsch(德语)
English(英语)
Español-España(西班牙语 - 西班牙)
Español - Latinoamérica(西班牙语 - 拉丁美洲)
Ελληνικά(希腊语)
Français(法语)
Italiano(意大利语)
Bahasa Indonesia(印度尼西亚语)
Magyar(匈牙利语)
Nederlands(荷兰语)
Norsk(挪威语)
Polski(波兰语)
Português(葡萄牙语 - 葡萄牙)
Português-Brasil(葡萄牙语 - 巴西)
Română(罗马尼亚语)
Русский(俄语)
Suomi(芬兰语)
Svenska(瑞典语)
Türkçe(土耳其语)
Tiếng Việt(越南语)
Українська(乌克兰语)
报告翻译问题



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