The extend of LUA?

The extend of LUA?

Discuss Lua based Spring scripts (LuaUI widgets, mission scripts, gaia scripts, mod-rules scripts, scripted keybindings, etc...)

Moderator: Moderators

Post Reply
User avatar
KDR_11k
Game Developer
Posts: 8293
Joined: 25 Jun 2006, 08:44

The extend of LUA?

Post 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?
tombom
Posts: 1933
Joined: 18 Dec 2005, 20:21

Post 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.
User avatar
Guessmyname
Posts: 3301
Joined: 28 Apr 2005, 21:07

Post by Guessmyname »

Which version of LUA do you need?
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Post by Tobi »

The dev exes tombom pointed to should work fine.
User avatar
KDR_11k
Game Developer
Posts: 8293
Joined: 25 Jun 2006, 08:44

Post by KDR_11k »

So I can't change the damage a shot does through scripting?
User avatar
FLOZi
MC: Legacy & Spring 1944 Developer
Posts: 6241
Joined: 29 Apr 2005, 01:14

Post 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:
trepan
Former Engine Dev
Posts: 1200
Joined: 17 Nov 2005, 00:52

Post 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...
Post Reply

Return to “Lua Scripts”