Re: [hlcoders] Implementing LuaBind in a Clean Orange Box Mod

2009-07-07 Thread Secretive Loon
"Your "tutorial" is basic lua function bindings, not class/member function bindings." Indeed, the lack of class bindings was my problem. It's still a nice tutorial for simple stuff, though. :) "Boost included/required by Luabind has some bug that can be fixed by putting #endif in correct place.

Re: [hlcoders] Implementing LuaBind in a Clean Orange Box Mod

2009-07-07 Thread Marek Sieradzki
Boost included/required by Luabind has some bug that can be fixed by putting #endif in correct place. It might be the file that causes compilation errors. Google should help. After you add Boost/Luabind to your project you will have to add valve_off/on.h at some places (gameinterface.cpp AFAIR).

Re: [hlcoders] Implementing LuaBind in a Clean Orange Box Mod

2009-07-07 Thread Tom Leighton
Your "tutorial" is basic lua function bindings, not class/member function bindings. The other Lua tutorial is at: http://developer.valvesoftware.com/wiki/Lua_tutorial , which still may be useful for people, and if you use it it would be nice to fix up. Jonathan White wrote: > You should be usi

Re: [hlcoders] Implementing LuaBind in a Clean Orange Box Mod

2009-07-07 Thread John
That tutorial says nothing about binding classes, you only have simple function bindings which is really easy to implement unlike luabind. On Tue, Jul 7, 2009 at 8:34 PM, Jonathan White wrote: > You should be using the tutorial we posted from GoldenEye: Source where we > have LUA running perfectl

Re: [hlcoders] Implementing LuaBind in a Clean Orange Box Mod

2009-07-07 Thread Jonathan White
You should be using the tutorial we posted from GoldenEye: Source where we have LUA running perfectly in multiple dynamic instances. http://developer.valvesoftware.com/wiki/Adding_Lua The other tutorial is worthless and actually states that on the top of the wiki article. LUA is NOT easy to add a

Re: [hlcoders] Implementing LuaBind in a Clean Orange Box Mod

2009-07-07 Thread Secretive Loon
It's not that. I have Lua working fine. I was just hoping to use luabind. I'm just including a single #include. I don't see how it can dislike it so much. ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://lis

Re: [hlcoders] Implementing LuaBind in a Clean Orange Box Mod

2009-07-07 Thread Harry Pidcock
. -- From: "Secretive Loon" Sent: Wednesday, July 08, 2009 1:04 AM To: Subject: [hlcoders] Implementing LuaBind in a Clean Orange Box Mod > I don't think this email got through the first time so I'm resending. If > it > did get through, ignore this c

[hlcoders] Implementing LuaBind in a Clean Orange Box Mod

2009-07-07 Thread Secretive Loon
I don't think this email got through the first time so I'm resending. If it did get through, ignore this copy. If this one gets through first, ignore the second one. I decided to use luabind in my Half-Life 2 mod. I successfully implemented it in a small project first to make sure I had all of the