Page 1 of 1

The extend of LUA?

Posted: 11 Mar 2007, 14:09
by KDR_11k
Okay, for those of us who haven't kept track of this forum much and want to use LUA in our mods: What can LUA interact with and how much of it is already implemented in the released version? Can we get a development version that has all of that support in it so we can use it for implementing mods?

I know we can have scripts interact with units, act globally and act as the Gaia but can we e.g. script projectile or explosion behaviour through any of these?

Posted: 11 Mar 2007, 14:24
by tombom
This has automatic builds of the latest SVN version, not sure how well they work.

I'm not entirely sure but I don't think you can change behaviour of the physics system right now; I think that this list has all the Lua modrules functions you can use at the moment.

Posted: 11 Mar 2007, 14:37
by Guessmyname
Which version of LUA do you need?

Posted: 11 Mar 2007, 15:29
by Tobi
The dev exes tombom pointed to should work fine.

Posted: 11 Mar 2007, 17:53
by KDR_11k
So I can't change the damage a shot does through scripting?

Posted: 11 Mar 2007, 18:33
by FLOZi
KDR_11k wrote:So I can't change the damage a shot does through scripting?

Not with LUA... but you may want to talk to Yeha about his latest HitByWeapon changes :wink:

Posted: 11 Mar 2007, 19:24
by trepan
The synced lua scripting changes have not been committed yet

tombom: nope, that's only a listing from one of 4 main libraries, and
then there are custom functions for the different types of scripts...