Forums » Suggestions

Lua/binds

Jun 24, 2007 Aleksey link
Please, add the posibility to autoload Lua scripts! For example, let ~/.vendetta/addons be a default directory for Lua addons

Also please enable binding lua commands! This thing currently doesn't work:
alias some-lua "lua blah-blah-blah"
bind some-key some-lua

Oh, and please make binds to work in station/pda!

PS: Useful Lua addons:
http://vendetta-online.com/x/msgboard/9/16967
http://vendetta-online.com/x/msgboard/9/16974
http://vokb.org/client/

(up to 3 /lua commands to enter in VO console at every startup so far)

PPS: Yes, this is something which was already discussed/planned. But now that we already have several useful addons, we need several easy steps from developers, so this should be brought up again
Jun 24, 2007 Scuba Steve 9.0 link
I like this one too. Mainly because I wrote it.

http://www.vendetta-online.com/x/msgboard/1/3229?page=15#213939
Jun 24, 2007 Roda Slane link
can someone not make a lua script that will load lua scripts?
Jun 24, 2007 Aleksey link
We will still need to manually /lua dofile this script
Jun 24, 2007 Roda Slane link
a lua script can not include the dofile() command?

/lua dofile(a){
dofile(b)
dofile(c)
dofile(d)
}

or whatever the lua format is for this?
Jun 24, 2007 Scuba Steve 9.0 link
I have a start.lua file that just looks like this right now:
dofile('lua/cfire.lua')
dofile('lua/radar.lua')
dofile('lua/loadrep.lua')

(I keep everything in a folder named "lua" in my VO directory)