Lua

Drake

Newbie
Joined
Jun 23, 2009
Messages
2
Reaction score
0
Hi!
I'm a middle class C++ Programmer and would like to add Lua support for my current mod project, so my Lua coding teammates have something to do too. I looked up in the Valve Developer Wiki and found two tutorials: one using LuaBind, that i remember to have used a while ago, but the author said it was broken, and another one that was hard to understand and didn't work altogether. Well, so what I'm trying to do is to get my Code to load all the lua files. I have thought of two approuches: Mke a Master.lua tht then loads all other luas, or a C++ function that loads all luas inside the lua folder.(-> GMoD) I'm not sure which one is smarter.
So if someone has a link to a tut or knows how to do it himself and maybe how i should get it to load everything, i would appreciate it :)

Drake
 
Someone from the Goldeneye Source project recently added some working Lua code to the Valve Developer Wiki. Search for luamanager.cpp and luamanager.h
 
I tried that, but failed when trying tzo implement my own interface. Can someone help?
 
Back
Top