Forums » Off-Topic

How does Vendetta integrate Lua into its code?

May 23, 2009 atg link
Hello,

A few friends and I are working on making our own game, using C for the back-end components and Lua for the logic code. I recently heard that Vendetta is using Lua, and I'm curious as to what manner it is used. If one of the developers is willing and able to let me know how this works, it would be greatly appreciated.

Thanks,

atg
May 23, 2009 toshiro link
Have fun with pointers...
May 23, 2009 maq link
not related to vo specifically, but maybe this'll help some:
http://www.lua.org/pil/24.html
May 25, 2009 atg link
I understand how Lua works, what I'm wondering is for which functions is Lua used in VO?
May 26, 2009 maq link
I guess i somehow misread before :/
Anyway, not being a dev i can only say that whole user interface is written in Lua using IUP (gui toolkit).
Oh and you can write plugins in lua as a something of a sideeffect of that, might want to poke around that a bit, see how that works maybe?
May 27, 2009 atg link
Thanks for the reply, are there currently any guides out about how to make these Lua mods for VO? I've poked around a bit and I'm having no success finding it.

Thanks,

atg
May 27, 2009 maq link
no guides as such but
we have unofficial API at http://www.vo-wiki.com/racecar
also take a look at pinned threads at community projects forum,that's also where plugins are posted, which you can use as example.
beyond that just ask, either here
or maybe on #vo-lua channel on irc.slashnet.org
May 29, 2009 atg link
That's exactly what I was looking for, thanks for the link.

atg
May 29, 2009 slime73 link
The 'sandboxed' API available to players is only part of the actual API, though. :)